/* ==========================================================
     TGN DIGITAL — HOMEPAGE
     Brand colors (from brand kit):
       --navy       #031e40  (deep ink / headings / dark sections)
       --blue       #296d9c  (secondary brand blue)
       --blue-light #659bbc  (tertiary blue)
       --blue-pale  #b4ccdc  (pale blue / borders / tints)
       --teal       #17e3b2  (primary accent — CTAs, highlights)
       --white      #ffffff
     ========================================================== */

  :root{
    --navy: #031e40;
    --blue: #296d9c;
    --blue-light: #659bbc;
    --blue-pale: #b4ccdc;
    --teal: #17e3b2;
    --teal-dark: #0fbd93;
    --white: #ffffff;
    --gray-text: #5a6b7d;
    --gray-bg: #f6f9fb;
    --border: #e3ebf1;

    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --section-pad: 100px;
  }

  *{ margin:0; padding:0; box-sizing:border-box; }

  html{ scroll-behavior:smooth; }

  body{
    font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color:var(--navy);
    background:var(--white);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }

  img{ max-width:100%; display:block; }

  a{ color:inherit; text-decoration:none; }

  ul{ list-style:none; }

  :focus-visible{
    outline:3px solid var(--teal-dark);
    outline-offset:3px;
    border-radius:4px;
  }

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

  h1,h2,h3,h4{
    font-weight:700;
    letter-spacing:-0.02em;
    color:var(--navy);
  }

  section{ padding:var(--section-pad) 0; }

  .eyebrow{
    display:inline-block;
    font-size:13px;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--teal-dark);
    background:rgba(23,227,178,0.10);
    padding:6px 14px;
    border-radius:999px;
    margin-bottom:18px;
  }

  .section-head{
    text-align:center;
    max-width:640px;
    margin:0 auto 56px;
  }

  .section-head h2{
    font-size:clamp(28px, 4vw, 40px);
    margin-bottom:14px;
  }

  .section-head p{
    color:var(--gray-text);
    font-size:17px;
  }

  /* Buttons */
  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:14px 26px;
    border-radius:var(--radius-sm);
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    border:none;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--teal);
    color:var(--navy);
  }
  .btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(23,227,178,0.35);
    background:var(--teal-dark);
  }
  .btn-secondary{
    background:transparent;
    color:var(--navy);
    border:1.5px solid var(--border);
  }
  .btn-secondary:hover{
    transform:translateY(-2px);
    border-color:var(--blue-light);
    background:var(--gray-bg);
  }
  .btn-ghost{
    background:transparent;
    color:var(--white);
    border:1.5px solid rgba(255,255,255,0.3);
  }
  .btn-ghost:hover{
    background:rgba(255,255,255,0.1);
    border-color:rgba(255,255,255,0.6);
  }

  /* ============ NAVIGATION ============ */
  .navbar{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,0.85);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border-bottom:1px solid transparent;
    transition:border-color .25s ease, box-shadow .25s ease;
  }
  .navbar.scrolled{
    border-bottom-color:var(--border);
    box-shadow:0 4px 20px rgba(3,30,64,0.05);
  }
  .nav-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 24px;
  }
  .nav-logo img{ height:28px; width:auto; }
  .nav-links{
    display:flex;
    align-items:center;
    gap:36px;
  }
  .nav-links a{
    font-size:15px;
    font-weight:500;
    color:var(--navy);
    transition:color .18s ease;
    position:relative;
  }
  .nav-links a:hover,
  .nav-links a.active{ color:var(--blue); }

  .nav-right{
    display:flex;
    align-items:center;
    gap:20px;
  }

  .lang-toggle{
    display:flex;
    align-items:center;
    gap:4px;
    font-size:13px;
    font-weight:700;
    background:var(--gray-bg);
    border:1px solid var(--border);
    border-radius:999px;
    padding:4px;
  }
  .lang-toggle button,
  .lang-toggle a{
    border:none;
    background:transparent;
    padding:6px 12px;
    border-radius:999px;
    font-weight:700;
    font-size:13px;
    cursor:pointer;
    color:var(--gray-text);
    transition:background .18s ease, color .18s ease;
  }
  .lang-toggle button.active,
  .lang-toggle a.active{
    background:var(--navy);
    color:var(--white);
  }

  .nav-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
    padding:6px;
  }
  .nav-toggle span{
    width:24px;
    height:2px;
    background:var(--navy);
    border-radius:2px;
    transition:transform .2s ease, opacity .2s ease;
  }

  /* ============ HERO ============ */
  .hero{
    padding:80px 0 100px;
    background:
      radial-gradient(circle at 85% 15%, rgba(23,227,178,0.10), transparent 45%),
      radial-gradient(circle at 10% 90%, rgba(41,109,156,0.08), transparent 40%);
  }
  .hero-inner{
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:64px;
    align-items:center;
  }
  .hero-tag{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    font-weight:600;
    color:var(--blue);
    background:var(--gray-bg);
    border:1px solid var(--border);
    padding:8px 16px;
    border-radius:999px;
    margin-bottom:24px;
  }
  .hero-content > *{
    animation:hero-reveal .7s cubic-bezier(.22,1,.36,1) both;
  }
  .hero-content > :nth-child(2){ animation-delay:.08s; }
  .hero-content > :nth-child(3){ animation-delay:.16s; }
  .hero-content > :nth-child(4){ animation-delay:.24s; }
  .hero-content > :nth-child(5){ animation-delay:.32s; }
  .hero h1{
    font-size:clamp(36px, 5vw, 58px);
    line-height:1.1;
    margin-bottom:22px;
  }
  .hero h1 .highlight{ color:var(--teal-dark); }
  .hero p.sub{
    font-size:18px;
    color:var(--gray-text);
    max-width:520px;
    margin-bottom:34px;
  }
  .hero-ctas{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-bottom:48px;
  }
  .social-proof-bar{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px 28px;
    font-size:14px;
    font-weight:600;
    color:var(--gray-text);
    padding-top:28px;
    border-top:1px solid var(--border);
  }
  .social-proof-bar strong{ color:var(--navy); }
  .flags{ letter-spacing:2px; font-size:16px; }

  .hero-visual{
    position:relative;
    background:linear-gradient(155deg, var(--navy), #062a52 60%, var(--blue));
    border-radius:var(--radius-lg);
    padding:32px;
    box-shadow:0 30px 60px rgba(3,30,64,0.25);
    overflow:hidden;
    animation:hero-visual-reveal .85s .12s cubic-bezier(.22,1,.36,1) both;
  }
  .hero-visual::before{
    content:"";
    position:absolute;
    top:-40%; right:-30%;
    width:280px; height:280px;
    background:radial-gradient(circle, rgba(23,227,178,0.35), transparent 70%);
    animation:ambient-drift 8s ease-in-out infinite alternate;
  }
  .mock-window{
    position:relative;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:var(--radius-md);
    overflow:hidden;
    backdrop-filter:blur(6px);
    transition:transform .35s cubic-bezier(.22,1,.36,1), border-color .35s ease;
  }
  .hero-visual:hover .mock-window{
    transform:translateY(-4px);
    border-color:rgba(255,255,255,0.2);
  }
  .mock-topbar{
    display:flex;
    gap:6px;
    padding:12px 14px;
    border-bottom:1px solid rgba(255,255,255,0.1);
  }
  .mock-dot{ width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,0.25); }
  .mock-body{ padding:22px; }
  .mock-line{
    height:10px;
    border-radius:5px;
    background:rgba(255,255,255,0.14);
    margin-bottom:12px;
  }
  .mock-line.short{ width:40%; }
  .mock-line.teal{ background:var(--teal); opacity:0.85; width:55%; }
  .mock-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:18px;
  }
  .mock-card{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:8px;
    height:64px;
  }

  @keyframes hero-reveal{
    from{ opacity:0; transform:translateY(16px); }
    to{ opacity:1; transform:translateY(0); }
  }
  @keyframes hero-visual-reveal{
    from{ opacity:0; transform:translateY(18px) scale(.98); }
    to{ opacity:1; transform:translateY(0) scale(1); }
  }
  @keyframes ambient-drift{
    from{ transform:translate3d(-8px,-6px,0) scale(.96); }
    to{ transform:translate3d(14px,10px,0) scale(1.06); }
  }

  /* ============ PAIN POINTS ============ */
  .pain{
    position:relative;
    overflow:hidden;
    background:
      radial-gradient(circle at 88% 88%, rgba(23,227,178,0.10), transparent 28%),
      linear-gradient(180deg, #fbfdfd 0%, #f7fafb 100%);
  }
  .pain::before{
    content:"";
    position:absolute;
    left:28px;
    bottom:52px;
    width:116px;
    height:92px;
    opacity:.52;
    background-image:radial-gradient(circle, rgba(15,189,147,.42) 2px, transparent 2px);
    background-size:18px 18px;
  }
  .pain::after{
    content:"";
    position:absolute;
    right:-130px;
    bottom:-170px;
    width:360px;
    height:360px;
    border:42px solid rgba(23,227,178,.06);
    border-radius:50%;
    box-shadow:0 0 0 42px rgba(23,227,178,.035);
  }
  .pain .container{ position:relative; z-index:1; }
  .pain .section-head{
    max-width:700px;
    margin-bottom:38px;
  }
  .pain .section-head h2{
    max-width:580px;
    margin:0 auto 12px;
    font-size:clamp(32px, 4vw, 48px);
    line-height:1.05;
  }
  .pain .section-head p{
    max-width:590px;
    margin:0 auto;
    line-height:1.45;
  }
  .pain-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-bottom:34px;
  }
  .pain-card{
    display:flex;
    flex-direction:column;
    min-height:286px;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:26px 28px 22px;
    box-shadow:0 12px 34px rgba(3,30,64,.045);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .pain-card-featured{
    border-color:rgba(15,189,147,.7);
    background:linear-gradient(145deg, #ffffff 0%, #f0fbf7 100%);
    box-shadow:0 15px 38px rgba(15,189,147,.10);
  }
  .pain-card:hover{
    transform:translateY(-4px);
    border-color:rgba(15,189,147,.55);
    box-shadow:0 18px 38px rgba(3,30,64,0.08);
  }
  .pain .pain-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:54px;
    height:54px;
    margin-bottom:16px;
    border-radius:14px;
    background:rgba(23,227,178,.12);
    color:#087b61;
    font-size:24px;
  }
  .pain-card h3{
    max-width:250px;
    margin-bottom:10px;
    font-size:21px;
    line-height:1.12;
  }
  .pain-card > p{
    color:var(--gray-text);
    font-size:15px;
    line-height:1.42;
  }
  .pain-benefit{
    display:inline-flex;
    align-items:center;
    align-self:flex-start;
    gap:8px;
    margin-top:auto;
    padding:7px 12px;
    border-radius:999px;
    background:#edf8f4;
    color:var(--navy);
    font-size:12px;
    font-weight:500;
  }
  .pain-benefit i{ color:#10a981; font-size:15px; }
  .pain-trust{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    max-width:620px;
    margin:0 auto 26px;
  }
  .pain-trust-avatars{ display:flex; align-items:center; }
  .pain-trust-avatars span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    margin-left:-7px;
    border:2px solid var(--white);
    border-radius:50%;
    background:var(--navy);
    color:var(--white);
    font-size:10px;
    font-weight:800;
  }
  .pain-trust-avatars span:first-child{ margin-left:0; background:var(--blue); }
  .pain-trust-avatars span:nth-child(2){ background:var(--teal-dark); }
  .pain-trust-avatars span:nth-child(3){ background:#e4ad58; }
  .pain-trust-avatars strong{
    display:flex;
    align-items:center;
    height:34px;
    margin-left:4px;
    padding:0 10px;
    border-radius:999px;
    background:#dff7ef;
    color:#087b61;
    font-size:12px;
  }
  .pain-trust > div:last-child{
    padding-left:18px;
    border-left:1px solid var(--border);
  }
  .pain-trust > div:last-child > strong{ display:block; font-size:13px; }
  .pain-trust p{ color:var(--gray-text); font-size:11px; line-height:1.4; }
  .pain-closing{
    max-width:790px;
    margin:0 auto;
    text-align:center;
  }
  .pain-closing h3{
    margin-bottom:6px;
    font-size:clamp(25px, 3.2vw, 38px);
    line-height:1.2;
  }
  .pain-closing h3 span{ color:#098866; }
  .pain-footer{
    text-align:center;
    max-width:720px;
    margin:0 auto 14px;
    color:var(--gray-text);
    font-size:15px;
    font-weight:400;
    line-height:1.45;
  }
  .pain-cta{
    padding:11px 24px;
    background:#169769;
    color:var(--white);
    box-shadow:0 8px 18px rgba(22,151,105,.18);
  }
  .pain-cta:hover{ background:#087b61; color:var(--white); }
  .pain-closing small{
    display:block;
    margin-top:6px;
    color:var(--gray-text);
    font-size:10px;
  }

  /* ============ SERVICES ============ */
  .services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
  }
  .service-card{
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:32px 26px;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .service-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 40px rgba(3,30,64,0.08);
    border-color:var(--blue-pale);
  }
  .service-icon{
    width:52px; height:52px;
    display:flex; align-items:center; justify-content:center;
    background:rgba(23,227,178,0.12);
    color:var(--teal-dark);
    border-radius:12px;
    font-size:22px;
    margin-bottom:20px;
  }
  .service-card h3{ font-size:19px; margin-bottom:10px; }
  .service-card p{ color:var(--gray-text); font-size:14.5px; margin-bottom:18px; }
  .service-price{
    font-size:13.5px;
    font-weight:700;
    color:var(--blue);
    padding-top:14px;
    border-top:1px solid var(--border);
  }

  /* ============ PORTFOLIO ============ */
  .portfolio-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:28px;
  }
  .project-card{
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    overflow:hidden;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .project-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 44px rgba(3,30,64,0.1);
  }
  .project-thumb{
    height:200px;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    color:rgba(255,255,255,0.9);
    font-size:15px;
    font-weight:600;
  }
  .project-thumb span{
    position:relative; z-index:1;
    display:flex; align-items:center; gap:8px;
    background:rgba(3,30,64,0.25);
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
  }
  .project-thumb.t1{ background:linear-gradient(135deg, var(--navy), var(--blue)); }
  .project-thumb.t2{ background:linear-gradient(135deg, var(--blue), var(--blue-light)); }
  .project-thumb.t3{ background:linear-gradient(135deg, var(--teal-dark), var(--blue)); }
  .project-thumb.t4{ background:linear-gradient(135deg, var(--blue-light), var(--navy)); }
  .project-body{ padding:26px; }
  .project-tag{
    display:inline-block;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.04em;
    color:var(--teal-dark);
    background:rgba(23,227,178,0.1);
    padding:5px 12px;
    border-radius:999px;
    margin-bottom:12px;
  }
  .project-body h3{ font-size:19px; margin-bottom:8px; }
  .project-body p{ color:var(--gray-text); font-size:14.5px; margin-bottom:16px; }
  .project-link{
    font-size:14px;
    font-weight:600;
    color:var(--navy);
    display:inline-flex;
    align-items:center;
    gap:6px;
    transition:gap .18s ease, color .18s ease;
  }
  .project-link:hover{ gap:10px; color:var(--teal-dark); }

  /* ============ PROCESS ============ */
  .process{
    position:relative;
    overflow:hidden;
    background:
      radial-gradient(circle at 88% 92%, rgba(23,227,178,.10), transparent 27%),
      linear-gradient(180deg, #fbfdfd 0%, #f6fafb 100%);
  }
  .process::before{
    content:"";
    position:absolute;
    left:26px;
    bottom:34px;
    width:126px;
    height:96px;
    opacity:.48;
    background-image:radial-gradient(circle, rgba(15,189,147,.42) 2px, transparent 2px);
    background-size:20px 20px;
  }
  .process::after{
    content:"";
    position:absolute;
    right:-140px;
    bottom:-190px;
    width:390px;
    height:390px;
    border:46px solid rgba(23,227,178,.055);
    border-radius:50%;
    box-shadow:0 0 0 44px rgba(23,227,178,.03);
  }
  .process .container{ position:relative; z-index:1; }
  .process .section-head{
    max-width:720px;
    margin-bottom:28px;
  }
  .process .section-head h2{
    max-width:620px;
    margin:0 auto 12px;
    font-size:clamp(32px, 4vw, 48px);
    line-height:1.05;
  }
  .process .section-head p{
    max-width:660px;
    margin:0 auto;
    line-height:1.45;
  }
  .process-timeline{
    display:grid;
    grid-template-columns:48px 1fr 48px 1fr 48px 1fr 48px;
    align-items:center;
    margin:0 86px 8px;
    color:#0a9b72;
  }
  .process-timeline span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    border-radius:50%;
    background:#e6f7f1;
    font-size:16px;
    font-weight:700;
  }
  .process-timeline i{
    position:relative;
    width:100%;
    height:1px;
    background:#bce9da;
    font-size:11px;
    text-align:right;
  }
  .process-timeline i::before{
    position:absolute;
    right:-2px;
    top:-5px;
  }
  .process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    position:relative;
    margin-bottom:26px;
  }
  .process-step{
    display:flex;
    flex-direction:column;
    min-height:330px;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:20px 22px 18px;
    position:relative;
    box-shadow:0 12px 34px rgba(3,30,64,.045);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .process-step:hover{
    transform:translateY(-4px);
    border-color:rgba(15,189,147,.45);
    box-shadow:0 18px 38px rgba(3,30,64,.08);
  }
  .process-num{
    display:none;
    font-size:13px;
    font-weight:700;
    color:var(--teal-dark);
  }
  .process-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:54px;
    height:54px;
    margin-bottom:10px;
    border-radius:14px;
    background:rgba(23,227,178,.12);
    color:#087b61;
    font-size:23px;
  }
  .process-step h3{
    margin-bottom:4px;
    font-size:21px;
    line-height:1.2;
  }
  .process-step > strong{
    display:block;
    min-height:48px;
    margin-bottom:8px;
    color:#09986f;
    font-size:15px;
    line-height:1.35;
  }
  .process-step > p{
    color:var(--gray-text);
    font-size:14px;
    line-height:1.42;
  }
  .process-benefit{
    display:flex;
    align-items:center;
    gap:9px;
    width:100%;
    margin-top:auto;
    padding:8px 11px;
    border-radius:9px;
    background:#edf8f4;
    color:var(--navy);
    font-size:12px;
    font-weight:500;
  }
  .process-benefit i{ color:#10a981; font-size:16px; }
  .process-closing{
    max-width:600px;
    margin:0 auto;
    text-align:center;
  }
  .process-closing h3{
    margin-bottom:2px;
    font-size:clamp(24px, 3vw, 31px);
  }
  .process-closing > p{
    margin-bottom:10px;
    color:var(--gray-text);
    font-size:14px;
  }
  .process-cta{
    padding:11px 26px;
    background:#169769;
    color:var(--white);
    box-shadow:0 8px 18px rgba(22,151,105,.18);
  }
  .process-cta:hover{ background:#087b61; color:var(--white); }
  .process-closing small{
    display:block;
    margin-top:6px;
    color:var(--gray-text);
    font-size:10px;
  }

  /* ============ SOCIAL PROOF ============ */
  .stats-row{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
    margin-bottom:64px;
  }
  .stat{ text-align:center; }
  .stat .num{
    font-size:clamp(30px,4vw,42px);
    font-weight:800;
    color:var(--navy);
    display:block;
  }
  .stat .label{
    font-size:14px;
    color:var(--gray-text);
    font-weight:500;
  }
  .testimonials{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
  }
  .testimonial{
    background:var(--gray-bg);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:28px;
  }
  .testimonial .stars{ color:var(--teal-dark); margin-bottom:14px; font-size:14px; }
  .testimonial p.quote{
    font-size:15px;
    color:var(--navy);
    margin-bottom:18px;
    font-style:italic;
  }
  .testimonial .person{ display:flex; align-items:center; gap:12px; }
  .avatar{
    width:38px; height:38px;
    border-radius:50%;
    background:linear-gradient(135deg, var(--blue), var(--teal));
    display:flex; align-items:center; justify-content:center;
    color:var(--white);
    font-weight:700;
    font-size:14px;
  }
  .person .name{ font-size:14px; font-weight:700; }
  .person .role{ font-size:12.5px; color:var(--gray-text); }

  /* ============ CTA ============ */
  .cta-section{
    background:linear-gradient(155deg, var(--navy), #062a52 55%, var(--blue));
    color:var(--white);
    text-align:center;
    position:relative;
    overflow:hidden;
  }
  .cta-section::before{
    content:"";
    position:absolute;
    top:-30%; left:50%;
    transform:translateX(-50%);
    width:600px; height:400px;
    background:radial-gradient(ellipse, rgba(23,227,178,0.18), transparent 70%);
  }
  .cta-section .container{ position:relative; z-index:1; }
  .cta-section h2{
    color:var(--white);
    font-size:clamp(28px,4vw,42px);
    margin-bottom:16px;
  }
  .cta-section p{
    color:rgba(255,255,255,0.75);
    font-size:17px;
    margin-bottom:36px;
  }
  .cta-buttons{
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
    margin-bottom:18px;
  }
  .cta-email{
    font-size:14px;
    color:rgba(255,255,255,0.6);
  }
  .cta-email a{ color:var(--teal); font-weight:600; }

  /* ============ LEGAL PAGES ============ */
  .legal-page{
    min-height:65vh;
    background:linear-gradient(180deg, var(--gray-bg) 0, var(--white) 360px);
  }
  .legal-hero{
    padding:80px 0 56px;
    border-bottom:1px solid var(--border);
  }
  .legal-hero .container{ max-width:900px; }
  .legal-hero h1{
    max-width:760px;
    margin-bottom:18px;
    font-size:clamp(36px, 5vw, 56px);
    line-height:1.08;
  }
  .legal-hero p{
    max-width:720px;
    margin-bottom:18px;
    color:var(--gray-text);
    font-size:18px;
  }
  .legal-updated{
    display:block;
    color:var(--blue);
    font-size:13px;
    font-weight:600;
  }
  .legal-layout{
    display:grid;
    grid-template-columns:220px minmax(0, 720px);
    justify-content:center;
    gap:72px;
    padding-top:72px;
    padding-bottom:100px;
  }
  .legal-layout-custom{ grid-template-columns:minmax(0, 760px); }
  .legal-nav{ align-self:start; }
  .legal-nav nav{
    position:sticky;
    top:104px;
    padding-left:20px;
    border-left:2px solid var(--border);
  }
  .legal-nav h2{
    margin-bottom:14px;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.05em;
  }
  .legal-nav ol{ list-style:none; }
  .legal-nav li + li{ margin-top:9px; }
  .legal-nav a{
    color:var(--gray-text);
    font-size:13px;
    line-height:1.35;
    transition:color .18s ease;
  }
  .legal-nav a:hover{ color:var(--teal-dark); }
  .legal-section{
    scroll-margin-top:100px;
    padding-bottom:34px;
  }
  .legal-section + .legal-section{
    padding-top:34px;
    border-top:1px solid var(--border);
  }
  .legal-content h2{
    margin-bottom:14px;
    font-size:24px;
    line-height:1.25;
  }
  .legal-content h3{
    margin:28px 0 10px;
    font-size:19px;
  }
  .legal-content p,
  .legal-content li{
    color:var(--gray-text);
    font-size:16px;
    line-height:1.72;
  }
  .legal-content p + p{ margin-top:12px; }
  .legal-content ul{
    margin-top:14px;
    padding-left:22px;
    list-style:disc;
  }
  .legal-content li + li{ margin-top:8px; }
  .legal-content ul + p{ margin-top:14px; }
  .legal-content a{
    color:var(--blue);
    text-decoration:underline;
    text-underline-offset:3px;
  }
  .legal-content-custom > * + *{ margin-top:18px; }

  /* ============ 404 ============ */
  .error-page{
    display:flex;
    align-items:center;
    min-height:calc(100vh - 74px);
    background:
      radial-gradient(circle at 82% 25%, rgba(23,227,178,.13), transparent 30%),
      linear-gradient(150deg, var(--white), var(--gray-bg));
  }
  .error-content{
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(300px, .8fr);
    align-items:center;
    gap:72px;
    padding-top:80px;
    padding-bottom:100px;
  }
  .error-copy h1{
    max-width:620px;
    margin-bottom:18px;
    font-size:clamp(38px, 6vw, 64px);
    line-height:1.06;
  }
  .error-copy > p{
    max-width:560px;
    margin-bottom:30px;
    color:var(--gray-text);
    font-size:18px;
  }
  .error-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
  }
  .error-services-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--navy);
    font-size:15px;
    font-weight:600;
    transition:gap .18s ease, color .18s ease;
  }
  .error-services-link:hover{
    gap:12px;
    color:var(--teal-dark);
  }
  .error-mark{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:var(--navy);
    font-size:clamp(96px, 15vw, 180px);
    font-weight:800;
    line-height:1;
  }
  .error-mark i{
    display:flex;
    align-items:center;
    justify-content:center;
    width:clamp(72px, 10vw, 116px);
    aspect-ratio:1;
    border-radius:50%;
    background:var(--teal);
    color:var(--navy);
    font-size:clamp(34px, 5vw, 58px);
    box-shadow:0 20px 45px rgba(23,227,178,.28);
    animation:compass-float 4s ease-in-out infinite;
  }
  @keyframes compass-float{
    0%,100%{ transform:translateY(0) rotate(-5deg); }
    50%{ transform:translateY(-8px) rotate(5deg); }
  }

  /* ============ FOOTER ============ */
  footer{
    background:var(--navy);
    color:rgba(255,255,255,0.7);
    padding:72px 0 28px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1.2fr;
    gap:40px;
    padding-bottom:48px;
    border-bottom:1px solid rgba(255,255,255,0.1);
  }
  .footer-brand img{ height:26px; margin-bottom:14px; filter:brightness(0) invert(1); }
  .footer-brand p{ font-size:14px; color:rgba(255,255,255,0.55); max-width:260px; }
  .footer-col h4{
    color:var(--white);
    font-size:14px;
    margin-bottom:18px;
    text-transform:uppercase;
    letter-spacing:0.04em;
  }
  .footer-col ul li{ margin-bottom:12px; }
  .footer-col ul li a{
    font-size:14.5px;
    color:rgba(255,255,255,0.65);
    transition:color .18s ease;
  }
  .footer-col ul li a:hover{ color:var(--teal); }
  .footer-social{ display:flex; gap:12px; margin-top:20px; }
  .footer-social a{
    width:36px; height:36px;
    border:1px solid rgba(255,255,255,0.15);
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    transition:background .18s ease, border-color .18s ease;
  }
  .footer-social a:hover{ background:var(--teal); border-color:var(--teal); color:var(--navy); }
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    padding-top:28px;
    font-size:13px;
    color:rgba(255,255,255,0.45);
  }
  .footer-legal{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
  }
  .footer-legal a{
    color:rgba(255,255,255,.58);
    transition:color .18s ease;
  }
  .footer-legal a:hover{ color:var(--teal); }

  /* ============ SCROLL FADE-IN ============ */
  .fade-in{
    opacity:1;
    transform:none;
  }
  .motion-ready .fade-in{
    opacity:0;
    transform:translateY(18px);
    transition:
      opacity .6s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms),
      transform .6s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms);
  }
  .motion-ready .fade-in.visible{
    opacity:1;
    transform:translateY(0);
  }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    .hero-content > *,
    .hero-visual,
    .hero-visual::before{
      animation:none;
    }
    .error-mark i{ animation:none; }
    .fade-in{
      opacity:1;
      transform:none;
      transition:none;
    }
    .btn,
    .pain-card,
    .service-card,
    .project-card,
    .process-step,
    .mock-window{
      transition:none;
    }
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 980px){
    .hero-inner{ grid-template-columns:1fr; }
    .hero-visual{ order:-1; }
    .services-grid{ grid-template-columns:repeat(2,1fr); }
    .pain-grid{ grid-template-columns:repeat(2,1fr); }
    .pain-card:last-child{ grid-column:1 / -1; }
    .process-grid{ grid-template-columns:repeat(2,1fr); }
    .process-timeline{ margin:0 36px 10px; }
    .portfolio-grid{ grid-template-columns:1fr; }
    .stats-row{ grid-template-columns:repeat(2,1fr); gap:32px; }
    .testimonials{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr 1fr; }
    .legal-layout{ gap:40px; }
    .error-content{
      grid-template-columns:1fr;
      gap:48px;
    }
    .error-mark{
      grid-row:1;
      justify-content:flex-start;
    }
  }

  @media (max-width: 720px){
    .pain::before,
    .pain::after{ display:none; }
    .pain .section-head{ margin-bottom:30px; }
    .pain-grid{ grid-template-columns:1fr; }
    .pain-card:last-child{ grid-column:auto; }
    .pain-card{ min-height:0; }
    .pain-benefit{ margin-top:24px; }
    .pain-trust{ align-items:flex-start; gap:12px; }
    .pain-trust > div:last-child{ padding-left:12px; }
    :root{ --section-pad:64px; }
    .nav-links{
      position:fixed;
      top:64px; left:0; right:0;
      background:var(--white);
      flex-direction:column;
      align-items:flex-start;
      gap:0;
      padding:8px 24px 20px;
      border-bottom:1px solid var(--border);
      box-shadow:0 12px 24px rgba(3,30,64,0.08);
      transform:translateY(-8px);
      opacity:0;
      pointer-events:none;
      transition:opacity .2s ease, transform .2s ease;
    }
    .nav-links.open{
      transform:translateY(0);
      opacity:1;
      pointer-events:auto;
    }
    .nav-links a{ padding:12px 0; width:100%; border-bottom:1px solid var(--border); }
    .nav-links a:last-child{ border-bottom:none; }
    .nav-toggle{ display:flex; }
    .nav-cta-desktop{ display:none; }
    .services-grid{ grid-template-columns:1fr; }
    .process-grid{ grid-template-columns:1fr; }
    .process::before,
    .process::after{ display:none; }
    .process .section-head{ margin-bottom:28px; }
    .process-timeline{ display:none; }
    .process-step{ min-height:0; }
    .process-num{
      display:block;
      position:absolute;
      top:24px;
      right:22px;
      font-size:15px;
    }
    .process-step > strong{ min-height:0; }
    .process-benefit{ margin-top:22px; }
    .stats-row{ grid-template-columns:repeat(2,1fr); }
    .footer-grid{ grid-template-columns:1fr; gap:32px; }
    .footer-bottom{ flex-direction:column; align-items:flex-start; }
    .legal-hero{ padding:64px 0 42px; }
    .legal-hero p{ font-size:16px; }
    .legal-layout{
      grid-template-columns:1fr;
      gap:36px;
      padding-top:48px;
      padding-bottom:64px;
    }
    .legal-nav nav{
      position:static;
      padding-left:0;
      border-left:0;
    }
    .legal-nav ol{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:10px 20px;
    }
    .legal-nav li + li{ margin-top:0; }
    .legal-content h2{ font-size:22px; }
    .error-page{ min-height:auto; }
    .error-content{
      gap:38px;
      padding-top:56px;
      padding-bottom:72px;
    }
    .error-mark{ font-size:clamp(76px, 28vw, 120px); }
  }

  @media (max-width: 480px){
    .legal-nav ol{ grid-template-columns:1fr; }
    .error-actions{ align-items:flex-start; flex-direction:column; }
  }
