/* ==========================================================================
   MyF Technologies — hoja de estilos principal
   ========================================================================== */

:root {
  --orange: #f26b1d;
  --orange-dark: #d4560d;
  --orange-light: #ff8a3d;
  --orange-soft: #fff1e8;
  --navy: #0f1b2d;
  --navy-2: #182540;
  --navy-3: #22314f;
  --ink: #15202f;
  --muted: #5c6b7f;
  --bg: #f4f6f9;
  --card: #ffffff;
  --line: #e2e7ee;
  --purple: #5b2c9e;
  --purple-2: #7e45d6;
  --purple-soft: #f1eafb;
  --brown: #6e2b0c;
  --brown-2: #b7440f;
  --green: #2e9e5b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(15, 27, 45, .08);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, .16);
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.accent { color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--orange-light), var(--orange)); color: #fff; box-shadow: 0 10px 24px rgba(242, 107, 29, .35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(242, 107, 29, .45); }
.btn-outline { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .05); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-purple { background: linear-gradient(135deg, var(--purple-2), var(--purple)); color: #fff; box-shadow: 0 10px 24px rgba(91, 44, 158, .3); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 11px 20px; font-size: 16px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* Cabecera --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 27, 45, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 82px; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--navy); transition: background .15s, color .15s; }
.nav a:hover { background: var(--orange-soft); color: var(--orange-dark); }
.nav a.nav-deca { margin-left: 4px; border: 2px solid var(--navy); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 16px; letter-spacing: .08em; padding: 7px 14px; }
.nav a.nav-deca:hover { background: var(--navy); color: #fff; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy); transition: transform .2s, top .2s; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(242, 107, 29, .28), transparent 60%),
    radial-gradient(700px 400px at 5% 90%, rgba(126, 69, 214, .22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0c1526 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 88px 0 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffd4b8; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242,107,29,.3); }
.hero h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 800; margin: 22px 0 18px; }
.hero p.lead { font-size: 19px; color: #c9d2e0; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div { border-left: 3px solid var(--orange); padding-left: 14px; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 30px; line-height: 1; }
.hero-stats span { font-size: 13px; color: #aab6c8; }

.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit {
  padding: 24px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px);
  transition: transform .2s, background .2s, border-color .2s;
}
.benefit:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); border-color: rgba(242,107,29,.5); }
.benefit .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange-light), var(--orange)); margin-bottom: 16px; box-shadow: 0 8px 20px rgba(242,107,29,.35); }
.benefit .ico svg { width: 26px; height: 26px; color: #fff; }
.benefit h3 { font-size: 24px; }
.benefit h3 small { display: block; font-size: 14px; font-weight: 600; letter-spacing: .12em; color: #ffb27a; margin-bottom: 2px; }
.benefit p { margin-top: 8px; font-size: 14px; color: #b6c1d1; }
.benefit:nth-child(2) { transform: translateY(22px); }
.benefit:nth-child(2):hover { transform: translateY(18px); }
.benefit:nth-child(4) { transform: translateY(22px); }
.benefit:nth-child(4):hover { transform: translateY(18px); }

/* Franja de confianza ---------------------------------------------------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; gap: 24px; padding: 22px 0; flex-wrap: wrap; }
.trust-title { font-family: var(--font-head); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1; color: var(--navy); min-width: 180px; }
.trust-title span { color: var(--orange); display: block; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 28px; flex: 1; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--navy); }
.trust-list svg { width: 26px; height: 26px; color: var(--orange); flex-shrink: 0; }

/* Secciones genéricas ---------------------------------------------------- */
.section { padding: 88px 0; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 54px); font-weight: 800; color: var(--navy); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* Planes ----------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-head { display: flex; align-items: center; gap: 14px; padding: 22px 22px; color: #fff; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.plan-head .ico { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(255,255,255,.85); display: grid; place-items: center; flex-shrink: 0; background: rgba(0,0,0,.18); }
.plan-head .ico svg { width: 26px; height: 26px; }
.plan-head h3 { font-size: 30px; font-weight: 800; }
.plan-head h3 small { display: block; font-size: 15px; font-weight: 600; letter-spacing: .14em; opacity: .9; }
.plan-head h3 .name { color: var(--orange-light); }
.plan--esencial .plan-head { background: linear-gradient(135deg, #2a3a54, var(--navy)); }
.plan--profesional .plan-head { background: linear-gradient(135deg, var(--brown-2), var(--brown)); }
.plan--premium .plan-head { background: linear-gradient(135deg, #1c2a44, #070d18); }
.plan--desarrollo .plan-head { background: linear-gradient(135deg, var(--purple-2), var(--purple)); }
.plan--desarrollo .plan-head h3 .name { color: #e9d8ff; }
.plan-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.plan-body h4 { font-family: var(--font-body); text-transform: none; font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--navy); }
.plan-body .desc { margin-top: 6px; font-size: 14px; color: var(--muted); }
.price { margin: 18px 0 20px; padding: 18px 16px; border-radius: 14px; text-align: center; color: #fff; }
.price .amount { font-family: var(--font-head); font-size: 46px; font-weight: 800; line-height: 1; }
.price .amount small { font-size: 20px; font-weight: 700; }
.price .hours { display: block; margin-top: 6px; font-weight: 700; font-size: 15px; }
.price .note { display: block; font-size: 12px; opacity: .85; }
.plan--esencial .price { background: linear-gradient(135deg, #2f4160, var(--navy)); }
.plan--profesional .price { background: linear-gradient(135deg, var(--orange-light), var(--orange-dark)); }
.plan--premium .price { background: linear-gradient(135deg, #1e2d49, #0b1222); border: 1px solid #2f4160; }
.plan--desarrollo .price { background: linear-gradient(135deg, var(--purple-2), var(--purple)); }
.plan--desarrollo .price .amount { font-size: 28px; }
.features { display: grid; gap: 11px; flex: 1; align-content: start; }
.features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: #2b3647; }
.features .check { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; margin-top: 1px; }
.features .check svg { width: 12px; height: 12px; }
.plan--desarrollo .features .check { background: var(--purple); }
.plan .btn { margin-top: 22px; }
/* "Más elegido": pastilla centrada sobre el borde superior de la tarjeta, nunca encima del título */
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 2; padding: 5px 14px; border-radius: 999px; background: var(--orange); color: #fff; border: 2px solid #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 14px rgba(242,107,29,.35); }
.plan-note { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }
.dev-cta { margin-top: 18px; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--purple-soft); font-size: 13px; color: #3f2370; font-weight: 600; }
.dev-cta .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--purple); display: grid; place-items: center; flex-shrink: 0; }
.dev-cta .ico svg { width: 18px; height: 18px; color: #fff; }

/* Extras ----------------------------------------------------------------- */
.extras { background: #fff; }
.extras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.extra { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.extra .ico { width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange-light), var(--orange)); box-shadow: 0 8px 18px rgba(242,107,29,.3); }
.extra .ico svg { width: 30px; height: 30px; color: #fff; }
.extra h3 { font-size: 22px; font-weight: 800; color: var(--navy); }
.extra p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.extra .big { display: block; margin: 8px 0 4px; font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1; }
.extra .big small { font-size: 18px; }
.footnote { margin-top: 26px; font-size: 13px; color: var(--muted); }

/* Proceso ---------------------------------------------------------------- */
.process { background: linear-gradient(180deg, var(--bg), #fff); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -16px; left: 22px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 18px; font-weight: 800; }
.step h3 { font-size: 24px; color: var(--navy); margin-top: 6px; }
.step p { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Por qué nosotros ------------------------------------------------------- */
.why { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.why::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242,107,29,.35), transparent 70%); }
.why-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why h2 { font-size: clamp(36px, 4.6vw, 54px); font-weight: 800; }
.why .lead { margin-top: 16px; color: #c4cedd; font-size: 17px; }
.why .btn { margin-top: 28px; }
.why-list { display: grid; gap: 14px; }
.why-list li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.why-list .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(242,107,29,.18); display: grid; place-items: center; flex-shrink: 0; }
.why-list .ico svg { width: 22px; height: 22px; color: var(--orange-light); }
.why-list strong { display: block; font-size: 15px; }
.why-list span { font-size: 13px; color: #aab6c8; }

/* Contacto --------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-info { padding: 34px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.contact-info h3 { font-size: 32px; font-weight: 800; }
.contact-info p { margin-top: 10px; color: #c4cedd; font-size: 15px; }
.contact-list { margin-top: 24px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(242,107,29,.18); display: grid; place-items: center; flex-shrink: 0; }
.contact-list .ico svg { width: 20px; height: 20px; color: var(--orange-light); }
.contact-list strong { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #ffb27a; }
.contact-list a:hover { color: var(--orange-light); }
.contact-form { padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fbfcfd; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,107,29,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.check-field input { margin-top: 3px; }
.check-field a { color: var(--orange-dark); text-decoration: underline; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; min-height: 20px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c62828; }

/* CTA final -------------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--orange-light), var(--orange-dark)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 0; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.cta-inner p { margin-top: 6px; color: #ffe6d6; }
.cta-band .btn-dark { box-shadow: 0 10px 24px rgba(0,0,0,.25); }

/* Pie -------------------------------------------------------------------- */
.site-footer { background: #0a1322; color: #aab6c8; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-box { display: inline-block; padding: 10px 14px; background: #fff; border-radius: 12px; }
.footer-brand .logo-box img { height: 64px; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 320px; }
.site-footer h4 { font-size: 18px; color: #fff; margin-bottom: 14px; letter-spacing: .06em; }
.site-footer li { margin-bottom: 9px; font-size: 14px; }
.site-footer li a:hover { color: var(--orange-light); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* Páginas legales -------------------------------------------------------- */
.legal { padding: 64px 0 96px; }
.legal article { max-width: 820px; margin: 0 auto; background: #fff; padding: 48px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(36px, 5vw, 52px); color: var(--navy); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 26px; color: var(--navy); margin: 32px 0 10px; }
.legal p, .legal li { color: #2b3647; font-size: 15px; margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal mark { background: #fff3cd; padding: 0 4px; border-radius: 4px; }

/* Sectores --------------------------------------------------------------- */
.sectors { background: #fff; border-top: 1px solid var(--line); }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector-grid li { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.sector-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(242,107,29,.4); }
.sector-grid svg { grid-row: 1 / span 2; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--orange-soft); color: var(--orange); }
.sector-grid strong { font-size: 16px; color: var(--navy); }
.sector-grid span { font-size: 13px; color: var(--muted); }

/* FAQ -------------------------------------------------------------------- */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow); border-color: rgba(242,107,29,.4); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 16px; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--orange-dark); }
.faq-icon { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--orange-soft); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--orange); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { padding: 0 22px 20px; }
.faq-body p { font-size: 15px; color: #2b3647; }

/* WhatsApp flotante ------------------------------------------------------ */
.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 10px 26px rgba(37,211,102,.4); transition: transform .15s, box-shadow .15s; }
.whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.5); }
.whatsapp svg { width: 26px; height: 26px; }

/* Honeypot del formulario (oculto) -------------------------------------- */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Página 404 ------------------------------------------------------------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound .code { font-family: var(--font-head); font-size: clamp(96px, 18vw, 180px); font-weight: 800; line-height: .9; color: var(--orange); }
.notfound h1 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); margin-top: 8px; }
.notfound p { color: var(--muted); margin: 14px auto 28px; max-width: 460px; }

/* Animación de aparición ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive ------------------------------------------------------------- */
/* Las rejillas usan minmax(0, 1fr) para que una columna nunca se ensanche
   más que la pantalla por culpa del contenido (campos, palabras largas). */
body { overflow-x: clip; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }
.contact-list a, .contact-list span, .footer-bottom span { overflow-wrap: anywhere; }

/* El menú completo (con DECA) necesita unos 1180 px; por debajo, hamburguesa */
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(15,27,45,.12); max-height: calc(100vh - 82px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px; font-size: 16px; }
  .nav a.nav-deca { margin: 6px 0 0; text-align: center; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras-grid, .steps, .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .header-cta .btn { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding: 64px 0 72px; gap: 40px; }
  .benefit:nth-child(2), .benefit:nth-child(4), .benefit:nth-child(2):hover, .benefit:nth-child(4):hover { transform: none; }
  .why-inner, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 68px 0; }
}
@media (max-width: 640px) {
  .brand img { height: 50px; }
  .plans, .extras-grid, .steps, .sector-grid, .footer-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .form-row { gap: 0; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .benefit { padding: 18px 16px; }
  .benefit h3 { font-size: 20px; }
  .hero h1 { font-size: 44px; }
  .hero p.lead { font-size: 17px; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .contact-form, .contact-info, .legal article { padding: 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .btn { font-size: 16px; padding: 13px 22px; }
  .extra { padding: 22px; }
  /* WhatsApp: botón redondo pequeño y hueco al final para que no tape el pie */
  .whatsapp span { display: none; }
  .whatsapp { padding: 12px; right: 14px; bottom: 14px; }
  .whatsapp svg { width: 24px; height: 24px; }
  .site-footer { padding-bottom: 88px; }
}
/* Móviles estrechos: tarjetas del inicio en una columna, icono a la izquierda */
@media (max-width: 480px) {
  .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .benefit .ico { width: 48px; height: 48px; margin-bottom: 0; grid-row: 1 / span 2; }
  .benefit p { margin-top: 4px; }
  .hero h1 { font-size: 40px; }
  .hero-stats { gap: 18px; }
}
/* El botón de WhatsApp se oculta mientras se ve el formulario o el pie,
   que ya tienen sus propios datos de contacto */
.whatsapp.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.whatsapp { transition: transform .2s, box-shadow .15s, opacity .2s; }

/* Aviso de cookies ------------------------------------------------------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 16px; background: var(--navy); color: #dfe6f0; box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); }
.cookie-banner p { font-size: 14px; line-height: 1.5; margin: 0; }
.cookie-banner strong { color: #fff; }
.cookie-banner a { color: var(--orange-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cookie-banner .btn-ghost:hover { border-color: #fff; color: #fff; }
.has-cookie-banner .whatsapp { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-actions .btn { flex: 1; }
}
