/* ============================================================
   CLEAN MODE — HOMEPAGE STYLES

   Colours live in one place below (the :root block) so you can
   change the whole site's look by editing a single value.
   ============================================================ */

:root {
  --brand: #0071bc;          /* main brand colour (blue) */
  --brand-dark: #005e9e;     /* darker blue for button hover */
  --ink: #14181d;            /* near-black text */
  --hero-bg: #0d1620;        /* dark hero background */
  --header-bg: #edefec;      /* light grey header bar */
  --muted: #c7cdd4;          /* soft grey text on the dark hero */
  --max-width: 1180px;       /* how wide content can get */
}

/* --- Basic reset: makes spacing predictable across browsers --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.5;
}

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

ul {
  list-style: none;
}

/* A reusable centred wrapper so everything lines up on the page */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================================
   BUTTONS (reused in the header and hero)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

/* Outlined "ghost" button used on the dark hero */
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}


/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  background: var(--header-bg);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 92px;
}

/* --- Nav links --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;   /* pushes the nav to the right */
}

.nav-link,
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333a41;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--brand);
}

/* The current page gets a blue underline */
.nav-link.is-active {
  color: var(--brand);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 4px;
}

.header-cta {
  margin-left: 8px;
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  /* Layer 1: a dark tint. Layer 2: your photo. Layer 3: fallback colour.
     To add your own photo, save it as images/office.jpg and it will
     appear automatically behind the dark tint. Until then, the clean
     dark background below is used. */
  background:
    linear-gradient(90deg, rgba(10, 18, 26, 0.94) 0%, rgba(10, 18, 26, 0.82) 42%, rgba(10, 18, 26, 0.45) 100%),
    url('images/office.png') center / cover no-repeat,
    var(--hero-bg);
  color: #fff;
}

.hero-inner {
  padding-top: 64px;
  padding-bottom: 56px;
}

/* --- Badge / pill --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-leaf {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

/* --- Headline --- */
.hero-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  /* clamp() = min size on phones, scales up on big screens */
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 28px 0 24px;
}

.hero-title .accent {
  color: var(--brand);
}

/* --- Paragraph --- */
.hero-text {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* --- Button row --- */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

/* --- Four feature/trust points --- */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

.feature-icon {
  width: 26px;
  height: 26px;
  color: var(--brand);
  flex-shrink: 0;
}


/* ============================================================
   RESPONSIVE: adjustments for tablets and phones
   ============================================================ */
@media (max-width: 860px) {
  /* Hide the inline nav links on small screens.
     A tap-to-open mobile menu is a good next thing to add. */
  .main-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .logo-tagline {
    display: none;
  }

  .features {
    gap: 24px 32px;
  }

  .btn {
    flex: 1;              /* buttons stretch to fill the row on phones */
    justify-content: center;
  }
}


/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: #ffffff;
  padding: 84px 0;
  text-align: center;
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-subtitle {
  max-width: 620px;
  margin: 18px auto 0;
  color: #6a7178;
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.service-card {
  border: 1px solid #e6e8e6;
  border-radius: 12px;
  padding: 34px 22px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--brand);
  box-shadow: 0 14px 30px rgba(20, 24, 29, 0.09);
  transform: translateY(-4px);
}

.service-icon {
  display: block;
  width: 46px;
  height: 46px;
  color: var(--brand);
  margin: 0 auto 18px;
}

.service-card h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.service-card p {
  color: #6a7178;
  font-size: 0.9rem;
  line-height: 1.55;
}

.services-cta {
  margin-top: 44px;
}


/* ============================================================
   WHY US STRIP (dark band)
   ============================================================ */
.why {
  background: #0e1f33;   /* dark navy band */
  padding: 56px 0;
}

.why-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 0;
}

.why-item {
  display: flex;
  gap: 16px;
  padding: 0 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);   /* divider line */
}

.why-item:first-child {
  border-left: none;
  padding-left: 0;
}

.why-icon {
  width: 40px;
  height: 40px;
  color: var(--brand);
  flex-shrink: 0;
}

.why-text h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.why-text p {
  color: #97a2b0;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .why-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 40px;
  }
  .why-item {
    border-left: none;
    padding: 0;
  }
}

@media (max-width: 560px) {
  .why-inner {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: #f7f8f7;
  padding: 84px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.35fr;
  gap: 44px;
  align-items: center;
}

.contact-title {
  margin-top: 12px;
}

.contact-lead {
  color: #6a7178;
  font-size: 1rem;
  margin-top: 16px;
  max-width: 340px;
}

/* --- Contact details list --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--ink);
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--brand);
  flex-shrink: 0;
}

/* --- Form card --- */
.contact-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 45px rgba(20, 24, 29, 0.10);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e4e2;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-form ::placeholder {
  color: #9aa1a8;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-submit {
  display: flex;
  justify-content: flex-end;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-lead {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .form-row {
    flex-direction: column;
  }
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0b1826;
  padding: 26px 0;
  text-align: center;
}

.site-footer p {
  color: #8a94a1;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: #f7f8f7;
  padding: 76px 0 60px;
  text-align: center;
}
.about-hero .section-title {
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
}
.about-lead {
  max-width: 640px;
  margin: 20px auto 0;
  color: #6a7178;
  font-size: 1.08rem;
}

.story {
  background: linear-gradient(180deg, #ffffff 0%, #e9f1fd 100%);
  padding: 84px 0;
}
.story-inner {
  max-width: 730px;
  margin: 0 auto;
}
.story-inner .eyebrow,
.story-inner .section-title {
  text-align: center;
}
.story-body {
  margin-top: 32px;
}
.story-body p {
  color: #3f464d;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.story-attribution {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}

.about-values {
  background: #f7f8f7;
  padding: 76px 0;
  text-align: center;
}

.about-cta {
  background: var(--brand);
  padding: 62px 0;
  text-align: center;
  color: #ffffff;
}
.about-cta h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}
.about-cta p {
  margin-top: 10px;
  font-size: 1.05rem;
  opacity: 0.92;
}
.about-cta .btn {
  margin-top: 26px;
  background: #ffffff;
  color: var(--brand-dark);
}
.about-cta .btn:hover {
  background: #eef0ee;
}


/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-detail-section {
  background: #ffffff;
  padding: 82px 0;
  text-align: center;
}
.service-detail-section .section-title {
  color: var(--ink);
}
.service-detail-section .eyebrow {
  color: var(--brand);
}

.service-detail-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.service-detail {
  flex: 0 1 calc((100% - 48px) / 3);   /* 3 cards per row; trailing row centres */
  border: 1px solid #e6e8e6;
  border-radius: 14px;
  padding: 34px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-detail:hover {
  border-color: var(--brand);
  box-shadow: 0 14px 30px rgba(20, 24, 29, 0.08);
}
.service-detail .service-icon {
  margin: 0 0 16px;   /* left-align the icon (homepage cards centre it) */
}
.service-detail h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.service-detail > p {
  color: #6a7178;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-includes {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.service-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3f464d;
  font-size: 0.92rem;
  line-height: 1.4;
}
.service-includes svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Wide card spans the whole row (used for the single "who it suits" card) */
.service-detail--wide {
  flex-basis: 100%;
}

/* --- How it works --- */
.process {
  background: #f7f8f7;
  padding: 78px 0;
  text-align: center;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.process-step h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.process-step p {
  color: #6a7178;
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .service-detail { flex-basis: calc((100% - 24px) / 2); }   /* 2 per row */
}
@media (max-width: 760px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}
@media (max-width: 560px) {
  .service-detail { flex-basis: 100%; }                      /* 1 per row */
  .service-detail--wide { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   INDUSTRIES WE SERVE
   ============================================================ */
.industries {
  background: #f7f8f7;
  padding: 80px 0;
  text-align: center;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.industry {
  background: #ffffff;
  border: 1px solid #e6e8e6;
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.industry:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 26px rgba(20, 24, 29, 0.08);
  transform: translateY(-3px);
}
.industry svg {
  width: 40px;
  height: 40px;
  color: var(--brand);
}
.industry span {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.25;
}
@media (max-width: 860px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   WHY US PAGE
   ============================================================ */
.reasons-section {
  background: #ffffff;
  padding: 82px 0;
  text-align: center;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

/* Facts strip (dark band) */
.facts {
  background: #0e1f33;
  padding: 60px 0;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.fact-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  color: var(--brand);
  line-height: 1;
  min-height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fact-num svg {
  width: 2.6rem;
  height: 2.6rem;
}
.fact-label {
  color: #c7cdd4;
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 38px 24px; }
}
@media (max-width: 560px) {
  .reasons-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   MOBILE MENU
   ============================================================ */
.site-header { position: relative; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
  line-height: 0;
}
.nav-toggle svg { width: 28px; height: 28px; }
.icon-close { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }

  .site-header.open .icon-menu { display: none; }
  .site-header.open .icon-close { display: inline; }

  .site-header.open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg);
    padding: 12px 24px 20px;
    border-top: 1px solid #dfe2df;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.10);
    z-index: 50;
  }
  .site-header.open .main-nav a {
    width: 100%;
    padding: 11px 0;
    font-size: 1.05rem;
  }
  .site-header.open .nav-link.is-active {
    border-bottom: none;
    padding-bottom: 11px;
  }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  background: #ffffff;
  padding: 70px 0 88px;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 6px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa1a8;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info-value {
  color: var(--ink);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.45;
}
@media (max-width: 820px) {
  .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   HERO OVERLAY — stronger on small screens for readability
   ============================================================ */
@media (max-width: 700px) {
  .hero {
    background:
      linear-gradient(rgba(10, 18, 26, 0.50), rgba(10, 18, 26, 0.58)),
      url('images/office.jpg') center / cover no-repeat,
      var(--hero-bg);
  }
}


/* ============================================================
   HEADER LOGO IMAGE (replaces the old text logo)
   ============================================================ */
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}
@media (max-width: 560px) {
  .logo-img { height: 62px; }
}
/* Founder signature with headshot */
.story-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.story-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dfe6ef url('images/sunny.png') center / cover no-repeat;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(20, 24, 29, 0.12);
}
.story-signature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.story-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
}
.story-role {
  color: #6a7178;
  font-size: 0.9rem;
}
/* ============================================================
   THANK-YOU POPUP (after form submit)
   ============================================================ */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 26, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 100;
}
.thankyou-overlay.open { opacity: 1; visibility: visible; }
.thankyou-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(10px);
  transition: transform 0.2s ease;
}
.thankyou-overlay.open .thankyou-box { transform: translateY(0); }
.thankyou-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thankyou-check svg { width: 34px; height: 34px; }
.thankyou-box h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.thankyou-box p {
  color: #6a7178;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.thankyou-close { display: inline-flex; }
/* ============================================================
   LEGAL PAGES (Terms, Privacy, etc.)
   ============================================================ */
.legal { background: #ffffff; padding: 64px 0 88px; }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal-updated { color: #9aa1a8; font-size: 0.9rem; margin-bottom: 28px; }
.legal-inner h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 34px 0 12px;
}
.legal-inner p { color: #3f464d; font-size: 1rem; line-height: 1.7; margin-bottom: 14px; }
.legal-inner ul { margin: 0 0 14px; padding-left: 22px; }
.legal-inner li { list-style: disc; color: #3f464d; font-size: 1rem; line-height: 1.7; margin-bottom: 6px; }
.legal-inner a { color: var(--brand); }


/* ============================================================
   SERVICES DROPDOWN (header nav)
   ============================================================ */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.nav-dropdown-toggle { display: inline-flex; align-items: center; }

.nav-caret-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  line-height: 0;
  color: #333a41;
  display: inline-flex;
}
.nav-caret { width: 16px; height: 16px; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); color: var(--brand); }
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--brand); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  margin-top: 22px;
  min-width: 264px;
  background: #ffffff;
  border: 1px solid #e6e8e6;
  border-top: 3px solid var(--brand);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 40px rgba(20, 24, 29, 0.16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
/* invisible bridge so the menu stays open across the gap */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -24px; left: 0; right: 0; height: 24px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 11px 15px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333a41;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-dropdown-menu a:hover { background: var(--brand); color: #ffffff; }

/* --- Mobile: dropdown becomes a tap-to-expand accordion --- */
@media (max-width: 860px) {
  .nav-dropdown { display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
  .nav-dropdown-toggle { flex: 1; }
  .nav-caret-btn { margin-left: auto; padding: 10px 6px; }
  .nav-caret { width: 20px; height: 20px; }

  .nav-dropdown-menu {
    position: static;
    flex-basis: 100%;
    width: 100%;
    margin-top: 0;
    left: auto;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 6px 12px;
    opacity: 1;
    transform: none;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu { visibility: visible; max-height: 460px; }
  .nav-dropdown.open .nav-caret { transform: rotate(180deg); }
  .nav-dropdown-menu::before { display: none; }
  .site-header.open .nav-dropdown-menu a { font-size: 1rem; padding: 9px 0; color: #333a41; }
  .site-header.open .nav-dropdown-menu a:hover { background: none; color: var(--brand); }
}


/* ============================================================
   CLICKABLE SERVICE CARDS (Services overview page)
   ============================================================ */
.service-detail { position: relative; }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--brand);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
}
.service-more::before { content: ""; position: absolute; inset: 0; }
.service-detail:hover .service-more { text-decoration: underline; }
