/* ===== OPTECOS — Growth Marketing page CSS (latest approved design) ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

  body { font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

  button { font: inherit; cursor: pointer; border: none; background: none; }

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

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

  :focus-visible { outline: 2px solid #C6A76A; outline-offset: 3px; border-radius: 2px; }


  /* Skip link */
  .g-skip {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink-navy, #17243A); color: #F8F7F3;
    padding: 12px 20px; z-index: 200; border-radius: 0 0 6px 0;
    font-size: 14px;
  }

  .g-skip:focus { left: 0; }


  /* ===== Tokens ===== */
  .g-wrap {
    --warm-white: #F8F7F3;
    --ivory-2: #F2F0E9;
    --ink-navy: #17243A;
    --navy-70: rgba(23,36,58,0.70);
    --navy-50: rgba(23,36,58,0.50);
    --navy-15: rgba(23,36,58,0.15);
    --navy-10: rgba(23,36,58,0.10);
    --navy-08: rgba(23,36,58,0.08);
    --navy-04: rgba(23,36,58,0.04);
    --muted-gold: #C6A76A;
    --apricot: #E9B99A;
    background: var(--warm-white); color: var(--ink-navy);
    font-family: 'Inter', sans-serif;
  }

  .g-wrap em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; }


  /* ===== Global Nav (ported from Cloud & DevOps page) ===== */

  



  



  



/* ============================================================
     OPTECOS GLOBAL NAVIGATION (reusable component) — v6
     START: optecos-nav
     ============================================================ */
  



  



  



  




  



  



  



  



  



  




  



  




  



  



  




  



  




  /* --- Mega menu --- anchored to the nav__inner, width-capped to prevent overflow --- */
  



  



  



  



  



  



  



  



  



  /* Offerings are informational text — no hover, no pointer, no link styling. */
  



  



  



  



  




  /* --- Mobile menu --- */
  



  



  



  



  



  



  



  



  



  



  




  /* Nested category trigger inside Services */
  



  



  



  



  



  



  /* Offerings on mobile are informational text — not links. */
  



  



  



  



  


  .c-skip {
    position: absolute; left: -9999px; top: 0;
    background: #17243A; color: #F8F7F3;
    padding: 12px 20px; z-index: 200; border-radius: 0 0 6px 0;
    font-size: 14px;
  }

  .c-skip:focus { left: 0; }


  /* ===== Tokens ===== */
  .c-wrap {
    --warm-white: #F8F7F3;
    --ivory-2: #F2F0E9;
    --ink-navy: #17243A;
    --navy-70: rgba(23,36,58,0.70);
    --navy-50: rgba(23,36,58,0.50);
    --navy-15: rgba(23,36,58,0.15);
    --navy-10: rgba(23,36,58,0.10);
    --navy-08: rgba(23,36,58,0.08);
    --navy-04: rgba(23,36,58,0.04);
    --muted-gold: #C6A76A;
    --apricot: #E9B99A;
    --sky-blue: #A8C8EC;
    background: var(--warm-white); color: var(--ink-navy);
    font-family: 'Inter', sans-serif;
  }

  .c-wrap em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; }


  
  /* ===== Shared logo styles (used by nav and footer) ===== */
  .c-logo { display: inline-flex; align-items: center; line-height: 1; }

  


  /* --- Nav responsive --- */
  
  
  

  /* ===== Buttons ===== */
  .g-btn-primary {
    padding: 15px 28px; border-radius: 100px; background: var(--ink-navy);
    color: var(--warm-white); font-size: 14px; font-weight: 500;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: transform 0.2s, background 0.2s;
    min-height: 48px;
  }
  .g-btn-primary:hover { transform: translateY(-2px); background: #0d1626; }
  .g-btn-primary::after { content: '→'; transition: transform 0.2s; }
  .g-btn-primary:hover::after { transform: translateX(4px); }
  .g-form-privacy { font-size: 13px; color: var(--navy-50); margin: 0; }
  .g-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

  /* ================= HERO ================= */
  /* 8pt rhythm. Headline cap-height sits level with the list label;
     the button's bottom edge sits on the list's last divider. */
  .g-hero {
    padding: 80px 48px 96px;
    border-bottom: 1px solid var(--navy-08);
  }
  .g-hero-inner {
    max-width: 1120px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr 1fr;
    gap: 80px; align-items: stretch;
  }
  .g-hero-right { padding: 0; }
  .g-hero-left { display: flex; flex-direction: column; align-items: flex-start; }
  .g-hero-left .g-hero-ctas { margin-top: auto; }
  .g-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 500; line-height: 1.05;
    letter-spacing: -0.028em;
    margin-top: calc(3px - 0.162em);
    margin-bottom: 24px;
    max-width: 100%;
  }
  .g-h1-lead, .g-h1-end { display: block; }
  .g-hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 17px; line-height: 1.6;
    color: var(--navy-70);
    max-width: 36ch;
    margin-bottom: 32px;
  }
  .g-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

  .g-hero-right-label {
    font-size: 13px; color: var(--navy-50);
    letter-spacing: 0.08em; text-transform: uppercase;
    font-weight: 500; line-height: 16px;
    margin-bottom: 16px;
  }
  .g-hero-list { list-style: none; margin: 0; padding: 0; }
  .g-hero-list li { margin: 0; }
  .g-hero-list a {
    display: grid; grid-template-columns: 1fr auto; align-items: center;
    padding: 0; min-height: 56px;
    border-bottom: 1px solid var(--navy-15);
    font-size: 17px; font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink-navy);
    transition: color 0.2s, padding 0.2s;
  }
  .g-hero-list a:hover { color: var(--muted-gold); padding-left: 6px; }
  .g-hero-list a .num {
    font-family: 'Inter', sans-serif;
    font-size: 14px; color: var(--navy-50);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
  }

  /* ================= PROBLEMS ================= */
  .g-problems {
    padding: 110px 48px;
    background: var(--ivory-2);
    border-bottom: 1px solid var(--navy-08);
  }
  .g-problems-inner { max-width: 1120px; margin: 0 auto; }
  .g-problems h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 56px; max-width: 22ch; text-wrap: balance; }
  .g-problems h2 em { font-weight: 400; }
  /* Problems — all four shown at once, 2x2 on desktop */
  .g-prob-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 56px 72px;
    list-style: none; margin: 0; padding: 0;
  }
  .g-prob-item { border-top: 1px solid var(--navy-15); padding-top: 24px; }
  .g-prob-icon {
    display: block; width: 64px; height: 64px;
    color: var(--muted-gold);
    margin-bottom: 18px;
  }
  .g-prob-icon .soft { stroke: var(--navy-50); color: var(--navy-50); }
  .g-prob-icon circle.soft { fill: var(--navy-50); }
  .g-prob-icon .tint { fill: rgba(198,167,106,0.18); }
  .g-prob-item h3 {
    font-size: clamp(21px, 2.2vw, 26px); font-weight: 500;
    letter-spacing: -0.02em; line-height: 1.2;
    margin-bottom: 12px; text-wrap: balance;
  }
  .g-prob-item p { font-size: 16px; line-height: 1.65; color: var(--navy-70); max-width: 46ch; }

  /* ================= SERVICES (accordion) ================= */
  .g-services {
    padding: 110px 48px;
    background: var(--warm-white);
    border-bottom: 1px solid var(--navy-08);
  }
  .g-services-inner { max-width: 1120px; margin: 0 auto; }
  .g-services h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 64px; max-width: 22ch; text-wrap: balance; }
  .g-services h2 em { font-weight: 400; }

  .g-acc-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: start;
  }
  .g-acc-list { list-style: none; margin: 0; padding: 0; }
  .g-acc-list li { margin: 0; }
  .g-acc-trigger {
    width: 100%;
    display: grid; grid-template-columns: 40px 1fr auto; align-items: center;
    gap: 16px;
    padding: 24px 20px;
    background: transparent; border: 0;
    border-bottom: 1px solid var(--navy-15);
    text-align: left; cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 17px; font-weight: 500;
    letter-spacing: -0.012em; color: var(--ink-navy);
    transition: background 0.2s, border-left-color 0.2s;
    border-left: 3px solid transparent;
    min-height: 48px;
  }
  .g-acc-list li:first-child .g-acc-trigger { border-top: 1px solid var(--navy-15); }
  .g-acc-trigger .num {
    font-family: 'Inter', sans-serif;
    font-size: 14px; color: var(--navy-50); font-weight: 500;
    font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
  }
  .g-acc-trigger[aria-selected="true"] .num { color: var(--muted-gold); }
  .g-acc-trigger .name { line-height: 1.3; }
  .g-acc-trigger .icon {
    width: 18px; height: 18px; position: relative; flex-shrink: 0;
  }
  .g-acc-trigger .icon::before, .g-acc-trigger .icon::after {
    content: ''; position: absolute; background: var(--muted-gold);
  }
  .g-acc-trigger .icon::before { top: 8.5px; left: 0; right: 0; height: 1.5px; }
  .g-acc-trigger .icon::after {
    top: 0; bottom: 0; left: 8.5px; width: 1.5px;
  }
  .g-acc-trigger[aria-selected="true"] {
    background: var(--ivory-2);
    border-left-color: var(--muted-gold);
  }
  /* Mobile only: "+" becomes "−" when open; tapping an open service collapses it.
     Desktop always keeps one service open. */
  /* Only the icon of the service being opened animates; the one closing resets instantly */
  .g-acc-trigger[aria-selected="true"] .icon { transition: transform 0.35s cubic-bezier(0.4, 0.0, 0.2, 1); }
  .g-acc-trigger[aria-selected="true"] .icon::after { transition: transform 0.25s; }
  /* Desktop: the "+" turns 90° when open */
  .g-acc-trigger[aria-selected="true"] .icon { transform: rotate(90deg); }
  @media (max-width: 860px) {
    .g-acc-trigger[aria-selected="true"] .icon { transform: none; }
    .g-acc-trigger[aria-selected="true"] .icon::after { transform: scaleY(0); }
  }
  .g-acc-trigger:hover:not([aria-selected="true"]) { background: rgba(23,36,58,0.03); }

  /* Top rule + padding line the description up with the first tab row */
  .g-acc-panels { position: relative; min-height: 360px; border-top: 1px solid var(--navy-15); padding-top: 24px; }
  .g-acc-panel { display: none; }
  .g-acc-panel.is-active { display: block; animation: gAccFade 0.3s ease; }
  @keyframes gAccFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .g-acc-panel h3 {
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 500; letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 18ch;
    color: var(--ink-navy);
  }
  /* Keep the panel title plain — no italic / no gold accent */
  .g-acc-panel h3 em {
    font-family: 'Inter', sans-serif; font-style: normal;
    color: inherit; font-weight: inherit;
  }
  .g-acc-panel p {
    font-size: 16px; line-height: 1.65; color: var(--navy-70);
    margin-bottom: 28px; max-width: 54ch;
  }
  .g-acc-deliv-label {
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--navy-50); font-weight: 500;
    margin-bottom: 14px;
  }
  .g-acc-deliv {
    display: flex; flex-direction: column; gap: 10px;
  }
  .g-acc-deliv-item {
    font-size: 14.5px; line-height: 1.5;
    display: flex; align-items: flex-start; gap: 12px;
    color: var(--ink-navy);
  }
  .g-acc-deliv-item::before {
    content: '';
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--muted-gold);
    margin-top: 10px; flex-shrink: 0;
  }

  /* ================= HOW WE WORK ================= */
  .g-process {
    padding: 110px 48px;
    background: var(--ivory-2);
    border-bottom: 1px solid var(--navy-08);
  }
  .g-process-inner { max-width: 1120px; margin: 0 auto; }
  .g-process h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 56px; max-width: 22ch; text-wrap: balance; }
  .g-process h2 em { font-weight: 400; }

  .g-steps {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
  }
  .g-steps::before {
    content: ''; position: absolute;
    top: 16px; left: 40px; right: 40px; height: 1px;
    background: var(--navy-15);
    z-index: 0;
  }
  .g-step { position: relative; z-index: 1; }
  .g-step-dot {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--ivory-2);
    border: 1.5px solid var(--muted-gold);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 12px; color: var(--muted-gold); font-weight: 500;
    font-variant-numeric: tabular-nums;
    margin-bottom: 20px;
    flex-shrink: 0;
  }
  .g-step h4 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.3; }
  .g-step p { font-size: 13.5px; line-height: 1.55; color: var(--navy-70); }

  /* ================= AUDIENCE ================= */
  .g-aud {
    padding: 110px 48px;
    background: var(--warm-white);
    border-bottom: 1px solid var(--navy-08);
  }
  .g-aud-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
  .g-aud h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 20px; text-wrap: balance; }
  .g-aud h2 em { font-weight: 400; }
  .g-aud-intro { font-size: 15.5px; line-height: 1.65; color: var(--navy-70); max-width: 42ch; }
  .g-aud-ul {
    list-style: none;
    display: flex; flex-direction: column; gap: 18px;
  }
  .g-aud-ul li {
    font-size: 16px; line-height: 1.55;
    padding-left: 24px; position: relative;
    color: var(--ink-navy);
    max-width: 58ch;
  }
  .g-aud-ul li::before {
    content: ''; position: absolute; left: 0; top: 10px;
    width: 10px; height: 1px;
    background: var(--muted-gold);
  }

  /* ================= FAQ ================= */
  .g-faq {
    padding: 110px 48px;
    background: var(--ivory-2);
    border-bottom: 1px solid var(--navy-08);
  }
  .g-faq-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 72px; align-items: start; }
  .g-faq h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 0; text-wrap: balance; }
  .g-faq h2 em { font-weight: 400; }
  .g-faq-list { border-top: 1px solid var(--navy-15); }
  .g-faq-item { border-bottom: 1px solid var(--navy-15); }
  .g-faq-q {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    width: 100%; padding: 22px 0; background: transparent; border: 0;
    text-align: left; cursor: pointer;
    font-family: 'Inter', sans-serif; font-size: 17px; color: var(--ink-navy);
    font-weight: 500; letter-spacing: -0.012em; line-height: 1.4;
    min-height: 48px;
  }
  .g-faq-q .icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
  .g-faq-q .icon::before, .g-faq-q .icon::after {
    content: ''; position: absolute; background: var(--muted-gold); transition: transform 0.25s;
  }
  .g-faq-q .icon::before { top: 9.5px; left: 0; right: 0; height: 1.5px; }
  .g-faq-q .icon::after { top: 0; bottom: 0; left: 9.5px; width: 1.5px; }
  .g-faq-item.open .g-faq-q .icon::after { transform: scaleY(0); }
  .g-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .g-faq-a-inner { padding: 0 0 22px; font-size: 15px; line-height: 1.7; color: var(--navy-70); max-width: 62ch; }

  /* ================= ENQUIRY (final CTA) ================= */
  .g-enquiry {
    padding: 110px 48px;
    background: var(--ink-navy); color: var(--warm-white);
  }
  .g-enquiry-inner {
    max-width: 1120px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start;
  }
  .g-enquiry-head h2 {
    font-size: clamp(32px, 4.4vw, 48px); font-weight: 500; line-height: 1.08;
    letter-spacing: -0.028em; margin-bottom: 20px;
    text-wrap: balance;
    color: var(--warm-white);
  }
  .g-enquiry-head h2 em { color: var(--muted-gold); font-weight: 400; }
  .g-enquiry-head p {
    font-size: 15.5px; line-height: 1.65;
    color: rgba(248,247,243,0.72);
    max-width: 44ch; margin-bottom: 24px;
  }
  .g-enquiry-after {
    margin-top: 32px; padding-top: 24px;
    border-top: 1px solid rgba(248,247,243,0.1);
  }
  .g-enquiry-after h3 {
    font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
    font-size: 15px; color: var(--muted-gold); margin-bottom: 12px;
  }
  .g-enquiry-after ol {
    list-style: none; counter-reset: a;
    display: flex; flex-direction: column; gap: 10px;
  }
  .g-enquiry-after li {
    counter-increment: a;
    font-size: 14px; color: rgba(248,247,243,0.8); line-height: 1.5;
    padding-left: 28px; position: relative;
  }
  .g-enquiry-after li::before {
    content: counter(a, decimal-leading-zero);
    position: absolute; left: 0; top: 0;
    font-family: 'Fraunces', serif; font-style: italic;
    color: var(--muted-gold); font-size: 13px;
  }

  /* Form */
  .g-form {
    background: rgba(248,247,243,0.04);
    border: 1px solid rgba(248,247,243,0.12);
    border-radius: 8px;
    padding: 32px;
    display: grid; gap: 18px;
  }
  .g-field { display: flex; flex-direction: column; gap: 6px; }
  .g-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .g-field label {
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted-gold); font-weight: 500;
  }
  .g-field label .opt { text-transform: none; letter-spacing: 0; color: rgba(248,247,243,0.4); font-weight: 400; margin-left: 4px; }
  .g-field input, .g-field select, .g-field textarea {
    width: 100%;
    background: rgba(248,247,243,0.03);
    border: 1px solid rgba(248,247,243,0.15);
    border-radius: 4px;
    padding: 12px 14px;
    color: var(--warm-white);
    font: inherit; font-size: 15px;
    transition: border-color 0.2s, background 0.2s;
  }
  .g-field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
  .g-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23C6A76A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
  .g-field input::placeholder, .g-field textarea::placeholder { color: rgba(248,247,243,0.35); }
  .g-field input:focus, .g-field select:focus, .g-field textarea:focus {
    outline: none;
    border-color: var(--muted-gold);
    background: rgba(248,247,243,0.06);
  }
  .g-field-error {
    font-size: 12.5px; color: var(--apricot); margin-top: 2px;
    display: none;
  }
  .g-field.has-error input, .g-field.has-error select, .g-field.has-error textarea {
    border-color: var(--apricot);
  }
  .g-field.has-error .g-field-error { display: block; }

  .g-form-foot {
    display: flex; flex-direction: column; gap: 14px;
    margin-top: 6px;
  }
  .g-form .g-btn-primary { background: var(--warm-white); color: var(--ink-navy); width: 100%; }
  .g-form .g-btn-primary:hover { background: #fff; }
  .g-form-fallback {
    font-size: 12.5px; color: rgba(248,247,243,0.55); text-align: center;
  }
  .g-form-fallback a { color: var(--muted-gold); border-bottom: 1px solid rgba(198,167,106,0.3); padding-bottom: 1px; }
  .g-form-status {
    font-size: 13.5px; padding: 12px 14px; border-radius: 4px;
    display: none;
  }
  .g-form-status.show { display: block; }
  .g-form-status.success {
    background: rgba(198,167,106,0.14);
    border: 1px solid rgba(198,167,106,0.4);
    color: var(--warm-white);
  }

  /* ================= FOOTER ================= */
  .g-footer {
    background: var(--ink-navy); color: var(--warm-white);
    padding: 64px 48px 24px;
    border-top: 1px solid rgba(248,247,243,0.08);
  }
  .g-footer-inner { max-width: 1120px; margin: 0 auto; }
  .g-footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 48px; }
  .g-footer-brand p { font-size: 13.5px; opacity: 0.6; line-height: 1.65; max-width: 320px; margin-top: 18px; }
  .g-footer-col h4 {
    font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
    font-size: 14px; color: var(--muted-gold); margin-bottom: 18px;
  }
  .g-footer-col ul { list-style: none; }
  .g-footer-col li { padding: 4px 0; }
  .g-footer-col a { font-size: 13.5px; opacity: 0.7; transition: opacity 0.2s; }
  .g-footer-col a:hover { opacity: 1; }
  .g-footer-bottom {
    padding-top: 24px; border-top: 1px solid rgba(248,247,243,0.08);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12.5px; opacity: 0.55; flex-wrap: wrap; gap: 16px;
  }
  .g-footer-bottom a { margin-left: 20px; }

  /* ================= RESPONSIVE ================= */
  @media (max-width: 1100px) {
    .g-hero-inner { gap: 56px; }
    .g-aud-inner, .g-faq-inner { grid-template-columns: 1fr; gap: 40px; }
    .g-enquiry-inner { grid-template-columns: 1fr; gap: 48px; }
    .g-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  }

  @media (max-width: 1024px) {
    .g-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .g-steps::before { display: none; }
    .g-acc-wrap { gap: 40px; }
  }

  @media (max-width: 860px) {
    .g-hero-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; }
    .g-hero-right { padding-top: 0; padding-bottom: 0; }
    .g-hero h1 { font-size: 34px; margin-top: 0; margin-bottom: 14px; max-width: 100%; }
    .g-hero-sub { font-size: 15px; margin-bottom: 20px; }
    .g-hero-right-label { font-size: 11px; letter-spacing: 0.1em; margin-bottom: 4px; }
    .g-hero-list a { padding: 14px 0; min-height: 48px; font-size: 15px; }
    .g-hero-list a .num { font-size: 13px; }

    .g-steps { grid-template-columns: 1fr; gap: 0; }
    .g-step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--navy-08); }
    .g-step:first-child { border-top: 0; padding-top: 0; }
    .g-step-dot { margin-bottom: 0; margin-top: 2px; }

    /* Services accordion collapses to a single-column standard accordion via JS */
    .g-acc-wrap { grid-template-columns: 1fr; gap: 0; }
    .g-acc-panels { display: none; }
    .g-acc-list li .g-acc-panel {
      padding: 20px 20px 32px 24px;
      border-bottom: 1px solid var(--navy-15);
      border-left: 3px solid var(--muted-gold);
      background: var(--ivory-2);
      margin-top: -1px;
    }
    .g-acc-list li .g-acc-panel.is-active { display: block; animation: none; }
    .g-acc-list li:not(:has(.g-acc-panel.is-active)) .g-acc-trigger { border-left-color: transparent; background: transparent; }
  }

  @media (max-width: 720px) {
    .g-hero, .g-problems, .g-services, .g-process, .g-aud, .g-faq, .g-enquiry {
      padding-left: 20px; padding-right: 20px;
    }
    .g-hero { padding-top: 36px; padding-bottom: 56px; }
    .g-problems, .g-services, .g-process, .g-aud, .g-faq, .g-enquiry { padding-top: 72px; padding-bottom: 72px; }
    .g-prob-grid { grid-template-columns: 1fr; gap: 36px; }
    .g-form { padding: 24px 20px; }
    .g-field-row { grid-template-columns: 1fr; gap: 18px; }
    .g-footer { padding: 48px 20px 20px; }
    .g-footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
    .g-footer-bottom { flex-direction: column; align-items: flex-start; }
    .g-footer-bottom a { margin-left: 0; }
    .g-acc-trigger { padding: 20px 16px; font-size: 16px; }
  }

  @media (max-width: 420px) {
    .g-hero h1 { font-size: 30px; line-height: 1.1; }
    .g-hero-sub { font-size: 14px; margin-bottom: 18px; }
    .g-hero .g-btn-primary { padding: 13px 22px; font-size: 13.5px; min-height: 44px; }
    .g-hero-list a { font-size: 14.5px; padding: 12px 0; }
    .g-hero-list a .num { font-size: 12.5px; }
    .g-problems h2, .g-services h2, .g-process h2, .g-aud h2, .g-faq h2 { font-size: 26px; }
    .g-enquiry-head h2 { font-size: 28px; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
  }

  .g-services, .g-acc-trigger { scroll-margin-top: 88px; }
  /* The tab already names the service, so the panel heading is hidden visually (kept for screen readers and no-JS) */
  .js .g-acc-panel h3 {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  /* No-JS fallback: show every service panel and FAQ answer, stacked */
  html:not(.js) .g-acc-list { display: none; }
  html:not(.js) .g-acc-wrap { display: block; }
  html:not(.js) .g-acc-panel, html:not(.js) .g-acc-panel[hidden] { display: block; margin-bottom: 40px; }
  html:not(.js) .g-faq-a { max-height: none; }
  html:not(.js) .g-faq-q .icon { display: none; }

  /* Reveal: content visible by default; JS hides only when .js is on <html> */
  .js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.in { opacity: 1; transform: translateY(0); }


  /* Align nav width with page content width */
  

/* Error state for the enquiry form status (added by the WordPress build). */
.g-form-status.error { background: rgba(233,185,154,0.16); border: 1px solid rgba(233,185,154,0.5); color: var(--warm-white); }
