/* ============================================================
   Found Projects — Design System
   Modern construction / real-estate aesthetic
   Palette: deep navy #0f1f33  |  slate #1e3a52  |  orange #d4621a
   Surface: #f5f4f1  |  white #fff  |  text #1a1a1a  |  muted #5a6472
   ============================================================ */

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

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --navy:        #0f1f33;
  --navy-mid:    #1e3a52;
  --navy-light:  #2d5073;
  --orange:      #d4621a;
  --orange-dk:   #b85316;
  --sand:        #f5f4f1;
  --white:       #ffffff;
  --text:        #1a1a1a;
  --muted:       #5a6472;
  --border:      #dde1e7;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.14);
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   14px;
  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Open Sans', sans-serif;
  --max-w:       1160px;
  --trans:       220ms ease;
}

/* ── Base ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
ul[role="list"] { list-style: none; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: min(var(--max-w), 100% - 3rem);
  margin-inline: auto;
}

/* Sections: minimal top pad, generous bottom */
.section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

/* ── Typography ───────────────────────────────────────────── */
.label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: .6rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 3rem;
}

.subsection-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.75rem;
  margin-bottom: .5rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--trans), color var(--trans), border-color var(--trans), box-shadow var(--trans);
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-dk);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(212,98,26,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--sand); text-decoration: none; }

.btn-full { width: 100%; justify-content: center; }

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Blur via ::before so the header itself doesn't create a containing block
   for fixed-position children (backdrop-filter breaks position:fixed descendants) */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 51, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}

.nav-container {
  width: min(var(--max-w), 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img { height: 52px; width: auto; }

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

/* Logo item hidden on desktop — only visible in mobile overlay */
.nav-menu-logo { display: none; }

.nav-link {
  color: rgba(255,255,255,.75);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color var(--trans);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--trans);
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
  text-decoration: none;
}
.nav-link:hover::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
  background: var(--navy);
}

.hero::before, .hero::after { display: none; }

/* Hero background image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}

/* Dark overlay on top of hero image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,18,30,.82) 0%,
    rgba(10,18,30,.55) 60%,
    rgba(10,18,30,.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: .75rem;
  max-width: 16ch;
}

.hero-subtitle {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.7);
  max-width: 46ch;
}

.hero-actions { display: none; } /* no CTAs in hero per earlier instruction */

/* ── About ────────────────────────────────────────────────── */
.about-section { background: var(--white); }

/* Wide: 2-col grid, 4 cells arranged as text|photo / text|photo */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3rem 4rem;
  align-items: center;
}

/* Explicit placement so col order is text-left, photo-right on both rows */
.about-text-1   { grid-column: 1; grid-row: 1; }
.about-img-wrap-1 { grid-column: 2; grid-row: 1; }
.about-text-2   { grid-column: 1; grid-row: 2; }
.about-img-wrap-2 { grid-column: 2; grid-row: 2; }

.about-img-wrap {
  /* Max size at transition breakpoint (900px → col width ~50% of container ~560px) */
  width: 100%;
}

.about-img-primary,
.about-img-secondary {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}

.about-text {
  padding-top: .25rem;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: .975rem;
  line-height: 1.75;
}

/* ── Services ─────────────────────────────────────────────── */
.services-section { background: var(--sand); }

/* 2-col grid on wide, 1-col on narrow */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  text-align: center;
}

.service-item {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

/* Right column items get a left border */
.service-item:nth-child(even) {
  border-left: 1px solid var(--border);
}

/* Remove bottom border from last two items */
.service-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.service-item-title {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .65rem;
}

.service-item p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
}

.services-cta-text {
  text-align: center;
  margin-top: 2.5rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

/* ── Section heading accent bar ──────────────────────────── */
.section-title {
  padding-left: .85rem;
  border-left: 4px solid var(--orange);
}

/* ── Stats strip ─────────────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  padding-block: 2.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: .4rem;
  display: block;
}

/* ── Scroll fade-in ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Gallery Carousel — 3-up peek on wide, full on narrow ── */
.gallery-section {
  background: var(--navy);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden; /* clip peeking slides at section edge */
}
.gallery-section .label { color: rgba(255,255,255,.5); }
.gallery-section .section-title { color: var(--white); border-left-color: var(--orange); }

/* Outer wrapper clips the track */
.carousel {
  position: relative;
  width: 100%;
}

/* Track-wrap allows overflow so peek slides are visible */
.carousel-track-wrap {
  overflow: hidden;
  width: 100%;
  /* Responsive height: scales proportionally with viewport width (16:9 of 70% slide) */
  height: clamp(180px, 39.375vw, 560px);
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Each slide: 70% wide, 15% of adjacent slides peek in on each side */
.carousel-slide {
  /* width set by JS via layoutSlides() for precise centering */
  flex-shrink: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  height: 100%;
}

/* Tint overlay on non-active slides */
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,18,30,.62);
  transition: opacity .55s ease;
  pointer-events: none;
  border-radius: var(--radius);
}
.carousel-slide.is-active::after { opacity: 0; }
.carousel-slide.is-active { transform: scale(1.025); z-index: 1; }

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.carousel-slide figcaption { display: none; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,31,51,.75);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans), border-color var(--trans);
  z-index: 10;
}
.carousel-btn:hover { background: var(--orange); border-color: var(--orange); }
.carousel-btn--prev { left: 14px; }
.carousel-btn--next { right: 14px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--trans), transform var(--trans);
}
.carousel-dot.is-active { background: var(--orange); transform: scale(1.5); }

/* ── Team ─────────────────────────────────────────────────── */
.team-section { background: var(--sand); }

/* Featured person */
.team-feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 3.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.team-feature-image {
  overflow: hidden;
  background: var(--navy-mid);
  min-height: 320px;
}

.team-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.team-feature-text {
  min-width: 0;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.team-feature-text p { margin-bottom: .85rem; color: var(--muted); font-size: .95rem; }

.team-role {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .4rem;
}

.team-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .75rem;
}

.team-credentials {
  font-size: .875rem;
  color: var(--muted);
}

.team-directors-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card-image-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--navy-mid);
  /* Scale up on wide windows, but never shrink below the 1100px size (~198px at 18vw) */
  width: clamp(200px, 18vw, 260px);
  height: clamp(200px, 18vw, 260px);
  border-radius: 50%;
  margin: 2rem auto 0;
}
.team-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card-placeholder-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-mid);
  height: 220px;
}
.team-card-placeholder {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,.2);
}

.team-card-body {
  padding: 1.75rem;
  flex: 1;
}
.team-card-body h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.team-card-body p { color: var(--muted); font-size: .9rem; margin-bottom: .5rem; line-height: 1.6; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-section {
  background: var(--navy);
  color: rgba(255,255,255,.85);
}
.contact-section .label { color: rgba(255,255,255,.5); }
.contact-section .section-title { color: var(--white); border-left-color: var(--orange); }
.contact-section .section-subtitle { color: rgba(255,255,255,.65); }

.contact-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-title { margin-bottom: .5rem; }

.contact-details {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-details li { display: flex; flex-direction: column; gap: .15rem; }
.contact-details strong {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.contact-details span, .contact-details a {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}
.contact-details a:hover { color: var(--orange); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* ── Contact Modal ────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,18,30,.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: min(560px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(24px);
  transition: transform .28s ease;
  box-shadow: var(--shadow-lg);
}
.modal-overlay.is-open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--trans);
}
.modal-close:hover { background: var(--sand); }

.modal-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ── Form ─────────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: .75rem; }

.form-group { display: flex; flex-direction: column; gap: .35rem; }

.form-group label {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-group label span { color: var(--orange); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(212,98,26,.12);
}
.form-group input[type="file"] { padding: .4rem .5rem; }
.field-hint { font-size: .78rem; color: var(--muted); }

.form-status {
  font-size: .875rem;
  padding: .6rem .9rem;
  border-radius: var(--radius-sm);
}
.form-status.success { background: #ecfdf5; color: #065f46; }
.form-status.error   { background: #fef2f2; color: #991b1b; }

.form-actions { display: flex; gap: .75rem; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { margin-top: .2rem; width: auto; flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding-block: 1.75rem;
  font-size: .85rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.8);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
}

.footer-copy { color: rgba(255,255,255,.45); }
.footer-back { color: rgba(255,255,255,.45); transition: color var(--trans); }
.footer-back:hover { color: #fff; text-decoration: none; }

.site-footer a { color: rgba(255,255,255,.55); }
.site-footer a:hover { color: #fff; text-decoration: none; }

/* ── Manager card: collapse to single-column at 1100px ───── */
@media (max-width: 1100px) {
  .team-feature {
    grid-template-columns: 1fr;
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: visible;
    padding-top: 2rem;
  }
  .team-feature-image {
    aspect-ratio: 4/5;
    min-height: unset;
    max-height: 480px;
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .team-feature-text {
    padding: 2rem 2.5rem;
    max-width: 100%;
  }
}

/* ── Mobile nav — full-screen overlay ────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; z-index: 160; position: relative; }

  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    display: none;
    z-index: 155;
  }
  .nav-menu.is-open { display: flex; }

  /* Logo shown inside mobile nav overlay */
  .nav-menu-logo {
    display: flex;
    justify-content: center;
    padding: 2rem 0 1.5rem;
    margin-bottom: .5rem;
  }
  .nav-menu-logo img { opacity: .9; width: 64px; height: 64px; }

  .nav-link {
    padding: 1.1rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255,255,255,.85);
    width: 100%;
    text-align: center;
  }
  .nav-link:hover { color: var(--orange); background: none; text-decoration: none; }
  .nav-link::after { display: none; }
}

/* ── Responsive layout ────────────────────────────────────── */
@media (max-width: 900px) {
  /* About: single column, reorder to text→photo→text→photo */
  .about-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.5rem;
  }
  .about-text-1   { grid-column: 1; grid-row: 1; }
  .about-img-wrap-1 { grid-column: 1; grid-row: 2; max-width: 480px; margin: 0 auto; width: 100%; }
  .about-text-2   { grid-column: 1; grid-row: 3; }
  .about-img-wrap-2 { grid-column: 1; grid-row: 4; max-width: 480px; margin: 0 auto; width: 100%; }

  .contact-top         { grid-template-columns: 1fr; gap: 2.5rem; }
  /* Services: 1-col on narrow */
  .services-list       { grid-template-columns: 1fr; }
  .service-item:nth-child(even) { border-left: none; }
  .service-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .service-item:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .team-grid     { grid-template-columns: 1fr; }
  .form-actions  { flex-direction: column; }
  .modal-box     { padding: 1.75rem 1.25rem; }
  .footer-inner  { flex-direction: column; text-align: center; gap: .75rem; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }

  /* Carousel narrow: JS sets width to 100% of wrap, overlay hidden */
  .carousel-slide::after { display: none; }
  .carousel-slide.is-active { transform: none; }
  .carousel-btn  { width: 38px; height: 38px; font-size: .95rem; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
