/* ==========================================================================
   Ed Chester — Personal Training & Coaching
   Color Palette:
     Navy:     #1B3557
     Deep Navy: #0F2440
     Warm Gold: #D4944C
     Light Gold: #E8B878
     Cream:    #FAF6F1
     Soft Gray: #F0EDE8
     Charcoal: #2C2C2C
     White:    #FFFFFF
   ========================================================================== */

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

:root {
  --navy: #1B3557;
  --deep-navy: #0F2440;
  --warm-gold: #D4944C;
  --light-gold: #E8B878;
  --cream: #FAF6F1;
  --soft-gray: #F0EDE8;
  --charcoal: #2C2C2C;
  --white: #FFFFFF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-height: 80px;
  --max-width: 1140px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 42px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--warm-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--light-gold);
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: #4A4A4A;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-intro {
  max-width: 620px;
  font-size: 1.05rem;
  color: #5A5A5A;
  line-height: 1.8;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--warm-gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--warm-gold);
  color: var(--white);
  border-color: var(--warm-gold);
}

.btn-primary:hover {
  background: #c0803a;
  border-color: #c0803a;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27, 53, 87, 0.08);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  height: 60px;
  width: auto;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-logo-name {
  font-family: 'Chakra Petch', 'Arial', sans-serif;
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
}

.site-logo-tagline {
  font-family: 'Chakra Petch', 'Arial', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--warm-gold);
}

.site-logo:focus-visible {
  outline: 3px solid var(--warm-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.3px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--warm-gold);
}

.nav-list a:focus-visible {
  outline: 3px solid var(--warm-gold);
  outline-offset: 2px;
}

.nav-cta {
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--navy) 50%, #264A73 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212, 148, 76, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(15, 36, 64, 0.4), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 3rem 0;
}

.hero .section-label {
  color: var(--light-gold);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: var(--warm-gold);
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 540px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-badge svg {
  flex-shrink: 0;
}

/* Hero image */
.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--deep-navy) 0%, transparent 40%);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: 6rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27, 53, 87, 0.12);
}

.about-image-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--warm-gold), var(--light-gold));
  border-radius: 12px;
  z-index: -1;
}

.about-content {
  padding: 1rem 0;
}

.about-content p {
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--soft-gray);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--warm-gold);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  padding: 6rem 0;
  background: var(--cream);
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-header .section-intro {
  margin: 0 auto;
}

.services-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
}

.services-banner-img {
  border-radius: 12px;
  overflow: hidden;
}

.services-banner-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.25rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(27, 53, 87, 0.06);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(27, 53, 87, 0.1);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(212, 148, 76, 0.12), rgba(232, 184, 120, 0.08));
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--warm-gold);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================================================
   PHILOSOPHY / APPROACH
   ========================================================================== */
.philosophy {
  padding: 6rem 0;
  background: var(--white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-content {
  order: 1;
}

.philosophy-visual {
  order: 2;
}

.philosophy-steps {
  margin-top: 2rem;
}

.philosophy-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.step-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
}

.step-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.step-content p {
  font-size: 0.92rem;
  color: #666;
  margin-bottom: 0;
  line-height: 1.7;
}

.philosophy-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 16px 48px rgba(27, 53, 87, 0.12);
}

.philosophy-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.philosophy-quote {
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--deep-navy));
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--white);
}

.philosophy-quote::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--warm-gold);
  opacity: 0.3;
  line-height: 1;
}

.philosophy-quote blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.philosophy-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--light-gold);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   CREDENTIALS
   ========================================================================== */
.credentials {
  padding: 5rem 0;
  background: var(--soft-gray);
}

.credentials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.credentials-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.credential-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(27, 53, 87, 0.06);
}

.credential-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--navy);
}

.credential-icon svg {
  width: 28px;
  height: 28px;
}

.credential-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.credential-item p {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 0;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  padding: 1rem 0;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  font-size: 1.02rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(212, 148, 76, 0.1);
  border-radius: 10px;
  color: var(--warm-gold);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail-text {
  padding-top: 0.25rem;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: 0.92rem;
  color: #666;
}

.contact-detail-text a:hover {
  color: var(--warm-gold);
}

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  transition: background var(--transition);
}

.contact-social a:hover {
  background: var(--warm-gold);
}

.contact-social a:focus-visible {
  outline: 3px solid var(--warm-gold);
  outline-offset: 2px;
}

.contact-social svg {
  width: 18px;
  height: 18px;
}

/* Contact Form */
.contact-form {
  background: var(--cream);
  border-radius: 16px;
  padding: 2.5rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group .optional {
  font-weight: 400;
  color: #999;
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid rgba(27, 53, 87, 0.15);
  border-radius: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--warm-gold);
  box-shadow: 0 0 0 3px rgba(212, 148, 76, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #BBB;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

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

.form-error {
  font-size: 0.78rem;
  color: #D94F4F;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand-name {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.footer-brand-name .site-logo-name {
  color: var(--white);
}

.footer-brand-name .site-logo-tagline {
  color: var(--warm-gold);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 0;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--warm-gold);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--warm-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--warm-gold);
  width: 16px;
  height: 16px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item a:hover {
  color: var(--warm-gold);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--warm-gold);
  color: var(--white);
}

.footer-social a:focus-visible {
  outline: 2px solid var(--warm-gold);
  outline-offset: 2px;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--warm-gold);
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.error-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
}

.error-content {
  max-width: 480px;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.15;
}

.error-content h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.error-content p {
  font-size: 1.02rem;
  color: #666;
  margin-bottom: 2rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credentials-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about-grid,
  .philosophy-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-wrapper {
    max-width: 420px;
    margin: 0 auto;
  }

  .philosophy-content {
    order: 2;
  }

  .philosophy-visual {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    opacity: 0.5;
  }

  .services-banner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 1);
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: calc(var(--header-height) + 1.5rem) 1.5rem 2rem;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 1001;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--soft-gray);
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  .mobile-overlay.is-visible {
    display: block;
  }

  .hero-content {
    padding: 2rem 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .hero-image {
    width: 100%;
    opacity: 0.4;
  }

  .site-logo-name {
    font-size: 1.4rem;
  }

  .site-logo-tagline {
    font-size: 0.6rem;
  }

  .services-banner-img img {
    height: 180px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .credentials-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .contact-form {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 420px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .credentials-list {
    grid-template-columns: 1fr;
  }
}
