/* ============================================
   Charter Marine International
   Main Stylesheet
   ============================================ */

/* --- Google Fonts loaded via @import as fallback
      (also loaded via <link> in HTML head) --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Source+Sans+3:wght@400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy-deep: #0a1628;
  --navy: #0f2240;
  --navy-mid: #1a3355;
  --navy-light: #2a4a6b;
  --slate: #3d5a80;
  --gold: #c9a84c;
  --gold-light: #dfc06a;
  --gold-pale: #f5ecd0;
  --white: #ffffff;
  --off-white: #f4f6f9;
  --gray-light: #e8ecf1;
  --gray: #8a9bb5;
  --text-dark: #1a1a2e;
  --text-body: #3a3f4b;
  --text-light: #c5cdd9;
  --red: #c0392b;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.18);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.25);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --max-width: 1200px;
  --header-height: 80px;
}

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

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.gold-rule {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border: none;
  margin: 1.5rem 0;
}

.required { color: var(--red); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.35s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-dark-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-arrow::after {
  content: '\2192';
  transition: transform 0.3s ease;
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.5rem !important;
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.8rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(15,34,64,0.75) 50%, rgba(10,22,40,0.85) 100%);
}

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

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

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

.hero-stripe {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  z-index: 1;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
}
.hero-stripe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero-stripe::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-deep) 0%, rgba(10,22,40,0.4) 100%);
}

/* Stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}
.stat-item {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 6rem 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-content h2 { margin-bottom: 0.5rem; }

.about-image {
  position: relative;
}
.about-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.about-image::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-md);
  opacity: 0.4;
  z-index: -1;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: 6rem 0;
  background: var(--off-white);
}
.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.services-header .section-label {
  justify-content: center;
}
.services-header .section-label::before { display: none; }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-link {
  display: block;
  color: inherit;
  cursor: pointer;
}
.card-link-arrow {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: transform 0.3s ease;
}
.service-card-link:hover .card-link-arrow { transform: translateX(4px); }

.service-icon {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg {
  width: 28px; height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 { margin-bottom: 0.75rem; font-size: 1.3rem; }
.service-card p { font-size: 0.95rem; line-height: 1.7; }

/* Service detail highlights */
.service-highlights {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.service-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.service-highlight svg { flex-shrink: 0; }

/* ============================================
   APPROACH SECTION
   ============================================ */
.approach-section {
  padding: 6rem 0;
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.approach-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.approach-content h2 { color: var(--white); margin-bottom: 0.5rem; }
.approach-content p { color: var(--text-light); }

.approach-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.approach-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.approach-feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.approach-feature-icon svg {
  width: 22px; height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}
.approach-feature h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.approach-feature p { font-size: 0.95rem; color: var(--gray); margin-bottom: 0; }

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
  padding: 6rem 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}
.team-card:hover { box-shadow: var(--shadow-md); }

.team-photo {
  width: 100%;
  height: 320px;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.team-card:hover .team-photo img { transform: scale(1.03); }

.team-info { padding: 2rem; }
.team-info h3 { margin-bottom: 0.15rem; font-size: 1.5rem; }
.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.team-info p { font-size: 0.95rem; line-height: 1.7; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 6rem 0;
  background: var(--off-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 0.5rem; }
.contact-info > p { margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-icon svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}
.contact-detail h4 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
}
.contact-detail p { font-size: 0.95rem; margin-bottom: 0; }
.contact-detail a { color: var(--slate); }
.contact-detail a:hover { color: var(--gold); }

/* Contact form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: 1.5rem; }

.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 input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233a3f4b' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

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

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

.form-footnote {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: center;
}

/* Captcha */
.captcha-group {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,168,76,0.3);
}
.captcha-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.captcha-group input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
}
.captcha-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.captcha-hint {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Form states */
.form-error {
  background: #fdf2f2;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(192,57,43,0.2);
  margin-bottom: 1rem;
}
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.form-success .success-icon {
  margin: 0 auto 1.5rem;
  width: 64px; height: 64px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 { margin-bottom: 0.5rem; }

/* ============================================
   INNER PAGE HERO
   ============================================ */
.page-hero {
  padding: 10rem 0 4rem;
  background: var(--navy-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 60%);
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; position: relative; }
.page-hero p { color: var(--text-light); font-size: 1.15rem; max-width: 600px; margin: 0 auto; position: relative; }

/* Services detail */
.services-detail {
  padding: 5rem 0;
  background: var(--white);
}
.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.service-detail-block:last-child { border-bottom: none; }
.service-detail-block.reversed { direction: rtl; }
.service-detail-block.reversed > * { direction: ltr; }
.service-detail-content h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }

.service-detail-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-detail-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* CTA Banner */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; position: relative; }
.cta-banner p { color: var(--text-light); font-size: 1.1rem; max-width: 550px; margin: 0 auto 2rem; position: relative; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-deep);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo img { height: 40px; border-radius: var(--radius-sm); }
.footer-logo-text { font-family: var(--font-display); font-size: 1rem; color: var(--white); }

.footer-nav { display: flex; gap: 2rem; }
.footer-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray);
}
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { text-align: center; font-size: 0.8rem; color: var(--gray); }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.45s; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-stripe { display: none; }
  .about-grid,
  .approach-grid,
  .contact-grid,
  .service-detail-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-detail-block.reversed { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .menu-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding: 5rem 0 3rem; }
  .hero-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 1.25rem; }
  .team-photo { height: 250px; }
}
