
  /* ---------- TOKENS ---------- */
  :root {
    --c-navy-900: #0a1424;
    --c-navy-800: #0f1c33;
    --c-navy-700: #16263f;
    --c-navy-600: #1f3252;
    --c-blue-500: #1f5fd6;
    --c-blue-400: #3a7cf0;
    --c-blue-300: #6ea0ff;
    --c-red-500: #c8252b;
    --c-red-400: #e23a3f;
    --c-red-300: #ef5b5f;
    --c-cream: #f4ede1;
    --c-text: #e8eef7;
    --c-muted: #93a3bd;
    --c-line: rgba(255,255,255,0.08);
    --c-card: #11203a;
    --c-card-2: #16263f;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --container: 1240px;
    --shadow-blue: 0 14px 40px -12px rgba(31,95,214,0.55);
    --shadow-red: 0 14px 40px -12px rgba(200,37,43,0.55);
  }

  /* Light theme */
  body.theme-light {
    --c-navy-900: #f5f7fb;
    --c-navy-800: #ffffff;
    --c-navy-700: #f0f3f9;
    --c-navy-600: #e6ebf3;
    --c-text: #0f1c33;
    --c-muted: #5a6a83;
    --c-line: rgba(15,28,51,0.10);
    --c-card: #ffffff;
    --c-card-2: #f0f3f9;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background: var(--c-navy-900);
    color: var(--c-text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; }

  h1, h2, h3, h4 {
    font-family: 'Oswald', 'Manrope', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.05;
  }
  h1 { font-size: clamp(40px, 5.5vw, 76px); letter-spacing: -0.02em; }
  h2 { font-size: clamp(32px, 3.8vw, 54px); }
  h3 { font-size: clamp(20px, 1.6vw, 24px); font-family: 'Manrope'; font-weight: 700; letter-spacing: -0.005em;}
  p  { color: var(--c-muted); margin: 0; }

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

  /* ---------- BUTTONS ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px;
    border-radius: var(--btn-radius, var(--radius-pill));
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-red {
    background: linear-gradient(180deg, var(--c-red-400), var(--c-red-500));
    color: #fff;
    box-shadow: var(--shadow-red);
  }
  .btn-red:hover { background: linear-gradient(180deg, var(--c-red-300), var(--c-red-400)); }
  .btn-blue {
    background: linear-gradient(180deg, var(--c-blue-400), var(--c-blue-500));
    color: #fff;
    box-shadow: var(--shadow-blue);
  }
  .btn-blue:hover { background: linear-gradient(180deg, var(--c-blue-300), var(--c-blue-400)); }
  .btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--c-text);
    border: 1px solid var(--c-line);
  }
  body.theme-light .btn-ghost { background: rgba(15,28,51,0.04); }

  /* ---------- NAV ---------- */
  .nav-wrap {
    position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
    width: min(calc(100% - 32px), 1180px);
    z-index: 60;
  }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(244,237,225,0.96);
    color: #0f1c33;
    backdrop-filter: blur(14px);
    padding: 10px 14px 10px 22px;
    border-radius: var(--radius-pill);
    box-shadow: 0 18px 48px -18px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.4) inset;
  }
  body.theme-light .nav { background: #ffffff; box-shadow: 0 8px 28px -10px rgba(15,28,51,0.18), 0 0 0 1px var(--c-line); }
  .nav-logo { display: flex; align-items: center; gap: 10px; }
  .nav-logo img { height: var(--logo-h, 44px); width: auto; transition: height .2s; }
  .nav-logo span {
    font-family: 'Oswald', sans-serif;
    font-weight: 700; letter-spacing: 0.02em;
    font-size: 17px;
    color: #0f1c33;
  }
  .nav-links {
    display: flex; align-items: center; gap: 32px;
    font-weight: 600; font-size: 15px;
    color: #0f1c33;
  }
  .nav-links a {
    position: relative; padding: 6px 2px;
    transition: color .15s;
  }
  .nav-links a:hover { color: var(--c-red-500); }
  .nav-links a.active { color: var(--c-red-500); }
  .nav-links li.current-menu-item > a,
  .nav-links li.current-menu-item > a:hover { color: var(--c-red-500); }
  .nav-cta {
    background: linear-gradient(180deg, var(--c-blue-400), var(--c-blue-500));
    color: #fff;
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700; font-size: 14px;
  }

  /* ---------- HAMBURGER ---------- */
  .nav-toggle {
    display: none;
    background: transparent; border: 0; padding: 0;
    width: 44px; height: 44px;
    cursor: pointer; position: relative;
    flex-shrink: 0;
  }
  .nav-toggle span {
    position: absolute; left: 50%;
    width: 22px; height: 2px;
    background: #0f1c33; border-radius: 2px;
    transform: translateX(-50%);
    transition: top .25s ease, transform .25s ease, opacity .2s ease;
  }
  .nav-toggle span:nth-child(1) { top: 14px; }
  .nav-toggle span:nth-child(2) { top: 21px; }
  .nav-toggle span:nth-child(3) { top: 28px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

  @media (max-width: 880px) {
    .nav { position: relative; padding: 8px 8px 8px 18px; }
    .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .nav-logo span { font-size: 15px; }

    .nav-links {
      position: absolute;
      top: calc(100% + 12px); left: 0; right: 0;
      flex-direction: column; align-items: stretch;
      gap: 0; padding: 0;
      background: rgba(244,237,225,0.98);
      backdrop-filter: blur(14px);
      border-radius: 22px;
      box-shadow: 0 24px 48px -16px rgba(0,0,0,0.55), 0 0 0 1px rgba(15,28,51,0.06);
      max-height: 0; opacity: 0; pointer-events: none; overflow: hidden;
      transition: max-height .3s ease, opacity .25s ease, padding .3s ease;
    }
    .nav-links.open {
      max-height: 80vh; opacity: 1; pointer-events: auto;
      padding: 8px 0;
    }
    .nav-links li { display: block; }
    .nav-links li > a {
      display: block;
      padding: 14px 26px;
      font-size: 16px;
      border-bottom: 1px solid rgba(15,28,51,0.06);
    }
    .nav-links li:last-child > a { border-bottom: 0; }
    .nav-links .nav-mobile-cta {
      margin: 10px 18px 8px;
      display: block; text-align: center;
      background: linear-gradient(180deg, var(--c-blue-400), var(--c-blue-500));
      color: #fff !important;
      padding: 14px 22px !important;
      border-radius: 999px !important;
      font-weight: 700;
      border-bottom: 0 !important;
    }
    body.nav-open { overflow: hidden; }
  }

  @media (max-width: 480px) {
    .nav-wrap { top: 12px; width: calc(100% - 20px); }
    .nav-logo img { height: 36px; }
  }

  /* ---------- HERO ---------- */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
    padding: 140px 0 60px;
    isolation: isolate;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(10,20,36,0.72) 0%, rgba(10,20,36,0.85) 60%, var(--c-navy-900) 100%),
      url('https://images.unsplash.com/photo-1631545806609-cad7eb1afaf2?w=2000&q=80&auto=format&fit=crop') center/cover no-repeat;
    z-index: -2;
  }
  body.theme-light .hero-bg {
    background:
      linear-gradient(180deg, rgba(245,247,251,0.72) 0%, rgba(245,247,251,0.92) 60%, var(--c-navy-900) 100%),
      url('https://images.unsplash.com/photo-1631545806609-cad7eb1afaf2?w=2000&q=80&auto=format&fit=crop') center/cover no-repeat;
  }
  .hero-grid {
    position: absolute; inset: 0; z-index: -1;
    background-image:
      radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    opacity: 0.5;
  }
  .hero-inner { text-align: center; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--c-red-300);
    font-weight: 700; font-size: 14px;
    letter-spacing: 0.18em; text-transform: uppercase;
    margin-bottom: 22px;
  }
  body.theme-light .eyebrow { color: var(--c-red-500); }
  .eyebrow::before, .eyebrow::after {
    content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6;
  }
  .hero h1 { color: var(--c-text); margin-bottom: 22px; }
  .hero h1 .accent { color: var(--c-red-400); }
  body.theme-light .hero h1 { color: var(--c-navy-900); }
  .hero p.lead {
    max-width: 640px; margin: 0 auto 36px;
    font-size: 18px;
  }
  .hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

  .hero-trust {
    margin-top: 80px;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px; align-items: center;
    padding: 22px 32px;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
  }
  .trust-item {
    display: flex; align-items: center; gap: 14px;
    color: var(--c-muted); font-size: 13px; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
    justify-content: center;
  }
  .trust-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c-line);
    display: grid; place-items: center;
    color: var(--c-blue-300);
    font-weight: 800; font-size: 14px;
    font-family: 'Oswald';
  }
  .trust-item.red .trust-icon { color: var(--c-red-300); }
  body.theme-light .trust-item.red .trust-icon { color: var(--c-red-500); }
  body.theme-light .trust-icon { color: var(--c-blue-500); background: rgba(31,95,214,0.06); }

  @media (max-width: 700px) {
    .hero-trust { grid-template-columns: 1fr 1fr; }
  }

  /* ---------- SECTIONS ---------- */
  section { padding: 110px 0; position: relative; }
  .section-head { display: flex; gap: 60px; align-items: end; margin-bottom: 60px; flex-wrap: wrap; }
  .section-head h2 { flex: 1 1 400px; }
  .section-head p { flex: 1 1 320px; max-width: 460px; font-size: 17px; }

  /* ---------- PROBLEMS ---------- */
  .problems {
    background: var(--c-cream);
    color: #0f1c33;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin-top: -1px;
  }
  body.theme-light .problems { background: #fff; border-top: 1px solid var(--c-line); }
  .problems h2 { color: #0f1c33; }
  .problems p { color: #5a6a83; }
  .problems-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 22px;
  }
  .problem-card {
    background: #fff;
    border: 1px solid #e6ebf3;
    border-radius: var(--card-radius, var(--radius-lg));
    padding: 30px 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
  }
  .problem-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(15,28,51,0.18); border-color: var(--c-blue-300); }
  .problem-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(31,95,214,0.10);
    color: var(--c-blue-500);
    margin-bottom: 22px;
  }
  .problem-card.red .problem-icon { background: rgba(200,37,43,0.10); color: var(--c-red-500); }
  .problem-card h3 { color: #0f1c33; margin-bottom: 10px; font-size: 19px; }
  .problem-card p { font-size: 15px; }
  .problem-card.cta {
    background: linear-gradient(160deg, var(--c-blue-500), var(--c-blue-400) 60%, var(--c-red-500));
    color: #fff;
    border: none;
    display: flex; flex-direction: column; justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-blue);
  }
  .problem-card.cta h3 { color: #fff; font-size: 22px; line-height: 1.2; }
  .problem-card.cta .btn { align-self: flex-start; }
  .problems-headline {
    grid-column: span 1;
    display: flex; align-items: center;
  }
  @media (max-width: 1000px) {
    .problems-grid { grid-template-columns: 1fr 1fr; }
    .problems-headline { grid-column: 1/-1; }
  }
  @media (max-width: 600px) {
    .problems-grid { grid-template-columns: 1fr; }
  }

  /* ---------- SERVICES ---------- */
  .services { background: var(--c-navy-900); }
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  }
  .service-card {
    background: var(--c-card);
    border: 1px solid var(--c-line);
    border-radius: var(--card-radius, var(--radius-lg));
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
  }
  .service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(58,124,240,0.4);
    box-shadow: 0 28px 60px -28px rgba(31,95,214,0.45);
  }
  .service-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--c-navy-700), var(--c-navy-600));
    position: relative;
    overflow: hidden;
  }
  .service-img img { width: 100%; height: 100%; object-fit: cover; }
  .service-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
  .service-body h3 { color: var(--c-text); }
  .service-body p { font-size: 15px; flex: 1; }
  .service-body .btn { align-self: flex-start; padding: 11px 20px; font-size: 14px; }

  @media (max-width: 960px) { .services-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

  /* ---------- WHY US ---------- */
  .whyus { background: var(--c-cream); color: #0f1c33; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  body.theme-light .whyus { background: var(--c-navy-700); }
  .whyus h2 { color: #0f1c33; }
  body.theme-light .whyus h2 { color: var(--c-text); }
  .whyus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
  .whyus-img {
    border-radius: var(--card-radius, var(--radius-lg));
    overflow: hidden; aspect-ratio: 4/3; background: var(--c-navy-700);
    box-shadow: 0 30px 70px -30px rgba(15,28,51,0.4);
  }
  .whyus-img img { width: 100%; height: 100%; object-fit: cover; }
  .why-points { display: grid; gap: 28px; }
  .why-point { display: flex; gap: 18px; align-items: flex-start; }
  .why-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(160deg, var(--c-blue-500), var(--c-blue-400));
    color: #fff;
    display: grid; place-items: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-blue);
  }
  .why-point.red .why-icon { background: linear-gradient(160deg, var(--c-red-500), var(--c-red-400)); box-shadow: var(--shadow-red); }
  .why-point h3 { color: #0f1c33; margin-bottom: 6px; }
  body.theme-light .why-point h3 { color: var(--c-text); }
  .why-point p { font-size: 15px; color: #5a6a83; }
  body.theme-light .why-point p { color: var(--c-muted); }

  @media (max-width: 900px) {
    .whyus-grid { grid-template-columns: 1fr; gap: 40px; }
  }

  /* ---------- PROCESS ---------- */
  .process { background: var(--c-navy-900); }
  .process-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; margin-bottom: 70px; }
  .process-head .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--c-line); }
  .step {
    padding: 36px 28px 36px 0;
    border-right: 1px solid var(--c-line);
    position: relative;
  }
  .step:last-child { border-right: none; padding-right: 0; }
  .step:not(:first-child) { padding-left: 32px; }
  .step .num {
    font-family: 'Oswald'; font-weight: 700; font-size: 56px;
    color: var(--c-blue-400);
    line-height: 1; margin-bottom: 22px;
    display: block;
  }
  .step:nth-child(2) .num { color: var(--c-red-400); }
  .step:nth-child(3) .num { color: var(--c-blue-400); }
  .step:nth-child(4) .num { color: var(--c-red-400); }
  .step h3 { font-size: 19px; margin-bottom: 10px; color: var(--c-text); }
  .step p { font-size: 15px; }
  @media (max-width: 900px) {
    .process-head { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step:nth-child(2) { border-right: none; }
    .step { border-bottom: 1px solid var(--c-line); }
  }
  @media (max-width: 500px) {
    .steps { grid-template-columns: 1fr; }
    .step { border-right: none; }
  }

  /* ---------- REVIEWS ---------- */
  .reviews-section { background: var(--c-cream); color: #0f1c33; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  body.theme-light .reviews-section { background: #fff; }
  .reviews-section h2 { color: #0f1c33; }
  body.theme-light .reviews-section h2 { color: var(--c-text); }
  .reviews-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 50px; gap: 30px; flex-wrap: wrap; }
  .google-pill {
    background: #fff;
    border: 1px solid #e6ebf3;
    border-radius: var(--radius-pill);
    padding: 12px 22px;
    display: inline-flex; align-items: center; gap: 14px;
    font-weight: 600; font-size: 14px;
    color: #0f1c33;
    box-shadow: 0 8px 24px -10px rgba(15,28,51,0.12);
  }
  .google-pill .stars { color: #f5a623; letter-spacing: 2px; }
  .reviews-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  }
  .review-card {
    background: #fff;
    border: 1px solid #e6ebf3;
    border-radius: var(--card-radius, var(--radius-lg));
    padding: 28px;
    display: flex; flex-direction: column; gap: 16px;
    position: relative;
  }
  .review-top { display: flex; align-items: center; justify-content: space-between; }
  .review-stars { color: #f5a623; font-size: 16px; letter-spacing: 2px; }
  .g-icon {
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    font-family: 'Manrope'; font-weight: 800; font-size: 14px;
    background: conic-gradient(from 90deg, #4285F4 0 25%, #34A853 25% 50%, #FBBC05 50% 75%, #EA4335 75% 100%);
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
  }
  .review-text { color: #0f1c33; font-size: 15px; line-height: 1.6; flex: 1; }
  .review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #eee; }
  .author-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    color: #fff; font-weight: 700; font-size: 15px;
  }
  .author-name { font-weight: 700; color: #0f1c33; font-size: 14px; }
  .author-when { color: #5a6a83; font-size: 12px; }

  .reviews-cta { margin-top: 36px; display: flex; justify-content: center; }
  .reviews-cta a {
    color: var(--c-blue-500); font-weight: 700; font-size: 15px;
    border-bottom: 1px solid var(--c-blue-500);
    padding-bottom: 2px;
  }

  @media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

  /* ---------- BRANDS ---------- */
  .brands { background: var(--c-cream); color: #0f1c33; padding: 70px 0 110px; }
  body.theme-light .brands { background: #fff; }
  .brands h2 { color: #0f1c33; font-size: 32px; margin-bottom: 36px; }
  body.theme-light .brands h2 { color: var(--c-text); }
  .brands-row {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 28px; align-items: center;
  }
  .brand-cell {
    font-family: 'Oswald'; font-weight: 700;
    font-size: 22px; letter-spacing: 0.04em;
    color: #0f1c33;
    text-align: center;
    opacity: 0.85;
    padding: 18px 6px;
    border-bottom: 1px dashed rgba(15,28,51,0.2);
  }
  body.theme-light .brand-cell { color: var(--c-text); border-bottom-color: var(--c-line); }
  .brand-cell.red { color: var(--c-red-500); }
  .brand-cell.blue { color: var(--c-blue-500); }
  @media (max-width: 900px) { .brands-row { grid-template-columns: repeat(3, 1fr); } }

  /* ---------- MAP + FORM ---------- */
  .contact { background: var(--c-navy-900); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
  .map-wrap {
    border-radius: var(--card-radius, var(--radius-lg));
    overflow: hidden;
    border: 1px solid var(--c-line);
    background: var(--c-card);
    min-height: 540px;
    position: relative;
  }
  .map-wrap iframe { width: 100%; height: 100%; border: 0; min-height: 540px; }
  .map-pill {
    position: absolute; top: 14px; left: 14px;
    background: var(--c-cream); color: #0f1c33;
    padding: 8px 14px; border-radius: var(--radius-pill);
    font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .map-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-red-500); animation: pulse 2s infinite; }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(200,37,43,0.6); }
    70% { box-shadow: 0 0 0 8px rgba(200,37,43,0); }
    100% { box-shadow: 0 0 0 0 rgba(200,37,43,0); }
  }

  .form-card {
    background: var(--c-card);
    border: 1px solid var(--c-line);
    border-radius: var(--card-radius, var(--radius-lg));
    padding: 40px;
    display: flex; flex-direction: column; gap: 18px;
  }
  .form-card h2 { font-size: 36px; }
  .form-card .form-sub { font-size: 15px; margin-bottom: 8px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label {
    font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--c-muted);
  }
  .field input, .field select, .field textarea {
    background: var(--c-navy-900);
    border: 1px solid var(--c-line);
    color: var(--c-text);
    padding: 14px 16px;
    border-radius: 12px;
    font-family: inherit; font-size: 15px;
    transition: border-color .15s, background .15s;
  }
  body.theme-light .field input, body.theme-light .field select, body.theme-light .field textarea {
    background: #fff;
  }
  .field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--c-blue-400);
    background: rgba(31,95,214,0.05);
  }
  .field textarea { min-height: 110px; resize: vertical; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .file-field {
    display: flex; align-items: center; gap: 14px;
    border: 1px dashed var(--c-line);
    padding: 14px 16px; border-radius: 12px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
  }
  .file-field:hover { border-color: var(--c-blue-400); background: rgba(31,95,214,0.04); }
  .file-field input { display: none; }
  .file-field .ico {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(31,95,214,0.12); color: var(--c-blue-300);
    display: grid; place-items: center;
  }
  .file-field .meta { display: flex; flex-direction: column; }
  .file-field .meta strong { color: var(--c-text); font-size: 14px; }
  .file-field .meta span { color: var(--c-muted); font-size: 12px; }
  .form-card button[type="submit"] {
    margin-top: 8px;
    padding: 16px 28px;
    background: linear-gradient(180deg, var(--c-red-400), var(--c-red-500));
    color: #fff;
    font-weight: 700; font-size: 16px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-red);
    transition: transform .15s;
  }
  .form-card button[type="submit"]:hover { transform: translateY(-1px); }
  .form-success {
    display: none; padding: 16px 18px; border-radius: 12px;
    background: rgba(34, 200, 110, 0.12); border: 1px solid rgba(34,200,110,0.3);
    color: #5be393; font-size: 14px; font-weight: 600;
  }
  .form-success.show { display: block; }

  @media (max-width: 1000px) {
    .contact-grid { grid-template-columns: 1fr; }
    .map-wrap, .map-wrap iframe { min-height: 360px; }
  }

  /* ---------- FOOTER ---------- */
  footer {
    background: var(--c-navy-800);
    border-top: 1px solid var(--c-line);
    padding: 80px 0 36px;
  }
  .foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 50px; margin-bottom: 56px; }
  .foot-brand img { height: 64px; margin-bottom: 18px; }
  .foot-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; }
  .foot-col h4 {
    font-family: 'Manrope'; font-weight: 800;
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 22px;
  }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
  .foot-col a { font-size: 15px; font-weight: 500; color: var(--c-text); transition: color .15s; }
  .foot-col a:hover { color: var(--c-red-400); }
  .foot-contact { display: grid; gap: 14px; font-size: 15px; }
  .foot-contact .row { display: flex; align-items: flex-start; gap: 10px; }
  .foot-contact .row svg { flex-shrink: 0; color: var(--c-blue-400); margin-top: 2px; }
  .foot-bottom {
    border-top: 1px solid var(--c-line);
    padding-top: 26px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    color: var(--c-muted); font-size: 13px;
  }
  .foot-bottom a { color: var(--c-muted); }
  .foot-bottom a:hover { color: var(--c-text); }
  @media (max-width: 900px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px) {
    .foot-grid { grid-template-columns: 1fr; }
  }

  /* ---------- DEC ---------- */
  .deco-flag {
    position: absolute; top: -1px; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--c-blue-500) 0 33%, #fff 33% 66%, var(--c-red-500) 66%);
    opacity: 0.75;
  }


/* ============ CALCULATOR PAGE ============ */
/* CALC HERO */
  .calc-stage {
    min-height: 100vh;
    padding: 160px 24px 80px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .calc-stage::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(60% 50% at 50% 30%, rgba(31,95,214,0.18), transparent 70%),
      radial-gradient(50% 40% at 50% 80%, rgba(200,37,43,0.12), transparent 70%);
    z-index: 0;
  }
  .calc-stage::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    z-index: 0;
  }
  .calc-inner { position: relative; z-index: 1; max-width: 720px; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--c-red-400); font-weight: 700; font-size: 13px;
    letter-spacing: 0.18em; text-transform: uppercase;
    margin-bottom: 24px;
  }
  .eyebrow::before, .eyebrow::after { content:""; width:28px; height:1px; background: currentColor; opacity:.6; }

  h1 { font-size: clamp(48px, 7vw, 96px); margin-bottom: 24px; }
  h1 .accent { color: var(--c-red-400); }

  .lead { font-size: 18px; max-width: 560px; margin: 0 auto 40px; }

  .badge {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 10px 22px; border-radius: 999px;
    background: rgba(31,95,214,0.12);
    border: 1px solid rgba(58,124,240,0.3);
    color: var(--c-blue-300);
    font-weight: 700; font-size: 13px;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 36px;
  }
  .badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--c-blue-400);
    animation: ping 2s infinite; }
  @keyframes ping {
    0%   { box-shadow: 0 0 0 0 rgba(58,124,240,0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(58,124,240,0); }
    100% { box-shadow: 0 0 0 0 rgba(58,124,240,0); }
  }

  /* Soon visual */
  .soon-visual {
    display: flex; justify-content: center; align-items: center;
    gap: 18px; margin-bottom: 30px;
    font-family: 'Oswald'; font-weight: 700;
    font-size: clamp(56px, 9vw, 130px);
    line-height: 1;
    letter-spacing: 0.04em;
  }
  .soon-visual .digit {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--c-line);
    border-radius: 22px;
    color: var(--c-text);
  }
  .soon-visual .digit.red { color: var(--c-red-400); border-color: rgba(226,58,63,0.3); background: rgba(200,37,43,0.08); }
  .soon-visual .digit.blue { color: var(--c-blue-300); border-color: rgba(58,124,240,0.3); background: rgba(31,95,214,0.08); }

  .ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 700; font-size: 15px;
    transition: transform .15s, box-shadow .2s;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-red {
    background: linear-gradient(180deg, var(--c-red-400), var(--c-red-500));
    color: #fff; box-shadow: 0 14px 40px -12px rgba(200,37,43,0.55);
  }
  .btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--c-text);
    border: 1px solid var(--c-line);
  }

  .meta-row {
    margin-top: 60px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 18px; max-width: 720px; width: 100%;
  }
  .meta {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--c-line);
    border-radius: 16px;
    padding: 22px 18px;
    text-align: left;
  }
  .meta strong {
    display: block;
    font-family: 'Oswald'; color: var(--c-text);
    font-size: 22px; font-weight: 700;
    margin-bottom: 6px;
  }
  .meta strong.b { color: var(--c-blue-300); }
  .meta strong.r { color: var(--c-red-400); }
  .meta span { font-size: 13px; color: var(--c-muted); }
  @media (max-width: 700px) {
    .meta-row { grid-template-columns: 1fr; }
  }


/* ---------- BG LOGO WATERMARK ---------- */
.bg-logo-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90vw;
  background: url('../img/maclaf-logo.png') center / contain no-repeat;
  filter: blur(2px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

/* WordPress core classes */
.skip-link.screen-reader-text{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link.screen-reader-text:focus{left:6px;top:7px;width:auto;height:auto;background:#fff;color:#0f1c33;padding:8px 14px;z-index:100;border-radius:8px}
.alignleft{float:left;margin-right:1.5em}
.alignright{float:right;margin-left:1.5em}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%;margin-bottom:1em}
.wp-caption-text{font-size:13px;color:var(--c-muted);text-align:center}
.page-section{padding:160px 0 100px}
.page-header{margin-bottom:40px}
.custom-logo{height:var(--logo-h,44px)!important;width:auto!important}
.foot-brand .custom-logo{height:64px!important}
.nav-links{list-style:none;padding:0;margin:0}
.nav-links li{display:inline-block}
.nav-links li a{display:inline-block;padding:6px 2px;color:#0f1c33;font-weight:600;font-size:15px;margin:0 16px}
.nav-links li.current-menu-item a,.nav-links li a:hover{color:var(--c-red-500)}

/* ---------- MACLAF vNext: calculator theme + stronger mobile nav ---------- */
.nav .nav-links,
.nav .nav-links li,
.nav .nav-links a {
  list-style: none;
}

@media (max-width: 880px) {
  .nav { align-items: center; }
  .nav .nav-links,
  .nav .nav-links.open {
    display: flex !important;
    z-index: 90;
  }
  .nav .nav-links {
    width: 100%;
  }
  .nav .nav-links li,
  .nav .nav-links.open li {
    display: block !important;
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .nav .nav-links li a,
  .nav .nav-links.open li a {
    color: #0f1c33 !important;
    font-weight: 700;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

.page-template-page-calculator .site-content,
.page-id .site-content {
  position: relative;
  z-index: 1;
}

.page-template-page-calculator .wp-block-columns,
.page-template-page-calculator .wp-block-group,
.page-template-page-calculator .wp-block-column {
  gap: 28px;
}

.page-template-page-calculator .container > div:first-child,
.page-template-page-calculator .wp-block-columns {
  align-items: stretch;
}

.page-template-page-calculator .wp-block-column > div,
.page-template-page-calculator .wp-block-shortcode > div,
.page-template-page-calculator .site-content .wp-block-columns .wp-block-column > div,
.page-template-page-calculator .site-content [id^="hvac"],
.page-template-page-calculator .site-content [id^="mini"],
.page-template-page-calculator .site-content .wp-block-column > *:first-child {
  border-radius: 24px !important;
}

/* Calculator cards */
.page-template-page-calculator .site-content .wp-block-columns .wp-block-column > div,
.page-template-page-calculator .site-content .wp-block-column > div,
.page-template-page-calculator .site-content .wp-block-shortcode > div,
.page-template-page-calculator .site-content .wp-block-columns .wp-block-column > *:first-child,
.page-template-page-calculator .site-content .wp-block-shortcode > *:first-child,
.page-template-page-calculator .site-content > section div[style*="max-width:700px"],
.page-template-page-calculator .site-content > section div[style*="max-width:400px"] {
  background: linear-gradient(180deg, rgba(17,32,58,0.96), rgba(10,20,36,0.96)) !important;
  color: var(--c-text) !important;
  border: 1px solid rgba(110,160,255,0.16) !important;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.65), inset 0 0 0 1px rgba(255,255,255,0.02) !important;
}

.page-template-page-calculator .site-content h1,
.page-template-page-calculator .site-content h2,
.page-template-page-calculator .site-content h3,
.page-template-page-calculator .site-content h4,
.page-template-page-calculator .site-content label,
.page-template-page-calculator .site-content p,
.page-template-page-calculator .site-content span,
.page-template-page-calculator .site-content strong,
.page-template-page-calculator .site-content div {
  color: inherit;
}

.page-template-page-calculator .site-content .wp-block-column h1,
.page-template-page-calculator .site-content .wp-block-column h2,
.page-template-page-calculator .site-content .wp-block-column h3,
.page-template-page-calculator .site-content .wp-block-column h4,
.page-template-page-calculator .site-content h2,
.page-template-page-calculator .site-content h3 {
  color: #eef4ff !important;
}

.page-template-page-calculator input[type="text"],
.page-template-page-calculator input[type="number"],
.page-template-page-calculator input[type="tel"],
.page-template-page-calculator input[type="email"],
.page-template-page-calculator select,
.page-template-page-calculator textarea {
  width: 100%;
  background: rgba(255,255,255,0.08) !important;
  color: #eef4ff !important;
  border: 1px solid rgba(110,160,255,0.18) !important;
  border-radius: 12px !important;
  min-height: 44px;
  box-shadow: none !important;
}

.page-template-page-calculator input::placeholder,
.page-template-page-calculator textarea::placeholder {
  color: #9bb0ce !important;
}

.page-template-page-calculator select option {
  color: #0f1c33;
}

.page-template-page-calculator button,
.page-template-page-calculator input[type="button"],
.page-template-page-calculator input[type="submit"] {
  border-radius: 12px !important;
  font-weight: 700 !important;
}

.page-template-page-calculator button[onclick*="sendCode"],
.page-template-page-calculator button[onclick*="runCalc"],
.page-template-page-calculator button[onclick*="show"],
.page-template-page-calculator input[type="submit"] {
  background: linear-gradient(180deg, var(--c-blue-400), var(--c-blue-500)) !important;
  color: #fff !important;
}

.page-template-page-calculator button[onclick*="verify"],
.page-template-page-calculator button[onclick*="Verify"] {
  background: linear-gradient(180deg, #17a34a, #0d8b37) !important;
  color: #fff !important;
}

.page-template-page-calculator .site-content .wp-block-columns {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .page-template-page-calculator .site-content .wp-block-columns {
    flex-direction: column !important;
  }
  .page-template-page-calculator .site-content .wp-block-column {
    flex-basis: 100% !important;
  }
}

@media (max-width: 640px) {
  .page-template-page-calculator .site-content > section:first-child {
    padding-top: 130px !important;
    padding-bottom: 34px !important;
  }
  .page-template-page-calculator .site-content > section:first-child h1 {
    font-size: clamp(34px, 11vw, 52px) !important;
  }
  .page-template-page-calculator .site-content > section:nth-child(2) {
    padding-top: 30px !important;
  }
  .page-template-page-calculator .site-content .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-template-page-calculator .site-content .wp-block-column > div,
  .page-template-page-calculator .site-content .wp-block-shortcode > div,
  .page-template-page-calculator .site-content > section div[style*="max-width:700px"],
  .page-template-page-calculator .site-content > section div[style*="max-width:400px"] {
    padding: 18px !important;
  }
}


/* ---------- MOBILE NAV HARDENING ---------- */
@media (max-width: 880px) {
  .nav { align-items: center; }
  .nav-links { z-index: 80; }
  .nav-links.open { display: flex !important; }
  .nav-links li,
  .nav-links li a { opacity: 1 !important; visibility: visible !important; }
}
