/* ==========================================================================
   Vision Nutrition Flow - Primary Design System
   Brand: Vision Nutrition Flow | Domain: visionnutritionflow.info
   Theme: Warm Ivory, Deep Navy, Warm Amber, Muted Teal, Sage Green
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F3EFE9;
  --bg-highlight: #FFF8F1;
  --bg-navy-deep: #121E2C;
  
  --text-navy: #152538;
  --text-primary: #1D2D44;
  --text-secondary: #47586D;
  --text-muted: #6B7C91;
  --text-light: #FFFFFF;

  --accent-amber: #D97736;
  --accent-amber-hover: #C26223;
  --accent-amber-light: #FFF2EB;
  
  --accent-teal: #1F7A8C;
  --accent-teal-hover: #176372;
  --accent-teal-light: #EBF6F8;

  --accent-sage: #2D6A4F;
  --accent-sage-light: #EDF7F1;

  --border-color: #E6E0D7;
  --border-light: #EFEBE5;
  --border-dark: #C9C0B3;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 2px 6px rgba(21, 37, 56, 0.04);
  --shadow-md: 0 4px 14px rgba(21, 37, 56, 0.07);
  --shadow-lg: 0 10px 28px rgba(21, 37, 56, 0.09);

  /* Layout */
  --max-width: 1200px;
  --max-width-content: 840px;
  --header-height: 80px;
}

/* Base 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);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2.5px solid var(--accent-teal);
  outline-offset: 3px;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--accent-amber);
  text-decoration-color: var(--accent-amber);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); margin-top: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-top: 1.6rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-top: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.25rem; font-size: 1.03rem; color: var(--text-secondary); }
ul, ol { margin-bottom: 1.3rem; padding-left: 1.4rem; color: var(--text-secondary); }
li { margin-bottom: 0.45rem; }

/* Skip Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--text-navy);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 15px;
}

/* Layout Utilities */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
}

.vnf-container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.vnf-container-narrow {
  max-width: var(--max-width-content);
}

/* Top Announcement Notice */
.vnf-topbar {
  background-color: #EFE8DF;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0;
}
.vnf-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.vnf-topbar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-sage);
}
.vnf-topbar-notice {
  font-size: 0.82rem;
}

/* Main Site Header */
.vnf-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.vnf-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.vnf-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.vnf-brand-logo {
  height: 48px;
  width: auto;
}

/* Navigation Links */
.vnf-nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vnf-nav-desktop a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-navy);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.vnf-nav-desktop a:hover,
.vnf-nav-desktop a.active {
  color: var(--accent-amber);
  background-color: var(--accent-amber-light);
}

.vnf-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vnf-search-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.vnf-search-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.vnf-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
}

/* Buttons & Badges */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent-amber);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(217, 119, 54, 0.25);
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background-color: var(--accent-amber-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 54, 0.32);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-surface);
  color: var(--text-navy) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal) !important;
  background-color: var(--accent-teal-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-amber {
  background-color: var(--accent-amber-light);
  color: var(--accent-amber);
}
.badge-teal {
  background-color: var(--accent-teal-light);
  color: var(--accent-teal);
}
.badge-sage {
  background-color: var(--accent-sage-light);
  color: var(--accent-sage);
}

/* Breadcrumbs */
.vnf-breadcrumbs {
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.vnf-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.vnf-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--border-dark);
}
.vnf-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}
.vnf-breadcrumbs a:hover {
  color: var(--accent-teal);
  text-decoration: underline;
}
.vnf-breadcrumbs [aria-current="page"] {
  color: var(--text-navy);
  font-weight: 600;
}

/* Hero Section */
.hero-editorial {
  padding: 48px 0 60px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #F5F0E8 100%);
  border-bottom: 1px solid var(--border-color);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-content h1 {
  margin-top: 12px;
}
.hero-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(21, 37, 56, 0.88) 100%);
  color: #FFFFFF;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Cards & Content Blocks */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.vnf-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.vnf-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}
.vnf-card-image {
  margin: -26px -26px 18px -26px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  height: 180px;
}
.vnf-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vnf-card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.vnf-card-title a {
  color: var(--text-navy);
  text-decoration: none;
}
.vnf-card-title a:hover {
  color: var(--accent-amber);
}
.vnf-card-body {
  flex-grow: 1;
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.vnf-card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vnf-card-link:hover {
  color: var(--accent-amber);
}

/* Callouts & Alert Boxes */
.callout-box {
  background-color: var(--bg-surface);
  border-left: 4px solid var(--accent-teal);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.callout-box-amber {
  border-left-color: var(--accent-amber);
  background-color: #FFFDF9;
}
.callout-box-sage {
  border-left-color: var(--accent-sage);
  background-color: #FAFDFB;
}
.callout-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Educational Health Boundary Box */
.medical-boundary-box {
  background-color: #F8F5F0;
  border: 1px solid #D8CFC3;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 32px 0;
}
.medical-boundary-box h4 {
  color: #8C4718;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 10px;
}
.medical-boundary-box p {
  font-size: 0.93rem;
  color: #4C5562;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Article Reading Layout */
.article-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0 60px;
}
.article-grid-single {
  grid-template-columns: 1fr;
  max-width: var(--max-width-content);
  margin: 0 auto;
}
.article-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
}
.article-sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-list li {
  margin-bottom: 8px;
}
.toc-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.toc-list a:hover,
.toc-list a.active {
  color: var(--accent-teal);
  font-weight: 600;
  padding-left: 6px;
  border-left: 2px solid var(--accent-teal);
}

.article-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 42px 48px;
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 14px;
}
.article-hero-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 24px 0 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.article-hero-img img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Tables & Comparison */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}
.vnf-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}
.vnf-table th {
  background-color: var(--bg-surface-alt);
  color: var(--text-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid var(--border-color);
}
.vnf-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: top;
}
.vnf-table tr:last-child td {
  border-bottom: none;
}
.vnf-table tr:hover td {
  background-color: #FAF8F5;
}

/* Interactive Daily Eye Rest Checklist */
.checklist-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin: 32px 0;
}
.checklist-header {
  margin-bottom: 24px;
}
.checklist-progress-bar-wrap {
  width: 100%;
  height: 14px;
  background-color: var(--bg-surface-alt);
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid var(--border-color);
}
.checklist-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-sage));
  transition: width 0.3s ease;
}
.checklist-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-navy);
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}
.checklist-item:hover {
  border-color: var(--accent-teal);
  background-color: #FBFDFD;
}
.checklist-item.checked {
  border-color: var(--accent-sage);
  background-color: var(--accent-sage-light);
}
.checklist-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  accent-color: var(--accent-sage);
  cursor: pointer;
}
.checklist-label {
  cursor: pointer;
  flex: 1;
}
.checklist-label-title {
  font-weight: 600;
  color: var(--text-navy);
  font-size: 1.02rem;
  margin-bottom: 4px;
  display: block;
}
.checklist-label-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: block;
}

.checklist-feedback-box {
  background: #FAF8F5;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 28px;
  display: none;
}
.checklist-feedback-box.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Interactive Daily Eye Rest Assistant */
.assistant-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
  margin: 32px 0;
}
.assistant-step {
  margin-bottom: 30px;
}
.step-number {
  display: inline-block;
  background-color: var(--accent-teal-light);
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.assistant-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.assistant-option {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.2s ease;
  position: relative;
}
.assistant-option:hover {
  border-color: var(--accent-teal);
}
.assistant-option.selected {
  border-color: var(--accent-teal);
  background-color: var(--accent-teal-light);
  box-shadow: 0 0 0 1px var(--accent-teal);
}
.assistant-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.assistant-option-title {
  font-weight: 600;
  color: var(--text-navy);
  font-size: 0.98rem;
  margin-bottom: 4px;
  display: block;
}
.assistant-option-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: block;
}

.assistant-result-box {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
  border: 2px solid var(--accent-teal);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 32px;
  display: none;
}
.assistant-result-box.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Interactive Routine Builder */
.builder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}
.builder-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.timeline-block {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.timeline-block:last-child {
  border-bottom: none;
}
.timeline-time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-amber);
  min-width: 90px;
}
.timeline-activity h4 {
  font-size: 1.02rem;
  margin-top: 0;
  margin-bottom: 4px;
}
.timeline-activity p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* FAQ Accordion */
.faq-search-box {
  margin-bottom: 28px;
}
.faq-search-input {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-navy);
  background: var(--bg-surface);
}
.faq-search-input:focus {
  border-color: var(--accent-teal);
  outline: none;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover {
  border-color: var(--border-dark);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px 22px;
  display: none;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.68;
}
.faq-item.open .faq-answer {
  display: block;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin: 36px 0;
}
.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-navy);
  margin-bottom: 6px;
}
.form-label span {
  color: #B42318;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-navy);
  background-color: #FFFFFF;
  transition: border-color 0.2s ease;
}
.form-control:focus {
  border-color: var(--accent-teal);
  outline: none;
}
.form-error {
  color: #B42318;
  font-size: 0.84rem;
  margin-top: 4px;
  display: none;
}
.form-status {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  display: none;
  font-size: 0.92rem;
}
.form-status.success {
  background-color: var(--accent-sage-light);
  border: 1px solid var(--accent-sage);
  color: #1B4332;
  display: block;
}
.form-status.error {
  background-color: #FDF2F2;
  border: 1px solid #F87171;
  color: #991B1B;
  display: block;
}

/* Search Modal */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 30, 44, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px;
}
.search-modal.active {
  display: flex;
}
.search-modal-content {
  background: #FFFFFF;
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.search-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-modal-input {
  width: 100%;
  border: none;
  font-size: 1.1rem;
  font-family: var(--font-body);
  color: var(--text-navy);
  outline: none;
}
.search-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.2rem;
  padding: 4px;
}
.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 16px 24px;
}
.search-result-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item a {
  text-decoration: none;
  display: block;
}
.search-result-title {
  font-weight: 600;
  color: var(--text-navy);
  font-size: 1.02rem;
  margin-bottom: 2px;
}
.search-result-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85%;
  height: 100%;
  background: var(--bg-surface);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  z-index: 2100;
  transition: right 0.3s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.mobile-drawer.open {
  right: 0;
}
.drawer-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2050;
}
.drawer-backdrop.active {
  display: block;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-list a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-navy);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: block;
}
.mobile-nav-list a:hover {
  background: var(--accent-amber-light);
  color: var(--accent-amber);
}

/* Cookie Banner & Preferences Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1.5px solid var(--border-color);
  padding: 20px 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 1500;
  display: none;
}
.cookie-banner.active {
  display: block;
  animation: slideUp 0.3s ease;
}
.cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}
.cookie-banner-text p {
  font-size: 0.92rem;
  margin-bottom: 0;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.vnf-footer {
  background-color: var(--bg-navy-deep);
  color: #CAD5E2;
  padding: 64px 0 32px;
  border-top: 3px solid var(--accent-amber);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #CAD5E2;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--accent-amber);
  text-decoration: underline;
}
.footer-about p {
  font-size: 0.9rem;
  color: #9BAEC5;
  line-height: 1.6;
}
.footer-disclaimer-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 32px;
  font-size: 0.86rem;
  color: #9BAEC5;
  line-height: 1.65;
}
.footer-disclaimer-box strong {
  color: #FFFFFF;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #798FA8;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    display: none;
  }
  .builder-layout {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .vnf-nav-desktop, .vnf-search-btn {
    display: none;
  }
  .vnf-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-content {
    padding: 24px 20px;
  }
  .hero-image-wrap img {
    height: 280px;
  }
}
