/* ===================================================================
   Eye Wellness Daily - Modern Editorial CSS Design System
   Brand: Eye Wellness Daily (eyewellnessdaily.info)
   Country: Philippines | Language: English (Philippines) en-PH
   Palette: Warm Ivory, Deep Teal / Navy, Fresh Carrot Amber & Blueberry
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;1,6..72,400&display=swap');

:root {
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  /* Color Palette */
  --bg-page: #FAF8F5;
  --bg-page-alt: #F3EFE9;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F6F3EE;
  
  --text-main: #1C2B29;
  --text-muted: #566763;
  --text-subtle: #7E908C;
  
  --brand-deep: #0E2927;
  --brand-teal: #164E45;
  --brand-teal-light: #1F6F63;
  --brand-sage: #4E9A7E;
  --brand-sage-light: #EBF6F1;
  
  --accent-carrot: #D96B27;
  --accent-carrot-light: #FFF0E6;
  --accent-berry: #3B4E7A;
  --accent-berry-light: #EFF4FF;
  --accent-amber: #D97706;
  --accent-amber-light: #FEF3C7;
  
  --border-light: #E7DFD4;
  --border-medium: #D5CBBF;
  --border-focus: #1F6F63;
  
  --shadow-sm: 0 1px 3px rgba(14, 41, 39, 0.05);
  --shadow-md: 0 4px 14px rgba(14, 41, 39, 0.07);
  --shadow-lg: 0 10px 28px rgba(14, 41, 39, 0.10);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --container-max: 1200px;
  --container-reading: 820px;
}

/* Reset & Box Sizing */
*, *::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);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-teal);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

/* Container */
.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-container-reading {
  max-width: var(--container-reading);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand-deep);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* Top Educational Notice */
.top-notice-bar {
  background: #103230;
  color: #E2ECE9;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-notice-bar strong {
  color: #F8D176;
}

/* Header */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-wrapper:hover {
  text-decoration: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
}

/* Primary Navigation */
.primary-nav {
  display: none;
}

@media (min-width: 960px) {
  .primary-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0.25rem;
  position: relative;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-teal-light);
  text-decoration: none;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-carrot);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--bg-surface);
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  list-style: none;
  z-index: 101;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.15s ease;
}

.dropdown-link:hover {
  background: var(--bg-page);
  color: var(--brand-teal);
  text-decoration: none;
}

.dropdown-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-search-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-search-trigger:hover {
  background: #ECE5DC;
  border-color: var(--border-medium);
  color: var(--text-main);
}

.btn-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--brand-deep);
}

@media (min-width: 960px) {
  .btn-menu-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 41, 39, 0.4);
  z-index: 200;
  display: none;
  backdrop-filter: blur(2px);
}

.mobile-nav-backdrop.open {
  display: block;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--bg-surface);
  z-index: 201;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease-in-out;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.drawer-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-carrot);
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.drawer-list {
  list-style: none;
}

.drawer-link {
  display: block;
  padding: 0.55rem 0;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--bg-page-alt);
}
.drawer-link:hover {
  color: var(--brand-teal);
  text-decoration: none;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem 0;
  font-size: 0.8125rem;
}
.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  color: var(--text-subtle);
}
.breadcrumbs-list a {
  color: var(--text-muted);
}
.breadcrumbs-list a:hover {
  color: var(--brand-teal);
}
.breadcrumbs-separator {
  color: var(--border-medium);
  font-size: 0.75rem;
}

/* Main Content Area */
main {
  flex: 1 0 auto;
}

/* Section Spacing */
.section-pad {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section-pad-sm {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section-pad-lg {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-alt {
  background-color: var(--bg-page-alt);
}

/* Hero Section */
.hero-editorial {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #FDFBF7 0%, #F5F1E8 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-sage-light);
  color: var(--brand-teal);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(78, 154, 126, 0.25);
}

.hero-title {
  font-family: var(--font-body);
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.85rem;
  }
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand-teal);
  color: #FFFFFF;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--brand-deep);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: var(--brand-teal);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid var(--border-medium);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--bg-page);
  border-color: var(--brand-teal);
  color: var(--brand-deep);
  text-decoration: none;
}

.hero-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
}

.hero-image-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-image-caption {
  padding: 0.75rem 1.25rem;
  background: #FFFFFF;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
}

/* Page Header (Subpages) */
.subpage-hero {
  background: linear-gradient(180deg, #FDFBF7 0%, #F5F1E8 100%);
  padding: 2.75rem 0 2.25rem;
  border-bottom: 1px solid var(--border-light);
}

.subpage-badge {
  display: inline-block;
  background: var(--accent-carrot-light);
  color: var(--accent-carrot);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(217, 107, 39, 0.2);
}

.subpage-title {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}
@media (min-width: 768px) {
  .subpage-title {
    font-size: 2.45rem;
  }
}

.subpage-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 760px;
}

/* Content Typography */
.content-rich h2 {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--brand-deep);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.content-rich h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-teal);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.content-rich p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
}
.content-rich ul, .content-rich ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.content-rich li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

/* Callout Box */
.editorial-callout {
  background: var(--brand-sage-light);
  border-left: 4px solid var(--brand-teal);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
}
.editorial-callout-title {
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.editorial-callout p:last-child {
  margin-bottom: 0;
}

.editorial-callout-warning {
  background: #FFF7ED;
  border-left-color: var(--accent-carrot);
}
.editorial-callout-warning .editorial-callout-title {
  color: #9A3412;
}

/* Food Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.food-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.food-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.food-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-page-alt);
}
.food-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.food-card:hover .food-card-img-wrap img {
  transform: scale(1.03);
}

.food-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 41, 39, 0.85);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.food-card-body {
  padding: 1.25rem;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.food-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 0.5rem;
}
.food-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1 0 auto;
}
.food-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

/* Comparison Table Layout */
.comparison-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.filter-pill {
  background: var(--bg-page);
  border: 1px solid var(--border-medium);
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--brand-teal);
  color: #FFFFFF;
  border-color: var(--brand-teal);
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.comparison-table th {
  background: var(--bg-page-alt);
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--brand-deep);
  border-bottom: 2px solid var(--border-medium);
  white-space: nowrap;
}

.comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: middle;
}

.comparison-table tr:hover td {
  background: #FAF8F5;
}

.badge-nutrient {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--brand-sage-light);
  color: var(--brand-teal);
  margin-right: 0.35rem;
  margin-bottom: 0.25rem;
}

.badge-cost {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #FEF3C7;
  color: #92400E;
}

/* Interactive Checklist Tool */
.checklist-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.checklist-progress-wrap {
  background: var(--bg-page-alt);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.checklist-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--brand-deep);
}

.progress-bar-track {
  height: 10px;
  background: #E0D9CE;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-sage) 0%, var(--accent-carrot) 100%);
  border-radius: 5px;
  transition: width 0.3s ease;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: var(--bg-page);
  cursor: pointer;
  transition: all 0.15s ease;
}

.checklist-item:hover {
  background: #FFFFFF;
  border-color: var(--border-medium);
}

.checklist-item.checked {
  background: #F0FDF4;
  border-color: #86EFAC;
}

.checklist-item input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--brand-teal);
  cursor: pointer;
}

.checklist-item-content {
  flex: 1;
}

.checklist-item-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--brand-deep);
  margin-bottom: 0.25rem;
}

.checklist-item-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.checklist-feedback-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

/* Meal Planning Assistant Wizard */
.assistant-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.assistant-step-group {
  margin-bottom: 1.75rem;
}

.assistant-step-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-deep);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.assistant-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--brand-teal);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 0.75rem;
}

.assistant-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
}

.assistant-option-btn {
  background: var(--bg-page);
  border: 1px solid var(--border-medium);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.assistant-option-btn:hover {
  background: #ECE5DC;
  border-color: var(--brand-teal);
}

.assistant-option-btn.selected {
  background: var(--brand-teal);
  color: #FFFFFF;
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-sm);
}

.assistant-results-card {
  margin-top: 2rem;
  background: #FAF6EF;
  border: 2px solid #E5D5C0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.assistant-results-card h3 {
  color: var(--brand-deep);
  margin-bottom: 0.75rem;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-deep);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.faq-question-btn:hover {
  background: var(--bg-page);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--brand-teal);
  transition: transform 0.2s ease;
  margin-left: 1rem;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer-panel {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer-panel {
  display: block;
}

/* Search Modal */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 41, 39, 0.6);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  backdrop-filter: blur(3px);
}

.search-modal-backdrop.open {
  display: flex;
}

.search-modal-card {
  width: 100%;
  max-width: 600px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin: 0 1rem;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.search-input-field {
  flex: 1;
  border: none;
  font-size: 1.0625rem;
  font-family: inherit;
  outline: none;
  color: var(--text-main);
  background: transparent;
}

.search-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.search-results-list {
  list-style: none;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.search-result-item a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--bg-page-alt);
}

.search-result-item a:hover {
  background: var(--bg-page);
  text-decoration: none;
}

.search-result-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--brand-teal);
  margin-bottom: 0.2rem;
}

.search-result-snippet {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Contact Form */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--bg-surface);
  color: var(--text-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(31, 111, 99, 0.15);
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-error {
  color: #DC2626;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

.form-status-box {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.875rem;
}

.form-status-box.success {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #166534;
}

.form-status-box.error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

/* Cookie Banner */
.cookie-banner-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-medium);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
  padding: 1.25rem 1.5rem;
  z-index: 250;
  display: none;
}

.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}

.btn-cookie-accept {
  background: var(--brand-teal);
  color: #FFFFFF;
}

.btn-cookie-decline {
  background: var(--bg-page-alt);
  color: var(--text-main);
  border-color: var(--border-medium);
}

.btn-cookie-prefs {
  background: transparent;
  color: var(--brand-teal);
  border-color: var(--border-medium);
}

/* Site Footer */
.site-footer {
  background: #0E2927;
  color: #D1DFDB;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 4px solid var(--accent-carrot);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #A9BFB9;
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.6rem;
}

.footer-link {
  color: #C3D5D0;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #F8D176;
  text-decoration: underline;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  font-size: 0.8125rem;
  color: #7E9C94;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-disclaimer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.8125rem;
  color: #97B3AB;
  line-height: 1.6;
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand-teal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
