/*
Theme Name: MapMagnet Guides
Theme URI: https://mapmagnetguides.com
Author: MapMagnet
Description: Premium interactive city guides
Version: 1.0
*/




/* =========================================================
   01. DESIGN TOKENS
========================================================= */

:root {
  --bg: #fbfaf8;
  --text: #0d1424;
  --muted: #5c6470;
  --line: #e6e1d8;

  --brand: #143d73;
  --brandDark: #082653;
  --green: #c0392b;
  --brand2: #c0392b;
  --warm: #f4efe7;
  --cream: #fffdf9;
  --accent: #c96a62;

  --shadow: 0 22px 65px rgba(8,38,83,.15);
  --shadowSoft: 0 10px 28px rgba(8,38,83,.09);
  --radius: 22px;
  --container: 1240px;
}


/* =========================================================
   02. RESET / BASE
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

.container {
  width: min(1150px, calc(100% - 40px));
  margin: 0 auto;
}

.hidden {
  display: none !important;
}


/* =========================================================
   03. HEADER / NAVIGATION
========================================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230,225,216,.9);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.01em;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(31,146,118,.24);
  color: #fff;
  flex-shrink: 0;
}

.logo svg {
  width: 21px;
  height: 21px;
  stroke: #fff;
  stroke-width: 2.3;
}

.brand-sub {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-sub small {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.navlinks a {
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(13,20,36,.72);
  transition: background .15s, color .15s;
}

.navlinks a:hover,
.navlinks a.active {
  background: rgba(31,146,118,.09);
  color: var(--green);
}

.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brandDark));
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(20,61,115,.2);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.mobilemenu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 0 18px;
}

.mobilemenu a {
  display: block;
  padding: 11px 8px;
  border-radius: 10px;
  font-weight: 700;
}


/* =========================================================
   04. HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
  background:
    var(--hero-overlay, transparent),
    var(--hero-image, none),
    radial-gradient(760px 440px at 7% 12%, rgba(20,61,115,.10), transparent 58%),
    radial-gradient(500px 360px at 45% 95%, rgba(232,160,32,.10), transparent 55%),
    radial-gradient(580px 380px at 93% 10%, rgba(31,146,118,.10), transparent 55%),
    var(--bg);
  background-size: auto, cover, auto, auto, auto, auto;
  background-position: center, center right, center, center, center, center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 440px at 7% 12%, rgba(20,61,115,.10), transparent 58%),
    radial-gradient(500px 360px at 45% 95%, rgba(232,160,32,.10), transparent 55%),
    radial-gradient(580px 380px at 93% 10%, rgba(31,146,118,.10), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 0 34px;
  display: grid;
  align-items: start;
}

.hero-copy {
  max-width: 680px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(20,61,115,.08);
  border: 1px solid rgba(20,61,115,.16);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(8,38,83,.06);
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: block;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 5.1vw, 76px);
  line-height: .98;
  letter-spacing: -.045em;
  max-width: 13ch;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  color: var(--green);
  font-style: italic;
}

.hero-sub {
  margin: 0;
  color: rgba(13,20,36,.72);
  font-size: 17px;
  line-height: 1.65;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}


/* =========================================================
   05. BUTTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 18px rgba(8,38,83,.08);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(8,38,83,.13);
}

.btn.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brandDark));
  box-shadow: 0 10px 24px rgba(20,61,115,.25);
}

.btn.green {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), #12624f);
  box-shadow: 0 10px 24px rgba(31,146,118,.22);
}

.btn svg {
  width: 18px;
  height: 18px;
}


/* =========================================================
   06. SHARED LAYOUT PRIMITIVES
========================================================= */

section {
  padding: 40px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -.035em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 68ch;
  line-height: 1.7;
}

.section-head-large {
  margin-bottom: 28px;
}

.section-head-large h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1;
  letter-spacing: -.04em;
}

.section-head-large p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 68ch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Base card */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadowSoft);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.card .btn {
  margin-top: 16px;
  padding: 8px 15px;
  min-height: 38px;
  font-size: 13px;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(31,146,118,.09);
  border: 1px solid rgba(31,146,118,.18);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #1f5c4d;
  stroke-width: 2.2;
}

/* Soft result box */
.soft-result {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: #f8f6f1;
  border: 1px solid var(--line);
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}

.soft-result strong {
  color: var(--brand);
  font-weight: 900;
}

/* Result box (tools) */
.result-box {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: #f8f6f1;
  border: 1px solid var(--line);
  font-weight: 900;
  color: var(--brand);
}

/* Affiliate disclosure */
.affiliate-disclosure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadowSoft);
  color: var(--muted);
  font-size: 13px;
}

/* Form fields */
.field label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  color: rgba(13,20,36,.68);
  margin-bottom: 9px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid rgba(230,225,216,.9);
  background: #fff;
  border-radius: 15px;
  padding: 13px 15px;
  font-size: 15px;
  outline: none;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(20,61,115,.45);
  box-shadow: 0 0 0 4px rgba(20,61,115,.08);
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
}

.field input.with-icon {
  padding-left: 46px;
}

/* Soft panel */
.soft-panel {
  background: #f8f6f1;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.soft-panel strong {
  display: block;
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 8px;
}


/* =========================================================
   07. CTA BAND
========================================================= */

.cta-band {
  border-radius: var(--radius);
  background:
    radial-gradient(380px 240px at 96% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brandDark) 55%, var(--green) 100%);
  color: #fff;
  padding: 38px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(20,61,115,.28);
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -.03em;
}

.cta-band p {
  margin: 0;
  opacity: .86;
  max-width: 62ch;
  font-size: 15px;
}

.cta-band .btn {
  background: #fff;
  color: var(--brandDark);
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  font-weight: 700;
}

.cta-band .btn:hover {
  background: #f7f7f7;
  transform: translateY(-1px);
}

.cta-section {
  padding: 40px 0 70px;
}


/* =========================================================
   08. FOOTER
========================================================= */

.site-footer {
  background: var(--brandDark);
  color: #fff;
  padding: 42px 0 26px;
  margin-top: 0;
}

.footer-inner {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.footer-brand p {
  margin: 0;
  color: rgba(255,255,255,.78);
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: rgba(255,255,255,.82);
  font-weight: 700;
  font-size: 15px;
  transition: opacity .15s ease;
}

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

.footer-bottom {
  width: min(var(--container), calc(100% - 48px));
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.72);
  font-size: 13px;
}


/* =========================================================
   09. HOMEPAGE — PLATFORM PILLARS
========================================================= */

.pillars-section {
  padding: 46px 0 40px;
  background:
    radial-gradient(620px 340px at 6% 0%, rgba(31,146,118,.08), transparent 58%),
    radial-gradient(620px 340px at 96% 100%, rgba(20,61,115,.08), transparent 58%),
    var(--bg);
}

.pillars-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadowSoft);
  padding: 30px;
}

.pillars-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-bottom: 22px;
}

.pillars-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -.035em;
}

.pillars-head p {
  margin: 0;
  color: var(--muted);
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.7;
}

.pillars-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,61,115,.08);
  color: var(--brand);
  border: 1px solid rgba(20,61,115,.16);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pillar-item {
  background: #f8f6f1;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pillar-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadowSoft);
  background: #fff;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #eef6f4;
  border: 1px solid #dde7e4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
  stroke: #1f5c4d;
  stroke-width: 2.2;
}

.pillar-item h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.04em;
}

.pillar-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.pillar-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}


.pillar-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-green, #1a7a4a);
  margin: 0 0 0.35rem;
}

/* =========================================================
   10. HOMEPAGE — SEARCH SECTION
========================================================= */

.search-shell {
  position: relative;
  z-index: 5;
  padding: 32px 0 56px;
}

.search-card {
  max-width: 1240px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(252,251,248,.98) 100%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 34px;
  box-shadow:
    0 35px 90px rgba(8,38,83,.14),
    0 10px 30px rgba(8,38,83,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
  overflow: visible;
}

/* Trust bar */
.search-trust {
  padding: 18px 28px 20px;
  border-radius: 34px 34px 0 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(20,61,115,.06), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(31,146,118,.07), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.45));
  border-bottom: 1px solid rgba(20,61,115,.08);
}

.search-trust-top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.search-trust-top strong {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(20,61,115,.055);
  border: 1px solid rgba(20,61,115,.08);
  font-size: 14px;
  font-weight: 800;
  color: rgba(13,20,36,.78);
}

.search-trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(20,61,115,.10);
  flex: 0 0 auto;
}

.provider-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 4px 0;
}

.provider-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.38);
  border: 1px solid rgba(20,61,115,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: rgba(17,24,39,.92);
  line-height: 1;
  transition: transform .15s ease, background .15s ease;
}

.provider-logo:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.62);
}

.provider-logo.booking { color: #003580; }

/* Search tabs */
.search-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 28px 16px;
}
.search-tabs.dest-tabs {
  grid-template-columns: repeat(3, 1fr);
}
.tab-btn,
.dest-tab-btn {
  min-height: 54px;
  border: 1px solid rgba(230,225,216,.75);
  background: #faf8f4;
  border-radius: 18px;
  padding: 14px 12px;
  font-weight: 800;
  cursor: pointer;
  color: rgba(13,20,36,.78);
  transition: .15s ease;
  font-size: 15px;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.tab-btn svg,
.dest-tab-btn svg {
  width: 18px;
  height: 18px;
  stroke: #1f5c4d;
  stroke-width: 2.2;
}
.tab-btn:hover,
.dest-tab-btn:hover {
  background: #f3efe8;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(13,20,36,.06);
}
.tab-btn.active,
.dest-tab-btn.active {
  background: linear-gradient(180deg, rgba(20,61,115,.96) 0%, rgba(11,39,82,.96) 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 10px 22px rgba(20,61,115,.16),
    inset 0 1px 0 rgba(255,255,255,.10);
  transform: translateY(-1px);
}
.tab-btn.active svg,
.dest-tab-btn.active svg {
  stroke: #7ee0c5;
}

/* Search panels */
.search-panel {
  display: none;
  margin: 0 20px 26px;
  padding: 26px 34px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,246,241,.92) 100%);
  border: 1px solid rgba(20,61,115,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 24px rgba(8,38,83,.04);
}

.search-panel.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1.15fr .8fr .8fr auto;
  gap: 20px;
  align-items: end;
}

.form-grid.flights {
  grid-template-columns: 1fr 1fr .9fr .9fr auto;
}

.search-submit {
  min-width: 220px;
  height: 56px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(20,61,115,.22);
}

.search-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}

/* Partner options */
.partner-options {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: #f8f6f1;
  border: 1px solid var(--line);
}

.partner-options-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.partner-options-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.partner-btn {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: .15s ease;
  font-size: 13px;
}

.partner-btn:hover {
  transform: translateY(-1px);
  background: #f5f2ec;
  border-color: #d8d1c5;
}

/* =========================================================
   MORE SEARCH CARDS
========================================================= */

.more-search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.more-search-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.more-search-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: rgba(27, 94, 84, 0.22);
}

.more-search-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(27, 94, 84, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.more-search-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  stroke-width: 2.2;
}

.more-search-text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--text);
}

.more-search-text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .more-search-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .more-search-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SEARCH CATEGORY CARDS
========================================================= */

.search-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.search-category-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.search-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  border-color: rgba(27, 94, 84, 0.22);
}

.search-category-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(27, 94, 84, 0.09);
  margin-bottom: 18px;
}

.search-category-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green);
  stroke-width: 2.2;
}

.search-category-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  letter-spacing: -.02em;
}

.search-category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .search-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .search-category-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   11. HOMEPAGE — DISCOVER SECTION
========================================================= */

.discover-section {
  position: relative;
  padding-top: 64px;
  padding-bottom: 34px;
  overflow: hidden;
}

.discover-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 340px at 8% 0%, rgba(31,146,118,.08), transparent 60%),
    radial-gradient(620px 340px at 92% 100%, rgba(20,61,115,.08), transparent 60%);
}

.discover-section .container {
  position: relative;
  z-index: 2;
}

.discover-section .section-head {
  margin-bottom: 34px;
}

.discover-section .section-head h2 {
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -.045em;
  line-height: .98;
}

.discover-section .section-head p {
  font-size: 17px;
  max-width: 68ch;
  line-height: 1.7;
}

/* Builder card (shared by Discover + Trip Builder sections) */
.builder-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.discover-section .builder-card {
  border-radius: 34px;
  padding: 34px;
  background:
    radial-gradient(circle at top left, rgba(20,61,115,.045), transparent 28%),
    radial-gradient(circle at top right, rgba(31,146,118,.055), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(252,250,246,.98) 100%);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow:
    0 28px 70px rgba(8,38,83,.09),
    0 10px 24px rgba(8,38,83,.05),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.builder-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(20,61,115,.08);
}

.builder-head h2 {
  margin: 0 0 10px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: .96;
  letter-spacing: -.05em;
}

.builder-head p {
  margin: 0;
  max-width: 64ch;
  color: rgba(13,20,36,.68);
  font-size: 17px;
  line-height: 1.75;
}

.builder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31,146,118,.09);
  color: var(--green);
  border: 1px solid rgba(31,146,118,.18);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.builder-full {
  grid-column: 1 / -1;
}

.builder-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(20,61,115,.08);
}

.builder-actions .btn {
  min-height: 60px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 900;
}

.builder-result {
  flex: 1;
  min-width: 240px;
}

/* Finder results */
.finder-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 42px 0 26px;
  padding-top: 34px;
  border-top: 1px solid rgba(20,61,115,.08);
}

.finder-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.finder-guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadowSoft);
  display: flex;
  flex-direction: column;
}

.finder-guide-image {
  min-height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.finder-guide-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
}

.finder-guide-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.finder-guide-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -.02em;
}

.finder-guide-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.finder-guide-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.finder-guide-tags span {
  background: #f4efe7;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.finder-guide-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
}

.finder-match-box {
  margin: 14px 0 16px;
  padding: 14px;
  border-radius: 16px;
  background: #f8f6f1;
  border: 1px solid var(--line);
}

.finder-match-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.finder-match-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.finder-match-box li {
  margin: 3px 0;
}


/* =========================================================
   12. HOMEPAGE — TRENDING DESTINATIONS
========================================================= */

.trending-section {
  padding: 48px 0 24px;
}

.trending-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 22px;
}

.trending-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.03em;
}

.trending-head p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 15px;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trending-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 260px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,.10)),
    radial-gradient(circle at top right, rgba(232,160,32,.28), transparent 40%),
    linear-gradient(135deg, var(--brand), var(--brandDark));
  box-shadow: var(--shadowSoft);
}

.trending-card strong {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -.04em;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 8px;
}

.trending-card p {
  position: relative;
  z-index: 2;
  margin: 0 0 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
  font-size: 14px;
}

.trending-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trending-tags span {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.trending-link {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 900;
}


/* =========================================================
   13. HOMEPAGE — TRIP BUILDER SECTION
========================================================= */

.builder-section {
  padding-top: 42px;
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(31,146,118,.05), transparent 52%),
    radial-gradient(700px 380px at 100% 100%, rgba(20,61,115,.05), transparent 52%),
    #f8f6f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trip-workspace-intro {
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(232,160,32,.14), transparent 40%),
    linear-gradient(135deg, rgba(20,61,115,.05), rgba(31,146,118,.04));
  border: 1px solid rgba(20,61,115,.10);
}

.trip-workspace-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.trip-workspace-top strong {
  font-size: 16px;
  letter-spacing: -.01em;
}

.trip-workspace-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(20,61,115,.10);
}

.trip-workspace-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trip-workspace-tags span {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(20,61,115,.10);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(13,20,36,.78);
}

.builder-group-title {
  grid-column: 1 / -1;
  margin: 10px 0 -4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.builder-group-title h3 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -.02em;
}

.builder-group-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trip-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.trip-toggle-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.trip-toggle-grid label:has(input:checked) {
  background: rgba(31, 146, 118, 0.08);
  border-color: rgba(31, 146, 118, 0.28);
  color: var(--green);
}

.trip-toggle-grid label:hover {
  background: rgba(31, 146, 118, 0.05);
  border-color: rgba(31, 146, 118, 0.18);
}

.trip-toggle-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: auto;
  padding: 0;
  margin: 0;
  accent-color: #1f5c4d;
  flex-shrink: 0;
}

.builder-subsection {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  padding: 20px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 4px;
}

.trip-save-card {
  display: grid;
  gap: 4px;
  width: 100%;
}

.trip-save-card strong {
  color: var(--green);
  font-size: 13px;
}

.trip-save-card span {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.trip-save-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.builder-result:not(.hidden) {
  animation: fadeUp .35s ease both;
}


/* =========================================================
   14. HOMEPAGE — COMPLETE YOUR TRIP (SCROLL ROW)
========================================================= */

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding: 2px 4px 10px;
  scrollbar-width: thin;
}

.quick-card {
  min-height: 106px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  box-shadow: var(--shadowSoft);
  transition: transform .15s ease, box-shadow .2s ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.quick-card-icon,
.gear-icon {
  width: 38px;
  height: 38px;
  border-radius: 16px;
  background: #eef6f4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dde7e4;
}

.quick-card-icon svg,
.gear-icon svg {
  width: 22px;
  height: 22px;
  stroke: #1f5c4d;
  stroke-width: 2.2;
}

.quick-card h3 {
  margin: 8px 0 4px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

.quick-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.travel-support-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.travel-support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

.travel-support-footer {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand);
  border-top: 1px solid var(--line);
}


/* =========================================================
   15. HOMEPAGE — TOOLS SECTION
========================================================= */

.tools-section {
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(31,146,118,.08), transparent 52%),
    radial-gradient(700px 400px at 100% 100%, rgba(20,61,115,.08), transparent 52%),
    var(--warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 56px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.tool-card h3 {
  font-size: 22px;
}

.tool-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.tool-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tool-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Currency tool */
.currency-live-grid {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: #f8f6f1;
  border: 1px solid var(--line);
  font-size: 14px;
}

.currency-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.currency-row strong {
  color: var(--brand);
}

.currency-updated {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* Packing checklist */
.checklist {
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  align-content: start;
  padding: 12px;
  border-radius: 14px;
  background: #f8f6f1;
  border: 1px solid var(--line);
}

.check-item {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}

/* Phrasebook */
.phrase-list {
  min-height: 116px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px;
  border-radius: 14px;
  background: #f8f6f1;
  border: 1px solid var(--line);
}

.phrase {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
}

.phrase strong {
  display: block;
  color: var(--brand);
}


/* =========================================================
   16. DESTINATION PAGE BLOCKS
========================================================= */

.destination-shell {
  padding: 46px 0 74px;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(31,146,118,.08), transparent 52%),
    radial-gradient(700px 400px at 100% 100%, rgba(20,61,115,.08), transparent 52%),
    var(--warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.destination-card-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(13,20,36,.10), 0 4px 18px rgba(13,20,36,.04);
  padding: 30px;
}

.destination-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.destination-head h2 {
  margin: 0 0 6px;
  font-size: clamp(30px, 3.8vw, 48px);
  letter-spacing: -.04em;
  line-height: 1;
}

.destination-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.7;
}

.destination-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31,146,118,.09);
  color: var(--green);
  border: 1px solid rgba(31,146,118,.18);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.snapshot-item {
  background: #f8f6f1;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.snapshot-item strong {
  display: block;
  color: var(--brand);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 6px;
}

.snapshot-item span {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.scores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.score-row {
  background: #f8f6f1;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
}

.score-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 13px;
}

.score-top span:last-child {
  color: var(--brand);
}

.score-bar {
  height: 9px;
  border-radius: 999px;
  background: #e8e1d6;
  overflow: hidden;
}

.score-bar i {
  display: block;
  height: 100%;
  width: var(--score);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--accent));
}


/* =========================================================
   17. INNER PAGES — CONTENT / INFO / ECOSYSTEM / SIMILAR
========================================================= */

.content-section {
  background: var(--bg);
  padding: 64px 0 70px;
}

.content-wrap {
  display: grid;
  gap: 34px;
  max-width: 1120px;
}

.content-wrap > section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadowSoft);
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadowSoft);
}

.content-card.wide {
  padding: 42px;
}

.content-card h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -.035em;
}

.content-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.split-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: start;
}

.info-card,
.ecosystem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadowSoft);
  display: flex;
  flex-direction: column;
  min-height: 225px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.info-card:hover,
.ecosystem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.info-icon,
.ecosystem-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #eef6f4;
  border: 1px solid #dde7e4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.info-icon svg,
.ecosystem-icon svg {
  width: 22px;
  height: 22px;
  stroke: #1f5c4d;
  stroke-width: 2.2;
}

.info-card h3,
.ecosystem-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.025em;
}

.info-card p,
.ecosystem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ecosystem-card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.similar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadowSoft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.similar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(8,38,83,.12);
}

.similar-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.similar-card-body {
  padding: 24px;
}

.similar-card strong {
  display: block;
  font-size: 30px;
  line-height: .95;
  letter-spacing: -.04em;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 10px;
  color: var(--text);
}

.similar-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.similar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.similar-tags span {
  background: #f8f6f1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(13,20,36,.72);
}

.similar-link {
  margin-top: 18px;
}

.similar-link a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}


/* =========================================================
   18. DISCOVER PAGE — TOOL + STYLES
========================================================= */

.discover-tool-section {
  padding: 46px 0 74px;
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(31,146,118,.08), transparent 52%),
    radial-gradient(700px 380px at 100% 100%, rgba(20,61,115,.08), transparent 52%),
    var(--warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.discover-tool-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(13,20,36,.10), 0 4px 18px rgba(13,20,36,.04);
  padding: 30px;
}

.discover-tool-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.discover-tool-head h2 {
  margin: 0 0 6px;
  font-size: clamp(30px, 3.8vw, 48px);
  letter-spacing: -.04em;
  line-height: 1;
}

.discover-tool-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.7;
}

.discover-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31,146,118,.09);
  color: var(--green);
  border: 1px solid rgba(31,146,118,.18);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.discover-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.discover-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8f6f1;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: rgba(13,20,36,.82);
}

.discover-step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

.discover-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.discover-tool-full {
  grid-column: 1 / -1;
}

.discover-tool-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}

.discover-tool-result {
  flex: 1;
  min-width: 240px;
}

.discover-insights {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(20,61,115,.04), rgba(232,160,32,.08));
}

.discover-insights-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text);
}

.discover-insight-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(31,146,118,.10);
}

.discover-insight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.discover-insight-tags span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(20,61,115,.08);
  font-size: 14px;
  font-weight: 700;
  color: rgba(13,20,36,.78);
}

.discover-style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.discover-style-card,
.connected-tool-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadowSoft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.discover-style-card:hover,
.connected-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(8,38,83,.12);
}

.discover-style-icon,
.connected-tool-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #eef6f4;
  border: 1px solid #dde7e4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.discover-style-icon svg,
.connected-tool-icon svg {
  width: 25px;
  height: 25px;
  stroke: #1f5c4d;
  stroke-width: 2.2;
}

.discover-style-card h3,
.connected-tool-card h3 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.03em;
}

.discover-style-card p,
.connected-tool-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.discover-style-link a,
.connected-tool-link a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.connected-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}


/* =========================================================
   DESTINATION PAGE â€” QUICK FACTS BAR
========================================================= */

.quick-facts-bar {
  background: var(--warm);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.quick-facts-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  divide-x: 1px solid var(--line);
}

.quick-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.quick-fact:last-child {
  border-right: none;
}

.quick-fact-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(31, 146, 118, 0.09);
  border: 1px solid rgba(31, 146, 118, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-fact-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--green);
  stroke-width: 2.2;
}

.quick-fact-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.quick-fact-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.quick-fact-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* =========================================================
   DESTINATION PAGE â€” AFFILIATE SEARCH SECTION
========================================================= */

.affiliate-search-section {
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.affiliate-search-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.affiliate-search-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadowSoft);
}

.affiliate-search-group h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 16px;
  letter-spacing: -.02em;
  color: var(--text);
  font-family: 'Playfair Display', Georgia, serif;
}

.affiliate-search-group h3 svg {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  stroke-width: 2.2;
  flex-shrink: 0;
}

.affiliate-search-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.affiliate-search-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}

.affiliate-search-links a:hover {
  background: rgba(31, 146, 118, 0.07);
  border-color: rgba(31, 146, 118, 0.22);
  color: var(--green);
  transform: translateX(3px);
}

.affiliate-search-links a svg {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  stroke-width: 2.2;
  flex-shrink: 0;
  transition: stroke .15s ease;
}

.affiliate-search-links a:hover svg {
  stroke: var(--green);
}


/* =========================================================
   DESTINATION PAGE â€” SIMILAR CARD PLACEHOLDER
========================================================= */

.similar-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.similar-card-placeholder svg {
  width: 28px;
  height: 28px;
  stroke: var(--line);
  stroke-width: 1.8;
}


/* =========================================================
   DESTINATION PAGE â€” RESPONSIVE
========================================================= */

@media (max-width: 960px) {

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

  .quick-fact:nth-child(3) {
    border-right: none;
  }

  .quick-fact:nth-child(4),
  .quick-fact:nth-child(5),
  .quick-fact:nth-child(6) {
    border-top: 1px solid var(--line);
  }

  .affiliate-search-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 680px) {

  .quick-facts-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-fact:nth-child(2),
  .quick-fact:nth-child(4),
  .quick-fact:nth-child(6) {
    border-right: none;
  }

  .quick-fact:nth-child(3),
  .quick-fact:nth-child(4),
  .quick-fact:nth-child(5),
  .quick-fact:nth-child(6) {
    border-top: 1px solid var(--line);
  }

  .affiliate-search-section {
    padding: 22px;
  }

}

/* =========================================================
   DESTINATIONS HUB â€” COUNTRY CARDS
========================================================= */

.destinations-country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.country-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.country-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  border-color: rgba(31, 146, 118, 0.22);
}

.country-card-image {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.country-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.country-card-placeholder svg {
  width: 32px;
  height: 32px;
  stroke: var(--line);
  stroke-width: 1.6;
}

.country-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.country-card-body strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}

.country-card-body span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* More countries card */
.country-card-more {
  cursor: default;
  position: relative;
}

.country-card-more:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}



/* =========================================================
   DESTINATIONS HUB â€” STYLE CARDS
========================================================= */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.style-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.style-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  border-color: rgba(31, 146, 118, 0.22);
}

.style-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.style-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--text);
  stroke-width: 2;
}

.style-card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.02em;
}

.style-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.style-card-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
}

/* =========================================================
   DESTINATIONS HUB â€” FEATURED REGION LABEL
========================================================= */

.destination-hub-region {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 6px;
}

/* =========================================================
   DESTINATIONS HUB â€” RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .destinations-country-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .destinations-country-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .destinations-country-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   DESTINATIONS HUB — SEARCH BAR
========================================================= */

.dest-search-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 24px 0 8px;
}

.dest-search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadowSoft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dest-search-inner:focus-within {
  border-color: rgba(31, 146, 118, 0.4);
  box-shadow: 0 0 0 3px rgba(31, 146, 118, 0.08), var(--shadowSoft);
}

.dest-search-inner svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  stroke-width: 2.2;
  flex-shrink: 0;
}

.dest-search-inner input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--text);
  width: 100%;
}

.dest-search-inner input::placeholder {
  color: var(--muted);
}

.dest-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 100;
  max-height: 320px;
  overflow-y: auto;
}

.dest-search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: background 0.12s ease;
}

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

.dest-search-result:hover {
  background: var(--warm);
}

.dest-search-result svg {
  width: 15px;
  height: 15px;
  stroke: var(--green);
  stroke-width: 2.2;
  flex-shrink: 0;
}

.dest-search-name {
  font-weight: 700;
  font-size: 14px;
  flex: 1;
}

.dest-search-country {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.dest-search-empty {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--muted);
}

/* =========================================================
   TOOLS PAGE â€” WEATHER FORECAST
========================================================= */

.weather-result {
  margin-top: 16px;
}

.weather-location {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.weather-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}

.weather-day-name {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.weather-icon {
  font-size: 22px;
  line-height: 1;
}

.weather-desc {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.3;
  text-align: center;
}

.weather-temp {
  font-size: 12px;
  color: var(--text);
}

.weather-temp strong {
  color: var(--green);
}

.weather-precip {
  font-size: 10px;
  color: var(--muted);
}

.weather-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.tool-loading {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 0;
}

.tool-error {
  color: #c0392b;
  font-size: 13px;
  margin: 12px 0 0;
}

/* =========================================================
   TOOLS PAGE â€” BEST TIME TO VISIT
========================================================= */

.best-time-result {
  margin-top: 16px;
}

.btt-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
  margin-bottom: 14px;
  padding: 0 2px;
}

.btt-month {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.btt-bar-wrap {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.btt-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height 0.3s ease;
}

.btt-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.btt-info {
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btt-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.btt-row strong {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.btt-row span {
  font-size: 13px;
  color: var(--text);
}

.btt-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

/* =========================================================
   TOOLS PAGE â€” COST OF LIVING COMPARISON
========================================================= */

.col-result {
  margin-top: 16px;
}

.col-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 4px;
}

.col-header strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  letter-spacing: -.01em;
}

.col-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.col-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.col-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.col-val.col-cheaper {
  color: var(--green);
}

.col-overall {
  border-bottom: none;
}

.col-overall span {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.col-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}

/* =========================================================
   TOOLS PAGE â€” RESPONSIVE
========================================================= */

@media (max-width: 760px) {

  .weather-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .weather-grid .weather-day:nth-child(n+5) {
    display: none;
  }

  .btt-chart {
    height: 60px;
  }

  .col-header,
  .col-row {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

}

/* =========================================================
   99. RESPONSIVE
========================================================= */

@media (max-width: 1120px) {
  .grid-4,
  .connected-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid,
  .form-grid.flights {
    grid-template-columns: 1fr 1fr;
  }

  .search-submit {
    min-width: 100%;
    grid-column: 1 / -1;
  }

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

@media (max-width: 960px) {
  .navlinks {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .hero-inner {
    padding: 42px 0 30px;
  }

  .pillars-head,
  .builder-head,
  .trending-head,
  .destination-head,
  .discover-tool-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pillars-grid,
  .trending-grid,
  .finder-results-grid,
  .grid-3,
  .similar-grid,
  .discover-style-grid,
  .discover-tool-grid,
  .discover-steps {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .scores-grid,
  .snapshot-grid,
  .split-card {
    grid-template-columns: 1fr;
  }

  .search-tabs {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px 14px 12px;
  }
}

@media (max-width: 760px) {
  .builder-card,
  .destination-card-main,
  .content-card,
  .content-card.wide,
  .discover-tool-card {
    padding: 22px;
  }

  .builder-grid {
    grid-template-columns: 1fr;
  }

  .connected-tools-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .footer-inner > div:last-child {
    align-items: flex-start;
  }
  
  .brand {
    font-size: 16px;
  }

  .brand-sub small {
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .search-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .form-grid,
  .form-grid.flights,
  .tool-row,
  .checklist,
  .trip-toggle-grid,
  .partner-options-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: auto;
  }

  .cta-band {
    padding: 28px 22px;
  }

  .cta-band .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  section {
    padding: 38px 0;
  }
}

/* =========================================================
   MAPMAGNET GUIDES — HOMEPAGE EXTRAS
========================================================= */

.section-divider {
  display: none;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadowSoft);
  display: flex;
  flex-direction: column;
}

.guide-img {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.guide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.48), transparent 60%);
}

.guide-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.guide-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guide-body h3 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -.03em;
}

.guide-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(13,20,36,.72);
}

.guide-body-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.guide-meta {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
}

.guide-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
}

@media (max-width: 960px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.06);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--green);
  stroke-width: 2;
}

.support-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192,57,43,.06);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.support-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--green);
  stroke-width: 2;
}

/* =========================================================
   FAQ
========================================================= */

.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  max-width: 980px;
}

.pillars-card .faq-wrap {
  margin-left: 0;
}

.faq-wrap details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.faq-wrap summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  font-weight: 700;
  color: var(--text);
  position: relative;
}

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

.faq-wrap summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
}

.faq-wrap details[open] summary::after {
  content: "−";
}

.faq-wrap details p {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(192,57,43,.06);
  border: 1px solid var(--line);
  color: var(--green);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
}

/* =========================================================
   MAPMAGNET GUIDES — FOOTER
========================================================= */

footer {
  background: var(--brandDark);
  color: #fff;
  padding: 48px 0 28px;
}

footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: 42px;
  align-items: start;
}

footer .foot-brand p {
  margin: 18px 0 0;
  max-width: 420px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.7;
}

footer .brand {
  color: #fff;
}

footer .brand-sub small {
  color: rgba(255,255,255,.68);
}

footer .foot-col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
}

footer .foot-col a {
  display: block;
  margin: 0 0 10px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  font-weight: 600;
}

footer .foot-col a:hover {
  color: #fff;
}

footer .subfoot {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

@media (max-width: 820px) {
  footer .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  footer .foot-grid {
    grid-template-columns: 1fr;
  }
}