/* =============================================================
   Sudbury Home Inspections — Stylesheet
   Portable static site, no build tools required.
   ============================================================= */

:root {
  --navy:        #0d2137;
  --navy-mid:    #1a3a5c;
  --navy-light:  #2a527d;
  --gold:        #c9860a;
  --gold-light:  #e9a020;
  --gold-pale:   #fef4e2;
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --gray-700:    #374151;
  --gray-800:    #1f2937;
  --gray-900:    #111827;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --max-w:     1200px;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(13, 33, 55, 0.09);
  --shadow-lg: 0 12px 48px rgba(13, 33, 55, 0.16);
  --ease:      0.25s ease;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
svg { display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--ease), border-color var(--ease),
              transform var(--ease), box-shadow var(--ease);
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 134, 10, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* ─── Section helpers ────────────────────────────────────────── */
.section { padding: 6rem 1.5rem; }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__sub {
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ─── Scroll-triggered animations ───────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: none;
}
/* Stagger children inside animated containers */
[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }

/* ─────────────────────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.1rem 0;
  transition: background var(--ease), box-shadow var(--ease), padding var(--ease);
}
.nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: 0.75rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  transition: padding var(--ease), opacity var(--ease);
}
.nav__logo:hover { opacity: 0.88; }
.nav__logo-img {
  height: 86px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.nav.scrolled .nav__logo-img {
  height: 34px;
}
.nav.scrolled .nav__logo {
  padding: 4px 10px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--ease);
}
.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background var(--ease) !important;
}
.nav__cta:hover { background: var(--gold-light) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 201;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 33, 55, 0.68);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 8rem 1.5rem 6rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold-light);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: heroScroll 2.2s ease-in-out infinite;
  z-index: 2;
}

@keyframes heroScroll {
  0%, 100% { transform: translateX(-50%) translateY(0);  opacity: 0.4; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 0.8; }
}

/* ─────────────────────────────────────────────────────────────
   STATS BAR
   ───────────────────────────────────────────────────────────── */
.stats {
  background: var(--gold);
  padding: 2.5rem 1.5rem;
}

.stats__grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  text-align: center;
  flex-wrap: wrap;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stats__number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stats__label {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ─────────────────────────────────────────────────────────────
   SERVICES
   ───────────────────────────────────────────────────────────── */
.services { background: var(--gray-50); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  background: var(--navy);
  transform: scale(1.04);
}
.service-card--featured:hover {
  transform: scale(1.04) translateY(-5px);
}

.service-card__badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.28rem 1.1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-card__icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.service-card--featured .service-card__icon { background: rgba(255, 255, 255, 0.1); }
.service-card--featured .service-card__icon svg { stroke: var(--gold-light); }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.service-card--featured h3 { color: var(--white); }

.service-card p {
  font-size: 0.93rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.service-card--featured p { color: rgba(255, 255, 255, 0.68); }

.service-card__list { display: flex; flex-direction: column; gap: 0.5rem; }
.service-card__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}
.service-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.service-card--featured .service-card__list li { color: rgba(255, 255, 255, 0.72); }
.service-card--featured .service-card__list li::before { background: var(--gold-light); }

/* ─────────────────────────────────────────────────────────────
   WHY US
   ───────────────────────────────────────────────────────────── */
.why-us { background: var(--white); }

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-us__text .section__title { text-align: left; }

.why-us__text p {
  color: var(--gray-500);
  line-height: 1.72;
  margin-top: 1.25rem;
}

.why-us__features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature { display: flex; gap: 1.25rem; align-items: flex-start; }

.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__icon svg { width: 22px; height: 22px; stroke: var(--gold); }

.feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.feature p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.55; }

/* ─────────────────────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────────────────────── */
.about { background: var(--gray-50); }

.about__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: center;
}

.about__image-wrap { position: relative; }

.about__image-placeholder {
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gray-400);
  text-align: center;
  padding: 2rem;
}
.about__image-placeholder svg { width: 64px; height: 64px; stroke: var(--gray-300); }
.about__image-placeholder p { font-size: 0.85rem; font-weight: 500; line-height: 1.5; }
.about__image-placeholder small { font-size: 0.75rem; color: var(--gray-400); }

/* Real photo — swap placeholder div for: <img src="..." class="about__photo" alt="..."> */
.about__photo {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}

.about__content .section__title { text-align: left; }

.about__role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.about__content p {
  color: var(--gray-500);
  line-height: 1.72;
  margin-bottom: 1rem;
}

.about__credentials {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.credential svg { width: 18px; height: 18px; stroke: var(--gold); flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────
   GALLERY
   ───────────────────────────────────────────────────────────── */
.gallery { padding: 0; line-height: 0; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.gallery__item { overflow: hidden; aspect-ratio: 4/3; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }

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

/* ─────────────────────────────────────────────────────────────
   AREAS
   ───────────────────────────────────────────────────────────── */
.areas { background: var(--navy); }
.areas .section__eyebrow { color: var(--gold-light); }
.areas .section__title   { color: var(--white); }
.areas .section__sub     { color: rgba(255, 255, 255, 0.55); }

.areas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.areas__grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

.area-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background var(--ease), transform var(--ease);
}
.area-card:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-4px);
}
.area-card--primary {
  background: var(--gold);
  border-color: var(--gold);
}
.area-card--primary:hover { background: var(--gold-light); }

.area-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.area-card__icon svg { width: 22px; height: 22px; stroke: var(--white); }

.area-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.area-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────────────────────── */
.contact { background: var(--gray-50); }

.contact__panel {
  display: grid;
  grid-template-columns: 340px 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ── Info panel (left, navy) ── */
.contact__info {
  background: var(--navy);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact__info-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.contact__info-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--white);
  line-height: 1.2;
  margin-top: -0.5rem;
}

.contact__info-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.72;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  transition: color var(--ease);
}
.contact__detail:hover { color: var(--gold-light); }
.contact__detail svg {
  flex-shrink: 0;
  stroke: var(--gold-light);
  opacity: 0.85;
}

.contact__socials {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  transition: border-color var(--ease), color var(--ease);
}
.social-link:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ── Form panel (right, white) ── */
.contact__form-wrap {
  background: var(--white);
  padding: 3rem 2.5rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.req { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 134, 10, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); font-size: 0.9rem; }

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

.form__note {
  text-align: center;
  font-size: 0.85rem;
  min-height: 1.2em;
  margin-top: -0.25rem;
}
.form__note--success { color: #16a34a; font-weight: 600; }
.form__note--error   { color: #dc2626; }

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.footer { background: var(--navy); padding-top: 4rem; }

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.85rem;
}
.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 300px;
}

.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--ease);
}
.footer__col a:hover { color: var(--white); }
.footer__col p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.9;
}

.footer__bottom { padding: 1.4rem 0; }
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about__grid     { grid-template-columns: 300px 1fr; gap: 3.5rem; }
  .why-us__grid    { gap: 3rem; }
  .contact__panel { grid-template-columns: 300px 1fr; }
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  .service-card--featured { transform: none; }
  .service-card--featured:hover { transform: translateY(-5px); }
  .areas__grid    { grid-template-columns: repeat(2, 1fr); }
  .areas__grid--two { grid-template-columns: repeat(2, 1fr); }
  .stats__grid    { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .footer__inner  { grid-template-columns: 1fr 1fr; }
  .footer__brand  { grid-column: 1 / -1; }
  .contact__panel { grid-template-columns: 1fr; border-radius: var(--radius); }
  .contact__info { padding: 2.5rem 2rem; }
  .contact__form-wrap { padding: 2.5rem 2rem; }
  .contact__socials { flex-direction: row; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 1.25rem; }

  /* Mobile nav */
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 200;
  }
  .nav__links.open { display: flex; }
  .nav__links a    { font-size: 1.25rem; }
  .nav__cta        { padding: 0.7rem 1.75rem !important; }

  /* Sections */
  .why-us__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .why-us__text .section__title { text-align: center; }
  .why-us__text { text-align: center; }
  .why-us__text .btn { display: inline-flex; }

  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__image-placeholder { max-width: 360px; margin: 0 auto; aspect-ratio: 4/3; }
  .about__content .section__title { text-align: center; }
  .about__content { text-align: center; }
  .about__role { text-align: center; }
  .credential { justify-content: center; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}

@media (max-width: 540px) {
  .areas__grid    { grid-template-columns: 1fr; }
  .areas__grid--two { grid-template-columns: 1fr; }
  .hero__actions  { flex-direction: column; align-items: flex-start; }
  .stats__grid    { grid-template-columns: repeat(2, 1fr); }
  .hero__title    { font-size: 2.2rem; }
  .form-row       { grid-template-columns: 1fr; }
}
