/* ============================================
   Funeraria El Samaritano — Main Styles
   Palette: Dark #0a161e, Gold #c19b4b, White
   ============================================ */

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0a161e;
  --navy-light: #0f1f2b;
  --navy-dark: #060e14;
  --gold: #c19b4b;
  --gold-light: #d4b06a;
  --gold-dark: #a8843a;
  --cream: #f5f0e8;
  --cream-dark: #e8e0d0;
  --white: #ffffff;
  --text-dark: #2c2c2c;
  --text-muted: #6b6b6b;
  --shadow: 0 4px 30px rgba(0, 0, 0, .12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .18);
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: .5rem;
}

.section-tag--light {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title--light {
  color: var(--cream);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--transition), transform .8s var(--transition);
}

.reveal--left {
  transform: translateX(-50px);
}

.reveal--right {
  transform: translateX(50px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(10, 22, 30, .97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px);
}

.header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: .85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 55px;
  width: auto;
  filter: brightness(1.1);
}

.header__nav {
  display: flex;
  gap: 1.8rem;
}

.header__link {
  color: rgba(255, 255, 255, .75);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.header__link:hover,
.header__link.active {
  color: var(--gold);
}

.header__link:hover::after,
.header__link.active::after {
  width: 100%;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--gold);
  font-size: .85rem;
  font-weight: 500;
  transition: color var(--transition);
}

.header__phone:hover {
  color: var(--gold-light);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav logo & phone — hidden on desktop, shown in mobile overlay */
.header__nav-logo {
  display: none;
}

.header__nav-phone {
  display: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 30, .5) 0%, rgba(10, 22, 30, .75) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem;
}

.hero__tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, .7);
  border: 1px solid rgba(193, 155, 75, .4);
  padding: .5rem 1.8rem;
  margin-bottom: 2rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: rgba(245, 240, 232, .7);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.4rem;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.hero__cta--primary {
  background: var(--gold);
  color: var(--navy);
}

.hero__cta--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193, 155, 75, .3);
}

.hero__cta--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 240, 232, .4);
}

.hero__cta--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ============ ABOUT ============ */
.about {
  padding: 7rem 2rem;
  background: var(--cream);
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .6s ease;
}

.about__image:hover img {
  transform: scale(1.03);
}

.about__image-border {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.about__content {
  padding: 1rem 0;
}

.about__text {
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.9;
  white-space: pre-line;
  margin-bottom: 1.5rem;
}

.about__quote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(193, 155, 75, .06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ============ MISIÓN, VISIÓN Y VALORES ============ */
.mvv {
  position: relative;
  padding: 7rem 2rem;
  background: var(--navy);
  background-image: url('../assets/values-bg.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.mvv__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 30, .85);
  z-index: 0;
}

.mvv__container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.mvv__header {
  margin-bottom: 3.5rem;
}

.mvv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mvv__card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(193, 155, 75, .15);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  backdrop-filter: blur(8px);
}

.mvv__card:hover {
  transform: translateY(-6px);
  border-color: rgba(193, 155, 75, .4);
  background: rgba(255, 255, 255, .07);
}

.mvv__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(193, 155, 75, .3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.mvv__card-icon .material-icons {
  font-size: 1.8rem;
}

.mvv__card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1rem;
}

.mvv__card-text {
  font-size: .9rem;
  color: rgba(245, 240, 232, .6);
  line-height: 1.8;
}

.mvv__values-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.mvv__values-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(245, 240, 232, .65);
  font-size: .9rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(193, 155, 75, .08);
}

.mvv__values-list li:last-child {
  border-bottom: none;
}

.mvv__values-list .material-icons {
  font-size: 1rem;
  color: var(--gold);
}

/* ============ STATISTICS ============ */
.stats {
  padding: 4rem 2rem;
  background: var(--gold);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 30, .08) 0%, transparent 50%, rgba(10, 22, 30, .08) 100%);
}

.stats__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  flex: 1;
}

.stats__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stats__suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-top: -0.2rem;
}

.stats__label {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(10, 22, 30, .7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: rgba(10, 22, 30, .2);
}

/* ============ WHY US ============ */
.why-us {
  padding: 7rem 2rem;
  background: var(--cream);
  text-align: center;
}

.why-us__container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-us__header {
  margin-bottom: 3.5rem;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-us__card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.why-us__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.why-us__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  border-color: rgba(193, 155, 75, .3);
}

.why-us__card:hover::before {
  transform: scaleX(1);
}

.why-us__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(193, 155, 75, .08);
  border-radius: 50%;
  margin-bottom: 1.2rem;
}

.why-us__icon .material-icons {
  font-size: 1.6rem;
  color: var(--gold);
}

.why-us__card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .6rem;
}

.why-us__card p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ SERVICES ============ */
.services {
  padding: 7rem 2rem;
  background: var(--navy);
  text-align: center;
}

.services__container {
  max-width: 1200px;
  margin: 0 auto;
}

.services__header {
  margin-bottom: 3.5rem;
}

.services__header .section-subtitle {
  color: rgba(245, 240, 232, .55);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(193, 155, 75, .2);
  padding: 3rem 2rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 36px rgba(193, 155, 75, .1);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(193, 155, 75, .3);
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .8rem;
}

.service-card__text {
  font-size: .88rem;
  color: rgba(245, 240, 232, .5);
  line-height: 1.7;
}

/* ============ CATALOG / FLIPBOOK ============ */
.catalog {
  padding: 7rem 2rem;
  background: var(--cream);
  text-align: center;
}

.catalog__container {
  max-width: 1100px;
  margin: 0 auto;
}

.catalog__header {
  margin-bottom: 2.5rem;
}

.catalog__flipbook-wrapper {
  position: relative;
  min-height: 500px;
}

/* Loading spinner */
.flipbook-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  gap: 1.2rem;
  color: var(--text-muted);
}

.flipbook-loading__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--cream-dark);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.flipbook-loading p {
  font-size: .9rem;
  font-weight: 500;
}

/* Flipbook container */
.flipbook-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.flipbook {
  margin: 0 auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .2), 0 2px 8px rgba(0, 0, 0, .1);
  border-radius: 4px;
  overflow: hidden;
}

/* Pages inside the flipbook */
.flipbook .page-wrapper {
  background: var(--white);
}

.flipbook-page {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flipbook-page canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.flipbook-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Controls */
.flipbook-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .8rem 1.5rem;
  background: var(--navy);
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

.flipbook-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(193, 155, 75, .3);
  background: rgba(193, 155, 75, .08);
  color: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.flipbook-btn:hover {
  background: rgba(193, 155, 75, .15);
  border-color: var(--gold);
  transform: scale(1.05);
}

.flipbook-btn .material-icons {
  font-size: 1.5rem;
}

.flipbook-pages {
  font-size: .85rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 1px;
  min-width: 60px;
  text-align: center;
}

/* Fallback */
.catalog__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  min-height: 400px;
  color: var(--text-muted);
}

.catalog__fallback .material-icons {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.catalog__fallback p {
  font-size: 1.1rem;
  margin-bottom: .3rem;
}

.catalog__fallback-sub {
  font-size: .9rem !important;
  color: var(--text-muted);
  margin-bottom: 1.5rem !important;
}

.catalog__download-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--navy);
  padding: .8rem 2rem;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}

.catalog__download-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 7rem 2rem;
  background: var(--navy-light);
  text-align: center;
}

.testimonials__container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials__header {
  margin-bottom: 3.5rem;
}

/* Carousel */
.testimonials__carousel {
  position: relative;
}

.testimonials__track {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  scroll-behavior: smooth;
  --cards-per-view: 3;
}

.testimonial-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(193, 155, 75, .12);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: transform var(--transition), border-color var(--transition);
  flex: 0 0 calc((100% - 2rem * (var(--cards-per-view) - 1)) / var(--cards-per-view));
  min-width: 0;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(193, 155, 75, .35);
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
}

.testimonial-card__text {
  font-size: .92rem;
  color: rgba(245, 240, 232, .65);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(193, 155, 75, .3);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--cream);
  font-size: .9rem;
}

.testimonial-card__relation {
  font-size: .78rem;
  color: rgba(245, 240, 232, .4);
}

/* Carousel Nav */
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(193, 155, 75, .2);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.testimonials__dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ============ LOCATION ============ */
.location {
  padding: 5rem 2rem;
  background: var(--navy);
  text-align: center;
}

.location__container {
  max-width: 1200px;
  margin: 0 auto;
}

.location__header {
  margin-bottom: 2.5rem;
}

.location__header .section-title {
  color: var(--cream);
}

.location__header .section-tag {
  color: var(--gold);
}

.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  border: 1px solid rgba(193, 155, 75, .2);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(.3);
}

/* ============ CONTACT ============ */
.contact {
  padding: 7rem 2rem;
  background: var(--cream);
}

.contact__container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193, 155, 75, .12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__submit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--navy);
  padding: .85rem 2.2rem;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
  width: 100%;
  justify-content: center;
}

.contact__submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.contact__info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: .5rem;
}

.contact__info-desc {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}

.contact__info-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
}

.contact__info-item .material-icons {
  color: var(--gold);
  font-size: 1.5rem;
  margin-top: 2px;
}

.contact__info-item strong {
  display: block;
  font-size: .82rem;
  color: var(--navy);
  margin-bottom: .15rem;
}

.contact__info-item p {
  font-size: .88rem;
  color: var(--text-muted);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-dark);
  padding: 4rem 2rem 0;
  color: rgba(245, 240, 232, .55);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(193, 155, 75, .12);
}

.footer__logo {
  margin-bottom: 1rem;
}

.footer__logo-img {
  height: 60px;
  width: auto;
  filter: brightness(1.1);
}

.footer__brand p {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.footer__social {
  display: flex;
  gap: .8rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(193, 155, 75, .2);
  color: var(--gold);
  transition: background var(--transition), border-color var(--transition);
}

.footer__social a:hover {
  background: rgba(193, 155, 75, .12);
  border-color: var(--gold);
}

.footer__links h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer__links a {
  display: block;
  font-size: .85rem;
  margin-bottom: .6rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer__links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer__bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: .8rem;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, .5);
}

.whatsapp-float .material-icons {
  font-size: 1.6rem;
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
  }

  50% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, .6);
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__track {
    --cards-per-view: 2;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(10, 22, 30);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .header__nav.open {
    opacity: 1;
    visibility: visible;
  }

  .header__link {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    padding: 1rem 0;
    color: rgba(255, 255, 255, .65);
    transition: color .3s ease, letter-spacing .3s ease;
    position: relative;
    width: 240px;
    text-align: center;
    border-bottom: 1px solid rgba(193, 155, 75, .1);
    opacity: 0;
    transform: translateY(15px);
  }

  .header__link:last-of-type {
    border-bottom: none;
  }

  .header__nav.open .header__link {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered transitions for links */
  .header__link:nth-of-type(1) {
    transition: color .3s, letter-spacing .3s, opacity .4s ease .05s, transform .4s ease .05s;
  }

  .header__link:nth-of-type(2) {
    transition: color .3s, letter-spacing .3s, opacity .4s ease .1s, transform .4s ease .1s;
  }

  .header__link:nth-of-type(3) {
    transition: color .3s, letter-spacing .3s, opacity .4s ease .15s, transform .4s ease .15s;
  }

  .header__link:nth-of-type(4) {
    transition: color .3s, letter-spacing .3s, opacity .4s ease .2s, transform .4s ease .2s;
  }

  .header__link:nth-of-type(5) {
    transition: color .3s, letter-spacing .3s, opacity .4s ease .25s, transform .4s ease .25s;
  }

  .header__link:nth-of-type(6) {
    transition: color .3s, letter-spacing .3s, opacity .4s ease .3s, transform .4s ease .3s;
  }

  .header__link:hover,
  .header__link.active {
    color: var(--gold);
    letter-spacing: 3.5px;
  }

  .header__link::after {
    bottom: -1px;
    height: 1px;
    background: var(--gold);
  }

  .header__phone {
    display: none;
  }

  .header__hamburger {
    display: flex;
    z-index: 1001;
  }

  /* Show logo inside mobile nav */
  .header__nav-logo {
    display: block;
    height: 50px;
    width: auto;
    filter: brightness(1.1);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .4s ease .0s, transform .4s ease .0s;
  }

  .header__nav.open .header__nav-logo {
    opacity: 1;
    transform: translateY(0);
  }

  /* Show phone inside mobile nav */
  .header__nav-phone {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--gold);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 2.5rem;
    padding: .8rem 1.5rem;
    border: 1px solid rgba(193, 155, 75, .25);
    border-radius: 50px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s ease .35s, transform .4s ease .35s, background .3s ease, border-color .3s ease;
  }

  .header__nav.open .header__nav-phone {
    opacity: 1;
    transform: translateY(0);
  }

  .header__nav-phone:hover {
    background: rgba(193, 155, 75, .1);
    border-color: var(--gold);
  }

  .header__nav-phone .material-icons {
    font-size: 1.1rem;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image img {
    height: 300px;
  }

  .about__image-border {
    display: none;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .mvv__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats__container {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stats__divider {
    display: none;
  }

  .stats__item {
    flex: 0 0 40%;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__track {
    --cards-per-view: 1;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__logo {
    display: flex;
    justify-content: center;
  }

  .location__map {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .header__container {
    padding: .7rem 1rem;
  }

  .header__logo-img {
    height: 40px;
  }

  .hero__content {
    padding: 1.5rem;
  }

  .hero__tag {
    padding: .4rem 1.2rem;
    font-size: .7rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .about,
  .services,
  .catalog,
  .testimonials,
  .contact,
  .mvv,
  .why-us {
    padding: 4rem 1rem;
  }

  .stats {
    padding: 2.5rem 1rem;
  }

  .stats__item {
    flex: 0 0 45%;
  }

  .service-card {
    padding: 2rem 1.2rem;
  }

  .contact__form {
    padding: 1.5rem;
  }
}