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

    :root {
      --gold: #C9A34A;
      --gold-dark: #B08A33;
      --gold-light: #DDBB68;
      --gold-text: #8A6A1C; /* gold for small text on light backgrounds (AA contrast) */
      --dark: #252B33;
      --dark-mid: #2F3640;
      --text: #252B33;
      --muted: #5b636d;
      --light: #f6f4ef;
      --white: #ffffff;
      --card-border: #e4e0d6;
      --radius: 10px;
    }

    html { scroll-behavior: smooth; background: #edebe6; }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text);
      line-height: 1.5;
      padding: 1.5rem 0;
    }

    /* ── PAGE CONTAINER (OUTER BORDER WRAPPER) ── */
    .page-container {
      max-width: 1200px;
      margin: 0 auto;
      background: var(--white);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
      overflow: hidden;
    }

    /* ── HEADER (FIXED TO TOP OF VIEW) ── */
    header {
      position: fixed;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1200px;
      z-index: 1000;
      background: var(--dark);
      border-bottom: 2px solid var(--gold);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem;
      height: 70px;
    }

    .logo {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--white);
      letter-spacing: -0.5px;
      text-decoration: none;
    }
    .logo { display: flex; align-items: center; flex-shrink: 0; line-height: 0; }
    .logo img { display: block; height: 62px; width: 62px; max-width: none; object-fit: contain; }

    nav { display: flex; gap: 1.75rem; }
    nav a {
      color: rgba(255,255,255,0.85);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.3px;
      transition: color 0.2s;
    }
    nav a:hover { color: var(--gold); }

    /* hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--white);
      border-radius: 2px;
      transition: all 0.3s ease;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* mobile nav */
    .mobile-nav {
      display: none;
      flex-direction: column;
      background: var(--dark-mid);
      position: fixed;
      top: 70px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1200px;
      z-index: 999;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-in-out;
      border-bottom: 0px solid var(--gold);
    }
    .mobile-nav.open {
      max-height: 300px;
      border-bottom: 2px solid var(--gold);
    }
    .mobile-nav a {
      color: rgba(255,255,255,0.9);
      text-decoration: none;
      font-size: 1rem;
      font-weight: 600;
      padding: 1rem 2rem;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .mobile-nav a:hover { color: var(--gold); background: rgba(255,255,255,0.02); }

    /* ── HERO & SECTIONS (offset added to account for the fixed header height) ── */
    .hero {
      position: relative;
      background: var(--dark);
      padding: 9.5rem 2rem 5rem; 
      text-align: center;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: repeating-linear-gradient(-45deg, transparent, transparent 28px, rgba(201,163,74,0.03) 28px, rgba(201,163,74,0.03) 29px);
      pointer-events: none;
    }
    .hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
    .hero h1 {
      font-size: clamp(1.8rem, 4.5vw, 3.2rem);
      font-weight: 800;
      color: var(--white);
      line-height: 1.2;
      margin-bottom: 1.5rem;
      letter-spacing: -0.5px;
    }
    .hero h1 em { font-style: normal; color: var(--gold); }

    /* Headline entry: line 1 drops first (0s), line 2 (full stop included) drops as line 1 stops (0.8s) */
    .headline-line1 {
      display: inline-block;
      animation: headline-line1-drop 0.8s ease-out 0s both;
    }
    .headline-drop {
      display: inline-block;
      clip-path: inset(0 -0.1em -0.15em -0.1em); /* line 2 stays hidden until it drops into its own line */
    }
    .headline-drop-text {
      display: inline-block;
      animation: headline-drop 0.8s ease-out 0.8s both;
    }
    @keyframes headline-line1-drop {
      from { transform: translateY(-0.6em); opacity: 0; }
      to   { transform: translateY(0);      opacity: 1; }
    }
    @keyframes headline-drop {
      from { transform: translateY(-110%); opacity: 0; }
      to   { transform: translateY(0);     opacity: 1; }
    }
    @media (prefers-reduced-motion: reduce) {
      .headline-line1, .headline-drop-text { animation: none; }
    }
    .hero p {
      font-size: clamp(0.95rem, 1.8vw, 1.1rem);
      color: rgba(255,255,255,0.75);
      max-width: 620px;
      margin: 0 auto 2.5rem;
      line-height: 1.7;
    }
    .hero-cta {
      display: inline-block;
      background: var(--gold);
      color: var(--dark);
      font-weight: 700;
      font-size: 0.95rem;
      padding: 0.9rem 2.2rem;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.2s ease;
    }
    .hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); }

    /* ── SECTION COMMONS ── */
    section { 
      padding: 4.5rem 2rem; 
      border-bottom: 1px solid var(--card-border);
      scroll-margin-top: 70px; 
    }
    section:last-of-type { border-bottom: none; }
    .section-inner { max-width: 1060px; margin: 0 auto; }
    .section-label {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--gold-text);
      margin-bottom: 0.75rem;
    }
    .section-heading {
      font-size: clamp(1.5rem, 3.5vw, 2.2rem);
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.5px;
      margin-bottom: 1.25rem;
      line-height: 1.2;
    }
    .section-sub {
      font-size: 0.95rem;
      color: var(--muted);
      line-height: 1.7;
    }

    /* ── WHO WE ARE ── */
    #who { background: var(--light); }
    .who-layout {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 3rem;
      align-items: start;
      margin-top: 2.5rem;
    }
    .about-cards-stack { display: flex; flex-direction: column; gap: 1.25rem; }
    .about-list-card {
      background: var(--white);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.01);
    }
    .about-list-card h4 {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--gold-text);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 1rem;
      border-bottom: 1px solid var(--card-border);
      padding-bottom: 0.5rem;
    }
    .about-list-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
    .about-list-card ul li {
      font-size: 0.88rem;
      color: #3f4750;
      font-weight: 500;
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
    }
    .about-list-card ul li::before { content: "✓"; color: var(--gold-text); font-weight: 800; flex-shrink: 0; }

    /* ── WHAT WE DO ── */
    #what { background: var(--white); }
    .heading-block { margin-bottom: 2rem; }
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
    }
    .card {
      background: var(--light);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: all 0.2s ease;
    }
    .card:hover { box-shadow: 0 8px 25px rgba(201,163,74,0.1); transform: translateY(-3px); }
    .card.highlight { background: var(--gold); border-color: var(--gold-dark); color: var(--dark); }
    
    .card-img-wrapper {
      width: 100%;
      height: 180px;
      overflow: hidden;
      position: relative;
    }
    .card-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .card:hover .card-img-wrapper img {
      transform: scale(1.05);
    }
    
    .card-content {
      padding: 1.75rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      flex: 1;
    }
    
    .card-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; color: var(--gold-text); }
    .card.highlight .card-num { color: rgba(255,255,255,0.7); }
    .card-title { font-size: 1.1rem; font-weight: 700; color: var(--text); line-height: 1.3; }
    .card.highlight .card-title { color: var(--white); }
    .card-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; flex: 1; }
    .card.highlight .card-desc { color: rgba(255,255,255,0.85); }

    /* ── TECHNOLOGY STACK ── */
    #tech-stack { background: var(--dark); }
    #tech-stack .section-label { color: var(--gold); }
    #tech-stack .section-heading { color: var(--white); }
    #tech-stack .section-sub { color: rgba(255,255,255,0.7); }
    .tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
    .tech-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--radius);
      padding: 1.75rem;
      transition: all 0.2s ease;
    }
    .tech-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(201,163,74,0.3); }
    .tech-card h3 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .tech-card h3 svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 2; flex-shrink: 0; }
    .tech-badges-container { display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .tech-badge {
      background: rgba(201,163,74,0.12);
      border: 1px solid rgba(201,163,74,0.2);
      color: #f3ecd9;
      font-size: 0.8rem;
      font-weight: 500;
      padding: 0.4rem 0.8rem;
      border-radius: 6px;
      transition: all 0.2s ease;
    }
    .tech-badge:hover { background: var(--gold); color: var(--dark); }
    .tech-card.full-width { grid-column: span 2; }

    /* ── CONTACT ── */
    #contact { background: var(--light); }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; align-items: start; }
    .contact-info p { font-size: 0.95rem; color: #3f4750; line-height: 1.7; margin-bottom: 1.5rem; }
    .contact-detail { display: flex; flex-direction: column; gap: 1rem; }
    .contact-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--text); font-weight: 600; }
    .contact-item svg { width: 18px; height: 18px; stroke: var(--gold-text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
    .contact-form { display: flex; flex-direction: column; gap: 1rem; }
    .contact-form input, .contact-form textarea {
      width: 100%;
      padding: 0.85rem 1rem;
      border: 1px solid var(--card-border);
      border-radius: 6px;
      font-family: 'Inter', sans-serif;
      font-size: 0.9rem;
      color: var(--text);
      background: var(--white);
      outline: none;
      transition: border-color 0.2s;
    }
    .contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
    .contact-form textarea { resize: vertical; min-height: 130px; }
    .contact-form button {
      background: var(--gold);
      color: var(--dark);
      border: none;
      border-radius: 6px;
      padding: 0.9rem;
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .contact-form button:hover { background: var(--gold-light); transform: translateY(-1px); }

    /* ── FOOTER ── */
    footer { background: var(--dark); border-top: 2px solid var(--gold); padding: 3rem 2rem 1.75rem; }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.3fr 1fr 1fr;
      gap: 2.5rem;
      align-items: start;
      max-width: 1060px;
      margin: 0 auto;
    }
    .footer-logo { display: inline-block; line-height: 0; }
    .footer-logo img { display: block; width: 170px; max-width: 100%; height: auto; }
    .footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 0.75rem; letter-spacing: 0.3px; }
    .footer-col { display: block; }
    .footer-heading {
      font-size: 0.9rem;
      font-weight: 800;
      color: var(--white);
      text-transform: uppercase;
      letter-spacing: 2.5px;
      margin-bottom: 1.5rem;
    }
    .footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 0.95rem; }
    .footer-links a, .footer-contact a {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.65);
      text-decoration: none;
      overflow-wrap: anywhere;
      transition: color 0.2s;
    }
    .footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
    .footer-copy {
      max-width: 1060px;
      margin: 2.5rem auto 0;
      padding-top: 1.25rem;
      border-top: 1px solid rgba(255,255,255,0.1);
      text-align: center;
      font-size: 0.75rem;
      color: rgba(255,255,255,0.4);
    }
    @media (max-width: 768px) {
      footer { padding: 2.5rem 1.25rem 1.5rem; }
      .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-heading { margin-bottom: 1rem; }
    }

    /* ── RESPONSIVE Breakpoints ── */
    @media (max-width: 960px) {
      .tech-card.full-width { grid-column: span 1; }
      .tech-grid { grid-template-columns: 1fr; }
    }
    
    @media (max-width: 860px) {
      .who-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    }

    /* ── DETAILED SERVICE POINTS ── */
.service-panel-inner {
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.service-intro {
  max-width: 980px;
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.75;
}

.service-points {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 980px;
  border-top: 1px solid #e4e9ee;
}

.service-point {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid #e4e9ee;
}

.service-point-number {
  color: #84909a;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding-top: .18rem;
}

.service-point-content h4 {
  margin: 0 0 .2rem;
  color: #252B33;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.35;
}

.service-point-content p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
      .logo img { height: 58px; width: 58px; }
      body { padding: 0; }
      .page-container { border: none; border-radius: 0; }
      nav { display: none; }
      .hamburger { display: flex; }
      .mobile-nav { display: flex; }
      .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      section { padding: 3.5rem 1.25rem; }
      header { padding: 0 1.25rem; border-radius: 0; left: 0; transform: none; }
      .mobile-nav { left: 0; transform: none; }
    }

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

/* =========================================================
   MODERN ACCORDION REDESIGN
   ========================================================= */

/* WHAT WE DO — clean full-width rows inspired by the reference */
#what {
  background: var(--white);
}

#what .heading-block {
  margin-bottom: 2.5rem;
}

.services-accordion {
  width: 100%;
  border-top: 1px solid #cfd6dd;
}

.service-item {
  border-bottom: 1px solid #cfd6dd;
}

.service-trigger {
  width: 100%;
  min-height: 108px;
  border: 0;
  border-bottom: 1px solid #30363b;
  background: transparent;
  color: #252B33;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem 1rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .25s ease, color .25s ease;
}

.service-trigger:hover {
  background: #f8fafc;
}

.service-trigger[aria-expanded="true"] {
  background: #f8fafc;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.service-num {
  min-width: 2.4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #7a858d;
}

.service-arrow,
.tech-arrow {
  width: 19px;
  height: 19px;
  border-right: 3px solid #747474;
  border-bottom: 3px solid #747474;
  transform: rotate(45deg) translateY(-4px);
  flex: 0 0 auto;
  transition: transform .3s ease, border-color .3s ease;
  margin-right: .45rem;
}

.service-trigger[aria-expanded="true"] .service-arrow,
.tech-trigger[aria-expanded="true"] .tech-arrow {
  transform: rotate(225deg) translateY(-2px);
  border-color: var(--gold);
}

.service-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 3.7rem;
  transition: max-height .4s ease, opacity .25s ease, padding .35s ease;
}

.service-item.is-open .service-panel {
  max-height: 5000px;
  opacity: 1;
  padding-top: 0;
  padding-bottom: 1.35rem;
}

/* TECHNOLOGY STACK — cleaner expandable rows while retaining all technologies */
#tech-stack {
  background: var(--dark);
}

.tech-accordion {
  margin-top: 2.5rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.025);
}

.tech-item {
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.tech-item:last-child {
  border-bottom: 0;
}

.tech-trigger {
  width: 100%;
  min-height: 82px;
  border: 0;
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .25s ease;
}

.tech-trigger:hover,
.tech-trigger[aria-expanded="true"] {
  background: rgba(201,163,74,.08);
}

.tech-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.tech-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,163,74,.35);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(201,163,74,.08);
  font-size: .7rem;
  letter-spacing: 1px;
  flex: 0 0 auto;
}

.tech-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1.35rem;
  transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
}

.tech-item.is-open .tech-panel {
  max-height: 1000px;
  opacity: 1;
  padding-top: 0;
  padding-bottom: 1.35rem;
}

.tech-badges-container {
  overflow: hidden;
  min-height: 0;
}

.tech-item.is-open .tech-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-top: 0;
  padding-bottom: 1.35rem;
}

.tech-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.tech-badge {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  color: #e6eef5;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.45;
  padding: .48rem .78rem;
  border-radius: 7px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.tech-badge:hover {
  background: rgba(201,163,74,.18);
  border-color: rgba(201,163,74,.4);
  transform: translateY(-1px);
}

/* Keep anchor jumps clear of the fixed header */
#what, #tech-stack {
  scroll-margin-top: 80px;
}

@media (max-width: 768px) {
  .service-trigger {
    min-height: 100px;
    padding: 1.35rem .25rem;
  }

  .service-title {
    gap: .8rem;
    font-size: 1.35rem;
  }

  .service-num {
    min-width: 1.8rem;
  }

  .service-panel {
    padding-left: 2.85rem;
    padding-right: .5rem;
  }

  .tech-trigger {
    min-height: 74px;
    padding: 1rem;
  }

  .tech-heading {
    font-size: .92rem;
  }

  .tech-icon {
    width: 34px;
    height: 34px;
  }

  .tech-panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 480px) {
  .service-trigger {
    gap: 1rem;
  }

  .service-title {
    font-size: 1.18rem;
  }

  .service-num {
    font-size: .65rem;
  }

  .service-arrow,
  .tech-arrow {
    width: 15px;
    height: 15px;
  }

  .tech-badge {
    font-size: .74rem;
  }
}


/* Final sizing refinement — slightly more compact What We Do */
#what { padding-top: 3.8rem; padding-bottom: 3.8rem; }
#what .section-heading { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: 1.05rem; }
#what .heading-block { margin-bottom: 1.9rem; }
#what .service-trigger { min-height: 112px; padding: 1.35rem .9rem; }
#what .service-title { gap: 1.05rem; font-size: clamp(1.3rem, 2.7vw, 1.9rem); }
#what .service-num { min-width: 2.1rem; font-size: .68rem; }
#what .service-arrow { width: 17px; height: 17px; border-width: 3px; margin-right: .3rem; }
#what .service-panel { padding-left: 4.1rem; padding-right: 3.5rem; }
#what .service-panel p { font-size: .9rem; line-height: 1.7; }
@media (max-width: 768px) {
  #what { padding-top: 3.2rem; padding-bottom: 3.2rem; }
  #what .service-trigger { min-height: 92px; padding: 1.1rem .2rem; }
  #what .service-title { font-size: 1.2rem; }
  #what .service-panel { padding-left: 2.35rem; padding-right: .35rem; }
}

/* Final compact sizing — match the smaller Services reference */
#what {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#what .heading-block {
  margin-bottom: 1.25rem;
}

#what .section-heading {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  margin-bottom: .75rem;
}

#what .service-trigger {
  min-height: 88px;
  padding: 1rem .65rem;
  gap: 1.25rem;
}

#what .service-title {
  gap: .9rem;
  font-size: clamp(1.18rem, 2.35vw, 1.65rem);
  letter-spacing: -.35px;
}

#what .service-num {
  min-width: 1.9rem;
  font-size: .64rem;
  letter-spacing: 1.2px;
}

#what .service-arrow {
  width: 15px;
  height: 15px;
  border-width: 2.5px;
  margin-right: .25rem;
}


#what .service-panel p {
  font-size: .86rem;
  line-height: 1.65;
  max-width: 850px;
}

@media (max-width: 768px) {
  #what {
    padding-top: 2.7rem;
    padding-bottom: 2.7rem;
  }

  #what .service-trigger {
    min-height: 76px;
    padding: .85rem .15rem;
  }

  #what .service-title {
    font-size: 1.1rem;
    gap: .65rem;
  }

  #what .service-num {
    min-width: 1.6rem;
  }

  #what .service-panel {
    padding-left: 2.25rem;
    padding-right: .3rem;
  }
}

@media (max-width: 480px) {
  #what .service-trigger {
    min-height: 70px;
  }

  #what .service-title {
    font-size: 1rem;
  }

  #what .service-arrow {
    width: 13px;
    height: 13px;
  }
}


/* =========================================================
   FAQ — single-open accordion (white section between the
   dark Technology Stack and the light Contact section)
   ========================================================= */
#faq { background: var(--white); }

.faq-list {
  margin-top: 2.25rem;
  max-width: 920px;
  border-top: 1px solid var(--card-border);
}

.faq-item { border-bottom: 1px solid var(--card-border); }

.faq-q { font-size: inherit; font-weight: inherit; margin: 0; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem .5rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.faq-question { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.faq-trigger:hover { background: var(--light); }
.faq-trigger[aria-expanded="true"] { color: var(--gold-text); }
.faq-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* plus icon: two bars, the vertical one folds away when open */
.faq-icon {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  transition: background .25s ease, transform .35s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--gold-text);
  border-radius: 2px;
  transition: transform .35s ease, background .25s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-trigger:hover .faq-icon { background: rgba(201,163,74,.12); }
.faq-trigger[aria-expanded="true"] .faq-icon { background: var(--gold); transform: rotate(180deg); }
.faq-trigger[aria-expanded="true"] .faq-icon::before { background: var(--dark); }
.faq-trigger[aria-expanded="true"] .faq-icon::after { background: var(--dark); transform: rotate(0deg); }

/* smooth height animation: 0fr -> 1fr */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .4s ease, opacity .3s ease;
}
.faq-panel-inner { overflow: hidden; min-height: 0; }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; opacity: 1; }
.faq-panel p {
  padding: .1rem 3.6rem 1.35rem .5rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  max-width: 88ch;
}

#faq { scroll-margin-top: 80px; }

@media (max-width: 768px) {
  .faq-list { margin-top: 1.75rem; }
  .faq-trigger { font-size: .97rem; padding: 1rem .15rem; gap: 1rem; }
  .faq-icon { flex-basis: 28px; width: 28px; height: 28px; }
  .faq-panel p { padding-right: .35rem; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-panel, .faq-icon, .faq-icon::before, .faq-icon::after { transition: none; }
}
