/* ============================================================
   MODS · mods.cl — Sistema de diseño (claro editorial, corte Apple)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Fondos / superficies */
  --bg-canvas: #F7F3EC;
  --navy-900: #FBF8F2;
  --surface-1: #FFFFFF;
  --surface-2: #FBF7F0;
  --border: rgba(32, 36, 46, 0.08);
  --border-strong: rgba(32, 36, 46, 0.14);
  --border-active: rgba(189, 88, 54, 0.4);

  /* Acentos (terracota + verde petróleo) */
  --violet: #BD5836;
  --violet-300: #A84C2C;
  --violet-600: #8F3F22;
  --cyan: #2F6B57;
  --cyan-300: #3E8A70;

  /* Texto */
  --text-1: #1C1F27;
  --text-2: #50545F;
  --text-3: #8A8E99;
  --on-accent: #FFFFFF;

  /* Estados */
  --success: #2F7D5B;
  --warning: #C98A3C;
  --error: #C0453C;
  --wa: #25D366;

  /* Acentos sólidos (sin gradientes) */
  --grad-accent: #BD5836;
  --grad-brand: #B5532F;

  /* Tipografía */
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radios */
  --r-chip: 8px;
  --r-btn: 999px;
  --r-card: 24px;
  --r-bento: 30px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(32, 36, 46, 0.05), 0 4px 14px rgba(32, 36, 46, 0.05);
  --shadow-md: 0 18px 50px rgba(32, 36, 46, 0.1);
  --shadow-glow: 0 8px 24px rgba(189, 88, 54, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.16s var(--ease);
  --t-base: 0.3s var(--ease);
  --t-slow: 0.7s var(--ease);

  /* Layout */
  --maxw: 1200px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --nav-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-body);
  background: var(--bg-canvas);
  color: var(--text-2);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--text-1); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }

::selection { background: rgba(189, 88, 54, 0.3); color: #fff; }

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--violet); color: #fff; padding: 12px 22px; border-radius: 0 0 12px 12px;
  z-index: 1000; font-weight: 600; transition: top var(--t-base);
}
.skip-link:focus { top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Fondos ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: var(--bg-canvas); }
.bg-grid { display: none; }
.cursor, .cursor-dot { display: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; }
.section-head { max-width: 780px; margin-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--violet);
  display: inline-flex; align-items: center; margin-bottom: 1.1rem;
}
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(2rem, 4.8vw, 3.4rem); margin-bottom: 1.1rem; }
.section-sub { color: var(--text-2); font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 58ch; line-height: 1.55; }
.section-head.center .section-sub { margin-inline: auto; }
.grad-text {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Botones (pill, corte Apple) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.9em 1.7em; border-radius: var(--r-btn); font-weight: 600;
  font-size: 0.98rem; line-height: 1;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), border-color var(--t-base), color var(--t-base);
  white-space: nowrap;
}
.btn .arrow { transition: transform var(--t-base); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--grad-accent); color: #fff; }
.btn-primary:hover { background: var(--violet-300); transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--text-1); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--text-1); background: rgba(32, 36, 46, 0.03); }
.btn-wa { background: #E9F9EF; color: #12693A; border: 1px solid rgba(37, 211, 102, 0.35); }
.btn-wa:hover { background: #DDF5E7; transform: translateY(-1px); }
.btn-lg { padding: 1.05em 2.1em; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  background: rgba(247, 243, 236, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.nav.scrolled { background: rgba(247, 243, 236, 0.88); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.brand { display: inline-flex; align-items: center; }
.brand svg { height: 28px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links { display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 2rem); }
.nav-link { color: var(--text-2); font-weight: 500; font-size: 0.92rem; transition: color var(--t-fast); }
.nav-link:hover { color: var(--text-1); }
.nav-cta { display: inline-flex; padding: 0.62em 1.3em; font-size: 0.9rem; }
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; z-index: 110; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; transition: transform var(--t-base), opacity 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 (centrado, tipografía protagonista) ---------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(4rem, 10vw, 7.5rem));
  padding-bottom: clamp(4rem, 9vw, 7rem);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 86vh; display: flex; align-items: center;
}
.hero3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.hero3d.ready { opacity: 1; }
.hero > .container { position: relative; z-index: 2; }
.hero-blob { display: none; }
.hero-inner { display: flex; justify-content: center; }
.hero-content { max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; }
/* velo suave para que el titular siga legible sobre las partículas */
.hero-content::before { content: ""; position: absolute; inset: -10% -14%; background: radial-gradient(ellipse 62% 58% at 50% 42%, rgba(247, 243, 236, 0.82) 30%, rgba(247, 243, 236, 0) 72%); z-index: -1; pointer-events: none; }
.hero h1 {
  font-size: clamp(2.7rem, 7.2vw, 5.4rem);
  line-height: 1.02; margin-bottom: 1.5rem; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero .subhead {
  font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--text-2);
  max-width: 44ch; margin-inline: auto; margin-bottom: 2.4rem; line-height: 1.55;
  text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-bottom: 2.2rem; }
.trustline { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem; color: var(--text-3); font-size: 0.88rem; }
.trustline span { display: inline-flex; align-items: center; gap: 0.45em; }
.trustline i { color: var(--success); font-size: 0.8em; }

/* Métricas reutilizadas (estimador) */
.hp-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1rem; }
.hp-metric { background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; padding: 0.9rem 1rem; }
.hp-metric .v { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--text-1); }
.hp-metric .v.up { color: var(--cyan); } .hp-metric .v.down { color: var(--violet-300); }
.hp-metric .l { font-size: 0.76rem; color: var(--text-3); }

/* ---------- Franja de confianza / stats ---------- */
.trust-strip { border-block: 1px solid var(--border); background: var(--surface-1); }
.trust-strip .container { padding-block: clamp(2.6rem, 5vw, 4rem); }
.industries { text-align: center; color: var(--text-3); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.4rem; }
.ind-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 0.7rem; }
.ind-list span { padding: 0.42rem 1.05rem; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 0.86rem; color: var(--text-2); background: var(--bg-canvas); }

.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.2rem 0.6rem; }
.stat .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; color: var(--text-1); font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.03em; }
.stat .num .grad-text { display: inline; }
.stat .lbl { font-size: 0.84rem; color: var(--text-3); margin-top: 0.55rem; }

/* ---------- Dolor / "¿Te suena esto?" ---------- */
.pains-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.pain { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base); }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain .pain-q { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-1); font-weight: 600; font-family: var(--font-display); margin-bottom: 0.6rem; font-size: 1.05rem; }
.pain .pain-q i { color: var(--error); margin-top: 0.2rem; flex-shrink: 0; font-size: 0.9em; }
.pain p { font-size: 0.95rem; color: var(--text-2); }
.pains-bridge { margin-top: clamp(2.5rem, 6vw, 4rem); text-align: center; font-size: clamp(1.3rem, 2.8vw, 2rem); color: var(--text-1); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.pains-bridge .grad-text { display: inline; }

/* ---------- Value props ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.1rem; }
.value { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-card); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value .ico { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: rgba(189, 88, 54, 0.1); color: var(--violet-300); font-size: 1.1rem; margin-bottom: 1.2rem; }
.value h3 { font-size: 1.18rem; margin-bottom: 0.6rem; }
.value p { font-size: 0.94rem; }

/* ---------- Work / casos ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.work-card { grid-column: span 4; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-bento); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base); }
.work-card.feature { grid-column: span 8; }
.work-card.wide { grid-column: span 6; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work-shot { position: relative; background: var(--navy-900); border-bottom: 1px solid var(--border); }
.work-chrome { display: flex; align-items: center; gap: 6px; padding: 0.65rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.work-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(32, 36, 46, 0.12); display: block; }
.work-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.work-card.feature .work-shot img { aspect-ratio: 16 / 9; }
.work-card:hover .work-shot img { transform: scale(1.035); }
.work-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.work-meta { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; }
.work-cat { font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.work-metric { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--cyan); background: rgba(47, 107, 87, 0.08); padding: 0.28rem 0.75rem; border-radius: var(--r-pill); }
.work-body h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.work-body p { font-size: 0.94rem; margin-bottom: 1.1rem; }
.work-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.work-tags span { font-size: 0.74rem; padding: 0.26rem 0.65rem; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); color: var(--text-3); }

/* ---------- Proceso ---------- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.1rem; counter-reset: step; position: relative; }
.step { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.8rem 1.6rem; position: relative; box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .step-n { font-family: var(--font-display); font-weight: 700; width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--grad-accent); color: #fff; margin-bottom: 1.1rem; font-size: 0.95rem; }
.step h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.service { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-bento); padding: 2rem 1.9rem; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-active); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.service .ico { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: rgba(189, 88, 54, 0.1); color: var(--violet-300); font-size: 1.2rem; }
.service .num { font-family: var(--font-mono); color: var(--text-3); font-size: 0.88rem; }
.service h3 { font-size: 1.28rem; margin-bottom: 0.6rem; }
.service p { font-size: 0.94rem; margin-bottom: 1.1rem; }
.service ul { display: flex; flex-direction: column; gap: 0.55rem; }
.service li { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--text-2); align-items: flex-start; }
.service li i { color: var(--cyan); margin-top: 0.3rem; font-size: 0.72rem; flex-shrink: 0; }
.service-link { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 1.3rem; color: var(--violet); font-weight: 600; font-size: 0.94rem; transition: color var(--t-fast); }
.service-link:hover { color: var(--violet-600); }
.service-link .arrow { transition: transform var(--t-base); }
.service-link:hover .arrow { transform: translateX(4px); }

/* ---------- Estimador ---------- */
.estimator-wrap { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-bento); padding: clamp(1.8rem, 4vw, 3.2rem); max-width: 880px; margin-inline: auto; position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.est-progress { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.8rem; font-size: 0.8rem; font-weight: 600; color: var(--text-3); }
.est-bar { flex: 1; height: 5px; border-radius: var(--r-pill); background: rgba(32, 36, 46, 0.06); overflow: hidden; }
.est-bar > i { display: block; height: 100%; width: 33%; background: var(--grad-accent); border-radius: var(--r-pill); transition: width var(--t-slow); }
.est-step { display: none; animation: fade 0.45s var(--ease); }
.est-step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.est-step h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 0.4rem; }
.est-step > p { color: var(--text-2); margin-bottom: 1.5rem; font-size: 0.96rem; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.85rem; }
.opt {
  border: 1px solid var(--border); background: var(--surface-2); border-radius: 18px;
  padding: 1.15rem; text-align: left; transition: border-color var(--t-base), transform var(--t-fast), background var(--t-base), box-shadow var(--t-base); position: relative;
}
.opt:hover { border-color: var(--border-active); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.opt.selected { border-color: var(--violet); background: rgba(189, 88, 54, 0.08); box-shadow: 0 0 0 1px var(--violet); }
.opt i.opt-ico { font-size: 1.25rem; color: var(--violet-300); margin-bottom: 0.6rem; display: block; }
.opt .opt-title { display: block; font-family: var(--font-display); font-weight: 600; color: var(--text-1); font-size: 1rem; margin-bottom: 0.25rem; }
.opt span { font-size: 0.82rem; color: var(--text-3); }
.opt .opt-check { position: absolute; top: 0.85rem; right: 0.85rem; color: var(--violet); opacity: 0; transition: opacity var(--t-fast); }
.opt.selected .opt-check { opacity: 1; }
.est-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.est-fields .full { grid-column: 1 / -1; }
.est-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.7rem; }
.est-result { text-align: center; }
.est-result .est-range { display: inline-flex; align-items: center; gap: 0.8rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--text-1); margin: 1rem 0; letter-spacing: -0.02em; }
.est-range .grad-text { display: inline; }
.est-note { font-size: 0.87rem; color: var(--text-3); max-width: 46ch; margin: 0.5rem auto 1.4rem; }
.est-success { text-align: center; padding: 1rem 0; }
.est-success .ok { font-size: 3rem; color: var(--success); margin-bottom: 1rem; }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--text-2); }
.field input, .field textarea {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 0.85em 1.05em; color: var(--text-1); transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base); width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 3px rgba(189, 88, 54, 0.12); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.form-msg { font-size: 0.9rem; padding: 0.8rem 1rem; border-radius: 14px; margin-top: 0.4rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(47, 125, 91, 0.1); border: 1px solid rgba(47, 125, 91, 0.28); color: var(--success); }
.form-msg.err { background: rgba(192, 69, 60, 0.1); border: 1px solid rgba(192, 69, 60, 0.28); color: var(--error); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; }
.faq-item { background: transparent; border: none; border-bottom: 1px solid var(--border-strong); border-radius: 0; overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--border-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.4rem 0.2rem; display: flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 600; color: var(--text-1); font-size: clamp(1rem, 1.6vw, 1.12rem); transition: color var(--t-fast); }
.faq-item summary:hover { color: var(--violet); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-ico { margin-left: auto; flex-shrink: 0; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: rgba(32, 36, 46, 0.05); color: var(--text-2); transition: transform var(--t-base), background var(--t-base), color var(--t-base); font-size: 0.75rem; }
.faq-item[open] summary .q-ico { transform: rotate(45deg); background: rgba(189, 88, 54, 0.12); color: var(--violet); }
.faq-item .faq-a { padding: 0 0.2rem 1.5rem; color: var(--text-2); font-size: 0.97rem; max-width: 62ch; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-text p { margin-bottom: 1.1rem; color: var(--text-2); font-size: 1.05rem; }
.guarantee { margin-top: 1.7rem; display: flex; gap: 1rem; align-items: flex-start; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); }
.guarantee i { color: var(--violet); font-size: 1.4rem; margin-top: 0.15rem; }
.guarantee b { color: var(--text-1); }
.about-panel { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-bento); padding: 2rem; box-shadow: var(--shadow-sm); }
.about-panel .ab-stat { display: flex; align-items: baseline; gap: 0.9rem; padding-block: 1rem; border-bottom: 1px solid var(--border); }
.about-panel .ab-stat:last-child { border-bottom: none; }
.about-panel .ab-stat .n { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--text-1); min-width: 92px; letter-spacing: -0.03em; }
.about-panel .ab-stat .t { font-size: 0.9rem; color: var(--text-3); }

/* ---------- CTA final / contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-bento); padding: clamp(1.7rem, 4vw, 2.5rem); box-shadow: var(--shadow-md); }
.contact-info { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.8rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.25rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-1); box-shadow: var(--shadow-sm); transition: transform var(--t-fast), box-shadow var(--t-base); }
.contact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-item .ci-ico { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }
.contact-item.email .ci-ico { background: rgba(189, 88, 54, 0.1); color: var(--violet-300); }
.contact-item.wa .ci-ico { background: rgba(37, 211, 102, 0.14); color: #12693A; }
.contact-item .ci-l { font-size: 0.78rem; color: var(--text-3); display: block; }
.contact-item .ci-v { color: var(--text-1); font-weight: 600; }
.contact-bullets { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.contact-bullets li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.94rem; color: var(--text-2); }
.contact-bullets i { color: var(--success); }
.form-stack { display: flex; flex-direction: column; gap: 1rem; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  transition: transform var(--t-base);
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- Barra CTA móvil ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: none; padding: 0.7rem clamp(1rem, 4vw, 1.5rem); gap: 0.7rem; background: rgba(247, 243, 236, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border); }
.mobile-cta .btn { flex: 1; padding: 0.85em 1em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--surface-1); padding-block: clamp(2.8rem, 5vw, 4.5rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand svg { height: 28px; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-3); font-size: 0.9rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-display); color: var(--text-1); font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; color: var(--text-3); font-size: 0.9rem; margin-bottom: 0.6rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--violet); }
.footer-col .btn { color: #fff; display: inline-flex; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--text-3); font-size: 0.85rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text-2); transition: all var(--t-base); }
.footer-social a:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }

/* ---------- Scroll reveal (progressive enhancement: visible sin JS) ---------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .work-card, .work-card.wide { grid-column: span 6; }
  .work-card.feature { grid-column: span 12; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .hero { min-height: 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-menu.open .nav-links { display: flex; }
  .nav-menu.open { position: fixed; inset: var(--nav-h) 0 0 0; overflow-y: auto; background: rgba(247, 243, 236, 0.98); backdrop-filter: blur(20px); padding: 1.5rem var(--pad) 2rem; flex-direction: column; align-items: stretch; gap: 1.2rem; }
  .nav-menu.open .nav-links { flex-direction: column; align-items: stretch; gap: 1.1rem; }
  .nav-menu.open .nav-link { font-size: 1.3rem; font-family: var(--font-display); font-weight: 600; color: var(--text-1); }
  .nav-menu.open .nav-cta { display: inline-flex; }
  .nav-toggle { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .work-card, .work-card.feature, .work-card.wide { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .est-fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .footer-brand { grid-column: 1 / -1; }
  .mobile-cta { display: flex; }
  .mobile-cta .btn { min-height: 48px; }
  body { padding-bottom: 76px; }
  .wa-float { display: none; }
  body.menu-open .mobile-cta { display: none; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .opt-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Reduced 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; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
}
