/* =============================================================
   QWIRA-X v3  |  style.css
   Source: Canva PNG + PDF export (verified pixel-accurate)
   Theme: LIGHT — teal/blue accents, circuit-board motif
   ============================================================= */

   :root {
    /* ── Colors — sampled directly from exported pages ── */
    --bg-light        : #F4FDFC;   /* page background, lightest corner   */
    --bg-mid          : #E3EBEE;   /* page background, mid-tone          */
    --text-heading    : #09667F;   /* all headings, stat numbers, accent */
    --text-body       : #686868;   /* paragraph / body copy              */
    --text-body-dark  : #4A4A4A;   /* darker body variant                */
    --white           : #FFFFFF;
    --btn-grad-start  : #9BD3E8;   /* hero button gradient — left        */
    --btn-grad-end    : #2FB6C4;   /* hero button gradient — right       */
    --form-accent     : #03BCD4;   /* contact form top bar               */
    --card-shadow     : rgba(9, 102, 127, 0.12);
    --line-pattern    : rgba(180, 210, 215, 0.35); /* circuit line color */
  
    /* ── Typography ── */
    --font-display : 'Poppins', 'Segoe UI', sans-serif; /* bold geometric headings */
    --font-body    : 'Open Sans', sans-serif;
  
    /* ── Layout ── */
    --max-w   : 1240px;
    --gutter  : 6%;
    --nav-h   : 90px;
  }
  
  * , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  
  html { scroll-behavior: smooth; }
  
  body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--bg-light);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  
  .container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
  
  /* ── Reusable circuit-board background ──
     Bold overlapping square outlines + glowing node dots,
     matching the reference circuit-board motif, tiled as an SVG pattern. */
  .circuit-bg {
    position: relative;
    background:
      radial-gradient(circle at 90% 90%, #ffffff 0%, transparent 45%),
      radial-gradient(circle at 5% 0%, #eef7f7 0%, transparent 40%),
      linear-gradient(135deg, var(--bg-light) 0%, var(--bg-mid) 100%);
    overflow: hidden;
  }
  
  .circuit-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22320%22%20height%3D%22320%22%20viewBox%3D%220%200%20320%20320%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%238FDDD0%22%20stroke-width%3D%221.5%22%20opacity%3D%220.4%22%3E%20%3Crect%20x%3D%2220%22%20y%3D%2220%22%20width%3D%2290%22%20height%3D%2290%22/%3E%20%3Crect%20x%3D%2290%22%20y%3D%2260%22%20width%3D%22110%22%20height%3D%22110%22/%3E%20%3Crect%20x%3D%22170%22%20y%3D%2220%22%20width%3D%2290%22%20height%3D%2290%22/%3E%20%3Crect%20x%3D%2240%22%20y%3D%22150%22%20width%3D%22100%22%20height%3D%22100%22/%3E%20%3Crect%20x%3D%22180%22%20y%3D%22160%22%20width%3D%22100%22%20height%3D%22100%22/%3E%20%3Crect%20x%3D%22120%22%20y%3D%22220%22%20width%3D%2280%22%20height%3D%2280%22/%3E%20%3C/g%3E%20%3Cg%20fill%3D%22%23ffffff%22%20stroke%3D%22%238FDDD0%22%20stroke-width%3D%221%22%20opacity%3D%220.55%22%3E%20%3Ccircle%20cx%3D%2220%22%20cy%3D%2220%22%20r%3D%224%22/%3E%20%3Ccircle%20cx%3D%22110%22%20cy%3D%2220%22%20r%3D%223%22/%3E%20%3Ccircle%20cx%3D%2290%22%20cy%3D%2260%22%20r%3D%225%22/%3E%20%3Ccircle%20cx%3D%22200%22%20cy%3D%2260%22%20r%3D%224%22/%3E%20%3Ccircle%20cx%3D%22170%22%20cy%3D%2220%22%20r%3D%223%22/%3E%20%3Ccircle%20cx%3D%22260%22%20cy%3D%2220%22%20r%3D%224%22/%3E%20%3Ccircle%20cx%3D%2290%22%20cy%3D%22170%22%20r%3D%224%22/%3E%20%3Ccircle%20cx%3D%22200%22%20cy%3D%22170%22%20r%3D%225%22/%3E%20%3Ccircle%20cx%3D%2240%22%20cy%3D%22150%22%20r%3D%223%22/%3E%20%3Ccircle%20cx%3D%22140%22%20cy%3D%22150%22%20r%3D%224%22/%3E%20%3Ccircle%20cx%3D%22180%22%20cy%3D%22160%22%20r%3D%223%22/%3E%20%3Ccircle%20cx%3D%22280%22%20cy%3D%22160%22%20r%3D%224%22/%3E%20%3Ccircle%20cx%3D%22120%22%20cy%3D%22220%22%20r%3D%224%22/%3E%20%3Ccircle%20cx%3D%22200%22%20cy%3D%22220%22%20r%3D%223%22/%3E%20%3Ccircle%20cx%3D%22160%22%20cy%3D%22300%22%20r%3D%224%22/%3E%20%3C/g%3E%20%3C/svg%3E");
    background-repeat: repeat;
    background-size: 320px 320px;
    opacity: 0.50;
    pointer-events: none;
  }
  
  
  /* ── FIXED NAVIGATION ── */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px var(--gutter);
    background: transparent;
    box-shadow: none;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  }
  
  .site-nav.scrolled {
    padding: 12px var(--gutter);
    background: rgba(244, 253, 252, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(9, 102, 127, 0.1);
  }
  
  .brand {
    display: inline-flex;
    align-items: center;
  }
  
  .brand__logo {
    height: 64px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
  }
  
  .site-nav.scrolled .brand__logo {
    height: 42px;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
  }
  
  .nav-links a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-heading);
    opacity: 0.8;
    transition: opacity 0.2s;
  }
  
  .nav-links a:hover { opacity: 1; }
  
  .nav-links a.nav-cta {
    background: linear-gradient(90deg, var(--btn-grad-start), var(--btn-grad-end));
    color: #fff;
    opacity: 1;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(70, 186, 207, 0.3);
  }
  
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  
  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
  }
  
  @media (max-width: 860px) {
    .nav-toggle { display: flex; }
  
    .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      background: var(--bg-light);
      box-shadow: 0 8px 16px rgba(9,102,127,0.1);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }
  
    .nav-links.open { max-height: 360px; }
  
    .nav-links li { width: 100%; }
  
    .nav-links a {
      display: block;
      padding: 0.9rem var(--gutter);
      width: 100%;
    }
  
    .nav-links a.nav-cta {
      border-radius: 0;
      text-align: center;
      margin: 0;
    }
  }
  
  /* ── SECTION BASE ── */
  .section {
    position: relative;
    padding: 96px var(--gutter) 70px;
    scroll-margin-top: 76px;
  }
  
  .section-inner { position: relative; z-index: 2; width: 100%; max-width: var(--max-w); margin-inline: auto; }
  
  .eyebrow-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-heading);
    opacity: 0.7;
    margin-bottom: 0.6rem;
  }
  
  h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-heading);
  }
  
  /* ── HERO ── */
  .hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 40px;
  }
  
  .hero__content { max-width: 700px; }
  
  .hero__title {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    line-height: 1.25;
    margin-bottom: 1.4rem;
  }
  
  .hero__subtitle {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: var(--text-heading);
    margin-bottom: 2.6rem;
  }
  
  .btn-pill {
    display: inline-block;
    background: linear-gradient(90deg, var(--btn-grad-start), var(--btn-grad-end));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(70, 186, 207, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(70, 186, 207, 0.45);
  }
  
  /* ── ABOUT ── */
  .about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .about__block { margin-bottom: 2.2rem; }
  .about__block:last-child { margin-bottom: 0; }
  
  .about__block h2 {
    font-size: 1.55rem;
    margin-bottom: 0.7rem;
  }
  
  .about__block p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 0.35rem;
  }
  
  .about__block p strong { color: #4A4A4A; font-weight: 700; }
  
  .values-list { margin-top: 0.6rem; }
  
  .value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 0.5rem;
  }
  
  .value-item .emoji { font-size: 1.05rem; flex-shrink: 0; line-height: 1.5; }
  .value-item strong { color: #4A4A4A; font-weight: 700; }
  
  /* About right column sits empty in source (decorative X/Q graphic only) */
  .about__visual { display: flex; align-items: center; justify-content: center; }
  
  .about__icon {
    width: 100%;
    max-width: 380px;
    height: auto;
    opacity: 0.85;
    mix-blend-mode: multiply;
  }
  
  /* ── SERVICES ── */
  .services-intro {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-heading);
    max-width: 760px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 3.5rem;
    column-gap: 2rem;
  }
  
  .service-item {
    text-align: center;
  }
  
  .service-item:nth-child(4) { grid-column: 1 / 2; }
  .service-item:nth-child(5) { grid-column: 3 / 4; }
  
  @media (min-width: 769px) {
    .services-grid {
      grid-template-columns: repeat(6, 1fr);
    }
    .service-item:nth-child(1) { grid-column: 1 / 3; }
    .service-item:nth-child(2) { grid-column: 3 / 5; }
    .service-item:nth-child(3) { grid-column: 5 / 7; }
    .service-item:nth-child(4) { grid-column: 2 / 4; }
    .service-item:nth-child(5) { grid-column: 4 / 6; }
  }
  
  .service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: #2C2C2C;
  }
  
  .service-icon svg { width: 100%; height: 100%; }
  
  .service-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-heading);
  }
  
  /* ── PARTNERS & CLIENTS (merged, left/right split) ── */
  .partners-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 3rem;
  }
  
  .partners-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
  
  .partners-col__label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-heading);
    opacity: 0.65;
    margin-bottom: 1.4rem;
    text-align: center;
  }
  
  .partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: wrap;
  }
  
  .partner-card {
    background: #fff;
    padding: 1.1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 6px 24px var(--card-shadow);
  }
  
  .partner-card img { height: 60px; width: auto; }
  
  /* ── TESTIMONIALS (right column of merged section) ── */
  .testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }
  
  .testimonial {
    padding-top: 1.4rem;
    border-top: 3px solid var(--text-heading);
  }
  
  .testimonial p {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-heading);
    line-height: 1.6;
    margin-bottom: 0.8rem;
  }
  
  .testimonial cite {
    font-style: normal;
    font-size: 0.88rem;
    color: var(--text-heading);
    opacity: 0.75;
  }
  
  /* ── STATS ── */
  .stats-title {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    margin-bottom: 2.5rem;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 2.5rem 3rem;
    margin-bottom: 3rem;
  }
  
  .stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--text-heading);
    margin-bottom: 0.3rem;
  }
  
  .stat-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-heading);
  }
  
  .stats-tagline {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-heading);
  }
  
  /* ── CONTACT (Synapses-inspired: flat, native, no embedded-form look) ── */
  .contact-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
  }
  
  .contact-head .eyebrow-tag { justify-content: center; }
  
  .contact__title {
    font-size: 1.9rem;
    margin-bottom: 0.7rem;
  }
  
  .contact__subtitle {
    font-size: 0.95rem;
    color: var(--text-body);
  }
  
  .contact__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: stretch;
  }
  
  /* Left: info cards, pin-card style like Synapses' office locations */
  .contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-content: start;
  }
  
  .info-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(9, 102, 127, 0.12);
    border-radius: 8px;
    padding: 1.3rem 1.2rem;
  }
  
  .info-card__icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    margin-bottom: 0.7rem;
  }
  
  .info-card__icon svg { width: 100%; height: 100%; fill: var(--form-accent); }
  
  .info-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-heading);
    margin-bottom: 0.3rem;
  }
  
  .info-card__text {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
  }
  
  .info-card__text a { color: var(--text-body); transition: color 0.2s; }
  .info-card__text a:hover { color: var(--text-heading); }
  
  /* Right: flat form panel — tinted background, no card shadow, no Google references */
  .contact-form-panel {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    padding: 1.8rem 2rem;
  }
  
  .contact-form-panel__heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.2rem;
  }
  
  .contact-form-panel__sub {
    font-size: 0.85rem;
    color: var(--form-accent);
    margin-bottom: 1.4rem;
  }
  
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .fg { margin-bottom: 1.1rem; }
  
  .fg input,
  .fg textarea {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(9, 102, 127, 0.15);
    border-radius: 4px;
    padding: 0.75rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
  }
  
  .fg input::placeholder, .fg textarea::placeholder { color: #8A9494; }
  .fg input:focus, .fg textarea:focus { border-color: var(--form-accent); }
  .fg textarea { resize: vertical; min-height: 110px; }
  
  .btn-submit {
    background: var(--form-accent);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
  }
  
  .btn-submit:hover { opacity: 0.88; }
  
  /* ── FOOTER (Synapses-style: brand block + map graphic + copyright bar) ── */
  .site-footer {
    background: var(--bg-light);
  }
  
  .footer-top {
    border-top: 1px solid rgba(9, 102, 127, 0.12);
    padding: 3rem var(--gutter) 2.5rem;
  }
  
  .footer-top__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
  }
  
  .footer-brand__logo {
    height: 38px;
    width: auto;
    margin-bottom: 1rem;
  }
  
  .footer-brand__tagline {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
    max-width: 360px;
    margin-bottom: 1rem;
  }
  
  .footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(9, 102, 127, 0.08);
    transition: background 0.2s;
  }
  
  .footer-social:hover { background: rgba(9, 102, 127, 0.16); }
  
  .footer-social svg {
    width: 16px;
    height: 16px;
    fill: var(--text-heading);
  }
  
  .footer-map {
    display: flex;
    justify-content: flex-end;
  }
  
  .footer-map svg {
    width: 100%;
    max-width: 360px;
    height: auto;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 1.1rem var(--gutter);
    font-size: 0.78rem;
    color: #9AA0A0;
    background: var(--bg-mid);
  }
  
  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about__visual { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .service-item:nth-child(n) { grid-column: auto !important; }
    .partners-split { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, auto); }
    .footer-top__inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-map { display: none; }
  }
  
  @media (max-width: 600px) {
    .section { padding: 100px 6% 50px; }
    .brand__logo { height: 44px; }
    .site-nav.scrolled .brand__logo { height: 32px; }
    .services-grid { grid-template-columns: 1fr !important; }
    .partners-logos { gap: 1.5rem; }
    .stats-grid { grid-template-columns: repeat(2, auto); gap: 1.8rem; }
  }
  