/* ==========================================================================
   Guía Isapre Chile - Design System & Modern Responsive Styles
   Colors: Petroleum Blue, Deep Teal, Light Slate, Crisp White
   ========================================================================== */

:root {
  --primary: #0f3b4c;
  --primary-dark: #081f29;
  --primary-light: #185269;
  --accent: #008f8c;
  --accent-light: #02aab0;
  --accent-hover: #007774;
  --bg-main: #f4f8fa;
  --bg-card: #ffffff;
  --bg-subtle: #ebf3f7;
  --text-main: #192730;
  --text-muted: #536b78;
  --text-light: #7b93a4;
  --border-color: #d7e4ec;
  --border-subtle: #e6f0f5;
  --shadow-sm: 0 2px 6px rgba(15, 59, 76, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 59, 76, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 59, 76, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1200px;
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

/* Off-screen rendering optimization for Mobile & Desktop Performance */
.section-alt,
.content-block,
.faq-accordion,
.site-footer,
.table-responsive,
.grid-3,
.grid-4,
.grid-2 {
  content-visibility: auto;
  contain-intrinsic-size: 1px 350px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus-visible {
  color: var(--accent-hover);
  text-decoration: underline;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

ul, ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Top Disclaimer Banner */
.top-notice-bar {
  background: linear-gradient(90deg, #091d26 0%, #0f3b4c 100%);
  color: #c9e0ea;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar strong {
  color: #ffffff;
}

.top-notice-bar a {
  color: #7de8e5;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-logo:hover {
  text-decoration: none;
}

.brand-badge {
  background: var(--bg-subtle);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
  text-decoration: none;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

.header-search-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.header-search-btn:hover {
  background: #ffffff;
  border-color: var(--accent);
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Breadcrumb */
.breadcrumb-nav {
  max-width: var(--container-max);
  margin: 1rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 0.4rem;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--text-light);
  margin-right: 0.4rem;
}

.breadcrumb-item a {
  color: var(--text-muted);
}

.breadcrumb-item a:hover {
  color: var(--accent);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

/* Layout Containers */
.main-content {
  flex: 1;
  padding-bottom: 4rem;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0f3b4c 0%, #154c61 50%, #008f8c 100%);
  color: #ffffff;
  padding: 3.5rem 1.25rem;
  position: relative;
  z-index: 20;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #d1f7f6;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #e2f2f7;
  margin-bottom: 2rem;
}

/* Direct Answer Box (Hero) */
.hero-direct-answer {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: left;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--accent);
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-direct-answer h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-direct-answer p {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.55;
  font-weight: 500;
}

/* Quick Search Widget */
.search-widget-container {
  max-width: 650px;
  margin: 1.5rem auto 0;
  position: relative;
  z-index: 50;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-main);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  outline: none;
}

.search-input:focus {
  border-color: #02aab0;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.search-icon-svg {
  position: absolute;
  left: 1.2rem;
  color: var(--primary);
  pointer-events: none;
  z-index: 2;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  max-height: 380px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  text-align: left;
}

.search-result-item {
  display: block;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: var(--transition);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover, .search-result-item:focus {
  background: var(--bg-subtle);
  text-decoration: none;
}

.search-result-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.search-result-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.search-result-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: var(--bg-main);
  color: var(--accent);
  margin-left: 0.5rem;
  text-transform: uppercase;
}

/* Sections & Grid */
.section {
  padding: 3rem 0;
}

.section-alt {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Grid Systems */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

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

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
}

.card-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Detail Page Components */
.page-container {
  max-width: 860px;
  margin: 2rem auto;
  padding: 0 1.25rem;
}

.content-block {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.content-block h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 0.6rem;
}

.content-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin: 1.5rem 0 0.6rem;
}

.content-block p {
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* Verification Badge Box */
.verification-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.verification-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #166534;
  font-size: 0.92rem;
  font-weight: 600;
}

.btn-external-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid #86efac;
  color: #15803d;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.btn-external-source:hover {
  background: #15803d;
  color: #ffffff;
  text-decoration: none;
}

/* Steps Sequence */
.steps-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.step-card {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.step-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.step-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Alert Boxes */
.alert-box {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Table Styles */
.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.data-table th {
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1rem;
  font-weight: 700;
  border: 1px solid var(--primary);
}

.data-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.data-table tr:nth-child(even) td {
  background: var(--bg-main);
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--accent-light);
}

.faq-btn {
  width: 100%;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-body.open {
  display: block;
}

/* Branch Detail Specific */
.branch-hero-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin-bottom: 2rem;
}

.branch-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.branch-info-item {
  background: var(--bg-main);
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.branch-info-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.branch-info-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
}

.form-input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 143, 140, 0.15);
}

.form-status-msg {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-status-success {
  background: #e6f9f5;
  border: 2px solid #008f8c;
  color: #084c47;
  box-shadow: 0 4px 12px rgba(0, 143, 140, 0.1);
}

.form-status-error {
  background: #fdf2f2;
  border: 2px solid #e02424;
  color: #771d1d;
  box-shadow: 0 4px 12px rgba(224, 36, 36, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: #081a23;
  color: #9eb6c4;
  padding: 4rem 1.25rem 2rem;
  margin-top: auto;
  border-top: 1px solid #133342;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

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

.footer-brand h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-links a:hover {
  color: #4ee2dc;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #143545;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
}

.footer-legal-links a {
  color: #8da7b5;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Filter controls for Branch Directory */
.branch-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.2);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  display: none;
}

.drawer-backdrop.open {
  display: block;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .section {
    padding: 2rem 0;
  }
  .content-block {
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
}
