/* =============================================================
   1. Tokens — Custom Properties
   ============================================================= */
:root {
  /* Palette — warm, friendly, cream & caramel */
  --bg:         #f7f2ec;
  --bg-2:       #efe5d6;
  --bg-3:       #e6d8c5;
  --bg-card:    #fffdf8;
  --ink:        #3a322a;
  --ink-soft:   #6f6457;
  --ink-mute:   #a89c8c;
  --accent:     #c17f4a;        /* warm terracotta — CTA */
  --accent-2:   #d9a766;        /* warm gold — gradient */
  --silver:     #a8754a;        /* deep caramel — was metallic silver */
  --silver-2:   #d9a766;
  --line:       rgba(58,51,44,0.10);
  --line-soft:  rgba(58,51,44,0.05);

  /* Mouse gradient positions */
  --mx: 50%;
  --my: 50%;

  /* Gradient colors (reactive) */
  --g1: #c17f4a;
  --g2: #d9a766;
  --g3: #b8946a;

  /* Typography */
  --display:  'Space Grotesk', sans-serif;
  --body:     'Inter', sans-serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-w:  1200px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --nav-h:  72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.025em; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100%, var(--max-w));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-label {
  display: block;
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
}

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

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-sub {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--ink-soft);
}

/* =============================================================
   4. Reveal animations
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--display);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: .875rem 1.75rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(58,51,44,0.3);
  transform: translateY(-2px);
}

.btn-plan {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
  margin-top: auto;
}
.btn-plan:hover {
  color: var(--ink);
  border-color: rgba(58,51,44,0.25);
}
.btn-plan--featured {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-plan--featured:hover {
  background: transparent;
  color: var(--accent);
}

/* =============================================================
   6. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.35s var(--ease-soft), backdrop-filter 0.35s;
}
.nav.is-solid {
  background: rgba(247,242,236,0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  max-width: var(--max-w);
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav-logo-img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(168,117,74,0.25);
}
.nav-logo-text {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--silver), var(--silver-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-brand {
  font-family: var(--display);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--display);
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  padding: .5rem 1.25rem;
  border: 1.5px solid var(--line) !important;
  border-radius: 100px;
  color: var(--ink) !important;
  transition: border-color .2s, background .2s !important;
}
.nav-cta:hover {
  background: var(--bg-3);
  border-color: rgba(58,51,44,0.2) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s var(--ease-out);
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(247,242,236,0.97);
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--gutter);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: .5rem 0;
}
.mobile-menu a:hover { color: var(--ink); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle 700px at var(--mx) var(--my),
      rgba(193,127,74,0.2) 0%, transparent 55%),
    radial-gradient(circle 900px at calc(var(--mx) + 15%) calc(var(--my) - 15%),
      rgba(217,167,102,0.15) 0%, transparent 55%),
    radial-gradient(circle 600px at calc(var(--mx) - 20%) calc(var(--my) + 20%),
      rgba(184,148,106,0.1) 0%, transparent 50%),
    var(--bg);
  filter: blur(60px) saturate(150%);
  transition: background 0.25s ease;
}

.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
  background-size: 256px;
}

.hero-body {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: clamp(5rem, 12vw, 10rem);
  display: flex;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-kicker {
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2rem;
  animation: fadeInUp .8s var(--ease-out) both;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 2rem;
  animation: fadeInUp .8s .1s var(--ease-out) both;
}

.hero-em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--silver) 0%, var(--silver-2) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 2.5rem;
  animation: fadeInUp .8s .2s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp .8s .3s var(--ease-out) both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.hero-scroll-hint span {
  font-family: var(--display);
  font-size: .6875rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  writing-mode: vertical-lr;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--ink-soft), transparent);
  animation: lineGrow 1.2s 1s var(--ease-out) both;
}

/* =============================================================
   8. Stats
   ============================================================= */
.stats {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.stat-item {
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.stat-item:hover { background: var(--bg-2); }
.stat-item:nth-child(2n) { border-right: 0; }
.stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: 0; }

.stat-number {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--silver) 0%, var(--silver-2) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .5rem;
}

.stat-label {
  font-size: .875rem;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}

/* =============================================================
   9. Manifesto
   ============================================================= */
.manifesto {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 900px;
}

.manifesto-text {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

/* =============================================================
   10. Servicios
   ============================================================= */
.servicios {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.servicio-card {
  background: var(--bg-card);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background .3s var(--ease-out);
}
.servicio-card:hover { background: var(--bg-3); }

.servicio-num {
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-mute);
}

.servicio-icon {
  color: var(--accent);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(193,127,74,0.1);
  border-radius: 12px;
  border: 1px solid rgba(193,127,74,0.15);
}

.servicio-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.servicio-desc {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}

.servicio-features {
  margin-top: .5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.servicio-features li {
  font-size: .8125rem;
  color: var(--ink-mute);
  padding-left: 1.25rem;
  position: relative;
}
.servicio-features li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--accent);
  font-size: .75rem;
}

/* =============================================================
   11. Planes
   ============================================================= */
.planes {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
  align-items: start;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.plan-card:hover {
  border-color: rgba(58,51,44,0.15);
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(58,51,44,0.18);
}

.plan-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(193,127,74,0.08) 0%, var(--bg-card) 100%);
}
.plan-card--featured:hover {
  border-color: var(--accent);
  box-shadow: 0 24px 80px rgba(193,127,74,0.2);
}

.plan-popular {
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  font-family: var(--display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: .25rem 1rem;
  border-radius: 0 0 10px 10px;
}

.plan-badge {
  font-family: var(--display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.plan-medal {
  font-size: 1.75rem;
  line-height: 1;
}

.plan-name {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.plan-ideal {
  font-size: .875rem;
  color: var(--ink-mute);
  line-height: 1.6;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: .25rem;
  line-height: 1;
}
.plan-currency {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .35rem;
}
.plan-amount {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.plan-features li {
  font-size: .8125rem;
  color: var(--ink-soft);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.45;
}
.plan-features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  top: .1em;
}

/* Mantenimiento */
.mantenimiento {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.mant-header {
  margin-bottom: 2.5rem;
}

.mant-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
}

.mant-sub {
  font-size: .9375rem;
  color: var(--ink-mute);
}

.mant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.mant-card {
  background: var(--bg-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.mant-card h4 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.mant-card p {
  font-size: .8125rem;
  color: var(--ink-mute);
  line-height: 1.65;
  flex: 1;
}

.mant-card--mid {
  background: var(--bg-3);
}

.mant-price {
  font-size: .875rem;
  color: var(--ink-soft);
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}
.mant-price strong {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.mant-price span { color: var(--ink-mute); font-size: .8125rem; }

/* =============================================================
   12. Proceso
   ============================================================= */
.proceso {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.proceso-step {
  background: var(--bg-card);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  transition: background .3s;
}
.proceso-step:hover { background: var(--bg-3); }

.step-num {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--silver) 0%, var(--ink-mute) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
}

.step-desc {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* =============================================================
   13. CTA / Contacto
   ============================================================= */
.cta-section {
  position: relative;
  padding-block: clamp(5rem, 10vw, 10rem);
  overflow: hidden;
}

.cta-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(193,127,74,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(217,167,102,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative; z-index: 1;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.cta-title {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.cta-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--silver) 0%, var(--silver-2) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}

/* Form */
.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-family: var(--display);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--body);
  font-size: .9375rem;
  color: var(--ink);
  background: var(--bg-card);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .875rem 1.125rem;
  width: 100%;
  transition: border-color .2s, background .2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-mute);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--bg-2);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a89c8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  padding: 1rem 2rem;
}
.btn-check {
  display: none;
}
.contact-form.is-sent .btn-text { display: none; }
.contact-form.is-sent .btn-check { display: block; }
.contact-form.is-sent .btn-submit { background: #22c55e; border-color: #22c55e; }

/* =============================================================
   14. Footer
   ============================================================= */
.footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(168,117,74,0.25);
}

.footer-logo-text {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--silver), var(--silver-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: .8125rem;
  color: var(--ink-mute);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: .8125rem;
  color: var(--ink-mute);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--ink); }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.footer-social svg { color: currentColor; }

.footer-copy {
  font-size: .8125rem;
  color: var(--ink-mute);
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

/* =============================================================
   15. Keyframe animations
   ============================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes lineGrow {
  from { transform: scaleY(0); transform-origin: top; }
  to   { transform: scaleY(1); }
}

/* =============================================================
   16. Responsive — mobile-first
   ============================================================= */
@media (max-width: 539px) {
  .hero-title { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-sub br { display: none; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 719px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .planes-grid { grid-template-columns: 1fr; }
  .mant-grid { grid-template-columns: 1fr; }
  .proceso-steps { grid-template-columns: 1fr; }
  .stat-item { padding: 1.5rem; }
}

@media (min-width: 540px) and (max-width: 959px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .planes-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .servicios-grid { grid-template-columns: 1fr; }
  .mant-grid { grid-template-columns: 1fr; }
  .proceso-steps { grid-template-columns: 1fr; }
}

@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: 0; }
  .stat-item:nth-child(4) { border-right: 0; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
}

/* =============================================================
   17. Reduced-motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-kicker,
  .hero-title,
  .hero-sub,
  .hero-actions { animation: none; opacity: 1; transform: none; }
  .hero-scroll-line { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   18. Hero Visual — floating metric cards
   ============================================================= */
.hero-visual {
  flex: 0 0 390px;
  position: relative;
  height: 460px;
}

.hv-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(193,127,74,0.12);
  transform: translate(-50%, -50%);
  animation: orbitSpin 25s linear infinite;
}
.hv-orbit::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 16px var(--accent), 0 0 32px rgba(193,127,74,0.4);
}
@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.hv-card {
  position: absolute;
  background: rgba(255,253,248,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(58,51,44,0.1);
  border-radius: 16px;
  padding: 1.125rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 158px;
}
.hv-card--1 { top: 18px;   left: 8px;   animation: floatCard 7s ease-in-out infinite; }
.hv-card--2 { top: 90px;   right: 8px;  animation: floatCard 7s ease-in-out infinite; animation-delay: -2.5s; }
.hv-card--3 { bottom: 90px; left: 28px; animation: floatCard 7s ease-in-out infinite; animation-delay: -4.5s; }
.hv-card--4 { bottom: 18px; right: 18px; animation: floatCard 7s ease-in-out infinite; animation-delay: -1.5s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hv-label {
  font-family: var(--display);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hv-value {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--silver) 0%, var(--silver-2) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hv-sub   { font-size: .75rem; color: var(--ink-mute); }
.hv-trend { font-size: .75rem; color: #22c55e; font-weight: 500; }

@media (max-width: 959px) {
  .hero-visual { display: none; }
  .hero-body { display: block; }
}

/* =============================================================
   19. Process timeline
   ============================================================= */
.proceso-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.proceso-timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(193,127,74,0.5),
    rgba(217,167,102,0.5),
    rgba(193,127,74,0.4),
    rgba(184,148,106,0.5));
  z-index: 0;
}

.timeline-step {
  padding: 0 1.25rem 3rem;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-step-num {
  font-family: var(--display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .75rem;
}

.timeline-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--accent);
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 12px rgba(193,127,74,0.4);
  transition: background .3s, box-shadow .3s;
}
.timeline-step:hover .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 22px rgba(193,127,74,0.65);
}

.timeline-title {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
}
.timeline-desc {
  font-size: .875rem;
  color: var(--ink-mute);
  line-height: 1.65;
  max-width: 22ch;
}

@media (max-width: 959px) {
  .proceso-timeline { grid-template-columns: 1fr 1fr; }
  .proceso-timeline::before { display: none; }
}
@media (max-width: 539px) {
  .proceso-timeline { grid-template-columns: 1fr; }
}

/* =============================================================
   20. Testimonios
   ============================================================= */
.testimonios {
  padding-block: clamp(4rem, 8vw, 8rem);
}

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

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.testi-card:hover {
  border-color: rgba(58,51,44,0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(58,51,44,0.12);
}

.testi-stars { font-size: .875rem; color: #f59e0b; letter-spacing: .08em; }

.testi-text {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testi-avatar--1 { background: linear-gradient(135deg, #c17f4a, #d9a766); }
.testi-avatar--2 { background: linear-gradient(135deg, #b8946a, #c17f4a); }
.testi-avatar--3 { background: linear-gradient(135deg, #d9a766, #e8c690); }

.testi-name {
  font-family: var(--display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.testi-role { font-size: .75rem; color: var(--ink-mute); margin-top: .1rem; }

@media (max-width: 719px) {
  .testi-grid { grid-template-columns: 1fr; }
}
@media (min-width: 720px) and (max-width: 959px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   21. WhatsApp float button
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: .625rem;
  background: #25d366;
  color: #fff;
  font-family: var(--display);
  font-size: .875rem;
  font-weight: 600;
  padding: .875rem 1.375rem .875rem 1.125rem;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  transition: transform .25s var(--ease-out), box-shadow .25s, opacity .4s var(--ease-out);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}
.wa-float.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(37,211,102,0.5);
}
.wa-float svg { flex-shrink: 0; }

@media (max-width: 539px) {
  .wa-float span { display: none; }
  .wa-float { padding: 1rem; border-radius: 50%; }
}

/* =============================================================
   22. Micro-interactions
   ============================================================= */

/* Button shimmer */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: btnShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShimmer {
  0%      { left: -100%; }
  60%,100%{ left: 200%; }
}

/* Service icon glow on card hover */
.servicio-card:hover .servicio-icon {
  background: rgba(193,127,74,0.18);
  box-shadow: 0 0 20px rgba(193,127,74,0.2);
}

/* Featured plan glow pulse */
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(193,127,74,0.15), 0 24px 60px rgba(58,51,44,0.12); }
  50%     { box-shadow: 0 0 40px rgba(193,127,74,0.3), 0 0 80px rgba(217,167,102,0.15), 0 24px 60px rgba(58,51,44,0.12); }
}
.plan-card--featured { animation: glowPulse 4s ease-in-out infinite; }
.plan-card--featured:hover {
  animation: none;
  box-shadow: 0 24px 80px rgba(193,127,74,0.25), 0 0 60px rgba(193,127,74,0.2);
}
