/* ============================================================
   OrchidVita — Especialistas en orquídeas · Lima, Perú
   Hoja de estilos principal
   ============================================================ */

/* ─── Tokens / Variables ─── */
:root {
  --plum: #3d1f3f;
  --plum-dark: #2a1030;
  --gold: #c9a96e;
  --gold-light: #dfc090;
  --gold-ink: #8a6a34;        /* dorado accesible para texto sobre crema */
  --cream: #fdf6ee;
  --cream-2: #f7ece0;
  --peach: #f5c9a9;
  --peach-light: #fde8d8;
  --sage: #8fa882;
  --rose: #c46a8f;
  --white: #ffffff;

  --ink: #3d1f3f;
  --ink-70: rgba(61, 31, 63, 0.72);
  --ink-55: rgba(61, 31, 63, 0.56);
  --line: rgba(201, 169, 110, 0.28);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, -apple-system, Segoe UI, sans-serif;

  --container: 1200px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 4px 14px rgba(61, 31, 63, 0.08);
  --shadow-md: 0 16px 40px rgba(61, 31, 63, 0.10);
  --shadow-lg: 0 26px 60px rgba(61, 31, 63, 0.16);
  --section-y: 6.5rem;

  --vh: 1vh;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;     /* compensa nav fijo al saltar a anclas */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─── Accesibilidad: foco y skip link ─── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--plum);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 12px 12px;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ─── Tipografía / utilidades ─── */
.serif { font-family: var(--font-serif); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 5s ease-in-out infinite; }

.section {
  padding: var(--section-y) 1.5rem;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--plum);
}

.section-desc {
  color: var(--ink-70);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-head .section-desc { margin-top: 1rem; }

/* ─── Botones ─── */
.btn {
  --btn-pad-y: 0.95rem;
  --btn-pad-x: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(201, 169, 110, 0.36);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(201, 169, 110, 0.46); }

.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--plum);
  border-color: rgba(61, 31, 63, 0.25);
}
.btn-outline:hover { background: var(--white); border-color: var(--plum); }

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.34);
}
.btn-whatsapp:hover { background: #1fbe5b; box-shadow: 0 14px 30px rgba(37, 211, 102, 0.44); }

.btn-ghost {
  background: transparent;
  color: var(--plum);
  border-color: rgba(61, 31, 63, 0.3);
}
.btn-ghost:hover { background: var(--plum); color: var(--white); }

.btn-sm { --btn-pad-y: 0.62rem; --btn-pad-x: 1.25rem; font-size: 0.82rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(253, 246, 238, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(253, 246, 238, 0.95);
  box-shadow: 0 6px 24px rgba(61, 31, 63, 0.08);
  border-bottom-color: var(--line);
}

.nav {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--peach-light), var(--cream));
  border: 1px solid var(--line);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--plum);
  letter-spacing: 0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-menu a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--plum);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--gold-ink); }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.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;
  padding: 9rem 1.5rem 4.5rem;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 380px; height: 380px;
  top: -80px; right: -60px;
  background: rgba(245, 201, 169, 0.5);
}
.hero::after {
  width: 320px; height: 320px;
  bottom: -120px; left: -80px;
  background: rgba(143, 168, 130, 0.28);
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--gold-ink);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 1.6rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--plum);
  margin-bottom: 1.3rem;
}
.hero-title .accent {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-ink), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink-70);
  font-weight: 300;
  max-width: 30rem;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.hero-trust-stars { color: var(--gold); font-size: 1rem; letter-spacing: 1px; }
.hero-trust-text { font-size: 0.86rem; color: var(--ink-55); }
.hero-trust-text strong { color: var(--plum); font-weight: 600; }

/* Imagen del hero */
.hero-media { position: relative; }
.hero-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  rotate: 1.5deg;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.7rem 1rem;
  z-index: 2;
}
.hero-chip i { font-size: 1.4rem; color: var(--gold-ink); }
.hero-chip-num { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--plum); line-height: 1; }
.hero-chip-label { font-size: 0.72rem; color: var(--ink-55); }
.hero-chip--tl { top: 1.4rem; left: -1.2rem; }
.hero-chip--br { bottom: 1.4rem; right: -1.2rem; }

/* ============================================================
   BARRA DE CONFIANZA
   ============================================================ */
.trust-bar {
  background: linear-gradient(180deg, #fffaf4, #fdeee0);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 1.5rem;
}
.trust-inner {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  color: var(--ink-70);
  font-size: 0.9rem;
}
.trust-item i { color: var(--gold-ink); font-size: 1.15rem; flex-shrink: 0; }

/* ============================================================
   SOBRE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}
.about-media { position: relative; }
.about-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-inline: auto;
  border-radius: 48% 52% 60% 40% / 55% 42% 58% 45%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--peach-light), var(--cream));
  box-shadow: var(--shadow-md);
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-media::before {
  content: "";
  position: absolute;
  inset: auto -1.5rem -1.5rem auto;
  width: 150px; height: 150px;
  background: rgba(201, 169, 110, 0.22);
  border-radius: 50%;
  filter: blur(36px);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.4rem;
  text-align: center;
}
.about-stat .num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 600;
  color: var(--gold-ink);
  line-height: 1;
}
.about-stat .label { font-size: 0.8rem; color: var(--ink-55); margin-top: 0.4rem; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: var(--container);
  margin-inline: auto;
}
.service-card {
  display: flex;
  gap: 1.25rem;
  padding: 2.1rem;
  border-radius: var(--radius);
  background: rgba(253, 246, 238, 0.6);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 169, 110, 0.5);
}
.service-icon {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  background: linear-gradient(135deg, var(--peach-light), var(--white));
  border: 1px solid var(--line);
}
.service-body { flex: 1; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 0.4rem;
}
.service-card p { color: var(--ink-70); font-size: 0.96rem; font-weight: 300; line-height: 1.65; }
.service-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201, 169, 110, 0.25);
  line-height: 1;
}

/* ============================================================
   PROCESO (stepper)
   ============================================================ */
.process { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.process-steps {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-line {
  position: absolute;
  top: 48px; left: 12%; right: 12%;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  z-index: 0;
}
.process-line::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  transition: width 0.5s ease;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}
.step-dot {
  width: 96px; height: 96px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  background: var(--white);
  border: 3px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.step.is-active .step-dot {
  transform: scale(1.08);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.34);
}
.step-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-ink);
  margin-bottom: 0.45rem;
}
.step h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 0.35rem;
}
.step p { font-size: 0.9rem; color: var(--ink-55); font-weight: 300; }

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery-grid {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-2);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(42, 16, 48, 0.78), transparent);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(26, 10, 30, 0.92);
  backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 84vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-cap {
  position: absolute;
  bottom: 1.4rem; left: 0; right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.lightbox-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.6rem;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-close { top: 1.2rem; right: 1.2rem; transform: none; width: 46px; height: 46px; font-size: 1.4rem; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials { background: linear-gradient(180deg, #fef8f1, var(--white)); }
.testi-grid {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  padding: 2.2rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testi-stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 1px; }
.testi-text { color: var(--ink-70); font-style: italic; font-weight: 300; line-height: 1.7; flex: 1; }
.testi-author { font-weight: 600; color: var(--plum); font-size: 0.92rem; }
.testi-loc { font-size: 0.8rem; color: var(--gold-ink); }

/* ============================================================
   CTA / CONTACTO
   ============================================================ */
.cta { background: var(--cream); }
.cta-card {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--plum), var(--plum-dark));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-card::before { width: 260px; height: 260px; top: -90px; right: -60px; background: rgba(201, 169, 110, 0.4); }
.cta-card::after  { width: 220px; height: 220px; bottom: -90px; left: -50px; background: rgba(196, 106, 143, 0.35); }
.cta-flower { font-size: 3rem; display: block; margin-bottom: 1rem; position: relative; }
.cta-card h2 {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-card p {
  position: relative;
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
  font-size: 1.05rem;
}
.cta-buttons { position: relative; display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.cta-card .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.cta-card .btn-ghost:hover { background: var(--white); color: var(--plum); }
.cta-meta {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}
.cta-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.cta-meta i { color: var(--gold-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #fff9f2, #fdf1e4);
  border-top: 1px solid var(--line);
  padding: 3.5rem 1.5rem 2rem;
}
.footer-grid {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-70); font-size: 0.9rem; font-weight: 300; max-width: 22rem; }
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--plum);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: var(--ink-70); font-size: 0.9rem; text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-ink); }
.footer-socials { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(201, 169, 110, 0.18);
  color: var(--plum);
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-btn:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.footer-bottom {
  max-width: var(--container);
  margin: 2.5rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-55);
  font-size: 0.8rem;
}

/* ─── Botón flotante WhatsApp ─── */
.whatsapp-float {
  position: fixed;
  bottom: 1.6rem; right: 1.6rem;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
  font-size: 1.7rem;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  z-index: 90;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: ws-ping 2.2s ease-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6); }
@keyframes ws-ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ─── Reveal on scroll ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in-view { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-y: 5rem; }
  .hero-grid { gap: 2.5rem; }
  .about-grid { gap: 3rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-menu,
  .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }

  /* Panel móvil */
  .nav-menu.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.is-open li { width: 100%; }
  .nav-menu.is-open a { display: block; padding: 0.85rem 0.5rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-menu.is-open a::after { display: none; }
  .nav-menu.is-open .nav-menu-cta {
    margin-top: 0.75rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white) !important;
    border-radius: 100px;
    border: 0 !important;
  }

  .hero { padding-top: 7.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-media { order: -1; max-width: 380px; margin-inline: auto; width: 100%; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-title, .hero-content { text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }

  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-figure { max-width: 360px; }
  .services-grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-line { display: none; }
  .step { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 1.2rem; text-align: left; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step-dot { margin: 0; }
  .step-body { display: flex; flex-direction: column; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-caption { opacity: 1; transform: none; }   /* siempre visible en táctil */
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  :root { --section-y: 3.75rem; }
  .section { padding-left: 1.15rem; padding-right: 1.15rem; }
  .hero { padding: 7rem 1.15rem 3rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-chip--tl { left: 0.6rem; top: 0.8rem; }
  .hero-chip--br { right: 0.6rem; bottom: 0.8rem; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { justify-content: flex-start; text-align: left; }
  .about-stats { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-meta { flex-direction: column; gap: 0.8rem; align-items: center; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.55rem; bottom: 1.2rem; right: 1.2rem; }
}

/* ─── Preferencias de movimiento reducido ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
