/*
Theme Name: Invicta Trust Services
Theme URI: https://invicta-trust.eu
Author: Invicta Trust Services
Author URI: https://invicta-trust.eu
Description: Custom WordPress theme for Invicta Trust Services — a digital trust services provider (eIDAS, electronic signatures, digital identity, compliance). Converted from a bespoke static site design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: invicta-trust
*/

  :root{
    --cream:#F7F5EE;
    --cream-alt:#F0EDE3;
    --ink:#13233D;
    --ink-soft:#5B5B52;
    --ink-faint:#9C998E;
    --line:#E4E0D3;
    --leaf-1:#6FAE3B;
    --leaf-2:#1F5E3A;
    --leaf-grad: linear-gradient(135deg, var(--leaf-1), var(--leaf-2));
    --white:#FFFFFF;
    --max: 1240px;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--cream);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    font-weight:400;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  ::selection{ background: var(--leaf-1); color:#fff; }

  h1,h2,h3,h4{
    font-family:'Lora', serif;
    font-weight:500;
    color:var(--ink);
    line-height:1.15;
    letter-spacing:-0.01em;
  }

  a{ color:inherit; text-decoration:none; }
  img{ max-width:100%; display:block; }

  .wrap{
    max-width:var(--max);
    margin:0 auto;
    padding:0 40px;
  }

  .eyebrow{
    display:flex;
    align-items:center;
    gap:16px;
    font-size:13px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--ink-soft);
    margin-bottom:28px;
  }
  .eyebrow .num{
    font-family:'Lora', serif;
    font-style:italic;
    color:var(--leaf-2);
    font-size:14px;
  }
  .eyebrow .stem{
    width:34px;
    height:1px;
    background:var(--leaf-grad);
  }

  .tag-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px 34px;
    font-size:12px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--ink-faint);
  }

  /* ---------- Header ---------- */
  header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(247,245,238,0.92);
    backdrop-filter: blur(10px);
    border-bottom:1px solid var(--line);
  }
  .nav-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:84px;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
  }
  .brand img{
    height:34px;
    width:auto;
  }
  .brand .word{
    font-family:'Lora', serif;
    font-size:16px;
    letter-spacing:0.05em;
    color:var(--ink);
    white-space:nowrap;
  }
  .brand .word .dot{ color: var(--leaf-2); }

  nav.links{
    display:flex;
    flex:1;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin:0 48px;
    font-size:12.5px;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--ink-soft);
    white-space:nowrap;
  }
  nav.links a{
    position:relative;
    padding-bottom:4px;
  }
  nav.links a::after{
    content:'';
    position:absolute;
    left:0; bottom:0;
    width:0%;
    height:1.5px;
    background:var(--leaf-grad);
    transition:width .25s ease;
  }
  nav.links a:hover::after{ width:100%; }

  .nav-item{ position:relative; }
  .nav-dropdown{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    padding-top:14px;
    display:none;
    z-index:80;
  }
  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown{ display:block; }
  .nav-dropdown-inner{
    background:var(--cream);
    border:1px solid var(--line);
    padding:10px 0;
    min-width:270px;
    display:flex;
    flex-direction:column;
    box-shadow:0 16px 32px rgba(19,35,61,0.12);
  }
  .nav-dropdown-inner a{
    padding:11px 22px;
    font-size:12.5px;
    letter-spacing:0.02em;
    text-transform:none;
    color:var(--ink-soft);
    white-space:nowrap;
  }
  .nav-dropdown-inner a:hover{ color:var(--ink); background:var(--cream-alt); }
  .nav-dropdown-inner a::after{ display:none; }
  .nav-dropdown-inner a.current{ color:var(--leaf-2); font-weight:600; }

  .mobile-nav a.mobile-subnav{
    font-family:'Inter', sans-serif;
    font-weight:500;
    font-size:15px;
    padding:10px 0 10px 18px;
    border-bottom:none;
    color:var(--ink-soft);
  }
  .mobile-nav a.mobile-subnav:last-of-type{
    border-bottom:1px solid var(--line);
    padding-bottom:20px;
  }
  .mobile-nav a.mobile-subnav.current{ color:var(--leaf-2); font-weight:600; }

  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    padding:14px 26px;
    cursor:pointer;
    border:1px solid var(--ink);
    background:transparent;
    transition: all .25s ease;
    white-space:nowrap;
    flex-shrink:0;
  }
  .btn:hover{ background:var(--ink); color:#fff; }
  .btn-ghost{
    display:inline-flex;
    align-items:center;
    font-size:12.5px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--ink-soft);
    white-space:nowrap;
    flex-shrink:0;
    padding:6px 0;
    border-bottom:1px solid transparent;
    transition: color .25s ease, border-color .25s ease;
  }
  .btn-ghost:hover{ color:var(--ink); border-color:var(--ink); }

  .lang-switch{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:12px;
    letter-spacing:0.04em;
    text-transform:uppercase;
    color:var(--ink-faint);
    flex-shrink:0;
  }
  .lang-switch a{ color:var(--ink-faint); }
  .lang-switch a.is-active{ color:var(--ink); font-weight:600; }
  .lang-switch a:hover{ color:var(--ink); }
  .lang-switch .lang-sep{ color:var(--ink-faint); }
  .mobile-nav .lang-switch{
    font-size:14px;
    gap:8px;
    padding:20px 0 4px;
  }
  .btn-solid{
    background:var(--ink);
    color:#fff;
    border:1px solid var(--ink);
  }
  .btn-solid:hover{
    background:var(--leaf-2);
    border-color:var(--leaf-2);
  }
  .btn-solid .arrow{ transition:transform .25s ease; }
  .btn-solid:hover .arrow{ transform:translateX(4px); }

  .menu-toggle{ display:none; background:none; border:none; cursor:pointer; }
  .menu-toggle span{
    display:block; width:22px; height:1.5px; background:var(--ink); margin:5px 0;
  }

  /* ---------- Hero ---------- */
  .hero{
    display:grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 85px);
  }
  .hero-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:60px 64px 60px 40px;
    max-width:640px;
  }
  .hero-copy .kicker{
    font-size:12.5px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--leaf-2);
    margin-bottom:26px;
  }
  .hero-copy h1{
    font-size:clamp(40px, 4.6vw, 62px);
    margin-bottom:26px;
  }
  .hero-copy p{
    color:var(--ink-soft);
    font-size:17px;
    max-width:520px;
    margin-bottom:38px;
  }
  .hero-ctas{
    display:flex;
    align-items:center;
    gap:28px;
    margin-bottom:56px;
  }
  .link-underline{
    font-size:13px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    border-bottom:1px solid var(--ink);
    padding-bottom:4px;
  }
  .hero-visual{
    position:relative;
    overflow:hidden;
    background: linear-gradient(155deg, #17293F 0%, #0E1A2B 100%);
  }
  .hero-visual img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
  }

  /* ---------- Sections generic ---------- */
  section{
    padding:120px 0;
    border-bottom:1px solid var(--line);
  }
  section.alt{ background:var(--cream-alt); }
  .section-head{
    max-width:780px;
    margin-bottom:64px;
  }
  .section-head h2{
    font-size:clamp(32px,3.4vw,46px);
    margin-bottom:22px;
  }
  .section-head p{
    color:var(--ink-soft);
    font-size:17px;
    max-width:620px;
  }

  /* ---------- Mission ---------- */
  .mission-grid{
    display:grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap:80px;
    align-items:start;
  }
  .mission-grid h2{
    font-size:clamp(32px,3.4vw,46px);
  }
  .mission-side p{
    color:var(--ink-soft);
    font-size:16.5px;
    margin-bottom:26px;
  }
  .mission-side p:first-child{ color:var(--ink); font-size:18px; }

  /* ---------- Services ---------- */
  .service-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    border:1px solid var(--line);
  }
  .service-card{
    padding:52px 48px;
    border-right:1px solid var(--line);
    border-bottom:1px solid var(--line);
    background:var(--cream);
    transition: background .3s ease;
    display:block;
    text-decoration:none;
    color:inherit;
  }
  .service-card:nth-child(2n){ border-right:none; }
  .service-card:hover{ background: var(--cream-alt); }
  .service-card .idx{
    font-family:'Lora', serif;
    font-style:italic;
    font-size:34px;
    color:var(--ink-faint);
    margin-bottom:26px;
    display:block;
  }
  .service-card h3{
    font-size:24px;
    margin-bottom:16px;
  }
  .service-card p{
    color:var(--ink-soft);
    font-size:15.5px;
    margin-bottom:26px;
  }
  .pill-list{ display:flex; flex-direction:column; }
  .pill-list span{
    font-size:11.5px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--ink-faint);
    padding:12px 0;
    border-top:1px solid var(--line);
    display:flex;
    align-items:center;
    gap:10px;
  }
  .pill-list span::before{
    content:'';
    width:6px; height:6px;
    border-radius:50%;
    background:var(--leaf-grad);
    flex:0 0 auto;
  }

  /* ---------- Why Invicta Trust Services ---------- */
  .why-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    border-top:1px solid var(--line);
  }
  .why-card{
    padding:52px 40px 20px;
    border-right:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .why-card:nth-child(1){ background: var(--cream-alt); }
  .why-card:nth-child(4n){ border-right:none; }
  .why-card:nth-child(n+9){ border-bottom:none; }
  .why-card:last-child{ border-right:none; }
  .why-card .idx{
    font-family:'Lora', serif;
    font-style:italic;
    color:var(--ink-faint);
    font-size:28px;
    margin-bottom:22px;
    display:block;
  }
  .why-card h3{ font-size:24px; margin-bottom:14px; }
  .why-card p{ color:var(--ink-soft); font-size:14.5px; }

  .sovereignty{
    background: var(--ink);
    color: var(--white);
    padding:64px 56px;
    display:grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap:64px;
  }
  .sovereignty .eyebrow-mini{
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color: var(--leaf-1);
    margin-bottom:18px;
  }
  .sovereignty h3{
    font-size:28px;
    line-height:1.28;
    margin-bottom:18px;
    color: var(--white);
  }
  .sovereignty > div:first-child p{
    color: rgba(255,255,255,0.7);
    font-size:15.5px;
  }
  .sovereignty-points{
    list-style:none;
    display:grid;
    gap:22px;
  }
  .sovereignty-points li{
    position:relative;
    padding-left:26px;
  }
  .sovereignty-points li::before{
    content:'';
    position:absolute;
    left:0; top:6px;
    width:8px; height:8px;
    background: var(--leaf-grad);
  }
  .sovereignty-points h4{
    font-size:18px;
    color:var(--white);
    margin-bottom:6px;
  }
  .sovereignty-points p{
    color: rgba(255,255,255,0.62);
    font-size:14.5px;
  }

  /* ---------- Quote ---------- */
  .quote-section{
    display:grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap:64px;
    align-items:center;
  }
  .quote-img{
    aspect-ratio: 4/3.4;
    overflow:hidden;
    position:relative;
    background: var(--cream-alt);
  }
  .quote-img img{ width:100%; height:100%; display:block; object-fit:cover; object-position:center; }
  blockquote{
    font-family:'Lora', serif;
    font-style:italic;
    font-size:clamp(24px,2.6vw,34px);
    line-height:1.4;
    color:var(--ink);
    position:relative;
    padding-left:28px;
    border-left:2px solid transparent;
    border-image: var(--leaf-grad) 1;
  }
  .quote-source{
    margin-top:28px;
    padding-left:28px;
    font-size:12.5px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--ink-faint);
  }

  /* ---------- eIDAS ---------- */
  .eidas-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
  }
  .eidas-copy p{ color:var(--ink-soft); font-size:16.5px; margin-bottom:26px; }
  .eidas-copy p.lead{ color:var(--ink); font-size:18px; }
  .eidas-img{
    aspect-ratio: 4/3;
    overflow:hidden;
    background: var(--cream);
  }
  .eidas-img img{ width:100%; height:100%; display:block; object-fit:cover; object-position:center; }
  .eidas-tags{ margin-top:36px; }

  /* ---------- Approach ---------- */
  .mini-label{
    display:block;
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--leaf-2);
    margin-top:28px;
    margin-bottom:14px;
  }
  .section-head .lead-lines{
    font-size:18px;
    color:var(--ink);
    margin-bottom:16px;
    max-width:620px;
    list-style:none;
  }
  .section-head .lead-lines li{
    position:relative;
    padding-left:24px;
    margin-bottom:8px;
  }
  .section-head .lead-lines li:last-child{ margin-bottom:0; }
  .section-head .lead-lines li::before{
    content:'';
    position:absolute;
    left:0; top:9px;
    width:6px; height:6px;
    border-radius:50%;
    background:var(--leaf-grad);
  }
  .route-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:24px;
    margin-top:56px;
  }
  .route-card{
    padding:44px 40px;
    border:1px solid var(--line);
    background:var(--cream);
  }
  .route-card.is-live{
    border-color: var(--leaf-2);
    border-width:1.5px;
  }
  .route-card .phase-label{
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--ink-faint);
    margin-bottom:20px;
  }
  .route-card.is-live .phase-label{ color:var(--leaf-2); }
  .route-card h3{ font-size:24px; margin-bottom:24px; }
  .route-list{ list-style:none; }
  .route-list li{
    position:relative;
    padding-left:22px;
    margin-bottom:14px;
    color:var(--ink-soft);
    font-size:15.5px;
  }
  .route-list li:last-child{ margin-bottom:0; }
  .route-list li::before{
    content:'';
    position:absolute;
    left:0; top:9px;
    width:6px; height:6px;
    border-radius:50%;
    background:var(--ink-faint);
  }
  .route-card.is-live .route-list li::before{ background:var(--leaf-grad); }

  /* ---------- Who We Serve ---------- */
  .section-dark{
    background: var(--ink);
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.1);
  }
  .section-dark .eyebrow{ color: rgba(255,255,255,0.55); }
  .section-dark .eyebrow .num{ color: var(--leaf-1); }
  .section-dark .eyebrow .stem{ background: var(--leaf-grad); }
  .section-dark .section-head h2{ color: var(--white); }
  .section-dark .section-head p{ color: rgba(255,255,255,0.6); }
  .sectors-table{
    margin-top:56px;
    border-top:1px solid rgba(255,255,255,0.15);
  }
  .sectors-row{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:24px;
    padding:36px 0;
    border-bottom:1px solid rgba(255,255,255,0.15);
  }
  .sector-item{
    font-family:'Lora', serif;
    font-weight:600;
    font-size:22px;
    color:var(--white);
  }

  /* ---------- Service Portfolio ---------- */
  .portfolio-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    border:1px solid var(--line);
    margin-top:56px;
  }
  .portfolio-col{
    padding:48px 40px;
    border-right:1px solid var(--line);
  }
  .portfolio-col:last-child{ border-right:none; }
  .portfolio-col .col-label{
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:#B08A4E;
    margin-bottom:14px;
  }
  .portfolio-col h3{
    font-size:24px;
    margin-bottom:34px;
  }
  .portfolio-item{
    padding:22px 0;
    border-top:1px solid var(--line);
  }
  .portfolio-item:first-of-type{ border-top:none; padding-top:0; }
  .portfolio-item-head{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:10px;
  }
  .portfolio-item-head h4{
    font-size:18px;
    font-weight:600;
    margin:0;
  }
  .badge{
    font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size:11px;
    font-weight:600;
    padding:3px 8px;
    border-radius:4px;
    line-height:1.4;
  }
  .badge.badge-q{ background:#F1E3CC; color:#8A6423; }
  .badge.badge-a{ background:#DCE7D3; color:#33593B; }
  .portfolio-item p{
    color:var(--ink-soft);
    font-size:14.5px;
    margin:0;
  }

  /* ---------- FAQ ---------- */
  .faq-list{ max-width:820px; }
  .faq-item{
    border-top:1px solid var(--line);
  }
  .faq-item:last-child{ border-bottom:1px solid var(--line); }
  .faq-q{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:30px 0;
    cursor:pointer;
    gap:24px;
  }
  .faq-q h4{
    font-size:19px;
    font-weight:500;
  }
  .faq-q .chev{
    flex:0 0 auto;
    width:20px; height:20px;
    position:relative;
    transition: transform .3s ease;
  }
  .faq-q .chev::before, .faq-q .chev::after{
    content:'';
    position:absolute;
    background:var(--ink-soft);
  }
  .faq-q .chev::before{ width:10px; height:1.4px; left:0; top:9px; transform:rotate(45deg); transform-origin:right; }
  .faq-q .chev::after{ width:10px; height:1.4px; right:0; top:9px; transform:rotate(-45deg); transform-origin:left; }
  .faq-item.open .faq-q .chev{ transform:rotate(180deg); }
  .faq-a{
    max-height:0;
    overflow:hidden;
    transition: max-height .35s ease;
  }
  .faq-a-inner{
    padding-bottom:30px;
    color:var(--ink-soft);
    font-size:15.5px;
    max-width:680px;
  }
  .faq-item.open .faq-a{ max-height:220px; }

  /* ---------- Contact ---------- */
  .contact-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:80px;
  }
  .contact-copy h2{ font-size:clamp(32px,3.4vw,46px); margin-bottom:22px; }
  .contact-copy p{ color:var(--ink-soft); font-size:17px; max-width:460px; }

  form{ display:flex; flex-direction:column; }
  .form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    margin-bottom:36px;
  }
  .field label{
    display:block;
    font-size:11.5px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--ink-faint);
    margin-bottom:12px;
  }
  .field input, .field select, .field textarea{
    width:100%;
    border:none;
    border-bottom:1px solid var(--line);
    background:transparent;
    font-family:'Inter', sans-serif;
    font-size:17px;
    color:var(--ink);
    padding:6px 0 12px;
    outline:none;
    transition:border-color .25s ease;
  }
  .field textarea{ resize:vertical; min-height:80px; }
  .field input::placeholder, .field textarea::placeholder{ color:var(--ink-faint); }
  .field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--leaf-2); }
  .field select{ appearance:none; cursor:pointer; background:transparent; }

  .submit-row{
    display:flex;
    align-items:center;
    gap:26px;
    margin-top:8px;
  }
  .submit-row .note{ font-size:13px; color:var(--ink-faint); max-width:260px; }
  .btn-submit{
    background:var(--ink);
    color:#fff;
    border:none;
    padding:20px 30px;
    font-family:'Inter', sans-serif;
    font-size:13px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    cursor:pointer;
    transition:background .25s ease;
    min-width:190px;
  }
  .btn-submit:hover{ background:var(--leaf-2); }

  /* ---------- Footer ---------- */
  footer{ padding:90px 0 0; }
  .footer-grid{
    display:grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap:60px;
    padding-bottom:70px;
  }
  .footer-brand .brand{ margin-bottom:22px; }
  .footer-brand p{ color:var(--ink-soft); font-size:16px; max-width:340px; }
  .footer-col h5{
    font-size:12px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--ink-faint);
    margin-bottom:22px;
  }
  .footer-col a{
    display:block;
    color:var(--ink-soft);
    font-size:14.5px;
    margin-bottom:16px;
    letter-spacing:0.02em;
    text-transform:uppercase;
    transition:color .2s ease;
  }
  .footer-col a:hover{ color:var(--leaf-2); }
  .footer-bottom{
    border-top:1px solid var(--line);
    padding:26px 0 34px;
    display:flex;
    justify-content:space-between;
    font-size:12.5px;
    color:var(--ink-faint);
    letter-spacing:0.06em;
    text-transform:uppercase;
  }
  .footer-bottom a:hover{ color:var(--ink); text-decoration:underline; }

  /* ---------- Responsive ---------- */
  @media (max-width: 1320px){
    nav.links{ display:none; }
    .menu-toggle{ display:block; }
  }
  @media (max-width: 980px){
    .wrap{ padding:0 24px; }
    nav.links{ display:none; }
    .menu-toggle{ display:block; }
    .nav-inner > div > a.btn,
    .nav-inner > div > a.btn-ghost{ display:none; }
    .brand .word{ font-size:14px; }
    .brand img{ height:28px; }
    .hero{ grid-template-columns:1fr; }
    .hero-visual{ min-height:340px; order:-1; }
    .hero-copy{ padding:56px 24px; max-width:none; }
    .mission-grid, .quote-section, .eidas-grid, .contact-grid{ grid-template-columns:1fr; gap:40px; }
    .service-grid{ grid-template-columns:1fr; }
    .service-card{ border-right:none !important; }
    .why-grid{ grid-template-columns:1fr 1fr; }
    .why-card{ border-bottom:1px solid var(--line); }
    .why-card:nth-child(2n){ border-right:none; }
    .route-grid{ grid-template-columns:1fr; }
    .sectors-row{ grid-template-columns:1fr 1fr; row-gap:28px; }
    .portfolio-grid{ grid-template-columns:1fr; }
    .portfolio-col{ border-right:none; border-bottom:1px solid var(--line); }
    .portfolio-col:last-child{ border-bottom:none; }
    .sovereignty{ grid-template-columns:1fr; padding:48px 24px; gap:36px; }
    .footer-grid{ grid-template-columns:1fr; gap:40px; }
    .form-row{ grid-template-columns:1fr; gap:24px; }
    section{ padding:80px 0; }
  }
  @media (max-width:560px){
    .why-grid{ grid-template-columns:1fr; }
    .why-card{ border-right:none; }
    .why-grid .why-card{ border-bottom:1px solid var(--line); }
    .why-grid .why-card:last-child{ border-bottom:none; }
    .hero-ctas{ flex-direction:column; align-items:flex-start; gap:18px; }
    .footer-bottom{ flex-direction:column; gap:10px; }
    .sectors-row{ grid-template-columns:1fr; row-gap:20px; }
  }

  /* mobile nav drawer */
  .mobile-nav{
    position:fixed; inset:0;
    background:var(--cream);
    z-index:60;
    display:flex;
    flex-direction:column;
    padding:30px 24px;
    transform:translateX(100%);
    transition:transform .35s ease;
  }
  .mobile-nav.open{ transform:translateX(0); }
  .mobile-nav .close-btn{ align-self:flex-end; background:none; border:none; font-size:28px; cursor:pointer; color:var(--ink); }
  .mobile-nav a{
    font-family:'Lora', serif;
    font-size:28px;
    padding:18px 0;
    border-bottom:1px solid var(--line);
  }
  .mobile-nav a.mobile-login{
    font-family:'Inter', sans-serif;
    font-size:15px;
    font-weight:600;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--leaf-2);
    border-bottom:none;
    padding-top:26px;
  }

  [data-reveal]{
    opacity:0;
    transform:translateY(18px);
    transition:opacity .7s ease, transform .7s ease;
  }
  [data-reveal].is-visible{ opacity:1; transform:translateY(0); }

/* ---------- Service subpages ---------- */
.breadcrumb{
  font-size:13px;
  color:var(--ink-faint);
  margin-bottom:26px;
}
.breadcrumb a{ color:var(--ink-faint); }
.breadcrumb a:hover{ color:var(--ink); }
.breadcrumb .sep{ margin:0 8px; }
.breadcrumb .current{ color:var(--ink-soft); }

.service-hero{
  padding:64px 0 56px;
  border-bottom:1px solid var(--line);
}
.service-hero .idx-big{
  font-family:'Lora', serif;
  font-style:italic;
  color:var(--leaf-2);
  font-size:34px;
  margin-bottom:14px;
  display:block;
}
.service-hero h1{
  font-size:clamp(32px,4vw,52px);
  line-height:1.12;
  margin-bottom:20px;
  max-width:720px;
}
.service-hero .lead{
  font-size:18px;
  color:var(--ink-soft);
  max-width:640px;
  margin-bottom:26px;
}

.service-body{
  padding:64px 0;
  display:grid;
  grid-template-columns: 1.5fr 1fr;
  gap:64px;
}
.service-body h2{
  font-size:26px;
  margin:36px 0 16px;
}
.service-body h2:first-child{ margin-top:0; }
.service-body p{
  color:var(--ink-soft);
  font-size:16px;
  margin-bottom:16px;
}
.service-body ul{
  list-style:none;
  margin:0 0 20px;
}
.service-body ul li{
  position:relative;
  padding-left:24px;
  margin-bottom:12px;
  color:var(--ink-soft);
  font-size:15.5px;
}
.service-body ul li::before{
  content:'';
  position:absolute;
  left:0; top:8px;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--leaf-grad);
}

.service-sidebar{
  align-self:start;
  position:sticky;
  top:110px;
  background:var(--cream-alt);
  border:1px solid var(--line);
  padding:32px;
}
.service-sidebar h3{
  font-size:16px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  margin-bottom:18px;
  color:var(--ink-faint);
}
.service-sidebar .sidebar-list a{
  display:block;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  font-size:15px;
}
.service-sidebar .sidebar-list a:last-child{ border-bottom:none; }
.service-sidebar .sidebar-list a.current{ color:var(--leaf-2); font-weight:600; }
.service-sidebar .btn{ margin-top:22px; width:100%; text-align:center; justify-content:center; }

.reg-sidebar{ position:static; }
.reg-sidebar-list{ margin-bottom:8px; }
.reg-sidebar-item{
  padding-bottom:22px;
  margin-bottom:22px;
  border-bottom:1px solid var(--line);
}
.reg-sidebar-item:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
.reg-sidebar-item h4{
  font-size:15px;
  color:var(--ink);
  margin-bottom:6px;
}
.reg-sidebar-ref{
  font-size:11.5px;
  color:var(--ink-faint);
  letter-spacing:0.02em;
  margin-bottom:8px;
}
.reg-sidebar-item p{
  font-size:13.5px;
  color:var(--ink-soft);
  line-height:1.5;
  margin-bottom:8px;
}
.reg-sidebar-item p:last-child{ margin-bottom:0; }
.reg-sidebar-item ul{ list-style:none; margin:0; }
.reg-sidebar-item li{
  position:relative;
  padding-left:15px;
  margin-bottom:6px;
  font-size:13px;
  color:var(--ink-soft);
  line-height:1.5;
}
.reg-sidebar-item li:last-child{ margin-bottom:0; }
.reg-sidebar-item li::before{
  content:'';
  position:absolute;
  left:0; top:7px;
  width:4px; height:4px;
  border-radius:50%;
  background:var(--leaf-grad);
}

@media (max-width: 860px){
  .service-body{ grid-template-columns:1fr; gap:36px; }
  .service-sidebar{ position:static; }
}

/* ---------- Legal pages ---------- */
.legal-body{
  max-width:760px;
  padding:64px 0;
}
.legal-body h2{
  font-size:22px;
  margin:40px 0 14px;
}
.legal-body h2:first-child{ margin-top:0; }
.legal-body h3{
  font-size:17px;
  margin:24px 0 10px;
  color:var(--ink);
}
.legal-body p{
  color:var(--ink-soft);
  font-size:16px;
  line-height:1.7;
  margin-bottom:14px;
}
.legal-body ul{
  list-style:none;
  margin:0 0 14px;
}
.legal-body li{
  position:relative;
  padding-left:24px;
  margin-bottom:10px;
  color:var(--ink-soft);
  font-size:15.5px;
  line-height:1.6;
}
.legal-body li::before{
  content:'';
  position:absolute;
  left:0; top:8px;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--leaf-grad);
}
.legal-body .link-underline{
  text-transform:none;
  letter-spacing:normal;
  font-size:inherit;
  border-bottom:1px solid var(--ink-soft);
}
.legal-contact{
  color:var(--ink);
  font-size:16px;
  line-height:1.8;
}

/* ---------- Auth page ---------- */
.auth-wrap{
  max-width:1080px;
  margin:0 auto;
  padding:64px 0 96px;
}
.auth-columns{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap:56px;
}
.auth-divider{
  width:1px;
  background:var(--line);
}
.auth-col h3{
  font-size:20px;
  margin-bottom:32px;
}
.auth-form-plain{ display:flex; flex-direction:column; }
.auth-form-plain .field{ margin-bottom:26px; }
.auth-form-plain .form-row{ margin-bottom:0; }
.field-hint{
  margin-top:10px;
  font-size:13px;
  line-height:1.6;
  color:var(--ink-faint);
}
.pass-wrap{ position:relative; }
.pass-wrap input{ padding-right:48px; }
.pass-toggle{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  background:none;
  border:none;
  cursor:pointer;
  font-size:16px;
  line-height:1;
  color:var(--ink-faint);
  opacity:0.55;
  filter:grayscale(1);
}
.pass-toggle.is-visible{ opacity:1; filter:none; }
.auth-forgot{
  display:inline-block;
  margin:-10px 0 28px;
  font-size:13.5px;
  text-transform:none;
  letter-spacing:normal;
  border-bottom-color:var(--ink-soft);
}
.auth-check{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:24px;
  cursor:pointer;
}
.auth-check input{ margin-top:4px; accent-color: var(--leaf-2); flex-shrink:0; }
.auth-check span{ color:var(--ink-soft); font-size:14.5px; line-height:1.6; }
.auth-submit-full{ width:100%; justify-content:center; margin-top:8px; }

@media (max-width: 860px){
  .auth-columns{ grid-template-columns:1fr; gap:48px; }
  .auth-divider{ width:100%; height:1px; }
}
