:root {
    --bg: #F5F6F1;
    --bg-alt: #ECEAE0;
    --ink: #17233A;
    --muted: #5B6572;
    --line: #DAD7CC;
    --teal: #1F7A6C;
    --teal-deep: #12433C;
    --teal-soft: #DCEBE7;
    --amber: #A8631C;
    --amber-soft: #EFDEC2;
    --card: #FFFFFF;
    --wa: #25D366;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(23,35,58,.08);
  }
  * { margin:0; padding:0; box-sizing:border-box; }
  html { scroll-behavior:smooth; }
  body { font-family:'Public Sans',system-ui,sans-serif; background:var(--bg); color:var(--ink); line-height:1.6; -webkit-font-smoothing:antialiased; }
  h1,h2,h3 { font-family:'Fraunces',Georgia,serif; font-weight:600; line-height:1.15; letter-spacing:-.01em; }
  h1 em, h2 em { font-style:italic; color:var(--teal); }
  section h2 { font-size:clamp(28px,3.6vw,40px); margin-bottom:16px; }
  p { color:var(--muted); }
  a { color:var(--teal); }
  img { max-width:100%; display:block; }
  .wrap { max-width:1120px; margin:0 auto; padding:0 20px; }
  section { padding:80px 0; }
  .eyebrow { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--teal); margin-bottom:14px; }
  .center { text-align:center; }
  .lead { font-size:19px; max-width:640px; }
  .center .lead { margin:0 auto; }

  /* buttons */
  .btn { display:inline-flex; align-items:center; gap:10px; padding:15px 26px; border-radius:999px; font-weight:600; font-size:16px; text-decoration:none; border:2px solid transparent; cursor:pointer; transition:transform .15s, box-shadow .15s; white-space:nowrap; }
  .btn:hover { transform:translateY(-1px); box-shadow:var(--shadow); }
  @media (max-width:480px){ .btn { white-space:normal; text-align:center; } .hero .ctas .btn { width:100%; justify-content:center; } }
  .btn-wa { background:var(--wa); color:#fff; }
  .btn-wa svg { width:22px; height:22px; fill:#fff; }
  .btn-primary { background:var(--ink); color:#fff; }
  .btn-ghost { background:transparent; color:var(--ink); border-color:var(--line); }
  .btn-sm { padding:11px 18px; font-size:14px; }

  /* nav */
  nav { position:sticky; top:0; z-index:50; background:rgba(245,246,241,.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
  nav .wrap { display:flex; align-items:center; justify-content:space-between; height:68px; }
  .logo { font-family:'Fraunces',serif; font-size:30px; font-weight:600; color:var(--teal-deep); text-decoration:none; letter-spacing:-.02em; }
  .logo span { color:var(--teal); font-style:italic; }
  .navlinks { display:flex; gap:26px; align-items:center; }
  .navlinks a.nl { color:var(--ink); text-decoration:none; font-size:15px; font-weight:500; }
  @media (max-width:760px){ .navlinks a.nl { display:none; } }

  /* hero */
  .hero { padding:56px 0 40px; }
  .hero .wrap { display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
  .hero h1 { font-size:clamp(34px,4.6vw,56px); margin-bottom:20px; }
  .hero .lead { margin-bottom:28px; }
  .hero .ctas { display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
  .hero .small { font-size:13px; color:var(--muted); margin-top:16px; display:flex; gap:18px; flex-wrap:wrap; }
  .hero .small span::before { content:"✓ "; color:var(--teal); font-weight:700; }
  .flu-card { position:relative; }
  .flu-card img { border-radius:24px; box-shadow:var(--shadow); aspect-ratio:1/1; object-fit:cover; }
  .flu-badge { position:absolute; left:16px; top:16px; background:rgba(23,35,58,.85); color:#fff; font-size:12px; font-weight:600; padding:7px 12px; border-radius:999px; letter-spacing:.04em; display:flex; align-items:center; gap:7px; }
  .flu-badge i { width:8px; height:8px; border-radius:50%; background:#5FE3C6; display:inline-block; box-shadow:0 0 0 3px rgba(95,227,198,.3); }
  .bubble { position:absolute; right:-10px; bottom:-22px; max-width:300px; background:var(--card); border:1px solid var(--line); border-radius:18px 18px 18px 4px; padding:14px 16px; box-shadow:var(--shadow); font-size:14px; color:var(--ink); }
  .bubble strong { color:var(--teal-deep); }
  @media (max-width:860px){
    .hero .wrap { grid-template-columns:1fr; }
    .flu-card { max-width:420px; margin:0 auto; }
    .bubble { position:static; margin:14px auto 0; max-width:100%; border-radius:18px; }
  }

  /* logos strip / sectors */
  .sectors { padding:28px 0 8px; }
  .sectors .row { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
  .chip { background:var(--card); border:1px solid var(--line); border-radius:999px; padding:9px 16px; font-size:14px; font-weight:500; color:var(--ink); }

  /* pain + calculator */
  .pain { background:var(--bg-alt); }
  .grid > *, .steps > *, .plans > *, .human .box > * { min-width:0; }
  .pain .grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
  @media (max-width:860px){ .pain .grid { grid-template-columns:1fr; } }
  .pain h2 { font-size:clamp(28px,3.6vw,40px); margin-bottom:18px; }
  .pain ul { list-style:none; margin-top:22px; display:grid; gap:14px; }
  .pain li { display:flex; gap:12px; color:var(--ink); font-size:16px; }
  .pain li::before { content:"✕"; color:var(--amber); font-weight:700; flex:none; }
  .calc { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
  .calc h3 { font-size:22px; margin-bottom:6px; }
  .calc p.note { font-size:14px; margin-bottom:18px; }
  .calc label { display:block; font-size:13px; font-weight:600; color:var(--ink); margin:14px 0 6px; }
  .calc .range { display:flex; align-items:center; gap:14px; }
  .calc input[type=range] { flex:1; min-width:0; width:100%; accent-color:var(--teal); }
  .calc output { min-width:70px; text-align:right; font-weight:700; font-variant-numeric:tabular-nums; }
  .calc .result { margin-top:22px; background:var(--teal-soft); border-radius:12px; padding:18px 20px; }
  .calc .result .big { font-family:'Fraunces',serif; font-size:38px; font-weight:600; color:var(--teal-deep); line-height:1; }
  .calc .result .sub { font-size:14px; color:var(--teal-deep); margin-top:6px; }
  .calc .cta { margin-top:18px; }

  /* how it works */
  .steps { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; }
  @media (max-width:860px){ .steps { grid-template-columns:1fr; } }
  .step { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:28px; }
  .step .n { width:40px; height:40px; border-radius:50%; background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; margin-bottom:18px; font-family:'Fraunces',serif; font-size:18px; }
  .step h3 { font-size:20px; margin-bottom:8px; }
  .step p { font-size:15px; }
  .step .t { display:inline-block; margin-top:14px; font-size:12px; font-weight:700; color:var(--amber); background:var(--amber-soft); padding:4px 10px; border-radius:999px; }

  /* pricing */
  .pricing { background:var(--bg-alt); }
  .plans { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; align-items:stretch; }
  @media (max-width:900px){ .plans { grid-template-columns:1fr; max-width:460px; margin-left:auto; margin-right:auto; } }
  .plan { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:30px 28px; display:flex; flex-direction:column; position:relative; }
  .plan.featured { border:2px solid var(--teal); box-shadow:var(--shadow); }
  .plan .tag { position:absolute; top:-13px; left:28px; background:var(--teal); color:#fff; font-size:12px; font-weight:700; padding:5px 12px; border-radius:999px; letter-spacing:.04em; }
  .plan h3 { font-size:22px; margin-bottom:6px; }
  .plan .for { font-size:14px; min-height:44px; }
  .plan .price { margin:18px 0 6px; display:flex; align-items:baseline; gap:6px; }
  .plan .price b { font-family:'Fraunces',serif; font-size:44px; font-weight:600; color:var(--ink); line-height:1; }
  .plan .price span { color:var(--muted); font-size:14px; }
  .plan .price small { font-size:16px; color:var(--muted); font-weight:500; }
  .plan .setup { font-size:13px; color:var(--teal-deep); font-weight:600; margin-bottom:18px; }
  .plan ul { list-style:none; display:grid; gap:10px; margin-bottom:26px; flex:1; }
  .plan li { font-size:15px; color:var(--ink); display:flex; gap:10px; }
  .plan li::before { content:"✓"; color:var(--teal); font-weight:700; flex:none; }
  .plan .btn { justify-content:center; }
  .pricing .fine { text-align:center; font-size:13px; margin-top:22px; }

  /* human */
  .human .box { background:var(--ink); color:#fff; border-radius:24px; padding:56px; display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
  @media (max-width:860px){ .human .box { grid-template-columns:1fr; padding:36px 26px; } }
  .human h2 { font-size:clamp(28px,3.6vw,40px); color:#fff; margin-bottom:16px; }
  .human h2 em { color:#5FE3C6; }
  .human p { color:rgba(255,255,255,.78); font-size:17px; }
  .human .who { display:flex; gap:16px; align-items:center; margin-top:26px; }
  .human .who .av { width:56px; height:56px; border-radius:50%; background:var(--teal); display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-weight:600; font-size:22px; color:#fff; flex:none; }
  .human .who b { display:block; color:#fff; }
  .human .who span { font-size:14px; color:rgba(255,255,255,.7); }
  .human .points { display:grid; gap:14px; }
  .human .pt { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:16px 18px; }
  .human .pt b { display:block; color:#fff; margin-bottom:4px; font-size:15px; }
  .human .pt span { font-size:14px; color:rgba(255,255,255,.72); }

  /* faq */
  .faq .list { max-width:760px; margin:40px auto 0; display:grid; gap:10px; }
  details { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:0 22px; }
  summary { cursor:pointer; list-style:none; font-weight:600; font-size:16px; padding:18px 0; display:flex; justify-content:space-between; align-items:center; gap:16px; color:var(--ink); }
  summary::-webkit-details-marker { display:none; }
  summary::after { content:"+"; font-size:22px; color:var(--teal); font-weight:400; flex:none; }
  details[open] summary::after { content:"–"; }
  details p { padding:0 0 18px; font-size:15px; }

  /* contact */
  .contact { background:var(--bg-alt); }
  .contact .grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
  @media (max-width:860px){ .contact .grid { grid-template-columns:1fr; } }
  .contact h2 { font-size:clamp(28px,3.6vw,40px); margin-bottom:16px; }
  .wa-big { margin-top:24px; }
  .or { margin:26px 0 8px; font-size:13px; text-transform:uppercase; letter-spacing:.1em; font-weight:700; color:var(--muted); }
  form { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
  form label { display:block; font-size:13px; font-weight:600; margin:14px 0 6px; color:var(--ink); }
  form label:first-child { margin-top:0; }
  form input, form select, form textarea { width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:10px; font:inherit; font-size:15px; background:#fff; color:var(--ink); }
  form input:focus, form select:focus, form textarea:focus { outline:2px solid var(--teal); border-color:var(--teal); }
  form textarea { min-height:90px; resize:vertical; }
  .consent { display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--muted); margin:16px 0; }
  .consent input { width:auto; margin-top:3px; }
  form .btn { width:100%; justify-content:center; }
  #success { display:none; background:var(--teal-soft); border-radius:12px; padding:22px; color:var(--teal-deep); font-weight:500; }

  /* footer */
  footer { padding:44px 0; border-top:1px solid var(--line); font-size:13px; color:var(--muted); }
  footer .wrap { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; align-items:center; }
  footer a { color:var(--muted); text-decoration:none; margin-right:16px; }
  footer .ai { width:100%; margin-top:14px; font-size:12px; }

  /* floating wa */
  .wa-float { position:fixed; right:18px; bottom:18px; z-index:60; width:58px; height:58px; border-radius:50%; background:var(--wa); display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(0,0,0,.2); }
  .wa-float svg { width:30px; height:30px; fill:#fff; }

  /* cookie banner */
  #cookie-banner { position:fixed; left:0; right:0; bottom:0; z-index:70; background:var(--ink); color:#fff; padding:16px 20px; display:none; }
  #cookie-banner.show { display:block; }
  .cb-wrap { max-width:1120px; margin:0 auto; display:flex; gap:18px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
  .cb-wrap p { color:rgba(255,255,255,.85); font-size:14px; flex:1; min-width:260px; }
  .cb-wrap a { color:#5FE3C6; }
  .cb-actions { display:flex; gap:10px; }
  .cb-btn { padding:10px 16px; border-radius:999px; font:inherit; font-size:14px; font-weight:600; cursor:pointer; border:1px solid rgba(255,255,255,.4); background:transparent; color:#fff; }
  .cb-accept { background:var(--teal); border-color:var(--teal); }

  /* datos (v9) */
  .datos .box { display:grid; grid-template-columns:5fr 6fr; gap:48px; align-items:start; }
  .datos .box > * { min-width:0; }
  @media (max-width:860px){ .datos .box { grid-template-columns:1fr; gap:28px; } }
  .datos .intro p { font-size:17px; }
  .datos .close { font-family:'Fraunces',serif; font-style:italic; color:var(--ink); font-size:18px; margin-top:22px; }
  .datos .more { display:inline-block; margin-top:14px; color:var(--teal); font-weight:600; text-decoration:none; }
  .datos .more:hover { text-decoration:underline; }
  .datos .items { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  @media (max-width:560px){ .datos .items { grid-template-columns:1fr; } }
  .datos .it { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:20px 22px; }
  .datos .it b { display:block; color:var(--ink); font-size:16px; margin-bottom:6px; }
  .datos .it p { font-size:14px; }
  .hero .trust { font-size:14px; margin-top:14px; font-style:italic; }
  .hero .trust a { color:var(--teal); text-decoration:none; }
  .hero .trust a:hover { text-decoration:underline; }
