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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background-color: #fff;
}

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

a {
  color: #0077b6;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #023e8a;
  text-decoration: underline;
}

/* === Layout === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: #0d1b2a;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1em;
}

ul, ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
}

/* Brand */
.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #0d1b2a;
  font-weight: 700;
  font-size: 1.125rem;
  z-index: 1001;
}

.site-brand:hover,
.site-brand:focus {
  color: #0077b6;
  text-decoration: none;
}

/* Hamburger toggle (checkbox hack) */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: #0d1b2a;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.nav-toggle:checked ~ .nav-toggle-label .hamburger {
  background-color: transparent;
}

.nav-toggle:checked ~ .nav-toggle-label .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked ~ .nav-toggle-label .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile nav (default) */
.site-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 0.5rem 0 1rem;
}

.nav-toggle:checked ~ .site-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.625rem 0;
  color: #1a1a2e;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.nav-link:hover,
.nav-link:focus {
  color: #0077b6;
  text-decoration: none;
}

/* Dropdown (mobile) */
.dropdown {
  list-style: none;
  padding: 0 0 0 1rem;
  margin: 0;
  display: none;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 0.4rem 0;
  color: #1a1a2e;
  font-size: 0.875rem;
  text-decoration: none;
}

.dropdown a:hover,
.dropdown a:focus {
  color: #0077b6;
  text-decoration: none;
}

/* CTA button */
.nav-cta {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 1.25rem;
  background-color: #0077b6;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s;
}

.nav-cta:hover,
.nav-cta:focus {
  background-color: #023e8a;
  color: #fff;
  text-decoration: none;
}

/* === Main Content === */
main {
  padding: 1.5rem 0;
}

article {
  margin-bottom: 2rem;
}

/* === Footer === */
.site-footer {
  background-color: #0d1b2a;
  color: #caf0f8;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
}

.footer-nav a {
  color: #90e0ef;
  font-size: 0.875rem;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}

.footer-keywords {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #a8dadc;
  padding: 0 1rem;
}

/* === Responsive: 320px+ (mobile-first base) === */
@media (min-width: 320px) {
  .container {
    padding: 0 1rem;
  }
}

/* === Responsive: 768px+ (tablet) === */
@media (min-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }

  .container {
    padding: 0 2rem;
  }

  main {
    padding: 2rem 0;
  }

  /* Header desktop layout */
  .nav-toggle-label {
    display: none;
  }

  .site-nav {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    border-top: none;
    padding: 0;
    gap: 1.5rem;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 1rem 0.625rem;
    border-bottom: none;
  }

  /* Dropdown (desktop) */
  .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    padding: 0.375rem 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1002;
  }

  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown {
    display: block;
  }

  .dropdown a {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
  }

  /* CTA desktop */
  .nav-cta {
    margin-top: 0;
    white-space: nowrap;
  }

  .footer-nav ul {
    gap: 0.5rem 1.5rem;
  }

  .footer-nav a {
    font-size: 1rem;
  }
}

/* === Responsive: 1024px+ (desktop) === */
@media (min-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 2rem; }

  .container {
    padding: 0 2rem;
  }

  main {
    padding: 2.5rem 0;
  }

  .site-footer {
    padding: 2.5rem 0;
  }
}

/* === CTA Block === */
.cta-block {
  margin: 1.5rem 0;
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #0077b6;
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #023e8a;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.cta-urgency {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #c0392b;
  font-weight: 600;
}

/* === Hero Sections === */
.hero {
  background-color: #0d1b2a;
  color: #fff;
  padding: 2.5rem 0;
  margin-bottom: 2rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: #caf0f8;
  margin-bottom: 1.25rem;
  max-width: 40rem;
}

.hero .cta-block {
  text-align: left;
  margin-top: 1.25rem;
}

.hero .cta-button {
  background-color: #00b4d8;
}

.hero .cta-button:hover,
.hero .cta-button:focus {
  background-color: #90e0ef;
  color: #0d1b2a;
}

/* === Page Header (non-hero) === */
.page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e0e0e0;
}

/* === Page Content === */
.page-content {
  margin-bottom: 2rem;
}

.page-content h2 {
  margin-top: 2rem;
}

.page-content h3 {
  margin-top: 1.5rem;
}

/* === Key Facts Box === */
.key-facts-box {
  background-color: #edf6ff;
  border-left: 4px solid #0077b6;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.key-facts-box h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #023e8a;
}

.key-facts-box ul {
  margin-bottom: 0;
}

.key-facts-box li {
  margin-bottom: 0.375rem;
}

/* === FAQ Section === */
.faq-section {
  margin: 2.5rem 0;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 0.875rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #f8f9fa;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.25rem;
  font-weight: 700;
  color: #0077b6;
}

.faq-item[open] summary::before {
  content: "\2212";
}

.faq-item[open] summary {
  border-bottom: 1px solid #e0e0e0;
}

.faq-answer {
  padding: 1rem 1.25rem;
}

/* === GEO Definition Block (Money page) === */
.geo-definition {
  background-color: #edf6ff;
  border-left: 4px solid #0077b6;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* === Quick Answer Blocks === */
.quick-answers {
  margin-bottom: 2rem;
}

.quick-answer-block {
  background-color: #f8f9fa;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.quick-answer-block h3 {
  font-size: 1rem;
  color: #023e8a;
  margin-bottom: 0.25rem;
}

.quick-answer-block p {
  margin-bottom: 0;
}

/* === Data Tables === */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.data-table th {
  background-color: #0d1b2a;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.data-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.data-table tbody tr:hover {
  background-color: #edf6ff;
}

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.5rem;
  font-size: 0.875rem;
  color: #555;
  text-align: center;
}

.gallery-coming-soon {
  grid-column: 1 / -1;
  text-align: center;
  color: #888;
  font-style: italic;
  padding: 2rem;
}

/* === Reviews === */
.review-snippets {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.review-card {
  background-color: #f8f9fa;
  border-left: 3px solid #0077b6;
  border-radius: 4px;
  padding: 1.25rem;
  margin: 0;
}

.review-card p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.review-card cite {
  font-size: 0.875rem;
  color: #555;
  font-style: normal;
  font-weight: 600;
}

/* === Booking CTA === */
.booking-cta {
  background-color: #0d1b2a;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.booking-cta .cta-button {
  font-size: 1.125rem;
  padding: 0.875rem 2.5rem;
  background-color: #00b4d8;
}

.booking-cta .cta-button:hover,
.booking-cta .cta-button:focus {
  background-color: #90e0ef;
  color: #0d1b2a;
}

.booking-cta .cta-urgency {
  color: #ffd166;
}

/* === Direct Answer (Decision + FAQ-Answer) === */
.direct-answer {
  background-color: #f0f9ff;
  border: 2px solid #0077b6;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.direct-answer-hero {
  background-color: #023e8a;
  color: #fff;
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.direct-answer-hero p {
  color: #caf0f8;
}

.direct-answer-hero strong {
  color: #fff;
}

/* === Pros & Cons === */
.pros-cons-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pros-cons-column {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.25rem;
}

.pros-cons-column h3 {
  text-align: center;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #0077b6;
  margin-bottom: 1rem;
}

.pros h4 {
  color: #27ae60;
}

.cons h4 {
  color: #c0392b;
}

.pros ul, .cons ul {
  list-style: none;
  padding-left: 0;
}

.pros li::before {
  content: "\2713 ";
  color: #27ae60;
  font-weight: 700;
}

.cons li::before {
  content: "\2717 ";
  color: #c0392b;
  font-weight: 700;
}

/* === Scenario Cards === */
.scenario-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.scenario-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid #e0e0e0;
}

.scenario-card h3 {
  color: #023e8a;
  margin-bottom: 0.5rem;
}

.scenario-pick {
  margin-top: 0.5rem;
  margin-bottom: 0;
  color: #0077b6;
}

/* === Per-Option CTAs === */
.per-option-ctas {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.option-cta {
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
}

.option-cta h3 {
  margin-bottom: 0.75rem;
}

/* === Location Layout (sidebar) === */
.location-layout {
  margin-bottom: 2rem;
}

.practical-info-sidebar {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 2rem;
}

.practical-info-sidebar h2 {
  font-size: 1.125rem;
  color: #023e8a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0077b6;
}

.info-list {
  margin-bottom: 1rem;
}

.info-list dt {
  font-weight: 700;
  font-size: 0.875rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-top: 0.75rem;
}

.info-list dd {
  margin-left: 0;
  margin-bottom: 0.5rem;
}

/* === Blog Post === */
.blog-header {
  margin-bottom: 2rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #555;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.blog-author {
  font-weight: 600;
}

/* Table of Contents */
.toc {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.toc h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.toc-list {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.toc-list li {
  margin-bottom: 0.25rem;
}

.toc-list a {
  font-size: 0.9375rem;
}

/* Inline CTA Banner */
.inline-cta-banner {
  background-color: #edf6ff;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

/* Related Posts */
.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e0e0e0;
}

.related-grid {
  display: grid;
  gap: 1rem;
}

.related-card {
  display: block;
  background-color: #f8f9fa;
  border-radius: 6px;
  padding: 1.25rem;
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.related-card:hover,
.related-card:focus {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.related-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.related-card time {
  font-size: 0.8125rem;
  color: #888;
}

.related-card p {
  font-size: 0.875rem;
  color: #555;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* === Blog Listing === */
.blog-listing {
  margin-top: 1.5rem;
}

.blog-list-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.blog-list-item h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.read-more {
  font-weight: 600;
  font-size: 0.875rem;
}

/* === Trust Page === */
.trust-page .page-content {
  max-width: 48rem;
}

/* === Responsive: 1440px+ (large desktop) === */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  h1 { font-size: 2.5rem; }
}

/* === Responsive: 768px+ (tablet) — layout additions === */
@media (min-width: 768px) {
  .hero {
    padding: 3.5rem 0;
  }

  .hero-sub {
    font-size: 1.25rem;
  }

  .review-snippets {
    grid-template-columns: repeat(2, 1fr);
  }

  .pros-cons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .per-option-ctas {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .location-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
  }

  .practical-info-sidebar {
    margin-top: 0;
    align-self: start;
    position: sticky;
    top: 5rem;
  }
}

/* === Responsive: 1024px+ (desktop) — layout additions === */
@media (min-width: 1024px) {
  .hero {
    padding: 4rem 0;
  }

  .location-layout {
    grid-template-columns: 1fr 320px;
  }

  .review-snippets {
    grid-template-columns: repeat(3, 1fr);
  }

  .scenario-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
