  :root{
    --navy-deep:#0B1E33;
    --navy-mid:#12283F;
    --navy-soft:#1C3C57;
    --teal:#1FB5AC;
    --teal-deep:#0C6E68;
    --teal-light:#7CDCD4;
    --paper:#F5F8F7;
    --paper-dim:#E9EFEE;
    --ink:#0E1E2C;
    --slate:#5B6B72;
    --white:#FFFFFF;
    --line: rgba(255,255,255,0.12);
    --line-dark: rgba(11,30,51,0.12);
    --shadow: 0 20px 50px -20px rgba(11,30,51,0.35);
    --radius: 14px;
  }

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

  body{
    margin:0;
    font-family:'Inter',sans-serif;
    background:var(--paper);
    color:var(--ink);
    -webkit-font-smoothing:antialiased;
  }

  h1,h2,h3{
    font-family:'Archivo',sans-serif;
    margin:0;
    line-height:1.05;
    letter-spacing:-0.01em;
  }

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

  .mono{
    font-family:'JetBrains Mono',monospace;
    letter-spacing:0.08em;
    text-transform:uppercase;
  }

  .wrap{
    max-width:1200px;
    margin:0 auto;
    padding:0 32px;
  }

  section{ position:relative; }

  .eyebrow{
    font-size:12px;
    color:var(--teal);
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:"";
    width:22px;
    height:2px;
    background:var(--teal);
    display:inline-block;
  }
  .eyebrow.on-dark{ color:var(--teal-light); }

  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 26px;
    border-radius:999px;
    font-weight:600;
    font-size:15px;
    border:1px solid transparent;
    transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    white-space:nowrap;
  }
  .btn:focus-visible{ outline:2px solid var(--teal-light); outline-offset:3px; }
  .btn-primary{
    background:var(--teal);
    color:var(--navy-deep);
  }
  .btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -10px rgba(31,181,172,0.55); }
  .btn-ghost{
    background:transparent;
    color:var(--white);
    border-color:var(--line);
  }
  .btn-ghost:hover{ border-color:var(--teal-light); color:var(--teal-light); transform:translateY(-2px); }
  .btn-ghost-dark{
    background:transparent;
    color:var(--ink);
    border-color:var(--line-dark);
  }
  .btn-ghost-dark:hover{ border-color:var(--teal-deep); color:var(--teal-deep); transform:translateY(-2px); }
  .btn-dark{
    background:var(--navy-deep);
    color:var(--white);
  }
  .btn-dark:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -10px rgba(11,30,51,0.5); }

  /* ---------- NAV ---------- */
  header.nav{
    position:fixed;
    top:0; left:0; right:0;
    z-index:100;
    padding:10px 0;
    transition:background .35s ease, padding .35s ease, box-shadow .35s ease, border-color .35s ease;
    border-bottom:1px solid transparent;
  }
  header.nav.scrolled{
    background:rgba(245,248,247,0.88);
    backdrop-filter:blur(14px);
    padding:6px 0;
    border-color:var(--line-dark);
    box-shadow:0 10px 30px -20px rgba(11,30,51,0.25);
  }
  .nav-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
  }
  .plaque{
    display:inline-flex;
    align-items:center;
    gap:12px;
  }
  .plaque img{ height:44px; width:auto; display:block; transition:height .35s ease; }
  header.nav.scrolled .plaque img{ height:36px; }
  .plaque img.logo-full{ height:38px; }
  header.nav.scrolled .plaque img.logo-full{ height:30px; }
  .brand-text{
    font-family:'Archivo',sans-serif;
    font-weight:800;
    font-size:19px;
    color:var(--ink);
    letter-spacing:-0.01em;
  }
  header.nav.scrolled .brand-text{ font-size:17px; }
  .nav-links{
    display:flex;
    align-items:center;
    gap:34px;
    list-style:none;
    margin:0; padding:0;
  }
  .nav-links a{
    color:var(--ink);
    opacity:0.78;
    font-size:14.5px;
    font-weight:500;
    transition:opacity .2s ease, color .2s ease;
    position:relative;
  }
  .nav-links a:hover{ opacity:1; color:var(--teal-deep); }
  .nav-links a::after{
    content:"";
    position:absolute; left:0; bottom:-6px;
    width:0; height:2px;
    background:var(--teal-deep);
    transition:width .25s ease;
  }
  .nav-links a.active{ opacity:1; }
  .nav-links a.active::after{ width:100%; }
  .nav-cta{ display:flex; align-items:center; gap:14px; }
  .nav-toggle{
    display:none;
    background:none; border:none; color:var(--ink);
    padding:6px;
  }
  .nav-toggle svg{ width:26px; height:26px; }

  /* ---------- HERO ---------- */
  .hero{
    background-image:
      linear-gradient(100deg, var(--paper) 0%, rgba(245,248,247,0.94) 28%, rgba(245,248,247,0.62) 50%, rgba(245,248,247,0.24) 70%, rgba(245,248,247,0.05) 88%),
      radial-gradient(circle at 82% 8%, rgba(31,181,172,0.14), transparent 45%),
      url('hero-bg.jpg');
    background-repeat:no-repeat;
    background-position:center, center, center 68%;
    background-size:auto, auto, cover;
    color:var(--ink);
    padding:132px 0 90px;
    overflow:hidden;
    position:relative;
  }
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background-image:
      linear-gradient(var(--line-dark) 1px, transparent 1px),
      linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size:64px 64px;
    opacity:0.5;
    mask-image:linear-gradient(180deg, transparent, black 20%, black 70%, transparent);
    pointer-events:none;
  }
  .hero-inner{
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:64px;
    align-items:center;
    position:relative;
    z-index:2;
  }
  .hero-copy{
    background:rgba(245,248,247,0.68);
    backdrop-filter:blur(14px) saturate(160%);
    -webkit-backdrop-filter:blur(14px) saturate(160%);
    border:1px solid rgba(255,255,255,0.55);
    border-radius:24px;
    padding:38px 42px;
    box-shadow:0 40px 70px -36px rgba(11,30,51,0.22);
  }
  .hero-copy h1{
    font-size:clamp(34px, 4.4vw, 56px);
    font-weight:800;
    margin-bottom:22px;
    color:var(--ink);
  }
  .hero-copy h1 em{
    font-style:normal;
    color:var(--teal-deep);
  }
  .hero-copy p.lead{
    font-size:18px;
    line-height:1.6;
    color:var(--slate);
    max-width:520px;
    margin-bottom:34px;
  }
  .hero-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:20px;
  }
  .hero-note{
    font-size:13px;
    color:var(--slate);
    display:flex;
    align-items:center;
    gap:8px;
  }
  .hero-note .dot{
    width:7px; height:7px; border-radius:50%;
    background:var(--teal-deep);
    box-shadow:0 0 0 0 rgba(31,181,172,0.6);
    animation:pulseDot 2s infinite;
  }
  @keyframes pulseDot{
    0%{ box-shadow:0 0 0 0 rgba(31,181,172,0.55); }
    70%{ box-shadow:0 0 0 8px rgba(31,181,172,0); }
    100%{ box-shadow:0 0 0 0 rgba(31,181,172,0); }
  }

  /* ---------- DASHBOARD MOCKUP (signature element) ---------- */
  .panel{
    background:linear-gradient(165deg, #FFFFFF, #F2F7F6);
    border:1px solid var(--line-dark);
    border-radius:18px;
    padding:20px;
    box-shadow:var(--shadow);
  }
  .panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:16px;
    padding-bottom:14px;
    border-bottom:1px solid var(--line-dark);
  }
  .panel-head .mono{ font-size:11px; color:var(--slate); }
  .panel-head .status{
    display:flex; align-items:center; gap:8px;
    font-size:11px; color:var(--teal-deep);
    font-weight:600;
  }
  .panel-head .status .dot{
    width:6px; height:6px; border-radius:50%; background:var(--teal);
    animation:pulseDot 2s infinite;
  }
  .widget-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
  }
  .widget{
    background:var(--white);
    border:1px solid var(--line-dark);
    border-radius:12px;
    padding:14px;
  }
  .widget h4{
    font-size:11.5px;
    font-weight:600;
    color:var(--slate);
    margin:0 0 10px;
    text-transform:uppercase;
    letter-spacing:0.06em;
  }
  .widget .big{
    font-family:'JetBrains Mono',monospace;
    font-size:22px;
    font-weight:600;
    color:var(--navy-deep);
  }
  .widget .small{ font-size:11px; color:var(--slate); margin-top:2px; }
  .bar-track{
    height:6px; border-radius:99px;
    background:var(--paper-dim);
    margin-top:12px;
    overflow:hidden;
  }
  .bar-fill{
    height:100%; border-radius:99px;
    background:linear-gradient(90deg, var(--teal-deep), var(--teal));
    width:78%;
    transition:width 1.4s ease;
  }
  .mini-chart{
    display:flex; align-items:flex-end; gap:5px;
    height:38px; margin-top:10px;
  }
  .mini-chart span{
    flex:1;
    background:linear-gradient(180deg, var(--teal), var(--teal-deep));
    border-radius:3px 3px 0 0;
    transform-origin:bottom;
    animation:growBar 1.6s ease forwards;
  }
  @keyframes growBar{ from{ transform:scaleY(0); } to{ transform:scaleY(1); } }

  .route-box{ position:relative; height:64px; margin-top:8px; }
  .route-box svg{ width:100%; height:100%; overflow:visible; }
  .route-dot{
    offset-path: path("M4,50 C 40,10 80,80 120,30 S 190,10 216,44");
    animation: driveRoute 5s linear infinite;
  }
  @keyframes driveRoute{
    0%{ offset-distance:0%; }
    100%{ offset-distance:100%; }
  }
  .status-row{
    grid-column:1 / -1;
    display:flex; align-items:center; justify-content:space-between;
    font-size:12px; color:var(--slate);
    padding-top:2px;
  }
  .status-row .clock{ font-family:'JetBrains Mono',monospace; color:var(--teal-deep); font-weight:600; }

  /* ---------- STATS STRIP ---------- */
  .stats-strip{
    background:var(--navy-deep);
    border-top:1px solid var(--line);
    padding:26px 0;
  }
  .stats-strip .wrap{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
  }
  .stat{
    display:flex; flex-direction:column; gap:4px;
    border-left:1px solid var(--line);
    padding-left:18px;
  }
  .stat .num{
    font-family:'JetBrains Mono',monospace;
    font-size:26px; font-weight:600; color:var(--teal-light);
  }
  .stat .label{
    font-size:12px; color:rgba(255,255,255,0.55);
  }

  /* ---------- SECTION HEADS ---------- */
  .section-head{
    max-width:640px;
    margin-bottom:52px;
  }
  .section-head h2{
    font-size:clamp(28px,3.4vw,40px);
    font-weight:800;
    margin-bottom:16px;
    color:var(--ink);
  }
  .section-head p{
    font-size:16.5px;
    color:var(--slate);
    line-height:1.6;
  }
  .section-head.on-dark h2{ color:var(--white); }
  .section-head.on-dark p{ color:rgba(255,255,255,0.65); }

  .reveal{
    opacity:0;
    transform:translateY(26px);
    transition:opacity .7s ease, transform .7s ease;
  }
  .reveal.in-view{ opacity:1; transform:none; }

  /* ---------- CATALOG ---------- */
  .catalog{ padding:110px 0; background:var(--paper); }

  .tabs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:44px;
  }
  .tab{
    background:var(--white);
    border:1px solid var(--line-dark);
    color:var(--ink);
    padding:10px 18px;
    border-radius:999px;
    font-size:13.5px;
    font-weight:600;
    transition:all .25s ease;
  }
  .tab:hover{ border-color:var(--teal); color:var(--teal-deep); }
  .tab.active{
    background:var(--navy-deep);
    border-color:var(--navy-deep);
    color:var(--white);
  }

  .card-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
  }
  .card{
    background:var(--white);
    border:1px solid var(--line-dark);
    border-radius:var(--radius);
    padding:0;
    overflow:hidden;
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display:flex;
    flex-direction:column;
    animation:cardIn .5s ease both;
  }
  .card-media{
    position:relative;
    height:160px;
    overflow:hidden;
    background:var(--navy-mid);
  }
  .card-media img{
    width:100%; height:100%;
    object-fit:cover;
    transition:transform .5s ease;
  }
  .card:hover .card-media img{ transform:scale(1.06); }
  .card-media::after{
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(11,30,51,0.05), rgba(11,30,51,0.55));
  }
  .card-media .card-code{
    position:absolute;
    top:14px; right:14px;
    color:var(--white);
    z-index:2;
    background:rgba(11,30,51,0.55);
    padding:3px 9px;
    border-radius:999px;
    backdrop-filter:blur(4px);
    opacity:1;
  }
  .card-body{ padding:22px 26px 26px; display:flex; flex-direction:column; flex:1; }
  .card-badge{
    position:absolute;
    left:14px; bottom:14px;
    z-index:2;
    background:var(--teal);
    color:var(--navy-deep);
    font-size:10.5px;
    font-weight:700;
    padding:5px 10px;
    border-radius:999px;
    letter-spacing:0.04em;
    box-shadow:0 6px 16px -6px rgba(0,0,0,0.5);
  }
  @keyframes cardIn{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
  .card.is-hidden{ display:none; }
  .card:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 48px -24px rgba(11,30,51,0.28);
    border-color:rgba(31,181,172,0.4);
  }
  .card-top{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    margin-bottom:14px;
  }
  .card-icon{
    width:38px; height:38px;
    border-radius:10px;
    background:linear-gradient(160deg, var(--navy-mid), var(--navy-deep));
    display:flex; align-items:center; justify-content:center;
    color:var(--teal-light);
    transition:transform .3s ease;
    flex-shrink:0;
    margin-top:-40px;
  }
  .card:hover .card-icon{ transform:scale(1.08) rotate(-4deg); }
  .card-icon svg{ width:20px; height:20px; }
  .card-code{
    font-size:11px;
    color:var(--slate);
    opacity:0.65;
  }
  .card h3{
    font-size:18px;
    font-weight:700;
    margin-bottom:10px;
    color:var(--ink);
  }
  .card p.desc{
    font-size:14.5px;
    color:var(--slate);
    line-height:1.55;
    margin-bottom:16px;
  }
  .card ul{
    list-style:none;
    margin:0 0 4px; padding:0;
    display:flex; flex-direction:column; gap:8px;
  }
  .card ul li{
    font-size:13.5px;
    color:var(--ink);
    display:flex;
    align-items:flex-start;
    gap:8px;
  }
  .card ul li svg{
    width:14px; height:14px;
    color:var(--teal-deep);
    margin-top:3px;
    flex-shrink:0;
  }
  .card-tag{
    margin-top:auto;
    padding-top:18px;
    font-size:11px;
    color:var(--teal-deep);
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:0.05em;
  }

  /* ---------- PROCESS ---------- */
  .process{
    background:var(--navy-deep);
    color:var(--white);
    padding:100px 0;
  }
  .process-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
  }
  .process-step{
    border-top:2px solid var(--teal);
    padding-top:22px;
  }
  .process-step .num{
    font-family:'JetBrains Mono',monospace;
    font-size:13px;
    color:var(--teal-light);
    margin-bottom:14px;
    display:block;
  }
  .process-step h3{
    font-size:20px;
    margin-bottom:10px;
    font-weight:700;
  }
  .process-step p{
    font-size:14.5px;
    color:rgba(255,255,255,0.65);
    line-height:1.6;
  }

  /* ---------- PILLARS ---------- */
  .pillars{ padding:100px 0; background:var(--paper); }
  .pillar-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
  }
  .pillar{
    background:var(--white);
    border:1px solid var(--line-dark);
    border-radius:var(--radius);
    padding:26px 22px;
  }
  .pillar-icon{
    width:42px; height:42px;
    border-radius:10px;
    background:rgba(31,181,172,0.12);
    display:flex; align-items:center; justify-content:center;
    color:var(--teal-deep);
    margin-bottom:16px;
  }
  .pillar-icon svg{ width:22px; height:22px; }
  .pillar h3{
    font-size:15.5px;
    font-weight:700;
    margin-bottom:8px;
    color:var(--ink);
  }
  .pillar p{
    font-size:13.5px;
    color:var(--slate);
    line-height:1.55;
  }

  /* ---------- CONTACT ---------- */
  .contact{
    background:linear-gradient(180deg, var(--navy-mid), var(--navy-deep));
    color:var(--white);
    padding:110px 0;
  }
  .contact-grid{
    display:grid;
    grid-template-columns:0.85fr 1.15fr;
    gap:60px;
  }
  .contact-cards{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:8px;
  }
  .contact-card{
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px 18px;
    border:1px solid var(--line);
    border-radius:12px;
    background:rgba(255,255,255,0.04);
    transition:border-color .25s ease, background .25s ease;
  }
  .contact-card:hover{ border-color:var(--teal); background:rgba(255,255,255,0.07); }
  .contact-card .ci{
    width:38px; height:38px; border-radius:10px;
    background:rgba(31,181,172,0.15);
    display:flex; align-items:center; justify-content:center;
    color:var(--teal-light);
    flex-shrink:0;
  }
  .contact-card .ci svg{ width:19px; height:19px; }
  .contact-card .label{ font-size:11.5px; color:rgba(255,255,255,0.5); }
  .contact-card .value{ font-size:14.5px; font-weight:600; }

  .form-panel{
    background:rgba(255,255,255,0.05);
    border:1px solid var(--line);
    border-radius:18px;
    padding:32px;
  }
  .field{ margin-bottom:18px; }
  .field label{
    display:block;
    font-size:12px;
    color:rgba(255,255,255,0.6);
    margin-bottom:7px;
  }
  .field input, .field select, .field textarea{
    width:100%;
    background:rgba(255,255,255,0.06);
    border:1px solid var(--line);
    border-radius:9px;
    padding:12px 14px;
    color:var(--white);
    font-family:'Inter',sans-serif;
    font-size:14.5px;
    transition:border-color .2s ease, background .2s ease;
  }
  .field input::placeholder, .field textarea::placeholder{ color:rgba(255,255,255,0.35); }
  .field input:focus, .field select:focus, .field textarea:focus{
    outline:none;
    border-color:var(--teal);
    background:rgba(255,255,255,0.09);
  }
  .field select option{ background:var(--navy-deep); color:var(--white); }
  .field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  .form-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:6px; }
  .form-note{ font-size:12px; color:rgba(255,255,255,0.45); margin-top:14px; }

  /* ---------- FOOTER ---------- */
  footer{
    background:var(--paper-dim);
    padding:56px 0 28px;
    border-top:1px solid var(--line-dark);
  }
  .footer-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:32px;
    padding-bottom:36px;
    border-bottom:1px solid var(--line-dark);
    margin-bottom:22px;
  }
  .footer-brand .plaque{ margin-bottom:16px; }
  .footer-brand .plaque img{ height:168px; }
  .footer-brand p{
    font-size:13.5px;
    color:var(--slate);
    max-width:280px;
    line-height:1.55;
  }
  .footer-cols{ display:flex; gap:56px; flex-wrap:wrap; }
  .footer-col h4{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:0.06em;
    color:var(--slate);
    margin-bottom:14px;
    font-weight:600;
  }
  .footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
  .footer-col a{ font-size:14px; color:var(--ink); opacity:0.75; transition:opacity .2s ease; }
  .footer-col a:hover{ opacity:1; color:var(--teal-deep); }
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
    font-size:12.5px;
    color:var(--slate);
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:980px){
    .hero-inner{ grid-template-columns:1fr; }
    .hero{ padding-top:112px; }
    .hero-copy{ padding:26px 24px; border-radius:18px; }
    .page-header{ padding-top:112px; }
    .stats-strip .wrap{ grid-template-columns:repeat(2,1fr); row-gap:22px; }
    .card-grid{ grid-template-columns:repeat(2,1fr); }
    .process-grid{ grid-template-columns:1fr; gap:36px; }
    .pillar-grid{ grid-template-columns:repeat(2,1fr); }
    .contact-grid{ grid-template-columns:1fr; gap:40px; }
    .field-row{ grid-template-columns:1fr; }
  }
  @media (max-width:1040px){
    .nav-links, .nav-cta .btn-ghost{ display:none; }
    .nav-toggle{ display:block; }
  }
  @media (max-width:720px){
    .plaque img{ height:34px; }
    .plaque img.logo-full{ height:30px; }
    .brand-text{ font-size:15px; }
    .card-grid{ grid-template-columns:1fr; }
    .pillar-grid{ grid-template-columns:1fr; }
    .wrap{ padding:0 20px; }
    .footer-top{ flex-direction:column; }
    .footer-brand .plaque img{ height:120px; }
  }
  @media (max-width:400px){
    .nav-inner{ gap:10px; }
    .brand-text{ display:none; }
    .nav-cta{ gap:8px; }
  }
  .nav-links.open{
    display:flex;
    position:absolute;
    top:100%; left:0; right:0;
    background:rgba(245,248,247,0.98);
    backdrop-filter:blur(14px);
    flex-direction:column;
    padding:22px 20px;
    gap:18px;
    border-bottom:1px solid var(--line-dark);
    box-shadow:0 20px 40px -20px rgba(11,30,51,0.25);
  }

  /* ---------- PAGE HEADER (inner pages) ---------- */
  .page-header{
    background:
      radial-gradient(circle at 85% 10%, rgba(31,181,172,0.16), transparent 45%),
      linear-gradient(180deg, #EAF3F2, #F5F8F7);
    padding:132px 0 64px;
    border-bottom:1px solid var(--line-dark);
  }
  .page-header .crumb{
    font-size:12.5px;
    color:var(--slate);
    margin-bottom:18px;
  }
  .page-header .crumb a{ color:var(--teal-deep); font-weight:600; }
  .page-header h1{
    font-size:clamp(30px,4vw,46px);
    font-weight:800;
    color:var(--ink);
    margin-bottom:16px;
    max-width:720px;
  }
  .page-header p{
    font-size:16.5px;
    color:var(--slate);
    max-width:560px;
    line-height:1.6;
  }

  /* ---------- HOME FEATURED SYSTEMS ---------- */
  .featured{ padding:100px 0; background:var(--paper); }
  .featured-foot{
    margin-top:40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:16px;
    padding-top:28px;
    border-top:1px solid var(--line-dark);
  }
  .featured-foot p{ font-size:14px; color:var(--slate); }

  /* ---------- PLANS TEASER (home) ---------- */
  .plans-teaser{
    background:var(--navy-deep);
    color:var(--white);
    padding:90px 0;
  }
  .teaser-grid{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:48px;
    align-items:center;
  }
  .teaser-grid .mini-plans{
    display:flex;
    flex-direction:column;
    gap:12px;
  }
  .mini-plan{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 20px;
    border:1px solid var(--line);
    border-radius:12px;
    background:rgba(255,255,255,0.04);
  }
  .mini-plan .name{ font-weight:700; font-size:15px; }
  .mini-plan .tag{ font-size:12px; color:var(--teal-light); font-family:'JetBrains Mono',monospace; }

  /* ---------- PLANES PAGE ---------- */
  .plans-section{ padding:90px 0 110px; background:var(--paper); }
  .plans-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    align-items:stretch;
  }
  .plan-card{
    background:var(--white);
    border:1px solid var(--line-dark);
    border-radius:18px;
    padding:32px 28px;
    display:flex;
    flex-direction:column;
    position:relative;
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  }
  .plan-card:hover{ transform:translateY(-6px); box-shadow:0 26px 50px -26px rgba(11,30,51,0.28); }
  .plan-card.featured{
    border-color:var(--teal);
    box-shadow:0 26px 60px -28px rgba(31,181,172,0.35);
  }
  .plan-card .ribbon{
    position:absolute;
    top:-13px; left:28px;
    background:var(--teal);
    color:var(--navy-deep);
    font-size:11px;
    font-weight:700;
    padding:5px 12px;
    border-radius:999px;
    letter-spacing:0.04em;
  }
  .plan-card .plan-name{
    font-family:'Archivo',sans-serif;
    font-size:22px;
    font-weight:800;
    color:var(--ink);
    margin-bottom:8px;
  }
  .plan-card .plan-for{
    font-size:13.5px;
    color:var(--slate);
    line-height:1.55;
    margin-bottom:22px;
    min-height:44px;
  }
  .plan-card .plan-price{
    font-family:'JetBrains Mono',monospace;
    font-size:14px;
    color:var(--teal-deep);
    font-weight:600;
    margin-bottom:22px;
    padding-bottom:22px;
    border-bottom:1px solid var(--line-dark);
  }
  .plan-card ul{
    list-style:none;
    margin:0 0 26px;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:11px;
    flex:1;
  }
  .plan-card ul li{
    font-size:14px;
    color:var(--ink);
    display:flex;
    align-items:flex-start;
    gap:9px;
  }
  .plan-card ul li svg{
    width:15px; height:15px;
    color:var(--teal-deep);
    margin-top:3px;
    flex-shrink:0;
  }
  .plan-note{
    max-width:720px;
    margin:48px auto 0;
    text-align:center;
    font-size:14px;
    color:var(--slate);
    line-height:1.65;
  }
  .compare-table{
    margin-top:70px;
    overflow-x:auto;
    border:1px solid var(--line-dark);
    border-radius:16px;
  }
  .compare-table table{
    width:100%;
    border-collapse:collapse;
    background:var(--white);
    min-width:640px;
  }
  .compare-table th, .compare-table td{
    padding:14px 18px;
    text-align:left;
    font-size:13.5px;
    border-bottom:1px solid var(--line-dark);
  }
  .compare-table thead th{
    background:var(--paper-dim);
    font-family:'JetBrains Mono',monospace;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:0.05em;
    color:var(--slate);
  }
  .compare-table td:first-child, .compare-table th:first-child{
    font-weight:600;
    color:var(--ink);
  }
  .compare-table tbody tr:last-child td{ border-bottom:none; }
  .compare-table .yes{ color:var(--teal-deep); font-weight:700; }
  .compare-table .no{ color:var(--slate); opacity:0.4; }

  @media (max-width:980px){
    .plans-grid{ grid-template-columns:1fr; }
    .teaser-grid{ grid-template-columns:1fr; }
  }

  /* ---------- MEGA MENU (nav dropdown) ---------- */
  .nav-links li.has-mega{ position:relative; }
  .nav-links li.has-mega > a{ display:inline-flex; align-items:center; gap:5px; }
  .nav-links li.has-mega > a .caret{ width:11px; height:11px; transition:transform .25s ease; }
  .nav-links li.has-mega.open > a .caret{ transform:rotate(180deg); }

  .mega-menu{
    position:absolute;
    left:50%;
    top:100%;
    transform:translateX(-50%) translateY(8px);
    width:min(940px, 94vw);
    background:var(--white);
    border:1px solid var(--line-dark);
    border-radius:20px;
    box-shadow:0 40px 80px -24px rgba(11,30,51,0.32);
    padding:30px 32px;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:8px 26px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index:200;
  }
  /* invisible bridge so the pointer never leaves the hover chain between the
     trigger link and the dropdown below it */
  .mega-menu::before{
    content:'';
    position:absolute;
    left:0; right:0;
    top:-16px;
    height:16px;
  }
  .nav-links li.has-mega:hover .mega-menu,
  .nav-links li.has-mega.open .mega-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) translateY(0);
  }
  .mega-col h4{
    font-family:'JetBrains Mono',monospace;
    font-size:10.5px;
    text-transform:uppercase;
    letter-spacing:0.06em;
    color:var(--teal-deep);
    font-weight:600;
    margin:0 0 12px;
    padding-bottom:10px;
    border-bottom:1px solid var(--line-dark);
  }
  .mega-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:8px 6px;
    margin:0 -6px;
    border-radius:10px;
    text-decoration:none;
    transition:background .2s ease;
  }
  .mega-item:hover{ background:var(--paper); }
  .mega-item .mi-icon{
    width:30px; height:30px;
    border-radius:8px;
    background:linear-gradient(160deg, var(--navy-mid), var(--navy-deep));
    color:var(--teal-light);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .mega-item .mi-icon svg{ width:16px; height:16px; }
  .mega-item .mi-text strong{
    display:block;
    font-size:13px;
    font-weight:700;
    color:var(--ink);
    margin-bottom:2px;
    line-height:1.25;
  }
  .mega-item .mi-text span{
    font-size:11.5px;
    color:var(--slate);
    line-height:1.4;
    display:block;
  }
  .mega-foot{
    grid-column:1 / -1;
    margin-top:16px;
    padding-top:18px;
    border-top:1px solid var(--line-dark);
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
  }
  .mega-foot p{ font-size:12.5px; color:var(--slate); }

  @media (max-width:1040px){
    .mega-menu{
      position:static;
      transform:none;
      width:auto;
      grid-template-columns:1fr;
      box-shadow:none;
      border:none;
      border-radius:0;
      padding:6px 4px 10px;
      display:none;
    }
    .nav-links li.has-mega.open .mega-menu{ display:grid; opacity:1; visibility:visible; transform:none; }
    .mega-foot{ display:none; }
  }

  /* ---------- MEGA MENU: split layout (Empresas) ---------- */
  .mega-menu.mega-split{
    display:block;
    padding:0;
    width:min(1000px, 94vw);
  }
  .mega-split-body{
    display:grid;
    grid-template-columns:250px 1fr;
  }
  .mega-split-left{
    padding:26px 24px;
    border-right:1px solid var(--line-dark);
  }
  .mega-split-right{
    padding:26px 28px;
  }
  .mega-split-left h4, .mega-split-right h4{
    font-family:'JetBrains Mono',monospace;
    font-size:10.5px;
    text-transform:uppercase;
    letter-spacing:0.06em;
    color:var(--teal-deep);
    font-weight:600;
    margin:0 0 14px;
  }
  .mega-split-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:4px 22px;
  }
  .mega-menu.mega-split .mega-foot{
    margin-top:0;
    padding:16px 28px;
    border-top:1px solid var(--line-dark);
  }

  @media (max-width:1040px){
    .mega-split-body{ grid-template-columns:1fr; }
    .mega-split-left{ border-right:none; border-bottom:1px solid var(--line-dark); }
    .mega-menu.mega-split{ width:auto; }
    .mega-split-grid{ grid-template-columns:1fr; gap:6px; }
  }

  /* ---------- DETAIL PAGES (sistema-detalle / empresa-detalle) ---------- */
  .detail-section{ background:var(--paper); padding:132px 0 100px; }
  .detail-section .crumb{ font-size:12.5px; color:var(--slate); margin-bottom:18px; }
  .detail-section .crumb a{ color:var(--teal-deep); font-weight:600; }
  .detail-section h1{
    font-size:clamp(30px,4vw,46px);
    font-weight:800;
    color:var(--ink);
    margin:0 0 18px;
    max-width:760px;
  }
  .detail-lead{
    font-size:17.5px;
    color:var(--slate);
    max-width:720px;
    line-height:1.65;
    margin-bottom:36px;
  }
  .detail-gallery{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-bottom:48px;
  }
  .detail-gallery img{
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
  }
  .detail-body{ max-width:720px; margin-bottom:44px; }
  .detail-body h2{
    font-family:'Archivo',sans-serif;
    font-size:22px;
    font-weight:800;
    color:var(--ink);
    margin:0 0 20px;
  }
  .detail-bullets{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
  .detail-bullets li{
    display:flex; align-items:flex-start; gap:10px;
    font-size:15.5px; color:var(--ink); line-height:1.5;
  }
  .detail-bullets li svg{ flex:none; width:20px; height:20px; color:var(--teal); margin-top:2px; }
  .detail-cta{ display:flex; gap:14px; flex-wrap:wrap; }

  @media (max-width:700px){
    .detail-gallery{ grid-template-columns:1fr; }
    .detail-gallery img{ height:220px; }
  }

  /* ---------- TEAM PHOTO (nosotros.html) ---------- */
  .team-photo{ padding:0 0 100px; background:var(--paper); }
  .team-photo-frame{
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    background:var(--white);
    border:1px solid var(--line-dark);
  }
  .team-photo-media{
    background:var(--white);
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .team-photo-media img{
    width:100%;
    max-height:600px;
    object-fit:contain;
    display:block;
    margin:0 auto;
  }
  .team-photo-caption{
    padding:26px 34px 30px;
    background:var(--white);
    border-top:1px solid var(--line-dark);
  }
  .team-photo-caption .eyebrow{ margin-bottom:8px; }
  .team-photo-caption p{
    color:var(--ink);
    font-family:'Archivo',sans-serif;
    font-weight:700;
    font-size:clamp(18px,2.4vw,26px);
    line-height:1.3;
    max-width:640px;
    margin:0;
  }
  @media (max-width:720px){
    .team-photo-media img{ max-height:420px; }
    .team-photo-caption{ padding:20px 20px 22px; }
  }
