/* ============================================
   Aurora Details - SEO Pages Stylesheet
   Brand: #082f6d (navy) / #ff2800 (red) / Catamaran
   ============================================ */

:root {
  --navy: #082f6d;
  --navy-light: #0a3d8f;
  --navy-dark: #2f2f2f;
  --red: #ff2800;
  --red-hover: #e02200;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f5;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Catamaran', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* --- Container --- */
.container { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo img { height: 42px; width: auto; }

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.header-nav > a {
  color: var(--gray-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.header-nav > a:hover { color: var(--navy); background: var(--gray-50); }
.header-nav > a[href="/guide/"],
.header-nav > a.active { color: var(--red); }
.nav-mobile-cta { display: none; }

/* Phone text — desktop */
.header-tel {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition);
}
.header-tel:hover { color: var(--red); }

/* Phone icon — mobile */
.header-tel-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  transition: background var(--transition);
}
.header-tel-icon:hover { background: var(--navy-light); }
.header-tel-icon svg { display: block; }

/* CTA button */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255,40,0,0.25);
}
.header-cta:hover { background: var(--red-hover); box-shadow: 0 4px 16px rgba(255,40,0,0.3); }

/* Hamburger */
.header-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.header-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.header-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-menu-toggle.active span:nth-child(2) { opacity: 0; }
.header-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 90px 0 20px;
  font-size: 13px;
  color: var(--gray-400);
}
.breadcrumb a { color: var(--navy); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ============================================
   HERO — title overlaid on image
   ============================================ */
.article-hero {
  width: 100%;
  height: 420px;
  background-size: cover;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.article-hero-overlay {
  width: 100%;
  padding: 100px 36px 36px;
  background: linear-gradient(to top, rgba(8,47,109,0.85) 0%, rgba(8,47,109,0.5) 45%, transparent 100%);
}

.article-category {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}
.article-category--local { background: var(--red); border-color: transparent; }

.article-hero .article-title {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.article-hero .article-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  max-width: 600px;
}

/* ============================================
   ARTICLE
   ============================================ */

/* --- Article Meta --- */
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  margin: 24px 0 32px;
  border-bottom: 1px solid var(--gray-200);
}

.meta-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  object-fit: contain;
  padding: 4px;
  flex-shrink: 0;
}

.meta-info { font-size: 14px; color: var(--gray-500); }
.meta-author { font-weight: 700; color: var(--gray-800); }
.meta-dot { margin: 0 6px; }

/* --- Table of Contents --- */
.toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
  position: relative;
}
.toc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--red));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.toc-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 14px;
}
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 8px; }
.toc a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}
.toc a:hover { color: var(--navy); }

/* --- Article Content --- */
.article-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin: 48px 0 16px;
  letter-spacing: -0.3px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red);
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 32px 0 12px;
}

.article-content p { margin-bottom: 18px; }

.article-content ul, .article-content ol {
  margin: 0 0 18px 24px;
}
.article-content li { margin-bottom: 8px; }

.article-content strong { color: var(--gray-900); }

.article-content a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(8,47,109,0.3);
  transition: text-decoration-color var(--transition);
}
.article-content a:hover { text-decoration-color: var(--red); color: var(--red); }

.article-content blockquote {
  border-left: 4px solid var(--red);
  background: var(--gray-50);
  padding: 20px 28px;
  margin: 28px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--gray-600);
  font-size: 16px;
}

/* --- Tables --- */
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius-md); }

.article-content table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.article-content thead { background: var(--navy); color: var(--white); }
.article-content th {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-content td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
}
.article-content tbody tr { transition: background var(--transition); }
.article-content tbody tr:nth-child(even) { background: var(--gray-50); }
.article-content tbody tr:hover { background: rgba(8,47,109,0.03); }
.article-content tbody tr:last-child td { border-bottom: none; }

/* --- CTA Box --- */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  margin: 48px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 300px;
  height: 300px;
  background: rgba(255,40,0,0.12);
  border-radius: 50%;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.cta-box h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
}
.cta-box p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 24px;
  position: relative;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  box-shadow: 0 4px 16px rgba(255,40,0,0.3);
}
.cta-btn:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,40,0,0.4); }

/* --- FAQ Section --- */
.faq-section { margin: 48px 0; }
.faq-section h2 { border-bottom: none; }

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
  background: var(--white);
}
.faq-item:hover { box-shadow: var(--shadow-sm); border-color: var(--gray-300); }
.faq-item.active { border-color: var(--navy); box-shadow: 0 2px 12px rgba(8,47,109,0.08); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  text-align: left;
  transition: background var(--transition), color var(--transition);
  gap: 16px;
}
.faq-question:hover { background: var(--gray-50); }
.faq-item.active .faq-question { color: var(--navy); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gray-400);
}
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--navy); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 500px; }

/* --- Author Box --- */
.author-box {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  margin: 48px 0;
  border: 1px solid var(--gray-200);
}
.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  object-fit: contain;
  padding: 8px;
  flex-shrink: 0;
}
.author-name { font-weight: 800; color: var(--gray-900); font-size: 17px; }
.author-role { font-size: 12px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.author-bio { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* --- Service Cards --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.service-card {
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card-icon { margin-bottom: 12px; color: var(--navy); }
.service-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; margin-top: 0; border: none; padding: 0; }
.service-card p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* --- Zone Links --- */
.zone-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.zone-link {
  display: inline-block;
  padding: 8px 18px;
  background: var(--gray-50);
  color: var(--navy);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.zone-link:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* --- Related Articles --- */
.related-section {
  background: var(--gray-50);
  padding: 60px 0;
  margin-top: 60px;
}
.related-section h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 36px;
  border-bottom: none;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-100);
}
.related-card::before {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--red));
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.related-card-body { padding: 24px 20px; }
.related-card-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--red);
  margin-bottom: 10px;
}
.related-card h3 { font-size: 16px; font-weight: 700; color: var(--gray-900); line-height: 1.4; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-col p { font-size: 14px; margin-bottom: 8px; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-col p a { display: inline; color: var(--red); }
.footer-col p a:hover { color: var(--white); }

.footer-social {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: background var(--transition);
  margin: 0;
}
.footer-social a:hover { background: var(--red); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 921px) {
  .site-header { height: 60px; padding: 0 16px; }
  .header-inner { gap: 10px; }
  .header-logo img { height: 34px; }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 60px);
    background: var(--white);
    flex-direction: column;
    padding: 8px 20px 24px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    z-index: 999;
  }
  .header-nav.open { display: flex; }
  .header-nav > a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
  }
  .header-tel { display: none; }
  .header-cta { display: none; }
  .header-tel-icon { display: flex; margin-left: auto; }
  .header-menu-toggle { display: flex; }

  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
  }
  .nav-mobile-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    padding: 10px 0;
  }
  .nav-mobile-phone svg { flex-shrink: 0; }
  .nav-mobile-phone:hover { color: var(--red); }
  .nav-mobile-btn {
    display: block;
    padding: 16px 24px;
    background: var(--red);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: background var(--transition);
    box-shadow: 0 4px 16px rgba(255,40,0,0.25);
  }
  .nav-mobile-btn:hover { background: var(--red-hover); }
}

@media (max-width: 768px) {
  .article-hero { height: 340px; border-radius: var(--radius-md); }
  .article-hero-overlay { padding: 60px 24px 28px; }
  .article-hero .article-title { font-size: 28px; }
  .article-hero .article-subtitle { font-size: 15px; }
  .article-content h2 { font-size: 22px; }
  .article-content h3 { font-size: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-box { padding: 32px 20px; }
  .cta-box h3 { font-size: 22px; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .article-meta { flex-wrap: wrap; }
  .breadcrumb { padding-top: 76px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .article-hero { height: 300px; }
  .article-hero-overlay { padding: 50px 20px 24px; }
  .article-hero .article-title { font-size: 24px; }
  .container { padding: 0 16px; }
  .toc { padding: 20px; }
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .cta-box, .related-section, .toc { display: none; }
  .article-content { font-size: 12pt; }
  .breadcrumb { padding-top: 0; }
  .article-hero { height: auto; }
  .article-hero .article-title { color: var(--gray-900); text-shadow: none; }
  .article-hero .article-subtitle { color: var(--gray-600); }
  .article-hero-overlay { background: none; padding: 20px 0; }
}

/* --- Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
