/* Avalonia Media — editorial travel guide */
:root {
  --ink: #1e3a4c;
  --ink-light: #3d5a6e;
  --teal: #2d6a6e;
  --teal-dark: #245558;
  --sand: #e8e2d9;
  --sand-light: #f3efe8;
  --amber: #c9a227;
  --text: #4a5568;
  --text-muted: #6b7c8a;
  --white: #ffffff;
  --footer-bg: #152a38;
  --max: 1140px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--sand-light);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 600;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Masthead */
.masthead {
  background: var(--ink);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--sand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-lang {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #7a9aad;
  border: 1px solid #3a5a6e;
  background: transparent;
}

.lang-pill:hover {
  color: var(--white);
  border-color: #5a8a9e;
}

.lang-pill.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.masthead-cta {
  padding: 0.55rem 1.15rem;
  font-size: 0.75rem;
  background: linear-gradient(135deg, var(--amber), #d4b84a);
  color: var(--ink);
  border: none;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.masthead-cta:hover {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.45);
}

/* Splash */
.splash {
  padding: 3.5rem 0 4rem;
  background: var(--white);
  border-bottom: 3px solid var(--sand);
}

.splash-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.75rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6f12;
}

.splash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.splash-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.splash h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin: 0 0 1.25rem;
  font-weight: 500;
}

.splash-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 34ch;
}

.splash-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.splash-trust {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.splash-visual {
  position: relative;
}

.splash-visual img {
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 var(--sand);
  border: 1px solid rgba(30, 58, 76, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 0.9375rem;
  min-width: 280px;
}

.btn-cta {
  background: linear-gradient(135deg, var(--amber), #d4b84a);
  color: var(--ink);
  border-color: var(--amber);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.4);
}

.btn-cta::after {
  content: "→";
  font-size: 1.1em;
  line-height: 1;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #d4b84a, var(--amber));
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(201, 162, 39, 0.5);
}

.btn-cta-sm {
  padding: 0.7rem 1.35rem;
  font-size: 0.8125rem;
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(45, 106, 110, 0.3);
}

.btn-cta-sm:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-light);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Region chips */
.region-bar {
  padding: 1.75rem 0;
  background: var(--sand);
  overflow-x: auto;
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.chip {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: var(--white);
  border: 1px solid rgba(30, 58, 76, 0.12);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-light);
  white-space: nowrap;
}

/* Sections */
.block {
  padding: 4rem 0;
}

.block-alt {
  background: var(--white);
}

.block-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.block-head h2 {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.block-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Zigzag features */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-media {
  order: 1;
}

.feature-media img {
  border-radius: var(--radius);
  border: 1px solid rgba(30, 58, 76, 0.06);
}

.feature-copy {
  padding-left: 1rem;
  border-left: 3px solid var(--amber);
}

.feature-copy h3 {
  font-size: 1.375rem;
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.feature-copy p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

/* Pull quote */
.insight-block {
  padding: 3.5rem 0;
  background: var(--ink);
  color: var(--sand);
}

.insight-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.insight-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
}

.insight-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.insight-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.insight-link:hover {
  color: var(--white);
}

.insight-visual img {
  border-radius: var(--radius);
  opacity: 0.92;
}

/* Trust list */
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trust-list li {
  padding: 1.5rem 0 1.5rem 1.25rem;
  border-left: 4px solid var(--teal);
  border-bottom: 1px solid rgba(30, 58, 76, 0.08);
}

.trust-list li:last-child {
  border-bottom: none;
}

.trust-list h3 {
  font-size: 1.125rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.trust-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* CTA panel */
.panel-cta {
  padding: 4rem 0 5rem;
}

.cta-box {
  border: none;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--ink) 100%);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(30, 58, 76, 0.25);
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin: 0 0 0.75rem;
  font-weight: 500;
  color: var(--white);
}

.cta-box p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 48ch;
  margin-inline: auto;
}

.cta-box .btn-cta {
  margin-inline: auto;
}

/* Footer */
.page-footer {
  background: var(--footer-bg);
  color: #9eb4c4;
  padding: 2.5rem 0 2rem;
}

.footer-note {
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 auto 1.25rem;
  color: #7a9aad;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
}

.footer-legal a {
  color: #a8c4d4;
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-dot {
  color: #4a6a7e;
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: #5a7a8e;
  margin: 0;
}

/* Legal pages */
.legal-masthead {
  background: var(--ink);
  padding: 1rem 0;
}

.legal-back {
  color: #a8c4d4;
  font-size: 0.875rem;
  font-weight: 600;
}

.legal-back:hover {
  color: var(--white);
}

.legal-doc {
  padding: 3rem 0 4rem;
}

.legal-sheet {
  max-width: 720px;
  margin-inline: auto;
  background: var(--white);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(30, 58, 76, 0.1);
  border-radius: var(--radius);
}

.legal-sheet h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.legal-subtitle {
  font-size: 0.9375rem;
  color: var(--teal);
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.legal-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.legal-sheet h3 {
  font-size: 1.0625rem;
  margin: 2rem 0 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

.legal-sheet p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

.legal-sheet ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
}

.legal-sheet li {
  margin-bottom: 0.5rem;
}

.legal-contact {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
  .splash-grid,
  .feature-row,
  .insight-inner {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-media {
    order: unset;
  }

  .splash-visual {
    order: -1;
  }

  .insight-visual {
    display: none;
  }
}

@media (max-width: 600px) {
  .splash {
    padding: 2.5rem 0 3rem;
  }

  .masthead-cta {
    display: none;
  }

  .btn-lg {
    width: 100%;
    min-width: unset;
  }

  .block {
    padding: 3rem 0;
  }

  .legal-sheet {
    padding: 1.75rem 1.25rem;
  }
}
