  :root{
    --paper:#EEF1F4;
    --paper-2:#E3E9EE;
    --ink:#0F2438;
    --ink-soft:#3C556C;
    --brand:#004387;
    --brand-deep:#06213A;
    --brand-deep-2:#0A2F52;
    --gold:#B8863B;
    --gold-soft:#E4C892;
    --line:#CBD5DD;
    --line-soft:#DEE4E9;
    --white:#FFFFFF;
    --shadow: 0 20px 50px -25px rgba(6,33,58,0.35);
    --radius: 8px;
  }

  *,*::before,*::after{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
  }

  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'IBM Plex Sans', system-ui, sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }

  h1,h2,h3,h4{
    font-family:'Fraunces', Georgia, serif;
    font-weight:600;
    line-height:1.08;
    margin:0;
    letter-spacing:-0.01em;
    color:var(--brand-deep);
  }

  p{ margin:0; }
  a{ color:inherit; text-decoration:none; }
  img{ max-width:100%; display:block; }
  ul{ margin:0; padding:0; list-style:none; }
  button{ font-family:inherit; cursor:pointer; }

  .mono{ font-family:'IBM Plex Mono', monospace; letter-spacing:0.02em; }

  .wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 28px;
  }

  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12.5px;
    font-weight:600;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color:var(--gold);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:16px;
  }
  .eyebrow::before{
    content:"";
    width:22px; height:1px;
    background:var(--gold);
    display:inline-block;
  }

  :focus-visible{
    outline:2.5px solid var(--gold);
    outline-offset:3px;
  }

  /* ---------- Reveal on scroll ---------- */
  /* Por defecto SIEMPRE visible: si JS está bloqueado (visores de correo, algunos
     navegadores in-app, etc.) el contenido se ve igualmente, sin animación. */
  .reveal{ opacity:1; transform:none; }
  html.js .reveal{
    opacity:0;
    transform:translateY(22px);
    transition:opacity 0.7s ease, transform 0.7s ease;
  }
  html.js .reveal.is-visible{ opacity:1; transform:none; }

  /* ---------- Header ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(238,241,244,0.88);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line-soft);
    transition:padding 0.3s ease, background 0.3s ease;
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 0;
    max-width:1180px; margin:0 auto; padding-left:28px; padding-right:28px;
    transition:padding 0.3s ease;
  }
  header.shrink .nav{ padding-top:11px; padding-bottom:11px; }

  .brand-mark{ display:flex; align-items:center; gap:12px; }
  .brand-mark img{ height:34px; width:auto; }
  .brand-mark .wordmark{
    font-family:'Fraunces', serif; font-weight:600; font-size:19px;
    color:var(--brand-deep); white-space:nowrap;
  }
  .brand-mark .wordmark small{
    display:block; font-family:'IBM Plex Mono',monospace; font-weight:500;
    font-size:9.5px; letter-spacing:0.14em; color:var(--ink-soft); text-transform:uppercase;
  }

  .nav-links{ display:flex; align-items:center; gap:34px; }
  .nav-links a{
    font-size:14.5px; font-weight:500; color:var(--ink);
    position:relative; padding:4px 0;
  }
  .nav-links a::after{
    content:""; position:absolute; left:0; bottom:0; height:1.5px; width:0;
    background:var(--gold); transition:width 0.25s ease;
  }
  .nav-links a:hover::after{ width:100%; }

  /* Desplegable "Servicios" */
  .nav-dropdown{ position:relative; }
  .nav-dropdown-trigger{
    display:flex; align-items:center; gap:6px; background:none; border:none;
    font-family:inherit; font-size:14.5px; font-weight:500; color:var(--ink);
    padding:4px 0; cursor:pointer;
  }
  .nav-dropdown-trigger svg{ width:14px; height:14px; transition:transform .25s ease; color:var(--ink-soft); }
  .nav-dropdown.open .nav-dropdown-trigger svg{ transform:rotate(180deg); }
  .nav-dropdown-menu{
    position:absolute; top:calc(100% + 18px); left:50%; transform:translateX(-50%) translateY(-6px);
    background:#fff; border:1px solid var(--line); border-radius:14px;
    box-shadow:0 24px 48px -20px rgba(6,33,58,0.35);
    min-width:230px; padding:10px; z-index:60;
    opacity:0; visibility:hidden; pointer-events:none;
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-dropdown.open .nav-dropdown-menu{
    opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0);
  }
  .nav-dropdown-menu a{
    display:flex; align-items:center; gap:12px; padding:11px 12px; border-radius:9px;
    font-size:14px; font-weight:500; color:var(--brand-deep); white-space:nowrap;
  }
  .nav-dropdown-menu a::after{ display:none; }
  .nav-dropdown-menu a:hover{ background:var(--paper-2); }
  .nav-dropdown-menu a svg{ width:19px; height:19px; color:var(--brand); flex-shrink:0; }

  .nav-cta{ display:flex; align-items:center; gap:12px; }
  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    padding:18px 34px;
    font-size:16.5px; font-weight:600;
    border-radius:var(--radius);
    border:1.5px solid transparent;
    transition:transform 0.2s ease, background 0.2s ease, border-color .2s ease, color .2s ease;
    white-space:nowrap;
  }
  .btn:hover{ transform:translateY(-2px); }
  .btn-primary{ background:var(--brand); color:#fff; }
  .btn-primary:hover{ background:var(--brand-deep); }
  .btn-gold{ background:var(--gold); color:#fff; }
  .btn-gold:hover{ background:#a5762f; }
  .btn-outline{ border-color:var(--brand); color:var(--brand); background:transparent; }
  .btn-outline:hover{ background:var(--brand); color:#fff; }
  .btn-outline-light{ border-color:rgba(255,255,255,0.55); color:#fff; background:transparent; }
  .btn-outline-light:hover{ background:rgba(255,255,255,0.12); }
  .btn-sm{ padding:11px 18px; font-size:14px; }

  .burger{ display:none; background:none; border:none; padding:8px; }
  .burger span{ display:block; width:22px; height:2px; background:var(--brand-deep); margin:5px 0; transition:.3s; }
  .mobile-panel{ display:none; }

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    background:linear-gradient(115deg, var(--brand-deep) 0%, var(--brand-deep-2) 46%, var(--brand) 100%);
    color:#fff;
    overflow:hidden;
  }
  .hero-grid{
    max-width:1180px; margin:0 auto; padding:0 28px;
    display:grid; grid-template-columns:1.08fr 0.92fr; align-items:center;
    min-height:640px;
    gap:40px;
  }
  .hero-copy{ padding:70px 0 60px; position:relative; z-index:2; }
  .hero-topbar{ width:100%; border-bottom:1px solid rgba(255,255,255,0.16); background:rgba(255,255,255,0.04); position:relative; z-index:2; }
  .hero-topbar-inner{
    max-width:1600px; margin:0 auto; padding:16px 48px;
    font-family:'IBM Plex Mono',monospace; font-size:14.5px; font-weight:600;
    letter-spacing:0.09em; text-transform:uppercase; color:var(--gold-soft);
    display:flex; align-items:center; gap:16px;
  }
  .hero-topbar-inner::before{ content:""; width:32px; height:2px; background:var(--gold-soft); flex-shrink:0; }
  .hero h1{
    color:#fff; font-size:clamp(34px, 4.6vw, 57px); font-weight:600;
    margin-bottom:22px; max-width:14ch;
  }
  .hero h1 em{
    font-style:italic; color:var(--gold-soft); font-weight:500;
  }
  .hero-sub{
    font-size:17.5px; color:rgba(255,255,255,0.82); max-width:44ch;
    margin-bottom:36px; font-weight:400;
  }
  .hero-cta{ display:flex; gap:14px; flex-wrap:wrap; }

  .hero-statsbar{ width:100%; border-top:1px solid rgba(255,255,255,0.18); background:rgba(0,0,0,0.16); position:relative; z-index:2; }
  .hero-statsbar-inner{
    max-width:1600px; margin:0 auto; padding:56px 48px;
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px 20px;
  }
  .hero-statsbar-inner > div{
    flex:1 1 200px; padding-left:28px; border-left:2px solid rgba(255,255,255,0.16);
  }
  .hero-statsbar-inner > div:first-child{ padding-left:0; border-left:none; }
  .hero-statsbar-inner .stat-num{
    font-family:'IBM Plex Mono',monospace; font-weight:600; color:var(--gold-soft);
    display:block; margin-bottom:10px; line-height:1;
    font-size:clamp(46px, 5.6vw, 78px);
  }
  .hero-statsbar-inner .stat-label{
    font-size:14.5px; color:rgba(255,255,255,0.72); letter-spacing:0.04em;
  }
  @media (max-width:760px){
    .hero-statsbar-inner > div{ flex:1 1 42%; padding-left:18px; }
  }

  .hero-photo{
    position:relative; height:100%; align-self:center;
    display:flex; align-items:center; justify-content:center;
    padding:20px 0;
  }
  .hero-photo-frame{
    position:relative; width:100%; max-width:560px; aspect-ratio:3/2;
    border:1px solid rgba(255,255,255,0.22);
    padding:12px;
    box-shadow:0 30px 70px -20px rgba(0,0,0,0.5);
  }
  .hero-photo-frame .ph-img{
    width:100%; height:100%; object-fit:cover; object-position:center 40%;
  }
  .hero-photo-tag{
    position:absolute; left:-1px; bottom:-1px;
    background:var(--gold); color:#fff;
    font-family:'IBM Plex Mono',monospace; font-size:11.5px; font-weight:600;
    letter-spacing:0.08em; padding:10px 16px;
  }

  /* Marquee trust strip */
  .trust-strip{
    background:var(--brand-deep); border-top:1px solid rgba(255,255,255,0.1);
    overflow:hidden; padding:14px 0;
  }
  .marquee{ display:flex; width:max-content; animation:scroll 34s linear infinite; }
  @media (prefers-reduced-motion: reduce){ .marquee{ animation:none; } }
  @keyframes scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
  .marquee span{
    font-family:'IBM Plex Mono',monospace; font-size:13px; color:rgba(255,255,255,0.55);
    letter-spacing:0.1em; text-transform:uppercase; padding:0 26px; white-space:nowrap;
    border-right:1px solid rgba(255,255,255,0.15);
  }

  /* ---------- Sections ---------- */
  section{ padding:112px 0; }
  .section-head{ max-width:640px; margin-bottom:64px; }
  .section-head h2{ font-size:clamp(28px,3.4vw,42px); margin-bottom:18px; }
  .section-head p{ font-size:16.5px; color:var(--ink-soft); }
  .section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
  .section-head.center .eyebrow{ justify-content:center; }
  .section-head.center .eyebrow::before{ display:none; }

  .bg-alt{ background:var(--paper-2); }
  .bg-deep{ background:var(--brand-deep); color:#fff; }
  .bg-deep h2, .bg-deep h3, .bg-deep h4{ color:#fff; }

  /* ---------- Servicios: fichas de expediente ---------- */
  .files-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:2px;
    background:var(--line);
    border:1px solid var(--line);
  }
  @media (max-width:900px){ .files-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:560px){ .files-grid{ grid-template-columns:1fr; } }

  .file-card{
    background:var(--paper); padding:38px 26px 30px; position:relative;
    transition:background 0.25s ease, transform 0.25s ease;
    min-height:290px; display:flex; flex-direction:column;
    text-decoration:none; color:inherit; cursor:pointer;
  }
  .file-card:hover{ background:var(--white); transform:translateY(-4px); box-shadow:var(--shadow); z-index:2; }
  .file-icon{ display:block; width:30px; height:30px; color:var(--brand); margin-top:22px; }
  .file-icon svg{ width:100%; height:100%; }
  .file-card:nth-child(6n+2) .file-icon{ color:var(--gold); }
  .file-card:nth-child(6n+3) .file-icon{ color:var(--ink-soft); }
  .file-card:nth-child(6n+4) .file-icon{ color:var(--brand-deep-2); }
  .file-card:nth-child(6n+5) .file-icon{ color:#7a5a26; }
  .file-card:nth-child(6n+6) .file-icon{ color:#2e6b5e; }
  .file-card h3{ font-size:21px; margin:14px 0 12px; color:var(--brand-deep); }
  .file-card p{ font-size:14.5px; color:var(--ink-soft); flex:1; }
  .file-tags{ display:flex; flex-wrap:wrap; gap:7px; margin-top:16px; }
  .file-tags span{
    font-size:11.5px; font-weight:600; color:var(--brand-deep);
    background:var(--paper-2); border:1px solid var(--line);
    padding:4px 10px; border-radius:999px;
  }
  .file-card:hover .file-tags span{ background:var(--paper); }
  .file-card .file-link{
    margin-top:18px; font-family:'IBM Plex Mono',monospace; font-size:12.5px; font-weight:600;
    color:var(--brand); display:inline-flex; align-items:center; gap:6px;
  }
  .file-card .file-link svg{ transition:transform .2s ease; }
  .file-card:hover .file-link svg{ transform:translateX(3px); }

  /* ---------- Por qué elegirnos ---------- */
  .why-grid{
    display:grid; grid-template-columns:0.95fr 1.05fr; gap:70px; align-items:center;
  }
  @media (max-width:900px){ .why-grid{ grid-template-columns:1fr; gap:44px; } }
  .why-photo{ position:relative; }
  .why-photo img{ width:100%; height:460px; object-fit:cover; }
  .why-photo-caption{
    position:absolute; left:0; bottom:0; right:0;
    background:linear-gradient(0deg, rgba(6,33,58,0.82), transparent);
    color:#fff; padding:22px 24px 18px; font-size:13.5px;
    font-family:'IBM Plex Mono',monospace; letter-spacing:0.03em;
  }
  .why-list{ display:flex; flex-direction:column; }
  .why-item{
    display:grid; grid-template-columns:52px 1fr; gap:20px;
    padding:26px 0; border-top:1px solid var(--line);
  }
  .why-item:last-child{ border-bottom:1px solid var(--line); }
  .why-num{ font-family:'IBM Plex Mono',monospace; font-size:15px; font-weight:600; color:var(--gold); padding-top:2px; }
  .why-item h4{ font-size:18.5px; margin-bottom:8px; }
  .why-item p{ font-size:14.5px; color:var(--ink-soft); }

  /* ---------- Sobre nosotros ---------- */
  .about-grid{
    display:grid; grid-template-columns:1fr 0.9fr; gap:70px; align-items:start;
  }
  @media (max-width:900px){ .about-grid{ grid-template-columns:1fr; gap:48px; } }
  .about-text p{ font-size:16.5px; color:var(--ink-soft); margin-bottom:18px; }
  .about-text p:last-child{ margin-bottom:0; }
  .about-photo{ position:relative; margin-bottom:34px; }
  .about-photo-main{ width:100%; height:auto; display:block; border:1px solid var(--line); }
  .about-photo-tag{
    position:absolute; left:-1px; top:-1px;
    background:var(--brand-deep); color:#fff;
    font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600;
    padding:8px 14px; letter-spacing:0.06em; z-index:2;
  }
  .about-photo-inset{
    position:absolute; left:-26px; bottom:-30px; width:44%;
    border:6px solid var(--paper); box-shadow:var(--shadow); z-index:2;
  }
  .about-photo-inset img{ width:100%; height:100%; object-fit:cover; display:block; aspect-ratio:4/3; }
  .about-photo-inset-cap{
    position:absolute; left:6px; bottom:-26px;
    font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--ink-soft);
    letter-spacing:0.04em;
  }
  @media (max-width:900px){ .about-photo-inset{ left:-10px; bottom:-24px; width:48%; } }

  .history-stats{
    display:grid; grid-template-columns:repeat(2,1fr); gap:16px;
  }
  @media (max-width:480px){ .history-stats{ gap:12px; } }
  .history-stat{
    border-radius:18px; padding:28px 24px;
    box-shadow:0 16px 34px -20px rgba(6,33,58,0.35);
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .history-stat:hover{ transform:translateY(-4px); }
  .history-stat .num{
    font-family:'IBM Plex Mono',monospace; font-size:clamp(30px,3.4vw,42px); font-weight:600;
    display:block; margin-bottom:8px; line-height:1;
  }
  .history-stat .label{ font-size:14px; font-weight:500; line-height:1.35; }
  .history-stat.dark{ background:var(--brand-deep); }
  .history-stat.dark .num{ color:var(--gold-soft); }
  .history-stat.dark .label{ color:rgba(255,255,255,0.82); }
  .history-stat.light{ background:var(--white); border:1px solid var(--line); }
  .history-stat.light .num{ color:var(--brand); }
  .history-stat.light .label{ color:var(--ink-soft); }

  .team-history-row{
    display:grid; grid-template-columns:1fr 1fr; gap:64px;
    margin-top:76px; align-items:start;
  }
  @media (max-width:900px){ .team-history-row{ grid-template-columns:1fr; gap:48px; margin-top:56px; } }
  .sub-heading{
    font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600;
    letter-spacing:0.1em; text-transform:uppercase; color:var(--gold);
    margin-bottom:22px;
  }
  .roster-list{ display:flex; flex-direction:column; }
  .roster-item{
    display:grid; grid-template-columns:26px auto 1fr; align-items:center; gap:16px;
    padding:17px 0; border-top:1px solid var(--line);
  }
  .roster-list .roster-item:last-child{ border-bottom:1px solid var(--line); }
  .roster-icon{ width:22px; height:22px; color:var(--gold); }
  .roster-icon svg{ width:100%; height:100%; }
  .roster-item .num{ font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:19px; color:var(--brand); }
  .roster-item .label{ font-size:13.5px; color:var(--ink-soft); line-height:1.35; }

  /* ---------- A quién ayudamos ---------- */
  .chips-row{ display:flex; flex-wrap:wrap; gap:14px; }
  .chip{
    border:1.5px solid var(--brand); color:var(--brand-deep);
    padding:13px 22px; font-size:14.5px; font-weight:600;
    display:flex; align-items:center; gap:10px;
  }
  .chip .dot{ width:6px; height:6px; background:var(--gold); border-radius:50%; }

  /* ---------- Testimonios ---------- */
  .reviews-summary{ text-align:center; margin-bottom:56px; }
  .rating-big{ font-family:'IBM Plex Mono',monospace; font-size:72px; font-weight:600; color:var(--gold-soft); line-height:1; }
  .rating-stars{ color:var(--gold); font-size:22px; letter-spacing:4px; margin:12px 0 8px; }
  .rating-sub{ font-size:12.5px; color:rgba(255,255,255,0.65); font-family:'IBM Plex Mono',monospace; letter-spacing:0.06em; margin-bottom:16px; }
  .rating-link{ font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:600; color:var(--gold-soft); display:inline-block; }
  .eyebrow-light{ color:var(--gold-soft); }
  .eyebrow-light::before{ background:var(--gold-soft); }
  #opiniones .section-head p{ color:rgba(255,255,255,0.75); }

  .reviews-float{
    display:grid; grid-template-columns:repeat(3,1fr); gap:30px 24px;
    padding:10px 0 20px;
  }
  @media (max-width:900px){
    .reviews-float{
      display:flex; grid-template-columns:none; overflow-x:auto; scroll-snap-type:x mandatory;
      gap:16px; max-width:none; margin:0 -20px; padding:10px 20px 28px;
      -webkit-overflow-scrolling:touch;
    }
    .reviews-float::-webkit-scrollbar{ display:none; }
    .review-card{ scroll-snap-align:center; flex:0 0 84%; }
  }
  .review-card{
    background:var(--white); border:1px solid var(--line);
    padding:28px 24px 24px; box-shadow:var(--shadow);
    transition:transform .25s ease; display:flex; flex-direction:column;
  }
  .review-card:hover{ transform:translateY(-6px) rotate(0deg) !important; }
  .review-card.rc-1{ transform:rotate(-1.2deg); }
  .review-card.rc-2{ transform:rotate(0.9deg) translateY(14px); }
  .review-card.rc-3{ transform:rotate(-0.7deg); }
  .review-card.rc-4{ transform:rotate(0.6deg); }
  .review-card.rc-5{ transform:rotate(-1deg) translateY(10px); }
  .review-card.rc-6{ transform:rotate(1.1deg); }
  @media (max-width:900px){ .review-card.rc-1, .review-card.rc-2, .review-card.rc-3, .review-card.rc-4, .review-card.rc-5, .review-card.rc-6{ transform:none; } }
  .review-google{ margin-bottom:14px; }
  .review-stars{ color:var(--gold); font-size:14px; letter-spacing:2px; margin-bottom:14px; }
  .review-card p{ font-family:'Fraunces',serif; font-size:16px; font-style:italic; color:var(--brand-deep); line-height:1.5; margin-bottom:18px; flex:1; }
  .review-name{ font-size:13.5px; font-weight:600; color:var(--ink); }
  .review-source{ font-size:10.5px; color:var(--ink-soft); letter-spacing:0.06em; display:block; margin-top:2px; }
  .reviews-note{ text-align:center; font-size:12px; color:rgba(255,255,255,0.55); margin-top:8px; }
  .reviews-hint{ text-align:center; font-size:12px; color:rgba(255,255,255,0.55); margin-top:-8px; margin-bottom:26px; display:none; }
  @media (max-width:900px){ .reviews-hint{ display:block; } }

  /* ---------- Proceso ---------- */
  .process-flow{ position:relative; padding-top:6px; }
  .process-line{
    position:absolute; top:44px; left:12.5%; right:12.5%; height:3px;
    background:var(--line); z-index:0; overflow:hidden; border-radius:3px;
  }
  @media (max-width:900px){ .process-line{ display:none; } }
  .process-line-fill{
    height:100%; width:100%;
    background:linear-gradient(90deg, var(--gold) 0%, var(--brand) 100%);
  }
  html.js .process-line-fill{
    width:0%;
    transition:width 1.6s cubic-bezier(.16,.75,.24,1);
  }
  html.js .process-flow.in-view .process-line-fill{ width:100%; }

  .process-steps{
    display:grid; grid-template-columns:repeat(4,1fr); gap:36px;
    position:relative; z-index:1; text-align:center;
  }
  @media (max-width:900px){ .process-steps{ grid-template-columns:repeat(2,1fr); gap:48px 28px; } }
  @media (max-width:560px){ .process-steps{ grid-template-columns:1fr; gap:40px; } }

  .process-badge{
    width:88px; height:88px; border-radius:50%;
    background:var(--paper); border:2.5px solid var(--brand);
    display:flex; align-items:center; justify-content:center;
    margin:0 auto 24px; box-shadow:0 16px 32px -18px rgba(6,33,58,0.4);
    transition:transform .35s cubic-bezier(.34,1.56,.64,1), background .3s ease;
    position:relative;
  }
  .process-step:nth-child(2n) .process-badge{ border-color:var(--gold); }
  .process-step:hover .process-badge{ transform:scale(1.1) rotate(-4deg); background:var(--brand); }
  .process-step:nth-child(2n):hover .process-badge{ background:var(--gold); }
  .process-badge .process-num{
    font-family:'IBM Plex Mono',monospace; font-size:28px; font-weight:600; color:var(--brand);
    transition:color .3s ease;
  }
  .process-step:nth-child(2n) .process-num{ color:var(--gold); }
  .process-step:hover .process-num{ color:#fff; }
  .process-badge-ring{
    position:absolute; inset:-8px; border-radius:50%; border:1.5px dashed var(--line);
  }
  .process-step h4{ font-size:19.5px; margin-bottom:10px; }
  .process-step p{ font-size:14.5px; color:var(--ink-soft); max-width:26ch; margin:0 auto; }

  /* ---------- CTA band ---------- */
  /* ---------- FAQ accordion ---------- */
  .faq-list{ max-width:820px; }
  .faq-item{
    border-bottom:1px solid var(--line);
  }
  .faq-item:first-child{ border-top:1px solid var(--line); }
  .faq-q{
    width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px;
    background:none; border:none; text-align:left; cursor:pointer;
    padding:24px 4px; font-family:'Fraunces',serif; font-size:19px; font-weight:500;
    color:var(--brand-deep);
  }
  .faq-icon{
    flex-shrink:0; width:30px; height:30px; border:1.5px solid var(--brand);
    border-radius:50%; display:flex; align-items:center; justify-content:center;
    font-family:'IBM Plex Mono',monospace; font-size:18px; color:var(--brand);
    transition:transform .3s ease, background .2s ease, color .2s ease;
  }
  .faq-item.open .faq-icon{ transform:rotate(135deg); background:var(--brand); color:#fff; }
  /* Sin JS: todas las respuestas visibles y legibles (accesibilidad primero). */
  .faq-a{ max-height:none; opacity:1; }
  html.js .faq-a{
    max-height:0; overflow:hidden; transition:max-height .35s ease, opacity .3s ease;
    opacity:0;
  }
  html.js .faq-item.open .faq-a{ max-height:220px; opacity:1; }
  .faq-a p{ padding:0 4px 26px; font-size:15.5px; color:var(--ink-soft); max-width:65ch; }

  .cta-band{
    background:var(--brand-deep); color:#fff; text-align:center;
    padding:88px 0;
  }
  .cta-band h2{ color:#fff; font-size:clamp(28px,3.6vw,44px); margin-bottom:16px; }
  .cta-band p{ color:rgba(255,255,255,0.75); font-size:16.5px; margin-bottom:38px; }
  .cta-band-btns{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

  /* ---------- Contacto ---------- */
  .contact-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:70px; }
  @media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; gap:50px; } }

  .field{ margin-bottom:20px; }
  .field label{
    display:block; font-size:12.5px; font-weight:600; letter-spacing:0.04em;
    text-transform:uppercase; color:var(--ink-soft); margin-bottom:8px;
    font-family:'IBM Plex Mono',monospace;
  }
  .field input, .field select, .field textarea{
    width:100%; border:1.5px solid var(--line); background:var(--white);
    padding:13px 15px; font-family:'IBM Plex Sans',sans-serif; font-size:15px; color:var(--ink);
    border-radius:var(--radius);
  }
  .field input:focus, .field select:focus, .field textarea:focus{
    outline:none; border-color:var(--brand);
  }
  .field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
  @media (max-width:520px){ .field-row{ grid-template-columns:1fr; } }
  .field-check{ display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--ink-soft); margin-bottom:24px; }
  .field-check input{ margin-top:3px; width:auto; }
  .form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:14px; }
  .hp-field{ position:absolute; left:-9999px; opacity:0; pointer-events:none; }
  .form-status{ font-size:14px; margin-top:16px; padding:0; }
  .form-status:empty{ display:none; }
  .form-status.success{ color:#1a7a4c; background:#e9f7ef; border:1px solid #bfe6cf; padding:14px 16px; border-radius:var(--radius); }
  .form-status.error{ color:#a3341f; background:#fbeae7; border:1px solid #f0c4bb; padding:14px 16px; border-radius:var(--radius); }

  .contact-info-card{
    background:var(--brand-deep); color:#fff; padding:42px 36px;
  }
  .contact-info-card h3{ color:#fff; font-size:22px; margin-bottom:28px; }
  .info-block{ margin-bottom:26px; padding-bottom:26px; border-bottom:1px solid rgba(255,255,255,0.15); }
  .info-block:last-of-type{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
  .info-block .info-label{
    font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
    color:var(--gold-soft); margin-bottom:8px; display:block;
  }
  .info-block a, .info-block p{ font-size:14.5px; color:rgba(255,255,255,0.9); line-height:1.55; }
  .info-block a:hover{ color:var(--gold-soft); }
  .social-row{ display:flex; gap:12px; margin-top:30px; }
  .social-btn{
    width:40px; height:40px; border:1.5px solid rgba(255,255,255,0.3);
    display:flex; align-items:center; justify-content:center; transition:.2s;
  }
  .social-btn:hover{ background:var(--gold); border-color:var(--gold); }

  /* ---------- Footer ---------- */
  footer{ background:var(--ink); color:rgba(255,255,255,0.65); padding:52px 0 32px; }
  .footer-top{
    display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap;
    padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,0.12); margin-bottom:26px;
  }
  .footer-brand{ display:flex; align-items:center; gap:12px; }
  .footer-brand img{ height:30px; filter:brightness(0) invert(1); opacity:0.9; }
  .footer-brand .wordmark{ font-family:'Fraunces',serif; font-size:18px; color:#fff; font-weight:600; }
  .footer-links{ display:flex; gap:60px; flex-wrap:wrap; }
  .footer-col h5{
    font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
    color:rgba(255,255,255,0.4); margin-bottom:14px;
  }
  .footer-col ul li{ margin-bottom:9px; }
  .footer-col a{ font-size:14px; color:rgba(255,255,255,0.75); }
  .footer-col a:hover{ color:var(--gold-soft); }
  .footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12.5px; color:rgba(255,255,255,0.4); }
  .footer-bottom a{ color:rgba(255,255,255,0.4); }
  .footer-bottom a:hover{ color:#fff; }
  .footer-link-btn{
    background:none; border:none; padding:0; margin:0; cursor:pointer;
    font-family:inherit; font-size:12.5px; color:rgba(255,255,255,0.4);
  }
  .footer-link-btn:hover{ color:#fff; }

  /* ---------- Floating WhatsApp ---------- */
  .wa-float{
    position:fixed; right:22px; bottom:22px; z-index:200;
    width:58px; height:58px; border-radius:50%;
    background:#25D366; display:flex; align-items:center; justify-content:center;
    box-shadow:0 10px 30px -8px rgba(0,0,0,0.45);
    transition:transform .2s ease;
  }
  .wa-float:hover{ transform:scale(1.07); }

  /* ---------- Mobile nav ---------- */
  @media (max-width:900px){
    .nav-links, .nav-cta .btn-outline, .nav-cta .btn-primary{ display:none; }
    .burger{ display:block; }
    .brand-mark .wordmark small{ display:none; }
    .mobile-panel{
      display:block;
      position:fixed; inset:0 0 auto 0; top:66px; background:var(--paper);
      border-bottom:1px solid var(--line); padding:20px 28px 30px;
      transform:translateY(-8px); opacity:0; pointer-events:none; transition:.25s ease;
      z-index:99;
    }
    .mobile-panel.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
    .mobile-panel a{
      display:block; padding:14px 0; font-size:16px; font-weight:500;
      border-bottom:1px solid var(--line-soft);
    }
    .mobile-panel .btn{ margin-top:18px; width:100%; }

    .mobile-svc-group{ border-bottom:1px solid var(--line-soft); }
    .mobile-svc-toggle{
      width:100%; display:flex; align-items:center; justify-content:space-between;
      background:none; border:none; font-family:inherit; padding:14px 0;
      font-size:16px; font-weight:500; color:var(--ink); cursor:pointer;
    }
    .mobile-svc-toggle svg{ width:16px; height:16px; color:var(--ink-soft); transition:transform .25s ease; }
    .mobile-svc-toggle[aria-expanded="true"] svg{ transform:rotate(180deg); }
    .mobile-svc-menu{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
    .mobile-svc-menu.open{ max-height:420px; }
    .mobile-svc-menu a{
      display:block; padding:12px 0 12px 16px; font-size:15px; font-weight:500;
      color:var(--ink-soft); border-bottom:0 !important;
    }

    .hero-grid{ grid-template-columns:1fr; min-height:auto; }
    .hero-photo{ display:none; }
    .hero-statsbar-inner{ gap:20px 28px; padding:24px 20px; }
    .hero-topbar-inner{ padding:14px 20px; font-size:12.5px; }
  }

/* ============================================================
   PÁGINAS DE SERVICIO (fiscal.html, laboral.html, etc.)
   ============================================================ */
.service-hero{
  position:relative;
  background:linear-gradient(115deg, var(--brand-deep) 0%, var(--brand-deep-2) 46%, var(--brand) 100%);
  color:#fff; padding:150px 0 70px;
}
.breadcrumb{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; font-weight:500;
  color:rgba(255,255,255,0.6); margin-bottom:28px; letter-spacing:0.02em;
}
.breadcrumb a{ color:rgba(255,255,255,0.85); }
.breadcrumb a:hover{ color:var(--gold-soft); }
.service-hero-icon{
  width:64px; height:64px; border-radius:16px; background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center;
  margin-bottom:26px; color:var(--gold-soft);
}
.service-hero-icon svg{ width:34px; height:34px; }
.service-hero h1{ color:#fff; font-size:clamp(32px,4.4vw,52px); font-weight:600; margin-bottom:20px; max-width:16ch; }
.service-hero-sub{ font-size:17.5px; color:rgba(255,255,255,0.82); max-width:56ch; margin-bottom:36px; }
.service-hero-tags{ display:flex; flex-wrap:wrap; gap:10px; }
.service-hero-tags span{
  font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600; letter-spacing:0.04em;
  color:var(--gold-soft); border:1px solid rgba(230,197,146,0.4); padding:6px 14px; border-radius:999px;
}

.service-body{ padding:90px 0; }
.service-layout{ display:grid; grid-template-columns:1.5fr 1fr; gap:70px; align-items:start; }
@media (max-width:900px){ .service-layout{ grid-template-columns:1fr; gap:48px; } }

.service-content h2{ font-size:clamp(24px,2.8vw,32px); margin:48px 0 20px; }
.service-content h2:first-child{ margin-top:0; }
.service-content p{ font-size:16px; color:var(--ink-soft); line-height:1.7; margin-bottom:18px; }
.service-content ul{ margin:20px 0 28px; }
.service-content ul li{
  display:flex; align-items:flex-start; gap:14px; padding:14px 0; border-top:1px solid var(--line);
  font-size:15px; color:var(--ink-soft); line-height:1.5;
}
.service-content ul li:last-child{ border-bottom:1px solid var(--line); }
.service-content ul li strong{ color:var(--brand-deep); font-weight:600; }
.service-check{
  flex-shrink:0; width:22px; height:22px; border-radius:50%; background:var(--paper-2);
  color:var(--brand); display:flex; align-items:center; justify-content:center; margin-top:1px;
}
.service-check svg{ width:13px; height:13px; }

.service-who{
  background:var(--paper-2); border-radius:16px; padding:32px; margin:32px 0;
}
.service-who h3{ font-size:18px; color:var(--brand-deep); margin-bottom:16px; font-family:'Fraunces',serif; font-weight:600; }
.service-who-list{ display:flex; flex-wrap:wrap; gap:10px; }
.service-who-list span{
  background:#fff; border:1px solid var(--line); border-radius:999px; padding:8px 16px;
  font-size:13.5px; color:var(--brand-deep); font-weight:500;
}

.service-sidebar{ position:sticky; top:100px; display:flex; flex-direction:column; gap:20px; }
.service-cta-card{
  background:var(--brand-deep); border-radius:18px; padding:32px 28px; color:#fff;
  box-shadow:0 20px 40px -20px rgba(6,33,58,0.4);
}
.service-cta-card h3{ font-family:'Fraunces',serif; font-size:21px; margin-bottom:12px; }
.service-cta-card p{ font-size:14px; color:rgba(255,255,255,0.78); margin-bottom:22px; line-height:1.5; }
.service-cta-card .btn{ width:100%; margin-bottom:12px; }
.service-cta-card .btn:last-of-type{ margin-bottom:0; }
.service-mini-info{ background:var(--paper-2); border-radius:18px; padding:26px 28px; }
.service-mini-info .info-row{ display:flex; align-items:center; gap:12px; padding:11px 0; font-size:14px; color:var(--ink-soft); border-top:1px solid var(--line); }
.service-mini-info .info-row:first-child{ border-top:none; padding-top:0; }
.service-mini-info svg{ width:18px; height:18px; color:var(--brand); flex-shrink:0; }

.other-services{ padding:80px 0 100px; }
.other-services-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
@media (max-width:900px){ .other-services-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .other-services-grid{ grid-template-columns:repeat(2,1fr); } }
.other-service-link{
  display:flex; flex-direction:column; align-items:flex-start; gap:12px;
  background:var(--white); border:1px solid var(--line); border-radius:14px; padding:22px 18px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.other-service-link:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.other-service-link svg{ width:24px; height:24px; color:var(--brand); }
.other-service-link span{ font-size:14px; font-weight:600; color:var(--brand-deep); }

/* ============================================================
   CONTACTO — versión más visual
   ============================================================ */
.contact-band-top{
  background:linear-gradient(115deg, var(--brand-deep) 0%, var(--brand-deep-2) 100%);
  padding:70px 0 60px; color:#fff; text-align:center;
}
.contact-band-top .eyebrow{ justify-content:center; }
.contact-band-top .eyebrow::before{ display:none; }
.contact-band-top h2{ color:#fff; font-size:clamp(28px,3.6vw,42px); margin-bottom:16px; }
.contact-band-top p{ color:rgba(255,255,255,0.78); font-size:16.5px; max-width:52ch; margin:0 auto 36px; }
.contact-quick-row{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }
.contact-quick-card{
  display:flex; align-items:center; gap:12px; background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.18); border-radius:14px; padding:16px 22px;
  transition:background .2s ease, transform .2s ease; min-width:200px;
  text-decoration:none; color:inherit;
}
.contact-quick-card:hover{ background:rgba(255,255,255,0.16); transform:translateY(-3px); }
.contact-quick-card .icon{
  width:42px; height:42px; border-radius:50%; background:var(--gold); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.contact-quick-card .icon svg{ width:20px; height:20px; }
.contact-quick-card .txt{ text-align:left; display:flex; flex-direction:column; gap:2px; }
.contact-quick-card .txt .lbl{ display:block; font-size:11px; color:rgba(255,255,255,0.6); font-family:'IBM Plex Mono',monospace; letter-spacing:0.06em; text-transform:uppercase; }
.contact-quick-card .txt .val{ display:block; font-size:15.5px; font-weight:600; color:#fff; }

.maps-section{ padding:80px 0 90px; background:var(--brand-deep); }
.maps-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:760px){ .maps-grid{ grid-template-columns:1fr; } }
.map-card{ background:var(--white); border:1px solid var(--line); overflow:hidden; border-radius:14px; box-shadow:0 20px 44px -22px rgba(0,0,0,0.5); }
.map-card iframe{ width:100%; height:260px; display:block; border:0; filter:grayscale(0.15) contrast(1.02); }
.map-card-info{ padding:20px 22px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.map-card-info .lbl{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--gold); display:block; margin-bottom:4px; }
.map-card-info .addr{ font-size:14.5px; color:var(--brand-deep); font-weight:600; }
.map-card-info a.btn{ flex-shrink:0; white-space:nowrap; }

/* ============================================================
   BANNER DE CONSENTIMIENTO DE COOKIES
   ============================================================ */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:500;
  background:var(--brand-deep); border-top:1px solid rgba(255,255,255,0.15);
  box-shadow:0 -12px 34px -14px rgba(0,0,0,0.4);
  animation:cookieSlideUp .4s ease;
}
@keyframes cookieSlideUp{ from{ transform:translateY(100%); } to{ transform:translateY(0); } }
.cookie-banner-inner{
  max-width:1180px; margin:0 auto; padding:22px 28px;
  display:flex; align-items:center; gap:28px; flex-wrap:wrap;
}
.cookie-banner-inner p{
  flex:1 1 420px; margin:0; font-size:13.5px; line-height:1.55; color:rgba(255,255,255,0.82);
}
.cookie-banner-inner p a{ color:var(--gold-soft); font-weight:600; }
.cookie-banner-btns{ display:flex; gap:12px; flex-wrap:wrap; flex-shrink:0; }
.cookie-banner .btn-outline{ border-color:rgba(255,255,255,0.4); color:#fff; }
.cookie-banner .btn-outline:hover{ background:rgba(255,255,255,0.1); }
@media (max-width:640px){
  .cookie-banner-inner{ padding:18px 20px; }
  .cookie-banner-btns{ width:100%; }
  .cookie-banner-btns .btn{ flex:1; }
}

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */
.legal-hero{
  background:linear-gradient(115deg, var(--brand-deep) 0%, var(--brand-deep-2) 46%, var(--brand) 100%);
  color:#fff; padding:130px 0 56px;
}
.legal-hero h1{ color:#fff; font-size:clamp(28px,3.6vw,42px); margin-bottom:14px; }
.legal-hero p{ color:rgba(255,255,255,0.75); font-size:15px; }
.legal-body{ padding:70px 0 100px; }
.legal-content{ max-width:760px; }
.legal-content h2{ font-size:22px; color:var(--brand-deep); margin:40px 0 14px; }
.legal-content h2:first-child{ margin-top:0; }
.legal-content h3{ font-size:16.5px; color:var(--brand-deep); margin:26px 0 10px; }
.legal-content p{ font-size:15px; color:var(--ink-soft); line-height:1.75; margin-bottom:14px; }
.legal-content ul{ margin:0 0 16px 0; padding-left:22px; }
.legal-content li{ font-size:15px; color:var(--ink-soft); line-height:1.7; margin-bottom:8px; }
.legal-content a{ color:var(--brand); font-weight:600; }
.legal-content .placeholder{
  background:#FFF6E6; border:1px solid #F0D9A8; color:#7A5A1E;
  padding:2px 7px; border-radius:5px; font-size:0.92em; font-weight:600;
}
.legal-table-wrap{ overflow-x:auto; margin:18px 0 26px; -webkit-overflow-scrolling:touch; }
.legal-table{ width:100%; min-width:560px; border-collapse:collapse; font-size:13.5px; }
.legal-table th, .legal-table td{ text-align:left; padding:11px 14px; border:1px solid var(--line); vertical-align:top; }
.legal-table th{ background:var(--paper-2); color:var(--brand-deep); font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.03em; text-transform:uppercase; }
.legal-table td{ color:var(--ink-soft); }
@media (max-width:600px){
  .legal-table{ font-size:12.5px; }
  .legal-table th, .legal-table td{ padding:8px 10px; }
}
