/* ============================================================
   Mindspan — Shared Stylesheet
   Responsive, modern rebuild. No jQuery, no Muse scripts.
   Palette: navy #2B3D4F  |  grey #95A5A6  |  accent #54B6D1
   ============================================================ */

/* ---------- Typicons Icon Font ---------- */
@font-face {
  font-family: 'Typicons';
  src: url('../fonts/typicons.eot');
  src: local('☺'),
       url('../fonts/typicons.woff') format('woff'),
       url('../fonts/typicons.svg#Typicons') format('svg');
  font-weight: 400;
  font-style: normal;
}

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

:root {
  --navy:   #2B3D4F;
  --grey:   #95A5A6;
  --light:  #F5F5F5;
  --accent: #54B6D1;
  --white:  #FFFFFF;
  --text:   #333333;
  --border: #D1D1D1;
  --font-main: 'Open Sans', sans-serif;
  --font-head: 'Raleway', sans-serif;
  --nav-h: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.4rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto;
}

/* ---------- Navigation ---------- */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  height: var(--nav-h);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo img { height: 52px; width: auto; }

.nav-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.75rem;
  color: var(--grey);
  line-height: 1.4;
}
.nav-contact a { color: var(--grey); }
.nav-contact a:hover { color: var(--navy); text-decoration: none; }

.nav-links {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.nav-links a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #252525;
  padding: 6px 14px;
  border-top: 2px solid transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--grey);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--grey);
  border-top-color: #2C3E50;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.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); }

/* ---------- Page body offset for fixed nav ---------- */
body > main, .page-content { padding-top: var(--nav-h); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 52vh;
  min-height: 420px;
  max-height: 650px;
  min-height: 340px;
  overflow: hidden;
  background: var(--navy);
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  background: linear-gradient(to top, rgba(43,61,79,0.85) 0%, transparent 60%);
}
.hero-overlay h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 4px;
}
.hero-overlay .hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-family: var(--font-head);
}

/* ---------- Home Slideshow ---------- */
.home-hero {
  position: relative;
  width: 100%;
  height: 52vh;
  min-height: 420px;
  max-height: 650px;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dot-pattern overlay (original: rgba(0,0,0,0.15) + tiled dots PNG) */
.hero-dot-overlay {
  position: absolute;
  inset: 0;
  background-image: url('../images/pattern_dots.png');
  background-repeat: repeat;
  background-color: rgba(0,0,0,0.15);
  z-index: 1;
  pointer-events: none;
}

/* Caption sits above the overlay */
.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}

/* ── Top rotating line ── */
.hero-top-rotator {
  position: relative;
  height: 2.8em;
  overflow: hidden;
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
}
.hero-top-line {
  position: absolute;
  left: 0; right: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-top-line.active {
  opacity: 1;
  transform: translateX(0);
}
.hero-top-line.exit-left {
  opacity: 0;
  transform: translateX(-100%);
}
.hero-top-line.enter-right {
  opacity: 0;
  transform: translateX(100%);
  transition: none;
}

/* ── Bottom rotating panel ── */
.hero-bottom-rotator {
  position: relative;
  height: clamp(3rem, 7vw, 4.5rem);
  overflow: hidden;
  width: 100%;
  max-width: 860px;
  text-align: center;
  margin-bottom: 28px;
}
.hero-bottom-panel {
  position: absolute;
  left: 0; right: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-bottom-panel.active {
  opacity: 1;
  transform: translateY(0);
}
.hero-bottom-panel.exit-up {
  opacity: 0;
  transform: translateY(-100%);
}
.hero-bottom-panel.enter-down {
  opacity: 0;
  transform: translateY(100%);
  transition: none;
}
.hero-bottom-panel p {
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.4;
}

/* ── Hero CTA button ── */
.btn-hero {
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid var(--white);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-hero:hover {
  background: var(--white);
  color: var(--navy);
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: #3a9ab8;
  border-color: #3a9ab8;
  color: var(--white);
  text-decoration: none;
}

/* ---------- Services strip ---------- */
.services-strip {
  background: var(--white);
  padding: 40px 0;
}
.services-row {
  display: flex;
}
.service-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.service-card:hover { background: var(--light); text-decoration: none; }
.service-icon {
  font-family: 'Typicons', sans-serif;
  font-size: 40px;
  color: var(--grey);
  flex-shrink: 0;
  width: 48px;
  text-align: center;
  line-height: 1;
}
.service-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 16px;
}
.service-text h3 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  font-family: var(--font-main);
  font-weight: 800;
  margin-bottom: 6px;
}
.service-text p {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .services-row { flex-direction: column; }
  .service-card { border-right: none; }
}

/* ---------- Recent Projects ---------- */
.projects-section { background: var(--white); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
}
.project-card-thumb {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: opacity 0.3s;
  opacity: 0.85;
}
.project-card:hover .project-card-thumb { opacity: 1; }

/* Each card swaps to colour image on hover */
.project-card--motorleaf .project-card-thumb {
  background-image: url('../images/motorleafbw.jpg');
}
.project-card--motorleaf:hover .project-card-thumb {
  background-image: url('../images/motorleafcolour.jpg');
}
.project-card--nanaimobar .project-card-thumb {
  background-image: url('../images/nanaimobarbwg2.jpg');
}
.project-card--nanaimobar:hover .project-card-thumb {
  background-image: url('../images/nanaimobar.jpg');
}
.project-card--darkroom .project-card-thumb {
  background-image: url('../images/darkroomprobw.jpg');
}
.project-card--darkroom:hover .project-card-thumb {
  background-image: url('../images/darkroomprofullsize.jpg');
}

.project-info { padding: 18px 20px; }
.project-info h3 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}
.project-info p { font-size: 0.88rem; color: var(--text); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  cursor: pointer;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox-content img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
}
.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  font-size: 1.2rem;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}
.lightbox-close:hover { background: var(--accent); }
.project-card { cursor: pointer; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--light); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  border: 1px solid var(--border);
}
.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.author-name {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  margin-bottom: 6px;
}
.stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- About page specific ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-intro .text-block p { color: var(--text); margin-bottom: 16px; }

.bio-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--light);
  border-radius: 12px;
  padding: 40px;
}
.bio-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border);
}
.bio-content h2 { margin-bottom: 16px; }
.bio-content p { margin-bottom: 14px; color: var(--text); }

/* ---------- Services page ---------- */
.services-detail .service-group { margin-bottom: 48px; }
.services-detail h3 {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.services-detail ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text);
}
.services-detail ul li { margin-bottom: 8px; }
.services-detail p { color: var(--text); margin-bottom: 12px; }

.services-cards-section { background: var(--light); }
.services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.svc-card-icon {
  font-family: 'Typicons', sans-serif;
  font-size: 50px;
  font-weight: 400;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  color: var(--grey);
  text-align: center;
  line-height: 58px;
}
.svc-card h3 { font-size: 1rem; margin-bottom: 6px; }
.svc-card p { font-size: 0.88rem; color: var(--grey); line-height: 1.55; }

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-details h2 { margin-bottom: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-item-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-text h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 4px;
}
.contact-item-text p, .contact-item-text a {
  color: var(--navy);
  font-size: 0.95rem;
}

.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 32px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--light);
  border-radius: 12px;
  padding: 40px;
}
.contact-form-wrap h2 { margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(84,182,209,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input.error,
.form-group textarea.error { border-color: #e74c3c; }

.form-msg { font-size: 0.88rem; padding: 10px 0; display: none; }
.form-msg.success { color: #27ae60; display: block; }
.form-msg.error-msg { color: #e74c3c; display: block; }

/* ---------- Client Logos Strip ---------- */
.clients-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.clients-strip .section-header {
  margin-bottom: 28px;
}
.clients-track-wrap {
  overflow: hidden;
  position: relative;
}
.clients-track {
  display: flex;
  /* 4 logos × 25% each, no gaps — slides by 100% to reveal next 4 */
  transition: transform 0.5s ease;
  will-change: transform;
}
.client-logo {
  flex: 0 0 25%;
  padding: 0 12px;
  box-sizing: border-box;
}
.client-logo-inner {
  border: 1px solid var(--border);
  border-radius: 4px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  opacity: 0.5;
  transition: opacity 0.2s;
  overflow: hidden;
}
.client-logo:hover .client-logo-inner { opacity: 1; }
.client-logo-inner.client-logo-dark { background: #1a3a5c; }
.client-logo img {
  max-width: 135px;
  max-height: 43px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.clients-nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 16px;
}
.clients-btn {
  width: 28px;
  height: 28px;
  background: var(--navy);
  border: none;
  color: var(--white);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.clients-btn:hover { background: var(--accent); }

@media (max-width: 768px) {
  .client-logo { flex: 0 0 50%; }
}

/* ---------- Footer ---------- */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-about p { font-size: 0.9rem; line-height: 1.7; margin-top: 16px; }
.footer-logo img { height: 44px; filter: brightness(0) invert(1); opacity: 0.85; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col p, .footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-bottom: 6px;
}
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}
.social-links a:hover { border-color: var(--white); color: var(--white); text-decoration: none; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-grey { color: var(--grey); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: 48px 0; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 12px 0;
    z-index: 999;
  }
  .nav-links.open a {
    padding: 12px 24px;
    border-radius: 0;
    width: 100%;
  }
  .nav-toggle { display: flex; }
  .nav-contact { display: none; }

  .home-hero { height: 52vh; min-height: 360px; }
  .hero-top-line { white-space: normal; letter-spacing: 0.08em; }
  .hero-bottom-rotator { height: clamp(6rem, 20vw, 9rem); }

  .projects-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .services-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .bio-section { grid-template-columns: 1fr; text-align: center; }
  .bio-photo { display: flex; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-overlay { padding: 28px 24px; }
  .contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { height: 52vh; min-height: 360px; }
}
