/* ==========================================================================
   FLORA GALLICA - STYLES OFFICIELS & ARCHITECTURE CSS RESPONSIVE
   Association d'intérêt général - Dreux (Eure-et-Loir)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  --color-utility-orange: #E64A19;
  --color-primary-navy: #0A4260;
  --color-primary-hover: #073046;
  --color-action-teal: #0082AD;
  --color-action-hover: #00688B;
  --color-accent-pink: #C2185B;
  --color-accent-pink-hover: #9C1045;
  --color-accent-green: #2E7D32;
  --color-accent-green-hover: #1B5E20;
  --color-alert-red: #D32F2F;
  --color-alert-hover: #B71C1C;
  --color-text-heading: #0F172A;
  --color-text-body: #475569;
  --color-bg-white: #FFFFFF;
  --color-bg-mint: #F0FDF4;
  --color-bg-slate: #F8FAFC;
  --color-border-subtle: #E2E8F0;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --border-radius-leaf: 20px 80px 20px 80px;
  --border-radius-leaf-reverse: 80px 20px 80px 20px;
  --shadow-sm: 0 1px 3px rgba(10, 66, 96, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 66, 96, 0.09);
  --shadow-lg: 0 16px 36px rgba(10, 66, 96, 0.14);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-body);
  background-color: var(--color-bg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; margin-bottom: 1.25rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1.25rem;
  max-width: 75ch;
}

a {
  color: var(--color-action-teal);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--color-action-hover);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-utility-bar {
  background-color: var(--color-utility-orange);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-notice span.badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-links a {
  color: #FFFFFF;
  font-weight: 600;
}

.top-bar-links a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  position: relative;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #FFFFFF;
}

.brand-leaf-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2E7D32, #0082AD);
  border-radius: 12px 28px 12px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: #FFFFFF;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #E2E8F0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #F8FAFC;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background-color: var(--color-primary-hover);
  color: #FFFFFF;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  min-width: 260px;
  border-radius: 8px;
  padding: 0.5rem 0;
  list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 200;
  border: 1px solid var(--color-border-subtle);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--color-text-heading);
  font-weight: 500;
  font-size: 0.9rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.dropdown-link:hover {
  background-color: var(--color-bg-mint);
  color: var(--color-accent-green);
  padding-left: 1.5rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 1.5rem;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

/* ==========================================================================
   STICKY 3-BUTTON ACTION STRIP
   ========================================================================== */
.sticky-action-strip {
  background-color: #082F45;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.btn-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: #FFFFFF !important;
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-strip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-strip-teal {
  background-color: var(--color-action-teal);
}
.btn-strip-teal:hover {
  background-color: var(--color-action-hover);
}

.btn-strip-pink {
  background-color: var(--color-accent-pink);
}
.btn-strip-pink:hover {
  background-color: var(--color-accent-pink-hover);
}

.btn-strip-green {
  background-color: var(--color-accent-green);
}
.btn-strip-green:hover {
  background-color: var(--color-accent-green-hover);
}

.btn-alert-red {
  background-color: var(--color-alert-red);
}
.btn-alert-red:hover {
  background-color: var(--color-alert-hover);
}

/* ==========================================================================
   HERO BANNER & SECTIONS
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0A4260 0%, #062334 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  color: #FFFFFF;
  font-size: 2.85rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-two-sentence-summary {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #E2E8F0;
  margin-bottom: 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--color-utility-orange);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
}

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

.hero-media-wrapper {
  position: relative;
}

.hero-img-leaf {
  border-radius: var(--border-radius-leaf);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

/* Page Header for subpages */
.subpage-header {
  background: linear-gradient(135deg, #0A4260 0%, #0D547A 100%);
  color: #FFFFFF;
  padding: 3.5rem 0;
  margin-bottom: 3rem;
}

.subpage-header h1 {
  color: #FFFFFF;
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.subpage-header p {
  color: #E2E8F0;
  font-size: 1.1rem;
  max-width: 65ch;
  margin-bottom: 0;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 0.75rem;
}

.breadcrumbs a {
  color: #CBD5E1;
}

.breadcrumbs a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   MANDATORY 'NOTRE MISSION' CARD (EXACTLY 120-150+ WORDS)
   ========================================================================== */
.notre-mission-card {
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%);
  border: 2px solid #86EFAC;
  border-radius: 16px;
  padding: 2.25rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.notre-mission-badge {
  display: inline-block;
  background-color: var(--color-accent-green);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.notre-mission-heading {
  font-size: 1.65rem;
  color: #0A4260;
  margin-bottom: 1rem;
}

.notre-mission-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1E293B;
  font-weight: 500;
}

/* ==========================================================================
   METRIC COUNTERS & STATS
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3.5rem 0;
}

.stat-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-body);
}

/* ==========================================================================
   CONTENT LAYOUTS, CARDS & GRIDS
   ========================================================================== */
.section-padding {
  padding: 4rem 0;
}

.bg-slate {
  background-color: var(--color-bg-slate);
}

.bg-mint {
  background-color: var(--color-bg-mint);
}

.section-header-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-header-centered h2 {
  font-size: 2.25rem;
  color: var(--color-primary-navy);
}

.section-header-centered p {
  margin: 0 auto;
  font-size: 1.05rem;
}

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

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

.content-card {
  background-color: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.content-card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-action-teal);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--color-text-body);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer-action {
  margin-top: auto;
}

/* Feature leaf card */
.leaf-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.leaf-feature-row.reverse {
  direction: rtl;
}

.leaf-feature-row.reverse > * {
  direction: ltr;
}

.leaf-img-container img {
  border-radius: var(--border-radius-leaf);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.leaf-feature-row.reverse .leaf-img-container img {
  border-radius: var(--border-radius-leaf-reverse);
}

/* Deep text articles */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
}

.article-container h2 {
  font-size: 1.85rem;
  margin-top: 2rem;
  color: var(--color-primary-navy);
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 0.5rem;
}

.article-container h3 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  color: #1E293B;
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #1E293B;
  font-weight: 500;
  margin-bottom: 2rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.95rem;
}

.data-table th, .data-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border-subtle);
  text-align: left;
}

.data-table th {
  background-color: var(--color-bg-slate);
  color: var(--color-text-heading);
  font-weight: 700;
}

.data-table tr:nth-child(even) {
  background-color: #FAFAFA;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.faq-question:hover {
  background-color: var(--color-bg-slate);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   FORMS & AJAX MODAL
   ========================================================================== */
.form-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2.25rem;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-md);
}

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

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #1E293B;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-action-teal);
  box-shadow: 0 0 0 3px rgba(0, 130, 173, 0.15);
}

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

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  min-height: 48px;
  width: 100%;
  transition: background-color 0.2s ease;
}

.btn-submit:hover {
  background-color: var(--color-primary-hover);
}

/* Modal Popup */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 66, 96, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 1.5rem;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-bg-mint);
  color: var(--color-accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.modal-title {
  font-size: 1.6rem;
  color: var(--color-primary-navy);
  margin-bottom: 0.75rem;
}

.modal-message {
  font-size: 0.95rem;
  color: var(--color-text-body);
  margin-bottom: 1.75rem;
}

.btn-modal-close {
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}

/* ==========================================================================
   SITE FOOTER (MANDATORY TEXT & COMPLIANCE)
   ========================================================================== */
.site-footer {
  background-color: #062334;
  color: #94A3B8;
  margin-top: auto;
  border-top: 4px solid var(--color-accent-green);
  padding: 3.5rem 0 1.5rem;
}

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

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #CBD5E1;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-accreditations {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accreditation-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: #E2E8F0;
}

.mandatory-legal-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.mandatory-legal-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin: 0;
  max-width: 100%;
}

.reinvestment-guarantee {
  color: #86EFAC;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

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

.footer-bottom-bar a {
  color: #94A3B8;
}
.footer-bottom-bar a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .leaf-feature-row, .leaf-feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
  
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.65rem; }
  
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .main-navigation {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-primary-navy);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  
  .main-navigation.mobile-active {
    display: block;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    padding-left: 1rem;
    margin-top: 0.35rem;
  }
  
  .dropdown-link {
    color: #CBD5E1;
  }
  
  .strip-inner {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-strip {
    width: 100%;
  }
  
  .cards-grid-3, .cards-grid-2, .stats-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}
