/* ==========================================================================
   RESTOREYESIGHT DAILY — CORE STYLESHEET
   Domain: restoreyesight.info | Locale: en-PH
   Aesthetics: Refined Natural Editorial, Warm Ivory, Deep Teal & Amber Accents
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;

  /* Color Palette */
  --bg-canvas: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F2F5F3;
  --bg-surface-tint: #E8F0EC;
  --border-subtle: #E2ECE5;
  --border-medium: #CAD9D1;
  --border-active: #2D7A60;

  --text-main: #142820;
  --text-secondary: #435E53;
  --text-muted: #677F75;
  --text-on-dark: #FFFFFF;

  --brand-primary: #1B4D3E;
  --brand-primary-hover: #143B2F;
  --brand-secondary: #2D7A60;
  --brand-accent: #E07A5F;
  --brand-accent-hover: #C8644A;
  --accent-amber: #D97706;
  --accent-sky: #0284C7;

  --badge-bg: #E3EFE9;
  --badge-text: #1B4D3E;

  --shadow-sm: 0 1px 3px rgba(18, 42, 34, 0.05);
  --shadow-md: 0 4px 12px rgba(18, 42, 34, 0.07);
  --shadow-lg: 0 10px 28px rgba(18, 42, 34, 0.09);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --max-w-content: 1180px;
  --header-h: 74px;
}

/* 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-sans);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--brand-secondary);
  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(--brand-primary);
  text-decoration-color: var(--brand-accent);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--brand-primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 1000;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 15px;
}

/* Layout Framework */
.site-frame {
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

/* Top Notification / Country Notice */
.country-context-bar {
  background-color: var(--bg-surface-tint);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 6px 0;
}
.country-context-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand-primary);
}

/* Header & Navigation */
.site-header {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 900;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
}
.brand-identity {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-identity img {
  height: 48px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.nav-link:hover {
  color: var(--brand-primary);
  background-color: var(--bg-surface-subtle);
}
.nav-link[aria-current="page"] {
  color: var(--brand-primary);
  font-weight: 700;
  background-color: var(--badge-bg);
}

.header-action-btn {
  background-color: var(--brand-primary);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-action-btn:hover {
  background-color: var(--brand-primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--text-main);
}
.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  z-index: 1100;
  padding: 24px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  overflow-y: auto;
  flex-direction: column;
}
.mobile-drawer.is-open {
  display: flex;
}
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1050;
}
.drawer-backdrop.is-open {
  display: block;
}
.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}
.drawer-links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* Breadcrumbs */
.editorial-breadcrumb {
  padding: 16px 0 8px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 6px;
}
.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-separator {
  color: var(--border-medium);
  user-select: none;
}

/* Hero & Lead Layouts */
.editorial-lead {
  padding: 40px 0 32px 0;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.lead-badge {
  display: inline-block;
  background-color: var(--badge-bg);
  color: var(--brand-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.lead-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.lead-summary {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-primary {
  background-color: var(--brand-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary {
  background-color: #fff;
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background-color: var(--bg-surface-subtle);
  border-color: var(--brand-secondary);
  color: var(--brand-primary);
}

.lead-visual-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}
.lead-visual-wrapper img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.lead-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(14, 34, 26, 0.85) 0%, rgba(14, 34, 26, 0) 100%);
  color: #fff;
  padding: 24px 18px 12px 18px;
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* Quick Notice Banner / Disclaimer */
.editorial-disclaimer-callout {
  background-color: #FFFBEB;
  border-left: 4px solid #F59E0B;
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-size: 0.875rem;
  color: #78350F;
  line-height: 1.55;
}
.editorial-disclaimer-callout strong {
  color: #92400E;
}

/* Content Main & Article Layouts */
.content-wrapper {
  padding: 32px 0 60px 0;
  flex: 1;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}
.single-column-layout {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.article-header {
  margin-bottom: 28px;
}
.article-headline {
  font-size: clamp(1.85rem, 2.75vw, 2.35rem);
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.25;
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.rich-content h2 {
  font-size: 1.5rem;
  color: var(--brand-primary);
  margin: 36px 0 16px 0;
  line-height: 1.35;
  scroll-margin-top: 90px;
}
.rich-content h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin: 24px 0 12px 0;
  line-height: 1.4;
  scroll-margin-top: 90px;
}
.rich-content p {
  margin-bottom: 18px;
  color: var(--text-main);
}
.rich-content ul, .rich-content ol {
  margin: 16px 0 22px 24px;
}
.rich-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* Content Sidebars & TOC */
.sidebar-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h4 {
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
  margin-bottom: 14px;
  font-weight: 700;
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}
.toc-list a {
  text-decoration: none;
  color: var(--text-secondary);
}
.toc-list a:hover {
  color: var(--brand-secondary);
  text-decoration: underline;
}

/* Article Illustrations & Figures */
.editorial-figure {
  margin: 32px 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.editorial-figure img {
  width: 100%;
  height: auto;
}
.editorial-figure figcaption {
  padding: 12px 18px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background-color: var(--bg-surface-subtle);
  border-top: 1px solid var(--border-subtle);
}

/* Card Grids for Hubs & Guides */
.guide-deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.guide-deck-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}
.guide-deck-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-active);
}
.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 8px;
}
.card-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 10px;
  line-height: 1.35;
}
.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.card-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Routine Timeline Blocks */
.step-sequence {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}
.step-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.step-time-badge {
  background-color: var(--bg-surface-tint);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  text-align: center;
}
.step-min-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-primary);
}
.step-min-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}
.step-detail {
  padding: 20px;
}
.step-detail h3 {
  font-size: 1.15rem;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.step-detail p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}
.step-caution {
  font-size: 0.8125rem;
  color: #92400E;
  background-color: #FEF3C7;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* Callout Boxes */
.quote-highlight {
  background-color: var(--bg-surface-tint);
  border-left: 4px solid var(--brand-primary);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-main);
}
.philippine-note-box {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 28px 0;
}
.philippine-note-box h4 {
  color: #1E40AF;
  font-size: 0.9375rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.philippine-note-box p {
  font-size: 0.875rem;
  color: #1E3A8A;
  margin-bottom: 0;
  line-height: 1.55;
}

/* Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.custom-table th {
  background-color: var(--bg-surface-subtle);
  color: var(--brand-primary);
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-medium);
}
.custom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.custom-table tr:last-child td {
  border-bottom: none;
}
.custom-table tr:hover td {
  background-color: var(--bg-surface-tint);
}

/* Interactive Checklist Tool */
.tool-container {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin: 32px 0;
}
.tool-header {
  margin-bottom: 24px;
}
.tool-header h2 {
  font-size: 1.5rem;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.tool-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.checklist-progress-bar-wrap {
  background-color: var(--bg-surface-subtle);
  border-radius: var(--radius-full);
  height: 12px;
  overflow: hidden;
  margin: 16px 0 24px 0;
}
.checklist-progress-fill {
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-accent));
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}
.checklist-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.checklist-items-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.checklist-item-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.checklist-item-label:hover {
  background-color: var(--bg-surface-tint);
  border-color: var(--border-medium);
}
.checklist-item-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-primary);
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}
.checklist-item-text {
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.45;
}
.checklist-item-hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.checklist-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}
.checklist-feedback-card {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-tint);
  border: 1px solid var(--border-medium);
}
.checklist-feedback-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

/* Daily Eye Break Assistant Interactive */
.assistant-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.assistant-form-group {
  margin-bottom: 18px;
}
.assistant-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.assistant-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background-color: #fff;
  color: var(--text-main);
}
.assistant-result-box {
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
}
.assistant-result-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 12px;
}
.recommendation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.recommendation-item {
  background: #fff;
  border-left: 3px solid var(--brand-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Routine Builder Filter & Sequence Tool */
.builder-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.builder-filter-btn {
  background-color: #fff;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.builder-filter-btn.active, .builder-filter-btn:hover {
  background-color: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

.routine-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.routine-selectable-card {
  background: #fff;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.routine-selectable-card.selected {
  border-color: var(--brand-primary);
  background-color: var(--bg-surface-tint);
}
.routine-badge-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background-color: var(--badge-bg);
  color: var(--brand-primary);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

/* Interactive Timer Modal / Box */
.timer-interactive-box {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}
.timer-countdown {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  margin: 12px 0;
  color: #A7D5C5;
}
.timer-step-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.timer-instruction {
  font-size: 0.9rem;
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto 18px auto;
}
.timer-btn-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.timer-btn {
  background: #fff;
  color: var(--brand-primary);
  border: none;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
}
.timer-btn:hover {
  background: var(--badge-bg);
}
.timer-btn-reset {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.timer-btn-reset:hover {
  background: rgba(255,255,255,0.1);
}

/* Accordion FAQs */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}
.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.faq-trigger:hover {
  background-color: var(--bg-surface-subtle);
}
.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-content {
  display: none;
  padding: 0 22px 20px 22px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.faq-item.is-open .faq-content {
  display: block;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
.form-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 6px;
}
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: var(--bg-canvas);
  color: var(--text-main);
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--brand-primary);
  background-color: #fff;
}
.field-error-msg {
  color: #DC2626;
  font-size: 0.8125rem;
  margin-top: 4px;
  display: none;
}
.has-error .field-error-msg {
  display: block;
}
.has-error input, .has-error textarea {
  border-color: #DC2626;
}
.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none;
}
.form-alert.is-visible {
  display: block;
}
.form-alert-success {
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}
.form-alert-notice {
  background-color: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

/* Footer */
.site-footer {
  background-color: #112820;
  color: #D1E0D8;
  padding: 56px 0 28px 0;
  margin-top: auto;
  border-top: 3px solid var(--brand-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 800;
}
.footer-tagline {
  font-size: 0.875rem;
  color: #9EBAAF;
  line-height: 1.5;
  margin-bottom: 16px;
}
.footer-column h4 {
  color: #fff;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}
.footer-nav a {
  color: #CADCD3;
  text-decoration: none;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.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: 16px 20px;
  font-size: 0.8125rem;
  color: #A3C0B4;
  line-height: 1.5;
  margin-bottom: 28px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: #8CA99D;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-sticky {
    position: static;
  }
  .assistant-panel {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .step-block {
    grid-template-columns: 1fr;
  }
  .step-time-badge {
    flex-direction: row;
    gap: 8px;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .lead-title {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
