
  :root{
    --ink:#14213D;
    --paper:#F7F5EF;
    --paper-alt:#EFEBE1;
    --gold:#B8912F;
    --brick:#A83A32;
    --slate:#4B5160;
    --line:#D9D3C4;
    --white:#FFFFFF;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--paper);
    color:var(--ink);
    font-family:'IBM Plex Sans', sans-serif;
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
  }
  img,svg{display:block; max-width:100%;}
  a{color:inherit;}
  .wrap{max-width:1120px; margin:0 auto; padding:0 28px;}
  h1,h2,h3{font-family:'Newsreader', serif; font-weight:500; color:var(--ink); letter-spacing:-0.01em;}
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--brick);
    display:inline-flex;
    align-items:center;
    gap:8px;
  }
  .eyebrow::before{content:''; width:16px; height:1px; background:var(--brick); display:inline-block;}
  :focus-visible{outline:2px solid var(--brick); outline-offset:3px;}

  /* ---------- NAV ---------- */
  .nav{
    position:sticky; top:0; z-index:50;
    background:rgba(247,245,239,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line);
  }
  .nav .wrap{
    display:flex; align-items:center; justify-content:space-between;
    height:72px;
  }
  .logo{
    display:flex; align-items:center; gap:10px;
  }
  .logo-mark{flex-shrink:0;}
  .logo-text{
    display:flex; flex-direction:column; justify-content:center;
    line-height:1.15;
  }
  .logo-name{
    font-family:'Newsreader', serif;
    font-size:20px;
    font-weight:600;
    color:var(--ink);
  }
  .logo-tagline{
    font-family:'IBM Plex Mono', monospace;
    font-size:10px;
    color:var(--brick);
    letter-spacing:0.08em;
    margin-top:3px;
  }
  .nav-links{display:flex; align-items:center; gap:28px; font-size:14px; font-weight:500;}
  .nav-links a{text-decoration:none; color:var(--slate);}
  .nav-links a:hover{color:var(--ink);}
  .nav-phone{
    font-family:'IBM Plex Mono', monospace;
    font-weight:600;
    color:var(--ink);
    display:flex; align-items:center; gap:8px;
    font-size:14px;
    border:1px solid var(--ink);
    padding:9px 16px;
    text-decoration:none;
    white-space:nowrap;
  }
  .nav-phone:hover{background:var(--ink); color:var(--paper);}
  .nav-contact{display:flex; align-items:center; gap:10px;}
  .nav-whatsapp{
    width:38px; height:38px;
    display:flex; align-items:center; justify-content:center;
    border:1px solid #25D366;
    background:#25D366;
    color:var(--white);
    flex-shrink:0;
  }
  .nav-whatsapp:hover{background:#1EBE59; border-color:#1EBE59;}
  @media (max-width:820px){ .nav-links{display:none;} }
  @media (max-width:480px){
    .nav .wrap{padding:0 16px;}
    .logo{gap:8px;}
    .logo-mark{width:28px; height:28px;}
    .logo-tagline{display:none;}
    .logo-name{font-size:16px;}
    .nav-contact{gap:8px;}
    .nav-phone{
      width:38px; height:38px;
      padding:0;
      justify-content:center;
      font-size:19px;
    }
    .nav-phone-text{display:none;}
  }

  /* ---------- HERO ---------- */
  .hero{
    padding:76px 0 60px;
    position:relative;
    overflow:hidden;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:56px;
    align-items:start;
  }
  .hero h1{
    font-size:clamp(34px,4.6vw,54px);
    line-height:1.06;
    margin-bottom:20px;
  }
  .hero h1 em{font-style:italic; color:var(--brick);}
  .hero p.lead{
    font-size:17px;
    color:var(--slate);
    max-width:46ch;
    margin-bottom:28px;
  }
  .hero-badges{display:flex; gap:22px; flex-wrap:wrap; margin-top:34px;}
  .hero-badge{font-size:13px; color:var(--slate);}
  .hero-badge b{display:block; font-family:'Newsreader', serif; font-size:26px; color:var(--ink); font-weight:600;}

  .btn{
    display:inline-flex; align-items:center; gap:10px;
    font-family:'IBM Plex Sans', sans-serif;
    font-weight:600;
    font-size:15px;
    padding:15px 26px;
    text-decoration:none;
    border:1px solid transparent;
    cursor:pointer;
  }
  .btn-primary{background:var(--brick); color:var(--white);}
  .btn-primary:hover{background:#8f2f28;}
  .btn-ghost{background:transparent; color:var(--ink); border-color:var(--ink);}
  .btn-ghost:hover{background:var(--ink); color:var(--paper);}
  .hero-cta{display:flex; gap:14px; flex-wrap:wrap;}

  /* stamp / plazo signature element */
  .stamp-card{
    background:var(--white);
    border:1px solid var(--line);
    padding:26px 26px 22px;
    position:relative;
  }
  .stamp-card::before{
    content:'EXPEDIENTE';
    position:absolute; top:-11px; left:24px;
    background:var(--paper);
    font-family:'IBM Plex Mono', monospace;
    font-size:10.5px;
    letter-spacing:0.16em;
    color:var(--slate);
    padding:0 8px;
  }
  .stamp-top{display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:18px;}
  .stamp-top .label{
    font-family:'IBM Plex Mono', monospace;
    font-size:11px; color:var(--slate); letter-spacing:0.06em;
  }
  .stamp-ring{
    width:118px; height:118px;
    border-radius:50%;
    border:2.5px solid var(--brick);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    transform:rotate(-6deg);
    margin:6px auto 18px;
    position:relative;
  }
  .stamp-ring::after{
    content:'';
    position:absolute; inset:6px;
    border:1px dashed var(--brick);
    border-radius:50%;
    opacity:0.55;
  }
  .stamp-ring .num{
    font-family:'Newsreader', serif;
    font-weight:600;
    font-size:38px;
    color:var(--brick);
    line-height:1;
  }
  .stamp-ring .unit{
    font-family:'IBM Plex Mono', monospace;
    font-size:9.5px;
    letter-spacing:0.1em;
    color:var(--brick);
    text-transform:uppercase;
    margin-top:2px;
  }
  .stamp-copy{text-align:center; font-size:13.5px; color:var(--slate); line-height:1.5;}
  .stamp-copy b{color:var(--ink);}
  .stamp-foot{
    margin-top:18px; padding-top:16px; border-top:1px solid var(--line);
    display:flex; justify-content:space-between; font-family:'IBM Plex Mono', monospace;
    font-size:10.5px; color:var(--slate); letter-spacing:0.03em;
  }

  @media (max-width:900px){
    .hero-grid{grid-template-columns:1fr;}
    .stamp-card{max-width:340px;}
  }

  /* ---------- TRUST BAR ---------- */
  .trust{
    background:var(--ink); color:var(--paper);
    padding:34px 0;
  }
  .trust .wrap{
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px;
  }
  .trust-item{flex:1; min-width:140px;}
  .trust-item b{
    display:block; font-family:'Newsreader', serif; font-size:28px; font-weight:600;
  }
  .trust-item span{font-size:12.5px; color:#B9C0D4; letter-spacing:0.02em;}

  /* ---------- SECTION shared ---------- */
  section{padding:88px 0;}
  .section-head{max-width:640px; margin-bottom:48px;}
  .section-head h2{font-size:clamp(26px,3vw,36px); margin-top:12px;}
  .section-head p{color:var(--slate); margin-top:14px; font-size:15.5px;}

  /* ---------- SERVICIOS ---------- */
  .services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
  }
  .service-card{
    background:var(--paper);
    padding:30px 28px;
  }
  .service-card .tag{
    font-family:'IBM Plex Mono', monospace;
    font-size:11px; color:var(--brick); letter-spacing:0.08em;
  }
  .service-card h3{font-size:19px; margin:10px 0 10px; font-weight:600;}
  .service-card p{font-size:14px; color:var(--slate);}
  @media (max-width:820px){ .services-grid{grid-template-columns:1fr;} }

  /* ---------- PROCESO ---------- */
  .process{background:var(--paper-alt);}
  .process-list{
    display:grid; grid-template-columns:repeat(4,1fr); gap:0;
    border-top:1px solid var(--line);
  }
  .process-step{
    padding:26px 24px 0;
    border-right:1px solid var(--line);
  }
  .process-step:last-child{border-right:none;}
  .process-step .idx{
    font-family:'Newsreader', serif; font-size:34px; font-weight:500; color:var(--brick);
    display:block; margin-bottom:10px;
  }
  .process-step h3{font-size:16.5px; font-weight:600; margin-bottom:8px;}
  .process-step p{font-size:13.5px; color:var(--slate);}
  @media (max-width:820px){
    .process-list{grid-template-columns:1fr;}
    .process-step{border-right:none; border-bottom:1px solid var(--line); padding-bottom:22px; margin-bottom:22px;}
  }
  .fees-box{
    margin-top:36px;
    background:var(--white);
    border:1px solid var(--line);
    border-left:3px solid var(--brick);
    padding:22px 26px;
  }
  .fees-box .eyebrow{margin-bottom:8px;}
  .fees-box p{font-size:14.5px; color:var(--slate); max-width:70ch;}
  .fees-box p strong{color:var(--ink);}

  /* ---------- POR QUÉ ---------- */
  .why-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:36px 48px;}
  .why-item{display:flex; gap:16px;}
  .why-mark{
    width:34px; height:34px; flex-shrink:0;
    border:1.5px solid var(--gold);
    display:flex; align-items:center; justify-content:center;
    font-family:'Newsreader', serif; color:var(--gold); font-weight:600;
  }
  .why-item h3{font-size:16px; font-weight:600; margin-bottom:6px;}
  .why-item p{font-size:14px; color:var(--slate);}
  @media (max-width:700px){ .why-grid{grid-template-columns:1fr;} }

  /* ---------- TESTIMONIOS ---------- */
  .testi{background:var(--ink); color:var(--paper);}
  .testi .section-head h2{color:var(--paper);}
  .testi .section-head p{color:#B9C0D4;}
  .testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:#2A3557;}
  .testi-card{background:var(--ink); padding:28px 26px;}
  .testi-card p{font-size:14.5px; line-height:1.6; color:#DDE1EE; margin-bottom:16px;}
  .testi-card .who{font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--gold); letter-spacing:0.04em;}
  @media (max-width:820px){ .testi-grid{grid-template-columns:1fr;} }

  /* ---------- FORM ---------- */
  .contact{border-top:1px solid var(--line);}
  .contact-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:start;}
  .contact-info h2{font-size:clamp(26px,3vw,34px); margin-bottom:16px;}
  .contact-info p{color:var(--slate); font-size:15px; margin-bottom:22px; max-width:42ch;}
  .contact-info .phone-line{
    display:flex; align-items:center; gap:12px;
    font-family:'IBM Plex Mono', monospace;
    font-size:18px; font-weight:600; color:var(--ink);
    text-decoration:none;
    padding:14px 0; border-top:1px solid var(--line);
  }
  .contact-info .note{font-size:12.5px; color:var(--slate); margin-top:8px;}

  form{
    background:var(--white);
    border:1px solid var(--line);
    padding:32px;
  }
  .form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px;}
  .field{margin-bottom:16px;}
  .field label{
    display:block; font-size:12.5px; font-weight:600; color:var(--ink); margin-bottom:6px;
    letter-spacing:0.01em;
  }
  .field input, .field select, .field textarea{
    width:100%;
    border:1px solid var(--line);
    background:var(--paper);
    padding:12px 13px;
    font-family:'IBM Plex Sans', sans-serif;
    font-size:14.5px;
    color:var(--ink);
  }
  .field input:focus, .field select:focus, .field textarea:focus{
    outline:none; border-color:var(--ink); background:var(--white);
  }
  .field textarea{resize:vertical; min-height:88px;}
  .consent{display:flex; align-items:flex-start; gap:10px; margin-bottom:20px;}
  .consent input{margin-top:3px;}
  .consent label{font-size:12px; color:var(--slate); line-height:1.5;}
  form .btn-primary{width:100%; justify-content:center;}
  .form-msg{
    display:none; margin-top:14px; padding:12px 14px;
    background:#EFF6EE; border:1px solid #BFDCC0; color:#2C5C33; font-size:13.5px;
  }
  .form-msg.show{display:block;}
  .form-msg-error{background:#FBEAE8; border-color:#E3B4AE; color:var(--brick);}
  @media (max-width:900px){
    .contact-grid{grid-template-columns:1fr;}
    .form-row{grid-template-columns:1fr;}
  }

  /* ---------- FAQ ---------- */
  .faq-list{border-top:1px solid var(--line);}
  .faq-item{border-bottom:1px solid var(--line);}
  .faq-q{
    display:flex; justify-content:space-between; align-items:center;
    padding:22px 2px; cursor:pointer; background:none; border:none; width:100%;
    text-align:left; font-family:'Newsreader', serif; font-size:18px; color:var(--ink);
  }
  .faq-q .plus{font-family:'IBM Plex Mono', monospace; font-size:18px; color:var(--brick); transition:transform 0.2s;}
  .faq-item.open .plus{transform:rotate(45deg);}
  .faq-a{max-height:0; overflow:hidden; transition:max-height 0.25s ease;}
  .faq-a p{padding:0 2px 22px; font-size:14.5px; color:var(--slate); max-width:70ch;}

  /* ---------- FOOTER ---------- */
  footer{background:var(--ink); color:#B9C0D4; padding:44px 0 28px;}
  footer .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px;}
  footer .foot-logo{font-family:'Newsreader', serif; color:var(--paper); font-size:18px; margin-bottom:8px;}
  footer p{font-size:12.5px; line-height:1.6; max-width:44ch;}
  .foot-legal{font-size:11.5px; color:#7C86A6; margin-top:26px; border-top:1px solid #2A3557; padding-top:18px;}
  .foot-links{display:flex; gap:18px; flex-wrap:wrap; margin-bottom:14px;}
  .foot-links a{color:#B9C0D4; text-decoration:underline; font-size:12px;}
  .foot-links a:hover{color:var(--paper);}

  /* ---------- COOKIE BANNER ---------- */
  .cookie-banner{
    display:none;
    position:fixed; bottom:0; left:0; right:0; z-index:80;
    background:var(--ink); color:var(--paper);
    padding:18px 0; border-top:1px solid #2A3557;
  }
  .cookie-banner.show{display:block;}
  .cookie-banner-inner{
    display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  }
  .cookie-banner-inner p{font-size:12.5px; color:#DDE1EE; max-width:62ch; margin:0;}
  .cookie-banner-inner a{color:var(--gold); text-decoration:underline;}
  .cookie-actions{display:flex; gap:10px; flex-shrink:0;}
  .cookie-actions .btn{padding:10px 18px; font-size:13px;}
  .cookie-actions .btn-ghost{border-color:var(--paper); color:var(--paper);}
  .cookie-actions .btn-ghost:hover{background:var(--paper); color:var(--ink);}
  @media (max-width:640px){
    .cookie-banner-inner{flex-direction:column; align-items:flex-start;}
    body.cookie-visible{padding-bottom:150px;}
  }

  /* ---------- sticky mobile CTA ---------- */
  .sticky-cta{
    display:none;
    position:fixed; bottom:0; left:0; right:0; z-index:60;
    background:var(--ink); padding:12px 16px;
    justify-content:space-between; align-items:center; gap:10px;
  }
  .sticky-cta a{color:var(--paper); text-decoration:none; font-size:14px; font-weight:600;}
  .sticky-cta .btn-primary{padding:11px 18px; font-size:14px;}
  @media (max-width:640px){
    .sticky-cta{display:flex;}
    body{padding-bottom:64px;}
  }

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{transition:none !important;}
  }
