/* ==========================================================================
   ROYAL CUT CALI — Landing Page
   Design System: "Barber Dark Luxury"
   ========================================================================== */

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* -------- Variables del Design System -------- */
:root {
  /* Colores */
  --bg-primary: #121212;
  --bg-secondary: #1a1a1a;
  --bg-elevated: #171717;
  --overlay-dark: rgba(0, 0, 0, 0.75);
  --overlay-gradient: linear-gradient(180deg, rgba(18,18,18,0.55) 0%, rgba(18,18,18,0.9) 70%, #121212 100%);

  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #777777;

  --accent: #E50914;
  --accent-hover: #C00710;
  --accent-soft: rgba(229, 9, 20, 0.12);

  --border-subtle: #2A2A2A;
  --border-strong: #3a3a3a;

  /* Tipografía */
  --font-heading: "Bebas Neue", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Playfair Display", Georgia, serif;

  /* Espaciado */
  --container-max: 1200px;
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 48px;
  --gap-xl: 96px;

  /* Radios (sistema recto = 0px) */
  --radius: 0px;
  --radius-sm: 2px;

  /* Sombras */
  --shadow-card: 0 20px 40px -20px rgba(0,0,0,0.6);
  --shadow-accent: 0 12px 32px -12px rgba(229, 9, 20, 0.55);

  /* Transiciones */
  --t-fast: 0.2s ease;
  --t-base: 0.3s ease;
  --t-slow: 0.6s cubic-bezier(.2,.7,.2,1);
}

/* -------- Base -------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------- Tipografía global -------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.05;
  font-weight: 800;
}

h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4.5vw, 48px); }
h3 { font-size: clamp(16px, 2vw, 20px); letter-spacing: 1px; }

.accent { color: var(--accent); }

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--t-base);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(229, 9, 20, 0.7);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}

.btn--lg { padding: 18px 36px; font-size: 13px; }
.btn--full { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all var(--t-base);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-subtle);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo__crown {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--accent);
}
.logo__crown svg { width: 100%; height: 100%; }

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__text strong {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 3px;
  font-weight: 800;
}
.logo__text em {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Nav */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--t-fast);
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--t-base);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header__cta { padding: 12px 22px; }

/* Toggle móvil */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  transition: all var(--t-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(229, 9, 20, 0.25), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(229, 9, 20, 0.12), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #121212 100%);
  z-index: 0;
}

/* Grid sutil de fondo */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 1;
}

.hero__inner { position: relative; z-index: 2; }

/* Grid del hero: texto izquierda + foto derecha */
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero__content {
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--accent);
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.98;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero__subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

/* Trust indicators */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.hero__trust li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust__rating,
.trust__value {
  font-family: var(--font-heading);
  font-size: 32px;
  letter-spacing: 1px;
  line-height: 1;
}
.trust__rating { color: var(--accent); }
.trust__value { color: #fff; }

.trust__stars {
  color: #FFC107;
  font-size: 14px;
  letter-spacing: 2px;
}

.trust__label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* -------- Foto del Hero con degradado -------- */
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform var(--t-slow), border-color var(--t-base);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(100%) contrast(1.08) brightness(0.92);
  transform: scale(1.02);
  transition: transform var(--t-slow), filter var(--t-base);
}

.hero__photo:hover {
  border-color: rgba(229, 9, 20, 0.5);
}

.hero__photo:hover img {
  transform: scale(1.06);
  filter: grayscale(45%) contrast(1.12) brightness(1);
}

/* Degradados sobre la foto */
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* Fundido lateral izquierdo → se integra con el fondo del hero */
    linear-gradient(90deg,
      rgba(18, 18, 18, 0.95) 0%,
      rgba(18, 18, 18, 0.55) 18%,
      rgba(18, 18, 18, 0.1) 42%,
      rgba(18, 18, 18, 0) 60%),
    /* Fundido inferior → ancla al fondo de la sección */
    linear-gradient(180deg,
      rgba(18, 18, 18, 0) 55%,
      rgba(18, 18, 18, 0.75) 88%,
      rgba(18, 18, 18, 1) 100%),
    /* Fundido superior muy leve */
    linear-gradient(180deg,
      rgba(18, 18, 18, 0.5) 0%,
      rgba(18, 18, 18, 0) 22%),
    /* Acento rojo sutil en la esquina superior derecha */
    radial-gradient(circle at 100% 0%,
      rgba(229, 9, 20, 0.35) 0%,
      rgba(229, 9, 20, 0) 45%);
}

/* Marco decorativo estilo "Royal" (esquinas rojas) */
.hero__photo-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 2;
}
.hero__photo-frame::before,
.hero__photo-frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid var(--accent);
}
.hero__photo-frame::before {
  top: -2px; left: -2px;
  border-right: 0;
  border-bottom: 0;
}
.hero__photo-frame::after {
  bottom: -2px; right: -2px;
  border-left: 0;
  border-top: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 3px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  margin: 6px auto;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.4; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  overflow: hidden;
  background: var(--accent);
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(0,0,0,0.25);
}
.marquee__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 4px;
  color: #fff;
  font-weight: 800;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   SECCIONES GENÉRICAS
   ========================================================================== */
.section {
  position: relative;
  padding: var(--gap-xl) 0;
  overflow: hidden;
}

.section__watermark {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 800;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.025);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.section > .container { position: relative; z-index: 1; }

.section__header {
  margin-bottom: 64px;
  max-width: 720px;
}
.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__title {
  margin-bottom: 18px;
  line-height: 1;
}

.section__lead {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 560px;
}
.section__header--center .section__lead { margin: 0 auto; }

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services { background: var(--bg-primary); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.service-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 32px 28px;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width var(--t-slow);
}
.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.service-card:hover::before { width: 100%; }

.service-card--featured {
  background: linear-gradient(180deg, rgba(229,9,20,0.08), rgba(26,26,26,0.6));
  border-color: rgba(229, 9, 20, 0.4);
}

.service-card__tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
}

.service-card__name {
  font-family: var(--font-heading);
  font-size: 26px;
  letter-spacing: 1.5px;
  color: #fff;
}

.service-card__desc {
  color: var(--text-secondary);
  font-size: 13px;
  flex: 1;
}

.service-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.service-card__price strong {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--accent);
  letter-spacing: 1px;
}
.service-card__price span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.services__note {
  margin-top: 32px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ==========================================================================
   EXPERIENCIA
   ========================================================================== */
.experience { background: var(--bg-secondary); }

.experience__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.experience__paragraph {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 36px;
  max-width: 520px;
}

.experience__features {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}

.experience__features li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(229, 9, 20, 0.3);
  color: var(--accent);
  font-size: 18px;
}

.experience__features strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 2px;
}
.experience__features p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* -------- Mosaico de 3 fotos en la columna derecha -------- */
.experience__photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  height: 520px;
}

.photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0a0a0a;
  transition: transform var(--t-slow), border-color var(--t-base);
}
.photo:hover {
  border-color: rgba(229, 9, 20, 0.55);
  transform: translateY(-4px);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.9);
  transition: transform var(--t-slow), filter var(--t-base);
}
.photo:hover img {
  transform: scale(1.05);
  filter: grayscale(35%) contrast(1.1) brightness(1);
}

/* Degradado interior para legibilidad de la etiqueta */
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 45%,
    rgba(0,0,0,0.75) 100%
  );
  pointer-events: none;
}

.photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.photo figcaption::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

/* Layout tipo mosaico:
   ┌────────────┬────────┐
   │            │  MD    │
   │    LG      ├────────┤
   │            │  SM    │
   └────────────┴────────┘ */

.photo--lg {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  height: 100%;
  min-height: 400px;
}

.photo--md {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  height: 100%;
  min-height: 200px;
}

.photo--sm {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  height: 100%;
  min-height: 200px;
}

/* Esquinas decorativas rojas sobre la composición */
.experience__photos::before {
  content: "";
  position: absolute;
  top: -14px;
  right: -14px;
  width: 90px;
  height: 90px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}

.experience__photos::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: -14px;
  width: 90px;
  height: 90px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials { background: var(--bg-primary); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.testimonial {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all var(--t-base);
}
.testimonial:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.testimonial::before {
  content: "”";
  position: absolute;
  top: 4px; left: 20px;
  font-family: var(--font-script);
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
}
.testimonial__quote {
  position: relative;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  padding-top: 8px;
}
.testimonial__stars {
  color: #FFC107;
  font-size: 14px;
  letter-spacing: 3px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.testimonial__avatar {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 1px;
}
.testimonial__author strong {
  display: block;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
}
.testimonial__author small {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
   SEDES
   ========================================================================== */
.locations { background: var(--bg-secondary); }

.locations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-md);
}

.location-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 40px 32px;
  transition: all var(--t-base);
  overflow: hidden;
}
.location-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.location-card:hover {
  border-color: rgba(229, 9, 20, 0.4);
}
.location-card:hover::after { transform: scaleX(1); }

.location-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.location-card__name {
  font-family: var(--font-heading);
  font-size: 30px;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 20px;
}
.location-card__address {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.location-card__address strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.location-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.location-card__actions .btn {
  padding: 12px 22px;
  font-size: 11px;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact {
  position: relative;
  background: #0a0a0a;
  padding: 120px 0;
}
.contact__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(229,9,20,0.2), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(229,9,20,0.1), transparent 50%),
    linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
  z-index: 0;
}
.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}
.contact__title {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
}
.contact__subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 40px;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 56px;
}

/* Formulario */
.contact__form {
  background: rgba(18, 18, 18, 0.75);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form__row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__row span {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
}
.form__row input,
.form__row select {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  transition: border-color var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form__row input:focus,
.form__row select:focus {
  outline: none;
  border-color: var(--accent);
}
.form__row input::placeholder { color: var(--text-muted); }
.form__row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0A0A0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border-subtle);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer__brand strong {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 6px;
}
.footer__brand p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.footer__links h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 18px;
}
.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 22px 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 90;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.55);
  transition: all var(--t-base);
}
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 18px 40px -6px rgba(37, 211, 102, 0.75);
}
.whatsapp-float svg { width: 28px; height: 28px; }

/* ==========================================================================
   ANIMACIONES DE ENTRADA
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- Tablet grande / desktop pequeño --- */
@media (max-width: 1024px) {
  /* Hero: pasa a una columna, foto debajo */
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__content { max-width: 100%; }
  .hero__photo {
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
  }

  /* Experiencia: pasa a una columna */
  .experience__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .experience__photos {
    height: 440px;
    max-width: 560px;
    margin: 0 auto;
  }

  .services__grid,
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Tablet / móvil grande --- */
@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: 80px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(18,18,18,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 24px 24px;
    transform: translateY(-120%);
    transition: transform var(--t-base);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
  }
  .main-nav a::after { display: none; }

  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  .hero { padding-top: 120px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .hero__trust { gap: 24px; }
  .hero__trust li { flex: 1 1 40%; }

  .experience__photos {
    height: auto;
    max-width: 560px;
    margin: 0 auto;
  }
  .photo--lg { min-height: 340px; }
  .photo--md, .photo--sm { min-height: 160px; }

  .locations__grid,
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form__row { grid-template-columns: 1fr; }

  .contact__actions { flex-direction: column; }
  .contact__actions .btn { width: 100%; }
}

/* --- Móvil --- */
@media (max-width: 600px) {
  :root {
    --gap-xl: 72px;
  }

  .container { padding: 0 20px; }

  .services__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .section__watermark { font-size: 60px; top: 8px; }

  .hero__trust {
    padding-top: 24px;
    gap: 20px;
  }
  .trust__rating,
  .trust__value { font-size: 26px; }

  /* Hero foto en móvil */
  .hero__photo {
    max-width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 460px;
  }
  .hero__photo-frame { inset: 8px; }
  .hero__photo-frame::before,
  .hero__photo-frame::after { width: 24px; height: 24px; }

  /* Experiencia: mosaico pasa a stack vertical */
  .experience__photos {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
    height: auto;
  }
  .photo--lg,
  .photo--md,
  .photo--sm {
    grid-column: 1 / 2;
    grid-row: auto;
    min-height: 220px;
  }
  .experience__photos::before,
  .experience__photos::after { display: none; }

  .contact__form { padding: 22px; }

  .footer__inner { padding-bottom: 32px; }

  .whatsapp-float {
    width: 52px; height: 52px;
    bottom: 18px; right: 18px;
  }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* --- Accesibilidad: reduce motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}