/* ============================================================
   Rental Bestie — style.css
   rentalbestie.com
   Warm, editorial, best-friend energy for apartment hunters
   ============================================================ */

/* ─────────────────────────────────────────
   1. DESIGN TOKENS
───────────────────────────────────────── */
:root {
  /* Brand Colors */
  --salmon:       #E8907A;
  --salmon-dark:  #D4705A;
  --salmon-light: #F5C4B8;

  /* Backgrounds */
  --cream:        #FFFAF8;
  --cream-alt:    #FFF5F0;
  --blush:        #FDEEE8;
  --white:        #FFFFFF;

  /* Text */
  --text:         #2D2826;
  --text-body:    #4A4240;
  --text-muted:   #7A6E6A;

  /* Borders */
  --border:       #F0E8E4;
  --border-mid:   #E0D0C8;

  /* Footer */
  --footer-bg:    #1E1916;

  /* Typography */
  --font-logo:    'Dancing Script', cursive;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', Arial, sans-serif;

  /* Spacing & Layout */
  --max-width:    1140px;
  --section-pad:  88px;
  --nav-height:   68px;

  /* Radii */
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    20px;
  --radius-pill:  100px;

  /* Transitions */
  --ease:         0.2s ease;
  --ease-slow:    0.35s ease;

  /* Shadows */
  --shadow-card:  0 2px 20px rgba(45, 40, 38, 0.06);
  --shadow-card-hover: 0 8px 40px rgba(45, 40, 38, 0.12);
  --shadow-btn:   0 8px 32px -8px rgba(212, 112, 90, 0.45);
  --shadow-btn-hover: 0 12px 40px -8px rgba(212, 112, 90, 0.60);
}


/* ─────────────────────────────────────────
   2. CSS RESET & BASE
───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
}

p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
}

strong {
  color: var(--text);
  font-weight: 700;
}


/* ─────────────────────────────────────────
   3. TYPOGRAPHY SCALE
───────────────────────────────────────── */
h1 {
  font-size: clamp(36px, 5vw, 60px);
}

h2 {
  font-size: clamp(28px, 3.5vw, 44px);
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
}

h4 {
  font-size: clamp(17px, 2vw, 22px);
  font-family: var(--font-display);
  font-weight: 400;
}

.text-sm {
  font-size: 14px;
}

.text-xs {
  font-size: 12px;
}

.text-lg {
  font-size: 18px;
}

.text-center {
  text-align: center;
}

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


/* ─────────────────────────────────────────
   4. LAYOUT UTILITIES
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 24px;
}

.container--wide {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: var(--section-pad);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
}

.section-header .section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--salmon-dark);
  margin-bottom: 10px;
}

/* Background alternation */
.bg-cream      { background-color: var(--cream); }
.bg-cream-alt  { background-color: var(--cream-alt); }
.bg-blush      { background-color: var(--blush); }
.bg-white      { background-color: var(--white); }

/* Grid utilities */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-8   { gap: 8px; }
.gap-12  { gap: 12px; }
.gap-16  { gap: 16px; }
.gap-24  { gap: 24px; }
.gap-32  { gap: 32px; }
.gap-48  { gap: 48px; }

.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }


/* ─────────────────────────────────────────
   5. NAVIGATION (.site-header)
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: rgba(255, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-logo);
  font-size: 26px;
  color: var(--salmon);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.site-nav__links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
  white-space: nowrap;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
  color: var(--text);
}

/* CTA button in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--salmon);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  text-decoration: none;
  transition: background-color var(--ease), transform var(--ease), box-shadow var(--ease);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: var(--salmon-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -4px rgba(212, 112, 90, 0.40);
}

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background-color var(--ease);
}

.nav-toggle:hover {
  background-color: var(--blush);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}

/* Hamburger open state */
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Body offset for fixed nav */
.nav-spacer {
  height: var(--nav-height);
}


/* ─────────────────────────────────────────
   6. HERO (.site-hero)
───────────────────────────────────────── */
.site-hero {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-alt) 50%, var(--blush) 100%);
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 100px 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative blob behind hero */
.site-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 144, 122, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.site-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 196, 184, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.site-hero .hero-inner {
  max-width: 740px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--salmon-dark);
  margin-bottom: 16px;
  padding: 6px 16px;
  background-color: var(--blush);
  border: 1px solid var(--salmon-light);
  border-radius: var(--radius-pill);
}

.site-hero h1 {
  margin-bottom: 20px;
  color: var(--text);
}

.site-hero h1 em {
  font-style: italic;
  color: var(--salmon-dark);
}

.hero-subheadline {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--salmon);
  display: inline-block;
}

/* Inner page hero (smaller, left-aligned) */
.site-hero--inner {
  min-height: 0;
  padding-block: 56px 48px;
  text-align: left;
  justify-content: flex-start;
}

.site-hero--inner .hero-inner {
  max-width: var(--max-width);
  width: 100%;
  margin-inline: auto;
  padding-inline: 24px;
  text-align: left;
}

.site-hero--inner h1 {
  font-size: clamp(28px, 3.5vw, 44px);
}

.site-hero--inner .hero-subheadline {
  margin-inline: 0;
  font-size: 16px;
}


/* ─────────────────────────────────────────
   7. BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background-color: var(--salmon-dark);
  color: var(--white);
  border-color: var(--salmon-dark);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background-color: #c05f4a;
  border-color: #c05f4a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
  color: var(--white);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-btn);
}

.btn-secondary {
  background-color: transparent;
  color: var(--salmon-dark);
  border-color: var(--salmon-dark);
}

.btn-secondary:hover {
  background-color: var(--blush);
  transform: translateY(-1px);
  color: var(--salmon-dark);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-muted);
  border-color: var(--border-mid);
}

.btn-ghost:hover {
  border-color: var(--salmon-light);
  color: var(--text);
  background-color: var(--blush);
}

.btn--sm {
  font-size: 11px;
  padding: 10px 22px;
}

.btn--lg {
  font-size: 13px;
  padding: 16px 40px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* Arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--salmon-dark);
  text-decoration: none;
  transition: gap var(--ease), color var(--ease);
}

.link-arrow:hover {
  gap: 10px;
  color: #c05f4a;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(2px);
}


/* ─────────────────────────────────────────
   8. CARDS (base)
───────────────────────────────────────── */
.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  transition: transform var(--ease), box-shadow var(--ease);
}

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


/* ─────────────────────────────────────────
   9. TOOL CARDS (.tool-card)
───────────────────────────────────────── */
.tool-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--salmon-light);
}

.tool-card__icon {
  width: 48px;
  height: 48px;
  background-color: var(--blush);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--salmon-dark);
  flex-shrink: 0;
}

.tool-card__icon svg {
  width: 22px;
  height: 22px;
}

.tool-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--salmon-light), var(--salmon));
  border-radius: 14px;
  font-size: 20px;
  margin-bottom: 4px;
}

.tool-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.tool-card__description {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--salmon-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
  padding-top: 8px;
}

.tool-card__link svg {
  width: 12px;
  height: 12px;
  transition: transform var(--ease);
}

.tool-card:hover .tool-card__link svg {
  transform: translateX(3px);
}


/* ─────────────────────────────────────────
   10. BLOG CARDS (.blog-card)
───────────────────────────────────────── */
.blog-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

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

.blog-card__image {
  width: 100%;
  height: 200px;
  background-color: var(--cream-alt);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.03);
}

.blog-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-alt), var(--blush));
  font-size: 40px;
}

.blog-card__content {
  padding: 22px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card__category {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--salmon-dark);
  background-color: var(--blush);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  align-self: flex-start;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  margin: 0;
  transition: color var(--ease);
}

.blog-card:hover .blog-card__title {
  color: var(--salmon-dark);
}

.blog-card__excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.blog-card__date,
.blog-card__read-time {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.blog-card__meta-divider {
  width: 3px;
  height: 3px;
  background-color: var(--text-muted);
  border-radius: 50%;
  opacity: 0.5;
}


/* ─────────────────────────────────────────
   11. CITY CARDS (.city-card)
───────────────────────────────────────── */
.city-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

.city-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--salmon-light);
}

.city-card__emoji {
  font-size: 28px;
  line-height: 1;
}

.city-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin: 0;
}

.city-card__description {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.city-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.city-card__stat-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.city-card__stat-value {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--salmon-dark);
  font-weight: 400;
}

.city-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  background-color: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--ease), transform var(--ease);
}

.city-card__arrow svg {
  width: 12px;
  height: 12px;
  color: var(--salmon-dark);
}

.city-card:hover .city-card__arrow {
  background-color: var(--salmon-light);
  transform: translate(2px, -2px);
}


/* ─────────────────────────────────────────
   12. TOOL CONTAINER (.tool-container)
───────────────────────────────────────── */
.tool-container {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  max-width: 720px;
  margin-inline: auto;
}

.tool-container__header {
  margin-bottom: 36px;
}

.tool-container__header h1,
.tool-container__header h2 {
  margin-bottom: 8px;
}

.tool-container__header p {
  color: var(--text-muted);
  font-size: 16px;
}

.tool-container__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* ─────────────────────────────────────────
   13. FORM ELEMENTS
───────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label,
label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.form-input,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
select,
textarea {
  width: 100%;
  background-color: var(--blush);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  line-height: 1.4;
}

.form-input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}

.form-input:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
  border-color: var(--salmon);
  box-shadow: 0 0 0 3px rgba(232, 144, 122, 0.15);
  background-color: var(--white);
  outline: none;
}

/* Select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6E6A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

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

/* Form row (2-col inline) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Input with prefix ($) */
.input-with-prefix {
  position: relative;
}

.input-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}

.input-with-prefix input {
  padding-left: 28px;
}

/* Input with suffix (%) */
.input-with-suffix {
  position: relative;
}

.input-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.input-with-suffix input {
  padding-right: 36px;
}

/* Submit / form CTA */
.form-submit {
  margin-top: 8px;
}

.form-submit .btn-primary,
.form-submit button[type="submit"] {
  width: 100%;
  justify-content: center;
  font-size: 13px;
  padding: 16px 32px;
}

/* Form helper text */
.form-helper {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error {
  font-family: var(--font-body);
  font-size: 12px;
  color: #d44040;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #d44040;
  box-shadow: 0 0 0 3px rgba(212, 64, 64, 0.10);
}

/* Range slider */
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border-mid);
  border-radius: 4px;
  outline: none;
  border: none;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--border-mid);
  border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: var(--salmon-dark);
  border-radius: 50%;
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 2px 8px rgba(212, 112, 90, 0.35);
  transition: box-shadow var(--ease), transform var(--ease);
}

input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 4px 14px rgba(212, 112, 90, 0.50);
  transform: scale(1.1);
}

input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--border-mid);
  border-radius: 4px;
  border: none;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background-color: var(--salmon-dark);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(212, 112, 90, 0.35);
}

input[type="range"]:focus {
  box-shadow: none;
  border: none;
  background-color: transparent;
}


/* ─────────────────────────────────────────
   14. TOOL RESULT BOX (.tool-result)
───────────────────────────────────────── */
.tool-result {
  display: none;
  background-color: var(--cream-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 8px;
  animation: fadeInUp 0.3s ease both;
}

.tool-result.is-visible {
  display: block;
}

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

.result-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.result-verdict {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 6px;
}

.result-verdict--good    { color: #3a9e6e; }
.result-verdict--fair    { color: #c08040; }
.result-verdict--poor    { color: #c04040; }
.result-verdict--neutral { color: var(--text); }

.result-verdict-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.result-verdict-label--good    { background-color: #e6f6ef; color: #2e7d57; }
.result-verdict-label--fair    { background-color: #fef3e2; color: #96600e; }
.result-verdict-label--poor    { background-color: #fde8e8; color: #9e2c2c; }
.result-verdict-label--neutral { background-color: var(--blush); color: var(--salmon-dark); }

.result-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.result-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.result-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
}

.result-details li::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--salmon);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.result-key-number {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-key-number__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-muted);
}

.result-key-number__value {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text);
  line-height: 1;
}

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

.result-grid-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.result-grid-item__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.result-grid-item__value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
}

.result-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.result-cta-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 12px;
}


/* ─────────────────────────────────────────
   15. BLOG POST CONTENT (.blog-post-content)
───────────────────────────────────────── */
.blog-post-content {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 24px;
}

.blog-post-content p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 24px;
}

.blog-post-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  color: var(--text);
  margin-top: 56px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.blog-post-content h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.blog-post-content h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 10px;
}

.blog-post-content strong {
  color: var(--text);
  font-weight: 700;
}

.blog-post-content em {
  font-style: italic;
}

.blog-post-content a {
  color: var(--salmon-dark);
  text-decoration: underline;
  text-decoration-color: var(--salmon-light);
  text-underline-offset: 3px;
  transition: color var(--ease), text-decoration-color var(--ease);
}

.blog-post-content a:hover {
  color: #c05f4a;
  text-decoration-color: var(--salmon-dark);
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 24px;
  padding-left: 0;
}

.blog-post-content ul li,
.blog-post-content ol li {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.blog-post-content ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  background-color: var(--salmon);
  border-radius: 50%;
}

.blog-post-content ol {
  counter-reset: list-counter;
}

.blog-post-content ol li {
  counter-increment: list-counter;
}

.blog-post-content ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--salmon-dark);
  font-weight: 400;
}

.blog-post-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background-color: var(--blush);
  border-left: 3px solid var(--salmon);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.blog-post-content blockquote p {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 0;
  font-style: italic;
}

.blog-post-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-style: normal;
  color: var(--text-muted);
}

.blog-post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.blog-post-content figure {
  margin: 32px 0;
}

.blog-post-content figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.blog-post-content figcaption {
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Blog post header/meta */
.blog-post-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-bottom: 48px;
}

.blog-post-header .blog-card__category {
  margin-bottom: 16px;
}

.blog-post-header h1 {
  margin-bottom: 16px;
}

.blog-post-header .blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.blog-post-header .blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Callout box inside blog post */
.callout {
  background-color: var(--blush);
  border: 1px solid var(--salmon-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px 0;
}

.callout__title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}

.callout p {
  font-size: 15px;
  margin-bottom: 0;
}


/* ─────────────────────────────────────────
   16. BREADCRUMB (.breadcrumb)
───────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
}

.breadcrumb__link:hover {
  color: var(--text);
}

.breadcrumb__separator {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.5;
  user-select: none;
}

.breadcrumb__current {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}


/* ─────────────────────────────────────────
   17. INFO / TRUST BADGES (.info-badge)
───────────────────────────────────────── */
.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--blush);
  color: var(--salmon-dark);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  white-space: nowrap;
}

.info-badge svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.info-badge--outline {
  background-color: transparent;
  border: 1px solid var(--salmon-light);
}

.info-badge--muted {
  background-color: var(--cream-alt);
  color: var(--text-muted);
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}


/* ─────────────────────────────────────────
   18. FOOTER (.site-footer)
───────────────────────────────────────── */
.site-footer {
  background-color: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__top {
  padding: 64px 0 48px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.site-footer__brand .site-logo {
  color: var(--salmon);
  font-size: 24px;
  margin-bottom: 12px;
  display: inline-flex;
}

.site-footer__tagline {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 260px;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.50);
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
  text-decoration: none;
}

.site-footer__social-link:hover {
  background-color: var(--salmon);
  border-color: var(--salmon);
  color: var(--white);
}

.site-footer__social-link svg {
  width: 14px;
  height: 14px;
}

.site-footer__col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--ease);
  line-height: 1.4;
}

.site-footer__links a:hover {
  color: rgba(255, 255, 255, 0.90);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__disclaimer {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.30);
  line-height: 1.65;
  max-width: 680px;
  flex: 1;
}

.site-footer__legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.site-footer__legal-links a {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color var(--ease);
  white-space: nowrap;
}

.site-footer__legal-links a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__copyright {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}


/* ─────────────────────────────────────────
   19. FEATURE / VALUE PROP SECTION
───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}

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

.feature-item__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blush), var(--salmon-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-item__title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
  line-height: 1.2;
}

.feature-item__description {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}


/* ─────────────────────────────────────────
   20. TESTIMONIALS / SOCIAL PROOF
───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
}

.testimonial-card__star {
  color: var(--salmon);
  font-size: 14px;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
  line-height: 1.55;
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--salmon-light), var(--salmon));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
}

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

.testimonial-card__name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.testimonial-card__location {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}


/* ─────────────────────────────────────────
   21. CTA BANNER SECTION
───────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blush) 0%, var(--cream-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232, 144, 122, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--salmon-dark);
  margin-bottom: 14px;
}

.cta-banner h2 {
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ─────────────────────────────────────────
   22. STATS ROW
───────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 24px 16px;
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--salmon-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.stat-item__divider {
  width: 1px;
  background-color: var(--border);
  align-self: stretch;
}


/* ─────────────────────────────────────────
   23. TAG / PILL ELEMENTS
───────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  white-space: nowrap;
}

.tag--salmon {
  background-color: var(--blush);
  color: var(--salmon-dark);
}

.tag--neutral {
  background-color: var(--cream-alt);
  color: var(--text-muted);
}

.tag--outline {
  background-color: transparent;
  border: 1px solid var(--border-mid);
  color: var(--text-muted);
}


/* ─────────────────────────────────────────
   24. ACCORDION / FAQ
───────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  background-color: var(--white);
  transition: background-color var(--ease);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background-color: var(--blush);
}

.faq-question__icon {
  width: 24px;
  height: 24px;
  background-color: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--ease), transform var(--ease);
}

.faq-question__icon svg {
  width: 12px;
  height: 12px;
  color: var(--salmon-dark);
  transition: transform var(--ease);
}

.faq-item.is-open .faq-question__icon {
  background-color: var(--salmon-light);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background-color: var(--white);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}


/* ─────────────────────────────────────────
   25. TABLE STYLES
───────────────────────────────────────── */
.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
}

.data-table thead {
  background-color: var(--blush);
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-mid);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 16px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.45;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background-color: var(--cream-alt);
}

.data-table td strong {
  color: var(--text);
}


/* ─────────────────────────────────────────
   26. CHECKLIST / COMPARISON COMPONENTS
───────────────────────────────────────── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.55;
}

.check-list__icon {
  width: 18px;
  height: 18px;
  background-color: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-list__icon svg {
  width: 10px;
  height: 10px;
  color: var(--salmon-dark);
}

.check-list__icon--success { background-color: #e6f6ef; }
.check-list__icon--success svg { color: #3a9e6e; }

.check-list__icon--warning { background-color: #fef3e2; }
.check-list__icon--warning svg { color: #c08040; }

.check-list__icon--error { background-color: #fde8e8; }
.check-list__icon--error svg { color: #c04040; }


/* ─────────────────────────────────────────
   27. PROGRESS / METER INDICATORS
───────────────────────────────────────── */
.progress-bar {
  height: 8px;
  background-color: var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--salmon-light), var(--salmon-dark));
  transition: width 0.6s ease;
}

.progress-bar__fill--good    { background: linear-gradient(90deg, #7ecba1, #3a9e6e); }
.progress-bar__fill--fair    { background: linear-gradient(90deg, #f0c77a, #c08040); }
.progress-bar__fill--poor    { background: linear-gradient(90deg, #f08080, #c04040); }

.score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--salmon-dark) 0%, var(--border) 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.score-circle__inner {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
}


/* ─────────────────────────────────────────
   28. ALERT / NOTIFICATION BOXES
───────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
}

.alert svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert--info {
  background-color: var(--blush);
  border: 1px solid var(--salmon-light);
  color: var(--text-body);
}

.alert--info svg { color: var(--salmon-dark); }

.alert--success {
  background-color: #e6f6ef;
  border: 1px solid #b0ddc5;
  color: #2d5a3e;
}

.alert--success svg { color: #3a9e6e; }

.alert--warning {
  background-color: #fef3e2;
  border: 1px solid #f0d090;
  color: #6b4510;
}

.alert--warning svg { color: #c08040; }

.alert--error {
  background-color: #fde8e8;
  border: 1px solid #f0aaaa;
  color: #6b2020;
}

.alert--error svg { color: #c04040; }


/* ─────────────────────────────────────────
   29. SKELETON LOADERS
───────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--cream-alt) 25%,
    var(--blush) 50%,
    var(--cream-alt) 75%
  );
  background-size: 1200px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: var(--radius-sm);
}

.skeleton--text {
  height: 14px;
  width: 100%;
  margin-bottom: 8px;
}

.skeleton--title {
  height: 28px;
  width: 60%;
  margin-bottom: 12px;
}

.skeleton--image {
  height: 200px;
  width: 100%;
}


/* ─────────────────────────────────────────
   30. UTILITY / HELPER CLASSES
───────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.divider--mid {
  border-color: var(--border-mid);
}

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-pill); }

.shadow { box-shadow: var(--shadow-card); }
.shadow-hover { box-shadow: var(--shadow-card-hover); }

.w-full { width: 100%; }

/* Separator dot */
.dot-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0.4;
  vertical-align: middle;
  margin-inline: 4px;
}


/* ─────────────────────────────────────────
   31. ANIMATIONS & TRANSITIONS
───────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in    { animation: fadeIn 0.4s ease both; }
.animate-slide-down { animation: slideDown 0.35s ease both; }
.animate-slide-up   { animation: slideUp 0.35s ease both; }
.animate-scale-in   { animation: scaleIn 0.3s ease both; }

/* Staggered children */
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.10s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.20s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.30s; }


/* ─────────────────────────────────────────
   32. RESPONSIVE — TABLET (≤ 1023px)
───────────────────────────────────────── */
@media (max-width: 1023px) {

  :root {
    --section-pad: 64px;
  }

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: rgba(255, 250, 248, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 0;
    box-shadow: 0 8px 32px rgba(45, 40, 38, 0.08);
    animation: slideDown 0.25s ease both;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-bottom: 16px;
  }

  .site-nav__links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .site-nav__links a {
    display: block;
    padding: 14px 0;
    font-size: 12px;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 13px 24px;
  }

  /* Grids */
  .grid--3,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item {
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  /* Footer grid */
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  /* Tool container */
  .tool-container {
    padding: 36px;
  }

  /* Hero */
  .site-hero {
    min-height: 65vh;
    padding-block: 80px 64px;
  }

  /* CTA banner */
  .cta-banner {
    padding: 40px 32px;
  }

  /* Result grid */
  .result-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ─────────────────────────────────────────
   33. RESPONSIVE — MOBILE (≤ 767px)
───────────────────────────────────────── */
@media (max-width: 767px) {

  :root {
    --section-pad: 52px;
  }

  /* Typography adjustments */
  h1 { font-size: clamp(30px, 8vw, 40px); }
  h2 { font-size: clamp(24px, 6vw, 34px); }
  h3 { font-size: clamp(19px, 5vw, 24px); }

  /* All grids → 1 column */
  .grid--3,
  .grid--2,
  .grid--4,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .site-hero {
    min-height: 0;
    padding-block: 60px 48px;
    text-align: left;
    justify-content: flex-start;
  }

  .site-hero .hero-inner {
    text-align: left;
    padding-inline: 0;
  }

  .hero-subheadline {
    font-size: 16px;
    margin-inline: 0;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

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

  .hero-trust {
    justify-content: flex-start;
  }

  /* Inner hero stays left */
  .site-hero--inner {
    padding-block: 40px 32px;
  }

  /* Section header */
  .section-header {
    margin-bottom: 36px;
  }

  /* Cards */
  .card,
  .tool-card {
    padding: 22px 18px;
  }

  /* Blog cards */
  .blog-card__image {
    height: 180px;
  }

  /* Tool container */
  .tool-container {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  /* Form row → single column */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__top {
    padding: 40px 0 32px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 16px;
  }

  .site-footer__legal-links {
    gap: 12px;
  }

  /* CTA banner */
  .cta-banner {
    padding: 32px 24px;
    text-align: left;
  }

  .cta-banner::before {
    display: none;
  }

  .cta-banner p {
    margin-inline: 0;
    font-size: 15px;
  }

  .cta-banner__actions {
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Result grid */
  .result-grid {
    grid-template-columns: 1fr;
  }

  /* Tool result */
  .tool-result {
    padding: 20px;
  }

  /* Blog post */
  .blog-post-content p {
    font-size: 16px;
    line-height: 1.75;
  }

  .blog-post-content h2 {
    margin-top: 40px;
  }

  /* Nav */
  .site-nav {
    padding: 16px 20px 24px;
  }

  /* Breadcrumb */
  .breadcrumb {
    display: none;
  }
}


/* ─────────────────────────────────────────
   34. PRINT STYLES
───────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .btn,
  .cta-banner,
  .hero-actions {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .tool-result {
    display: block;
  }
}


/* ─────────────────────────────────────────
   35. FOCUS STYLES (ACCESSIBILITY)
───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--salmon);
  outline-offset: 3px;
  border-radius: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--salmon-dark);
  outline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--salmon);
  outline-offset: 2px;
  border-radius: 2px;
}


/* ─────────────────────────────────────────
   36. REDUCED MOTION
───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}


/* ─────────────────────────────────────────
   37. PAGE-SPECIFIC OVERRIDES
───────────────────────────────────────── */

/* Homepage: hero gets the gradient bg */
.page-home .site-hero {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-alt) 45%, var(--blush) 100%);
}

/* Tools listing page */
.page-tools .tools-intro {
  max-width: 600px;
}

/* Blog listing page */
.page-blog .blog-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-blog .blog-filter-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-mid);
  background-color: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--ease);
}

.page-blog .blog-filter-btn:hover,
.page-blog .blog-filter-btn.is-active {
  background-color: var(--blush);
  border-color: var(--salmon-light);
  color: var(--salmon-dark);
}

/* Blog post page: wider reading comfort */
.page-blog-post .blog-post-content {
  padding-bottom: 64px;
}

/* Tool page: result section spacing */
.page-tool .tool-section {
  padding-top: 0;
}

.page-tool .tool-section + .tool-section {
  padding-top: 48px;
}

/* City guide page */
.city-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 48px;
}

.city-header__emoji {
  font-size: 52px;
  line-height: 1;
}

.city-header__info h1 {
  margin-bottom: 8px;
}

.city-header__info p {
  font-size: 17px;
  color: var(--text-muted);
}

/* Resources / download cards */
.resource-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--salmon-light);
}

.resource-card__icon {
  width: 44px;
  height: 44px;
  background-color: var(--blush);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.resource-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
  margin-bottom: 2px;
}

.resource-card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.resource-card__cta {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--salmon-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.resource-card__cta svg {
  width: 12px;
  height: 12px;
}
