/* ============================================================
   MOVA — Centro de Entrenamiento Personal · Granada
   Paleta, tipografía y layout
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --black:        #0A0A0A;
  --black-2:      #111111;
  --gray-dark:    #2A2A2A;
  --gray-mid:     #3A3A3A;
  --gray-text:    #888888;
  --white:        #FFFFFF;
  --gold:         #C9A84C;
  --gold-light:   #E2C06E;
  --gold-dark:    #A88530;
  --gold-alpha:   rgba(201,168,76,0.15);
  --gold-alpha2:  rgba(201,168,76,0.08);

  --nav-h:        80px;
  --radius:       4px;
  --transition:   0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Typography --- */
h1, h2, h3, h4, .display {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.0;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Containers --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal[data-split] {
  opacity: 1;
  transform: none;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.is-scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.15);
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
  filter: invert(1);
}

.nav-logo-text {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: var(--white);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
  transform-origin: left;
}

.nav-links a:hover {
  color: var(--white);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}

.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,10,0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-mobile.is-open {
  opacity: 1;
  pointer-events: all;
}
.nav-mobile a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 10vw, 4rem);
  letter-spacing: 0.05em;
  color: var(--white);
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero.is-loaded .hero-bg img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.60) 50%,
    rgba(10,10,10,0.75) 100%
  );
}

/* Gold accent line decoration */
.hero-line {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 10% 100%, rgba(201,168,76,0.12) 0%, transparent 70%);
}

/* Mouse-reactive gradient */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle 700px at var(--mx, 20%) var(--my, 80%),
      rgba(201,168,76,0.12) 0%, transparent 60%);
  pointer-events: none;
  transition: background 0.6s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.92;
  max-width: 14ch;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.9s var(--ease-out) 0.4s forwards;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 48ch;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out) 1.2s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  writing-mode: vertical-lr;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  padding-block: clamp(5rem, 12vw, 9rem);
}

.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header .kicker {
  display: block;
  margin-bottom: 1rem;
}

/* Gold accent line below section titles */
.section-title-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.section-title-line::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--black-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1023px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 540px;
    margin-inline: auto;
    width: 100%;
  }
}

.service-card {
  background: var(--gray-dark);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.35s, transform 0.35s var(--ease-out), box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}

.service-card:hover {
  border-color: rgba(201,168,76,0.6);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.15);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-alpha);
  border: 1px solid var(--gold-alpha2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(201,168,76,0.1);
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  letter-spacing: 0;
  pointer-events: none;
  user-select: none;
}

.service-card h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: 0.03em;
  line-height: 1.0;
  color: var(--white);
}

.service-card p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  align-self: flex-start;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--black);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text h2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.about-body {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.about-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-text);
}

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.about-image-wrap:hover .about-image-frame img {
  transform: scale(1.04);
}

/* Gold corner decoration */
.about-image-frame::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 60px; height: 60px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  z-index: 1;
}
.about-image-frame::after {
  content: '';
  position: absolute;
  bottom: -1px; left: -1px;
  width: 60px; height: 60px;
  border-bottom: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  z-index: 1;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.3) 0%, transparent 50%);
  z-index: 1;
}

/* Floating badge */
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--gold);
  color: var(--black);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 140px;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.about-badge-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.about-badge-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  background: var(--black-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

/* Featured photo — spans 2 rows */
.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-item:first-child .gallery-img-wrap {
  aspect-ratio: 3/4;
}
.gallery-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201,168,76,0.0);
  transition: background 0.4s ease;
  z-index: 1;
  pointer-events: none;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(201,168,76,0.12);
}

/* Gold border on hover */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 2;
  pointer-events: none;
  border-radius: var(--radius);
}
.gallery-item:hover::after { opacity: 1; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--black);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--gray-dark);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
}

.testimonial-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.testimonial-quote-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.5;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.testimonial-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.975rem;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  color: var(--black);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--gray-text);
  margin-top: 2px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--black-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-cta-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.contact-cta-big em {
  font-style: normal;
  color: var(--gold);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.975rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}

.contact-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-link svg {
  width: 18px; height: 18px;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 0.925rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-whatsapp svg { width: 22px; height: 22px; }
.contact-whatsapp:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.35);
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-frame {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(80%) invert(90%) contrast(0.9) hue-rotate(180deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-block: 3rem 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo img {
  height: 32px;
  width: auto;
  filter: invert(1);
}
.footer-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  color: var(--white);
  line-height: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-text);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-social {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  transition: var(--transition);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray-text);
  text-align: center;
}

.footer-copy a {
  color: var(--gold);
  transition: opacity 0.2s;
}
.footer-copy a:hover { opacity: 0.7; }

/* Gold divider above footer brand */
.footer-brand-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0.5rem 0;
}

/* ============================================================
   DECORATIVE ELEMENTS
   ============================================================ */
/* Gold grain overlay on sections */
.grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image-wrap {
    order: -1;
  }
  .about-image-frame {
    aspect-ratio: 16/9;
  }
  .about-badge {
    left: 1rem;
    bottom: -1rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .gallery-item:first-child .gallery-img-wrap {
    aspect-ratio: 16/9;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer-logo, .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-h: 68px;
  }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero-title { font-size: clamp(3.5rem, 14vw, 5.5rem); }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .gallery-item:first-child {
    grid-column: 1 / -1;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .about-stats .about-stat:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .contact-socials {
    flex-wrap: wrap;
  }
}

/* ============================================================
   POPUP
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.popup-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.popup-box {
  position: relative;
  background: var(--gray-dark);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.1);
  overflow: hidden;
}

/* Gold top accent bar */
.popup-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Subtle gold glow behind % number */
.popup-box::after {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.popup-overlay.is-open .popup-box {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-text);
  padding: 4px;
  line-height: 0;
  transition: color 0.2s;
  z-index: 1;
}
.popup-close svg { width: 20px; height: 20px; }
.popup-close:hover { color: var(--white); }

.popup-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
}

.popup-discount {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 0;
}

.popup-percent {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 16vw, 7rem);
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.popup-percent span {
  font-size: 60%;
}

.popup-off {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: rgba(201,168,76,0.7);
}

.popup-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--white);
}
.popup-title em {
  font-style: normal;
  color: var(--gold);
}

.popup-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 34ch;
}

.popup-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popup-input-wrap {
  position: relative;
}

.popup-input-wrap input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 0.875rem 1.1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s;
}
.popup-input-wrap input::placeholder { color: rgba(255,255,255,0.3); }
.popup-input-wrap input:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.popup-submit {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 0.95rem;
}

/* Success state */
.popup-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
}
.popup-success-icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,0.15);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.popup-success-icon svg { width: 28px; height: 28px; }
.popup-success h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.popup-success p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

.popup-box.is-success .popup-discount,
.popup-box.is-success .popup-badge,
.popup-box.is-success .popup-title,
.popup-box.is-success .popup-sub,
.popup-box.is-success .popup-form,
.popup-box.is-success .popup-legal {
  display: none;
}
.popup-box.is-success .popup-success {
  display: flex;
}

.popup-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.03em;
}

.popup-error {
  font-size: 0.8rem;
  color: #e0725c;
  margin-top: 0.25rem;
}

.popup-submit:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold { color: var(--gold); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gray-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
