:root {
      --navy: #001838;
      --navy-deep: #001028;
      --blue: #0060f8;
      --blue-bright: #0078f0;
      --blue-soft: #e8f1ff;
      --slate: #5a626c;
      --muted: #8a93a0;
      --line: #d7dde6;
      --paper: #f7f9fc;
      --white: #ffffff;
      --ink: #0c1726;
      --shadow: 0 18px 50px rgba(0, 24, 56, 0.10);
      --radius: 4px;
      --nav-h: 64px;
      --app-bar-h: 48px;
      --sticky-h: calc(var(--app-bar-h) + var(--nav-h));
      --font-display: "Outfit", sans-serif;
      --font-body: "Figtree", sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sticky-h) + 12px); }
    body {
      font-family: var(--font-body);
      color: var(--ink);
      background: var(--white);
      line-height: 1.6;
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input, textarea { font: inherit; }
    .container { width: min(1140px, calc(100% - 2.5rem)); margin-inline: auto; }

    /* Letterhead top rule */
    .letterhead-bar {
      height: 5px;
      background: linear-gradient(90deg, var(--navy) 0 72%, var(--blue) 72% 100%);
    }

    /* NAV */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid transparent;
      transition: border-color 0.25s, box-shadow 0.25s;
    }
    .site-header.scrolled {
      border-bottom-color: var(--line);
      box-shadow: 0 8px 30px rgba(0, 24, 56, 0.06);
    }

    /* Sticky app download bar — always visible at top */
    .app-download-bar {
      background:
        radial-gradient(120% 140% at 100% 0%, rgba(0, 96, 248, 0.35) 0%, transparent 45%),
        linear-gradient(90deg, var(--navy-deep) 0%, var(--navy) 52%, #002a5c 100%);
      color: var(--white);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .app-download-inner {
      min-height: var(--app-bar-h);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem 1rem;
      padding: 0.55rem 0;
      flex-wrap: wrap;
    }
    .app-download-label {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      font-family: var(--font-display);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.78);
      white-space: nowrap;
    }
    .app-download-label svg { flex-shrink: 0; opacity: 0.9; }
    .app-download-actions {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      flex-wrap: wrap;
    }
    .app-dl-btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      min-height: 44px;
      padding: 0.4rem 0.95rem 0.4rem 0.45rem;
      overflow: hidden;
      isolation: isolate;
      border: 1px solid transparent;
      border-radius: 8px;
      background:
        linear-gradient(135deg, #1a7bff 0%, var(--blue) 48%, #004fd0 100%);
      color: var(--white);
      font-family: var(--font-display);
      box-shadow:
        0 10px 22px rgba(0, 96, 248, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
      transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
      white-space: nowrap;
    }
    .app-dl-btn::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
      transform: translateX(-120%);
      transition: transform 0.55s ease;
      z-index: -1;
      pointer-events: none;
    }
    .app-dl-btn:hover {
      transform: translateY(-2px);
      filter: brightness(1.05);
      box-shadow:
        0 14px 28px rgba(0, 96, 248, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    }
    .app-dl-btn:hover::before { transform: translateX(120%); }
    .app-dl-btn:active { transform: translateY(0); }
    .app-dl-btn-alt {
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
      border-color: rgba(255, 255, 255, 0.34);
      box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    .app-dl-btn-alt:hover {
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.12) 100%);
      border-color: rgba(255, 255, 255, 0.5);
      filter: none;
      box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }
    .app-dl-icon {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border-radius: 7px;
      background: rgba(255, 255, 255, 0.18);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
      flex-shrink: 0;
    }
    .app-dl-btn-alt .app-dl-icon {
      background: rgba(0, 96, 248, 0.95);
      box-shadow: 0 6px 14px rgba(0, 96, 248, 0.35);
    }
    .app-dl-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.05rem;
      line-height: 1.15;
      padding-right: 0.15rem;
    }
    .app-dl-name {
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 0.01em;
    }
    .app-dl-meta {
      font-size: 0.62rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      opacity: 0.82;
      padding: 0;
      border-radius: 0;
      background: none;
    }
    .app-dl-btn-alt .app-dl-meta {
      background: none;
      opacity: 0.78;
    }

    .nav-wrap {
      min-height: var(--nav-h);
      height: auto;
      padding: 0.55rem 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
    }
    .brand {
      display: flex;
      align-items: center;
      flex: 1 1 auto;
      min-width: 0;
      max-width: calc(100% - 56px);
    }
    .brand-logo-full {
      display: block;
      height: clamp(38px, 5.2vw, 54px);
      width: auto;
      max-width: 100%;
      object-fit: contain;
      object-position: left center;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 0.15rem;
      list-style: none;
    }
    .nav-links a {
      position: relative;
      font-family: var(--font-display);
      font-size: 0.84rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--slate);
      padding: 0.55rem 0.7rem;
      transition: color 0.2s;
    }
    .nav-links a:hover,
    .nav-links a.active { color: var(--navy); }
    .nav-links a.active::after,
    .nav-links a:hover::after {
      content: "";
      position: absolute;
      left: 0.7rem;
      right: 0.7rem;
      bottom: 0.2rem;
      height: 2px;
      background: var(--blue);
      transform-origin: left;
      animation: grow 0.25s ease;
    }
    @keyframes grow {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: var(--blue);
      color: var(--white) !important;
      padding: 0.7rem 1.15rem !important;
      border-radius: var(--radius);
      font-weight: 700 !important;
      box-shadow: 0 10px 24px rgba(0, 96, 248, 0.28);
      transition: transform 0.2s, background 0.2s;
    }
    .nav-cta:hover { background: #0050d6; transform: translateY(-1px); }
    .nav-cta::after { display: none !important; }

    .menu-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid var(--line);
      background: var(--white);
      border-radius: var(--radius);
      cursor: pointer;
      place-items: center;
    }
    .menu-toggle span,
    .menu-toggle span::before,
    .menu-toggle span::after {
      display: block;
      width: 18px;
      height: 2px;
      background: var(--navy);
      position: relative;
      transition: 0.2s;
    }
    .menu-toggle span::before,
    .menu-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
    }
    .menu-toggle span::before { top: -6px; }
    .menu-toggle span::after { top: 6px; }

    /* HERO */
    .hero {
      position: relative;
      min-height: 0;
      display: grid;
      align-items: start;
      isolation: isolate;
      overflow: hidden;
      background:
        radial-gradient(ellipse 80% 60% at 90% 10%, rgba(0, 96, 248, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(0, 24, 56, 0.08), transparent 50%),
        linear-gradient(165deg, #ffffff 0%, #f3f7fd 48%, #eaf1fb 100%);
    }
    .hero-watermark {
      position: absolute;
      right: -4%;
      bottom: -8%;
      width: min(520px, 55vw);
      opacity: 0.05;
      pointer-events: none;
      z-index: -1;
      animation: floatMark 10s ease-in-out infinite;
    }
    @keyframes floatMark {
      0%, 100% { transform: translateY(0) rotate(-4deg); }
      50% { transform: translateY(-18px) rotate(-2deg); }
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 2.5rem;
      align-items: start;
      padding: 0 0 2.5rem;
    }
    .hero-copy { max-width: 36rem; padding-top: 0.15rem; }
    .hero-copy .eyebrow { margin-bottom: 0.55rem; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      font-family: var(--font-display);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 1.1rem;
    }
    .eyebrow::before {
      content: "";
      width: 28px;
      height: 2px;
      background: var(--blue);
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2.4rem, 5vw, 4rem);
      line-height: 1.05;
      letter-spacing: -0.03em;
      color: var(--navy);
      margin-bottom: 0.35rem;
    }
    .hero h1 .accent { color: var(--blue); }
    .hero-tag {
      font-family: var(--font-display);
      font-size: 0.85rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 1.25rem;
    }
    .hero p.lead {
      font-size: 1.1rem;
      color: var(--slate);
      max-width: 32rem;
      margin-bottom: 2rem;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.85rem;
      margin-bottom: 2.4rem;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      min-height: 50px;
      padding: 0.8rem 1.4rem;
      border-radius: var(--radius);
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.92rem;
      letter-spacing: 0.02em;
      transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
      border: 1.5px solid transparent;
      cursor: pointer;
    }
    .btn-primary {
      background: var(--blue);
      color: var(--white);
      box-shadow: 0 14px 30px rgba(0, 96, 248, 0.28);
    }
    .btn-primary:hover { background: #0050d6; transform: translateY(-2px); }
    .btn-ghost {
      background: transparent;
      color: var(--navy);
      border-color: var(--line);
    }
    .btn-ghost:hover {
      border-color: var(--navy);
      background: rgba(0, 24, 56, 0.03);
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem 2.2rem;
      padding-top: 1.4rem;
      border-top: 1px solid var(--line);
    }
    .hero-meta div strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1.35rem;
      color: var(--navy);
      line-height: 1.1;
    }
    .hero-meta div span {
      font-size: 0.82rem;
      color: var(--muted);
    }

    .hero-panel {
      position: relative;
      background: var(--white);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      padding: 1.6rem 1.5rem 1.4rem;
      overflow: hidden;
      width: 100%;
      min-width: 0;
    }
    .hero-panel::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 4px;
      background: linear-gradient(90deg, var(--navy) 65%, var(--blue) 65%);
    }
    .invoice-label {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-bottom: 1.25rem;
      padding-bottom: 0.9rem;
      border-bottom: 1px dashed var(--line);
    }
    .invoice-label h2 {
      font-family: var(--font-display);
      font-size: 0.78rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 700;
    }
    .invoice-label span {
      font-family: var(--font-display);
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--blue);
      white-space: nowrap;
    }
    .invoice-logo {
      width: min(100%, 280px);
      max-width: 100%;
      height: auto;
      margin: 0.2rem auto 1.3rem;
      object-fit: contain;
    }
    .invoice-rows { display: grid; gap: 0.75rem; min-width: 0; }
    .invoice-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 0.75rem 1rem;
      align-items: center;
      padding: 0.7rem 0.85rem;
      background: var(--paper);
      border-left: 3px solid var(--blue);
      min-width: 0;
    }
    .invoice-row > div { min-width: 0; }
    .invoice-row strong {
      font-family: var(--font-display);
      font-size: 0.9rem;
      color: var(--navy);
      display: block;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
    .invoice-row small {
      color: var(--muted);
      font-size: 0.78rem;
      display: block;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
    .invoice-row em {
      font-style: normal;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.75rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--blue);
      flex-shrink: 0;
    }

    /* SECTION SHARED */
    section { padding: 5.5rem 0; position: relative; }
    .section-head {
      max-width: 40rem;
      margin-bottom: 2.75rem;
    }
    .section-head .eyebrow { margin-bottom: 0.7rem; }
    .section-head h2 {
      font-family: var(--font-display);
      font-size: clamp(1.9rem, 3.4vw, 2.7rem);
      letter-spacing: -0.025em;
      color: var(--navy);
      line-height: 1.15;
      margin-bottom: 0.75rem;
    }
    .section-head p {
      color: var(--slate);
      font-size: 1.05rem;
    }

    /* PRODUCTS */
    #products { background: var(--paper); }
    #products::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, transparent 0, transparent calc(50% - 0.5px), rgba(0, 24, 56, 0.04) calc(50% - 0.5px), rgba(0, 24, 56, 0.04) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
        radial-gradient(circle at 12% 18%, rgba(0, 96, 248, 0.07), transparent 28%);
      pointer-events: none;
    }
    .product-list {
      display: grid;
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }
    .product {
      display: grid;
      grid-template-columns: 88px 1fr auto;
      gap: 1.25rem;
      align-items: center;
      background: var(--white);
      padding: 1.45rem 1.5rem;
      transition: background 0.2s, box-shadow 0.2s;
    }
    a.product {
      color: inherit;
      text-decoration: none;
      cursor: pointer;
    }
    .product:hover { background: #fbfcff; }
    a.product:hover {
      background: #f3f7ff;
      box-shadow: inset 3px 0 0 var(--blue);
    }
    a.product:hover h3 { color: var(--blue); }
    a.product:hover .product-tag {
      background: var(--blue);
      color: var(--white);
      border-color: var(--blue);
    }
    .product-index {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.8rem;
      color: transparent;
      -webkit-text-stroke: 1.5px var(--blue);
      letter-spacing: -0.04em;
    }
    .product h3 {
      font-family: var(--font-display);
      font-size: 1.2rem;
      color: var(--navy);
      margin-bottom: 0.25rem;
      transition: color 0.2s;
    }
    .product p { color: var(--slate); font-size: 0.95rem; max-width: 42rem; }
    .product-tag {
      font-family: var(--font-display);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--blue);
      white-space: nowrap;
      padding: 0.45rem 0.7rem;
      border: 1px solid rgba(0, 96, 248, 0.25);
      background: var(--blue-soft);
      transition: background 0.2s, color 0.2s, border-color 0.2s;
      text-align: center;
    }
    .product-tag small {
      display: block;
      margin-top: 0.2rem;
      font-size: 0.62rem;
      letter-spacing: 0.08em;
      opacity: 0.85;
    }

    /* SERVICES */
    #services {
      background:
        linear-gradient(180deg, rgba(0, 16, 40, 0.97), rgba(0, 24, 56, 0.98)),
        url("assets/logo-mark-transparent.png") right -8% bottom -18% / 420px no-repeat;
      color: var(--white);
    }
    #services .section-head h2 { color: var(--white); }
    #services .section-head p { color: rgba(255, 255, 255, 0.72); }
    #services .eyebrow { color: #7eb0ff; }
    #services .eyebrow::before { background: #7eb0ff; }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1rem;
    }
    .service {
      padding: 1.5rem 1.2rem;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.03);
      min-height: 220px;
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
      transition: transform 0.25s, border-color 0.25s, background 0.25s;
    }
    .service:hover {
      transform: translateY(-4px);
      border-color: rgba(0, 120, 240, 0.55);
      background: rgba(0, 96, 248, 0.12);
    }
    .service-icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(126, 176, 255, 0.35);
      color: #8fc0ff;
    }
    .service h3 {
      font-family: var(--font-display);
      font-size: 1.05rem;
      font-weight: 700;
    }
    .service p {
      color: rgba(255, 255, 255, 0.68);
      font-size: 0.9rem;
      margin-top: auto;
    }

    /* CLIENTS */
    #clients { background: var(--white); }
    .clients-board {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }
    .client {
      padding: 1.8rem 1.2rem;
      text-align: center;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      font-family: var(--font-display);
      font-weight: 700;
      color: var(--navy);
      letter-spacing: 0.01em;
      position: relative;
      transition: color 0.2s, background 0.2s;
    }
    .client:nth-child(4n) { border-right: none; }
    .client:hover {
      color: var(--blue);
      background: var(--blue-soft);
    }
    .client small {
      display: block;
      margin-top: 0.35rem;
      font-weight: 500;
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
    }

    /* ABOUT */
    #about {
      background:
        linear-gradient(120deg, rgba(247, 249, 252, 0.94), rgba(232, 241, 255, 0.85)),
        url("assets/logo-mark-transparent.png") left -10% center / 380px no-repeat;
      background-blend-mode: normal;
    }
    .about-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 3rem;
      align-items: center;
    }
    .about-points { display: grid; gap: 1rem; margin-top: 1.5rem; }
    .about-point {
      display: grid;
      grid-template-columns: 36px 1fr;
      gap: 0.9rem;
      align-items: start;
    }
    .about-point i {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      background: var(--navy);
      color: var(--white);
      font-style: normal;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.85rem;
    }
    .about-point strong {
      display: block;
      font-family: var(--font-display);
      color: var(--navy);
      margin-bottom: 0.15rem;
    }
    .about-point span { color: var(--slate); font-size: 0.95rem; }
    .about-sheet {
      background: var(--white);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      padding: 1.8rem 1.6rem;
      position: relative;
    }
    .about-sheet::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--navy) 70%, var(--blue) 70%);
    }
    .about-sheet h3 {
      font-family: var(--font-display);
      font-size: 1.15rem;
      color: var(--navy);
      margin-bottom: 0.8rem;
    }
    .about-sheet p { color: var(--slate); margin-bottom: 1.2rem; }
    .pillars {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.65rem;
    }
    .pillar {
      text-align: center;
      padding: 1rem 0.5rem;
      border: 1px solid var(--line);
      background: var(--paper);
    }
    .pillar strong {
      display: block;
      font-family: var(--font-display);
      color: var(--navy);
      font-size: 0.92rem;
    }
    .pillar span {
      font-size: 0.75rem;
      color: var(--muted);
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    /* CONTACT */
    #contact { background: var(--paper); }
    .contact-grid {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 1.5rem;
    }
    .contact-info {
      background: var(--navy);
      color: var(--white);
      padding: 2rem 1.7rem;
      position: relative;
      overflow: hidden;
    }
    .contact-info::after {
      content: "";
      position: absolute;
      right: -40px;
      bottom: -40px;
      width: 160px;
      height: 160px;
      background: var(--blue);
      transform: rotate(45deg);
      opacity: 0.9;
    }
    .contact-info h3 {
      font-family: var(--font-display);
      font-size: 1.45rem;
      margin-bottom: 0.6rem;
      position: relative;
      z-index: 1;
    }
    .contact-info > p {
      color: rgba(255, 255, 255, 0.72);
      margin-bottom: 1.6rem;
      position: relative;
      z-index: 1;
    }
    .contact-list {
      list-style: none;
      display: grid;
      gap: 1rem;
      position: relative;
      z-index: 1;
    }
    .contact-list li {
      display: grid;
      grid-template-columns: 28px 1fr;
      gap: 0.7rem;
      align-items: start;
    }
    .contact-list svg { margin-top: 3px; color: #8fc0ff; }
    .contact-list strong {
      display: block;
      font-family: var(--font-display);
      font-size: 0.78rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.55);
      margin-bottom: 0.15rem;
    }
    .contact-list a:hover { color: #9ec8ff; }
    .contact-form {
      background: var(--white);
      border: 1px solid var(--line);
      padding: 1.8rem 1.6rem;
      box-shadow: var(--shadow);
    }
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    .field { display: grid; gap: 0.4rem; }
    .field.full { grid-column: 1 / -1; }
    .field label {
      font-family: var(--font-display);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .field input,
    .field textarea,
    .field select {
      width: 100%;
      border: 1px solid var(--line);
      background: var(--paper);
      padding: 0.85rem 0.95rem;
      color: var(--ink);
      border-radius: var(--radius);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .field input:focus,
    .field textarea:focus,
    .field select:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(0, 96, 248, 0.12);
      background: var(--white);
    }
    .field textarea { min-height: 130px; resize: vertical; }
    .form-note {
      margin-top: 0.9rem;
      font-size: 0.85rem;
      color: var(--muted);
    }
    .form-status {
      margin-top: 0.85rem;
      font-size: 0.9rem;
      font-weight: 600;
      display: none;
    }
    .form-status.show { display: block; }
    .form-status.ok { color: #0f7a3c; }
    .form-status.err { color: #b42318; }
    .btn[disabled] { opacity: 0.65; cursor: wait; pointer-events: none; }
    .hp-field {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }
    .captcha-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 0.65rem;
      align-items: end;
    }
    .captcha-box {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      min-height: 48px;
      padding: 0 0.9rem;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      font-family: var(--font-display);
      font-weight: 700;
      color: var(--navy);
      letter-spacing: 0.04em;
      white-space: nowrap;
    }
    .captcha-box strong {
      color: var(--blue);
      font-size: 1.05rem;
    }
    .captcha-refresh {
      width: 48px;
      height: 48px;
      border: 1px solid var(--line);
      background: var(--white);
      color: var(--navy);
      border-radius: var(--radius);
      cursor: pointer;
      display: grid;
      place-items: center;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }
    .captcha-refresh:hover {
      border-color: var(--blue);
      color: var(--blue);
      background: var(--blue-soft);
    }

    /* FOOTER — letterhead ribbon */
    .site-footer {
      position: relative;
      background: var(--white);
      overflow: hidden;
    }
    .footer-ribbon {
      display: grid;
      grid-template-columns: 1.2fr 0.15fr 1fr;
      min-height: 88px;
      align-items: stretch;
    }
    .footer-brand {
      background: var(--navy);
      color: var(--white);
      display: flex;
      align-items: center;
      gap: 0.85rem;
      padding: 1.2rem 1.5rem 1.2rem clamp(1.2rem, 4vw, 3rem);
      clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
    }
    .footer-brand img {
      width: 44px;
      height: 44px;
      object-fit: contain;
      background: var(--white);
      padding: 5px;
      border-radius: 3px;
      flex-shrink: 0;
    }
    .footer-brand strong {
      font-family: var(--font-display);
      letter-spacing: 0.08em;
      font-size: 0.95rem;
    }
    .footer-brand span {
      display: block;
      font-size: 0.72rem;
      color: rgba(255, 255, 255, 0.65);
      letter-spacing: 0.04em;
      margin-top: 2px;
    }
    .footer-accent {
      background: var(--blue);
      transform: skewX(-18deg);
      margin-left: -18px;
    }
    .footer-meta {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 1.2rem;
      padding: 1rem clamp(1.2rem, 4vw, 3rem);
      color: var(--slate);
      font-size: 0.88rem;
      flex-wrap: wrap;
    }
    .footer-meta a:hover { color: var(--blue); }

    /* Floating WhatsApp */
    .whatsapp-float {
      position: fixed;
      right: 1.15rem;
      bottom: 1.15rem;
      z-index: 120;
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #25d366;
      color: #fff;
      box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
      transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    }
    .whatsapp-float:hover {
      transform: translateY(-3px) scale(1.04);
      background: #1ebe57;
      box-shadow: 0 16px 34px rgba(37, 211, 102, 0.55);
    }
    .whatsapp-float svg {
      width: 30px;
      height: 30px;
      fill: currentColor;
    }
    .whatsapp-float span {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      border: 0;
    }
    @media (max-width: 640px) {
      .whatsapp-float {
        right: 0.9rem;
        bottom: 0.9rem;
        width: 54px;
        height: 54px;
      }
      .whatsapp-float svg { width: 28px; height: 28px; }
    }

    /* Reveal animation */
    .reveal {
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }
    .reveal.in { opacity: 1; transform: none; }
    .hero-copy.reveal,
    .hero-panel.reveal {
      opacity: 1;
      transform: none;
    }

    /* Mobile */
    @media (max-width: 980px) {
      .hero-grid,
      .about-grid,
      .contact-grid { grid-template-columns: 1fr; }
      .hero-grid {
        gap: 1.1rem;
        padding: 0 0 2rem;
      }
      .brand {
        max-width: calc(100% - 56px);
      }
      .brand-logo-full {
        height: clamp(34px, 9vw, 46px);
        max-width: 100%;
      }
      .menu-toggle { flex: 0 0 auto; }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .clients-board { grid-template-columns: repeat(2, 1fr); }
      .client:nth-child(4n) { border-right: 1px solid var(--line); }
      .client:nth-child(2n) { border-right: none; }
      .nav-links {
        position: fixed;
        inset: calc(var(--sticky-h) + 5px) 0 auto 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        padding: 0.8rem;
        gap: 0.2rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: 0.28s ease;
        box-shadow: 0 16px 40px rgba(0, 24, 56, 0.08);
      }
      .nav-links.open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
      }
      .nav-links a { padding: 0.85rem 1rem; }
      .nav-cta { justify-content: center; margin-top: 0.35rem; }
      .menu-toggle { display: grid; }
      .hero-panel {
        max-width: 100%;
        width: 100%;
        padding: 1.15rem 1rem 1.05rem;
      }
      .invoice-logo { width: min(100%, 240px); margin-bottom: 1rem; }
      .product {
        grid-template-columns: 56px 1fr;
      }
      .product-tag { grid-column: 2; justify-self: start; }
    }
    @media (max-width: 640px) {
      :root {
        --nav-h: 58px;
        --app-bar-h: auto;
      }
      .container { width: min(1140px, calc(100% - 1.25rem)); }
      .app-download-inner {
        justify-content: center;
        gap: 0.5rem;
        padding: 0.55rem 0;
      }
      .app-download-label {
        width: 100%;
        justify-content: center;
        font-size: 0.7rem;
      }
      .app-download-actions {
        width: 100%;
        gap: 0.5rem;
      }
      .app-dl-btn {
        flex: 1 1 0;
        min-height: 46px;
        padding: 0.4rem 0.7rem 0.4rem 0.4rem;
        gap: 0.55rem;
      }
      .app-dl-icon {
        width: 32px;
        height: 32px;
      }
      .app-dl-name { font-size: 0.84rem; }
      .app-dl-meta { font-size: 0.58rem; }
      .nav-wrap { padding: 0.4rem 0; gap: 0.5rem; }
      .brand-logo-full {
        height: clamp(32px, 8.5vw, 40px);
        max-width: min(220px, calc(100vw - 5.25rem));
      }
      .hero-grid { padding: 0 0 1.75rem; gap: 0.95rem; }
      .hero-copy { padding-top: 0; }
      .hero-copy .eyebrow { margin-bottom: 0.35rem; }
      .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.45rem); }
      .hero-tag { margin-bottom: 0.85rem; }
      .hero p.lead { font-size: 1rem; margin-bottom: 1.15rem; }
      .hero-actions { margin-bottom: 1.25rem; gap: 0.65rem; }
      .btn { min-height: 46px; padding: 0.7rem 1.15rem; width: 100%; }
      .hero-actions .btn { flex: 1 1 auto; }
      .hero-panel { padding: 1rem 0.85rem 0.9rem; }
      .invoice-label {
        margin-bottom: 0.85rem;
        padding-bottom: 0.65rem;
      }
      .invoice-label h2 {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
      }
      .invoice-logo { width: min(100%, 200px); margin: 0 auto 0.85rem; }
      .invoice-rows { gap: 0.55rem; }
      .invoice-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        padding: 0.7rem 0.75rem;
      }
      .invoice-row em {
        justify-self: start;
        font-size: 0.68rem;
      }
      .invoice-row strong { font-size: 0.85rem; }
      .invoice-row small { font-size: 0.74rem; line-height: 1.45; }
      .services-grid,
      .form-grid,
      .pillars,
      .clients-board { grid-template-columns: 1fr; }
      .client { border-right: none !important; }
      .footer-ribbon { grid-template-columns: 1fr; }
      .footer-brand { clip-path: none; }
      .footer-accent { display: none; }
      .footer-meta { justify-content: flex-start; }
      .hero-meta { gap: 0.85rem 1.25rem; padding-top: 1.1rem; }
    }
