/* ============================================================
   ThinkMDCL — main.css
   Brand: Dark Teal #163947 | Orange #f47621 | Light Green #c8dc60 | White #ffffff
   ============================================================ */

/* ---------- Focus visibility (WCAG) ---------- */
:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.site-header :focus-visible,
.hero :focus-visible,
.services :focus-visible,
.cta :focus-visible,
.marquee :focus-visible {
  outline-color: var(--lime);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  white-space: nowrap;
  padding: 16px 34px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn-lime { background: var(--lime); color: var(--teal-deep); }
.btn-lime:hover { background: var(--white); color: var(--teal-deep); }
.btn-orange { background: var(--orange); color: var(--black); }
.btn-orange:hover { background: var(--teal-deep); color: var(--white); }

/* ---------- Eyebrows / section titles ---------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}
.eyebrow-orange { color: var(--teal-deep); }
.eyebrow-orange::before { background: var(--orange); }
.eyebrow-lime { color: var(--lime); }

.section { padding: clamp(80px, 12vw, 150px) 0; }

.section-title {
  text-wrap: balance;
  max-width: 18ch;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
.section-title .count {
  font-size: 0.32em;
  font-weight: 700;
  color: var(--lime);
  vertical-align: super;
  margin-left: 0.4em;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s;
}
.header-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
}
.site-logo { display: block; position: relative; z-index: 102; }
.logo-img { height: 88px; width: auto; }
.logo-dark { display: none; }

.site-header.scrolled { background: var(--teal-deep); box-shadow: 0 6px 30px rgba(0,0,0,0.25); }

.primary-nav { display: flex; align-items: center; gap: 40px; }
.nav-menu { display: flex; gap: 36px; }
.nav-menu li { position: relative; }
.nav-menu a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}
.nav-label { position: relative; }
.nav-label::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-menu a:hover .nav-label::after,
.nav-menu .current-menu-item .nav-label::after { transform: scaleX(1); transform-origin: left; }

/* Dropdowns */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 230px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 0;
  box-shadow: 0 18px 50px rgba(21, 57, 71, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { display: block; padding: 10px 22px; color: var(--teal-deep); }
.nav-menu .sub-menu a:hover { color: var(--orange); }
.nav-menu .sub-menu .nav-label::after { display: none; }
.nav-arrow { font-size: 0.65em; opacity: 0.7; }

.nav-cta { padding: 12px 26px; font-size: 0.85rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 102;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease-out), top 0.35s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ============================================================
   HERO — Deep Teal + Lime accents only
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 80% 85%, rgba(200, 220, 96, 0.22) 0%, rgba(22, 57, 71, 0) 55%), var(--teal-deep);
  color: var(--white);
  padding: calc(var(--nav-height) + clamp(60px, 10vw, 130px)) 0 clamp(80px, 11vw, 150px);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.grad-canvas {
  opacity: 0;
  transition: opacity 1.1s ease;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-title { will-change: transform; transform-style: preserve-3d; }

.cta-texture {
  position: absolute;
  inset: 0;
  background-image: url('../images/MDCL-pattern-2.png');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero .container { max-width: 1560px; }
.hero-title { margin-left: auto; margin-right: auto; }
.hero-content, .cta-inner { text-shadow: 0 2px 26px rgba(22, 57, 71, 0.45); }

.hero-eyebrow {
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--lime);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.6rem, 8.2vw, 7.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.98;
  max-width: 16ch;
}
.hero-title .hl, .cta-title .hl { color: var(--lime); font-style: normal; }
.t-line { display: block; }
.fit .t-line { white-space: nowrap; }
.hero-title.fit, .cta-title.fit, .section-title.fit { max-width: none; }

/* word-mask wrappers injected by JS */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-wi { display: inline-block; will-change: transform; transition: color 0.3s; }
.split-done .split-w { overflow: visible; }
.hero-title .split-w { cursor: default; }
.hero-title .split-w:hover .split-wi { color: var(--lime); }

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(26px, 3vw, 40px);
  margin: clamp(36px, 5vw, 64px) 0 clamp(50px, 7vw, 90px);
}
.hero-meta p { max-width: 96ch; margin-left: auto; margin-right: auto; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ice-blue); }


/* ============================================================
   MARQUEE — Lime strip, Teal text
   ============================================================ */
.marquee {
  background: var(--lime);
  color: var(--teal-deep);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-group span {
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 0 28px;
}
.marquee-group i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal-deep);
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============================================================
   MISSION — white + Orange accents
   ============================================================ */
.mission { background: var(--white); }
.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.mission-copy .section-title { color: var(--teal-deep); }
.mission-copy p { margin-bottom: 1.2rem; max-width: 56ch; }

.mission-media { position: relative; }
.mission-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.mission-cta { margin-top: 14px; }
.mission-gallery { height: clamp(340px, 38vw, 520px); }
.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  scale: 1.12;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.gallery-slide.active { opacity: 1; }
.gallery-dots {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 9px;
  z-index: 2;
}
.gallery-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.gallery-dot:hover { transform: scale(1.25); }
.gallery-dot.active { background: var(--lime); }
.mission-accent {
  position: absolute;
  right: -26px; bottom: -26px;
  width: 58%; height: 58%;
  background: var(--peach);
  border-radius: var(--radius);
}

/* ============================================================
   SERVICES — Deep Teal + Lime accents, hover-reveal index
   ============================================================ */
.services { background: var(--teal-deep); color: var(--white); position: relative; }
.services-header { max-width: 820px; margin-bottom: clamp(40px, 6vw, 80px); }
.services-intro { color: var(--ice-blue); font-size: 1.05rem; }

.services-list { border-top: 1px solid rgba(255,255,255,0.16); }
.services-cta { margin-top: clamp(36px, 5vw, 60px); text-align: center; }
.service-row { border-bottom: 1px solid rgba(255,255,255,0.16); }

.service-toggle {
  display: grid;
  grid-template-columns: 70px 1fr 44px;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  width: 100%;
  padding: clamp(24px, 3.5vw, 40px) 10px;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: padding 0.4s var(--ease-out);
}
.service-toggle:hover { padding-left: 26px; }

.service-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lime);
}
.service-name {
  display: block;
  text-wrap: balance;
  font-size: clamp(1.3rem, 3.2vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  transition: color 0.3s;
}
.service-toggle:hover .service-name,
.service-row.open .service-name { color: var(--lime); }

.service-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--lime);
  transition: transform 0.45s var(--ease-out), border-color 0.3s;
}
.service-row.open .service-plus { transform: rotate(45deg); border-color: var(--lime); }

/* Collapsible panel: grid-rows trick animates height without JS measuring */
.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.service-row.open .service-panel { grid-template-rows: 1fr; }
.service-panel-inner {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 60px);
  padding-left: calc(70px + clamp(16px, 3vw, 40px));
  padding-right: 10px;
}
.service-row.open .service-panel-inner { padding-bottom: clamp(26px, 3.5vw, 44px); }
.service-desc {
  max-width: 62ch;
  font-size: 1rem;
  color: var(--ice-blue);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease 0.15s, transform 0.45s var(--ease-out) 0.15s;
}
.service-thumb {
  flex-shrink: 0;
  width: 170px;
  height: 114px;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.7) rotate(-4deg);
  transition: opacity 0.45s ease 0.2s, transform 0.5s var(--ease-out) 0.2s;
}
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-row.open .service-desc { opacity: 1; transform: translateY(0); }
.service-row.open .service-thumb { opacity: 1; transform: scale(1) rotate(0deg); }

/* ============================================================
   STATS — white + Orange accents
   ============================================================ */
.stats { background: var(--white); }
.stats .section-title { color: var(--teal-deep); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(36px, 5vw, 64px);
}
.stat {
  background: var(--white);
  border: 1px solid var(--ice-blue);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: box-shadow 0.4s, border-color 0.4s;
}
.stat:hover { box-shadow: 0 22px 50px rgba(22,57,71,0.14); border-color: var(--lime); }
.stat-value {
  display: block;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 900;
  color: var(--teal-deep);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label { font-size: 0.92rem; color: var(--teal-deep); font-weight: 500; }

/* ============================================================
   TESTIMONIAL — Peach callout, Orange border (brand callout style)
   ============================================================ */
.testimonial-card {
  margin-top: clamp(60px, 8vw, 110px);
  background: var(--peach);
  border-left: 6px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(34px, 5vw, 60px) clamp(28px, 5vw, 70px);
}
.testimonial-card p {
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-style: italic;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 1.2rem;
  line-height: 1.45;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal-deep);
}

/* ============================================================
   CTA — Deep Teal + Lime
   ============================================================ */
.cta {
  position: relative;
  background: var(--teal-deep);
  color: var(--white);
  padding: clamp(90px, 13vw, 170px) 0;
  overflow: hidden;
  text-align: center;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(2.4rem, 6.5vw, 5.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 auto 1.4rem;
}
.cta p { color: var(--ice-blue); margin-bottom: 2.2rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.cta-link {
  color: var(--lime);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}
.cta-link:hover { border-color: var(--lime); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--white); color: var(--teal-deep); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1fr;
  gap: 40px;
  padding-top: 70px;
  padding-bottom: 50px;
}
.footer-brand img { width: 160px; height: auto; }
.footer-tagline { margin-top: 16px; font-size: 0.92rem; max-width: 30ch; }
.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal-deep);
  border-bottom: 2px solid var(--orange);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 18px;
}
.footer-menu li + li, .footer-contact li + li { margin-top: 10px; }
.footer-menu a, .footer-contact a { font-size: 0.95rem; transition: color 0.25s; }
.footer-menu a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact li { font-size: 0.95rem; }

.footer-bottom { border-top: 1px solid var(--ice-blue); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; opacity: 0.75; }

.tricolor-bar { display: flex; height: 12px; }
.tricolor-bar span { flex: 1; }
.tc-teal { background: var(--teal-deep); }
.tc-orange { background: var(--orange); }
.tc-lime { background: var(--lime); }

/* ============================================================
   GENERIC PAGE CONTENT
   ============================================================ */
.site-main.inner-page { padding: calc(var(--nav-height) + 60px) 0 100px; }
.site-main.inner-page .page-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.6rem;
}
.site-main.inner-page .entry-content p { margin-bottom: 1.1rem; max-width: 72ch; }
.site-main.inner-page .entry-content h2 { color: var(--orange); font-weight: 700; margin: 2rem 0 0.8rem; }
.site-main.inner-page .entry-content h3 { color: var(--teal-deep); font-weight: 700; margin: 1.6rem 0 0.6rem; }
.site-main.inner-page .entry-content a { color: var(--orange); border-bottom: 1px solid currentColor; }

/* Inner pages have a light header background */
body.inner .site-header { background: var(--teal-deep); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .primary-nav {
    position: fixed;
    inset: 0;
    background: var(--teal-deep);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8vw;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 101;
  }
  .primary-nav.open { opacity: 1; visibility: visible; }
  .nav-menu { flex-direction: column; gap: 8px; }
  .nav-menu a { font-size: clamp(2rem, 8vw, 3rem); font-weight: 800; text-transform: uppercase; }
  .nav-menu .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: transparent; box-shadow: none;
    padding: 4px 0 4px 18px;
    display: none;
  }
  .nav-menu .sub-menu a { color: var(--ice-blue); font-size: 1.1rem; font-weight: 600; text-transform: none; padding: 6px 0; }

  .hero-meta { flex-direction: column; align-items: flex-start; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-accent { right: -12px; bottom: -12px; }

  .service-toggle { grid-template-columns: 44px 1fr 38px; }
  .service-plus { width: 38px; height: 38px; }
  .service-panel-inner {
    flex-direction: column;
    padding-left: calc(44px + clamp(16px, 3vw, 40px));
  }
  .service-thumb { width: 140px; height: 94px; }
}

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

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.grad-canvas.is-live { opacity: 1; }
.grad-light { position: relative; }
.grad-light > .container { position: relative; z-index: 1; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
/* The About page opens on a light section, so its first band clears the
   fixed header (the homepage relies on the tall dark hero for this). */
.about-page > section:first-child { padding-top: calc(var(--nav-height) + clamp(30px, 5vw, 70px)); }

/* Gallery — teal section, lime accent */
.about-gallery { background: var(--teal-deep); color: var(--white); }
.about-gallery .section-title { color: var(--white); }
.about-gallery .services-intro { color: var(--ice-blue); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(36px, 5vw, 64px);
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.05);
}
.gallery-item.gallery-feature { grid-column: 1 / -1; aspect-ratio: 16 / 6; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.gallery-feature { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page > section:first-child,
.services-page > section:first-child { padding-top: calc(var(--nav-height) + clamp(30px, 5vw, 70px)); }
.contact-lead { max-width: 60ch; margin-bottom: 0.5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  margin-top: clamp(34px, 5vw, 60px);
}

.contact-list { margin-bottom: 2.2rem; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--ice-blue);
}
.contact-item:first-child { border-top: 1px solid var(--ice-blue); }
.contact-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--peach);
  color: var(--teal-deep);   /* dark icon on light peach — decorative accent */
  border-radius: 50%;
}
.contact-icon svg { width: 20px; height: 20px; }
/* Labels and values stay teal for contrast (orange is never small text on white) */
.contact-item h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal-deep);
  margin-bottom: 5px;
}
.contact-item a, .contact-item p {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 2px solid transparent;
}
.contact-item a { display: inline-block; }
.contact-item a:hover { border-color: var(--orange); }   /* orange used only as a decorative underline */

.contact-socials { display: flex; gap: 14px; }
.contact-socials a {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--teal-deep);
  color: var(--white);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.contact-socials a:hover { background: var(--orange); color: var(--black); transform: translateY(-3px); }
.contact-socials svg { width: 20px; height: 20px; }

.contact-map {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ice-blue);
}
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
}

/* About Us (homepage mission) — brand pattern divider band at the top,
   separating the teal "What we do" section from the white About content. */
.about-pattern {
  position: relative;          /* sit above the .grad-light WebGL canvas (z-index 0) */
  z-index: 1;
  height: clamp(80px, 10vw, 150px);
  background: var(--teal-deep) url('../images/MDCL-pattern.png') center / cover no-repeat;
  margin-bottom: clamp(48px, 6vw, 84px);
}

/* Services FAQ (question heading + direct answer) */
.faq-list { max-width: 880px; margin-top: clamp(30px, 4vw, 50px); position: relative; z-index: 1; }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--ice-blue); }
.faq-item:first-child { border-top: 1px solid var(--ice-blue); }
.faq-q { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; color: var(--teal-deep); margin-bottom: 8px; }
.faq-a { color: var(--teal-deep); max-width: 72ch; }
