:root {
  /* Blu sereno / azzurro del cielo (usato per titoli, sfondi scuri, avatar) */
  --navy-900: #2a4a63;
  --navy-800: #345a7a;
  --navy-700: #3f6b92;
  --navy-600: #5a82a6;

  /* Azzurro paradiso */
  --sky-500: #5bb6e4;
  --sky-400: #86cdee;
  --sky-200: #c3e7f7;
  --sky-100: #e9f5fb;

  /* Rosa barbie (accento principale) */
  --pink-500: #ea5aa6;  /* brillante, decorativo */
  --pink-600: #d6247e;  /* per testo/pulsanti: contrasto AA su bianco */
  --pink-700: #b81e6a;  /* hover */
  --pink-100: #fdeaf3;

  /* Oro del ponte (stelle, badge premium, sfondo hero) */
  --gold-500: #e7b24c;
  --gold-600: #ce9836;
  --gold-100: #fbefd6;

  --bg: #eef4f8;         /* grigio-azzurro arioso */
  --white: #ffffff;
  --text-900: #223645;   /* grigio-blu profondo */
  --text-600: #5c6b78;   /* grigio testo */
  --text-400: #93a2ad;   /* grigio tenue */
  --border: #dfe7ec;
  --green-600: #2f9e6e;

  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(42, 74, 99, 0.08);
  --shadow-md: 0 8px 24px rgba(42, 74, 99, 0.12);
  --shadow-lg: 0 20px 50px rgba(42, 74, 99, 0.20);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-900);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Titoli con serif elegante, tono più adeguato a un contesto commemorativo */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.25;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-weight: 600;
}
/* Etichette funzionali piccole: restano nel sans per chiarezza */
.filter-group h3,
.filters-head h2,
.detail-grid h4,
.footer-col h4 {
  font-family: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
p { margin: 0 0 1em; color: var(--text-600); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

button { font-family: inherit; cursor: pointer; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--pink-600);
  color: var(--white);
}
.btn-primary:hover { background: var(--pink-700); }
.btn-primary:disabled { background: #e9b9d2; color: #fff; cursor: not-allowed; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--white);
  color: var(--white);
}
.site-header .btn-outline {
  border-color: var(--pink-600);
  color: var(--pink-600);
}
.site-header .btn-outline:hover { background: var(--pink-600); color: var(--white); }
.btn-ghost {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-900);
}
.btn-ghost:hover { border-color: var(--navy-600); }
.btn-block { width: 100%; }
.btn-full { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn.loading { opacity: 0.75; pointer-events: none; }

.link-btn {
  background: none;
  border: none;
  color: var(--navy-600);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
}

/* ---------- HEADER ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink-500), var(--sky-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { color: var(--text-900); }
.logo-text strong { color: var(--pink-600); }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--text-600); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--pink-600); }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* ---------- LANGUAGE SWITCHER ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-900);
}
.lang-btn:hover { border-color: var(--navy-600); }
.lang-globe { font-size: 1rem; line-height: 1; }
.lang-caret { font-size: 0.7rem; color: var(--text-400); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 60;
}
.lang-menu li { list-style: none; }
.lang-menu button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-900);
}
.lang-menu button:hover { background: var(--pink-100); color: var(--pink-700); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #cfeaf8 0%, #e7f4fb 40%, #fdeaf3 100%);
  color: var(--text-900);
  padding: 64px 0 72px;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero > .container { width: 100%; }
.hero-scene {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--pink-100);
  color: var(--pink-700);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.hero-brand .logo-mark {
  width: 48px; height: 48px;
  border-radius: 13px;
}
.hero-brand .logo-mark svg { width: 27px; height: 27px; }
.hero-brand .logo-text { color: var(--text-900); font-weight: 600; }
.hero-brand .logo-text strong { color: var(--pink-600); }
/* Titolo hero: serif leggero ed elegante, niente grassetto pesante */
.hero-copy h1,
.hero-copy h2 {
  font-size: 2.15rem;
  line-height: 1.34;
  font-weight: 400;
  letter-spacing: -0.005em;
  max-width: 660px;
  color: var(--navy-900);
  margin-bottom: 0.6em;
}
.hero-copy h1 strong,
.hero-copy h2 strong { font-weight: 600; }
.hero-copy p { color: var(--text-600); max-width: 540px; font-size: 1.05rem; }

.search-box {
  display: flex;
  gap: 12px;
  background: var(--white);
  padding: 10px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  margin: 28px 0 32px;
  max-width: 560px;
}
.search-field { flex: 1; position: relative; }
.search-field label { display: block; font-size: 0.7rem; color: var(--text-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 12px 0; }
.search-field input {
  width: 100%;
  border: none;
  outline: none;
  padding: 0 12px 8px;
  font-size: 1rem;
  color: var(--text-900);
  background: transparent;
}
.btn-search { flex-shrink: 0; padding: 0 26px; }

.autocomplete-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 20;
}
.autocomplete-item {
  padding: 12px 16px;
  color: var(--text-900);
  font-size: 0.92rem;
  cursor: pointer;
}
.autocomplete-item:hover { background: var(--pink-100); }

.hero-trust { display: flex; gap: 36px; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 1.4rem; color: var(--pink-600); }
.trust-item span { font-size: 0.85rem; color: var(--text-600); }

.hero-visual { display: none; }
.visual-circle {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,90,166,0.20), transparent 70%);
}
.visual-card {
  position: absolute;
  width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-lg);
}
.card-1 { top: 10px; right: 40px; }
.card-2 { bottom: 10px; right: 130px; }
.mini-stars { color: var(--gold-500); font-size: 1rem; margin-bottom: 10px; }
.mini-badge {
  display: inline-block;
  background: rgba(47,158,110,0.12);
  color: var(--green-600);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.mini-line { height: 8px; border-radius: 4px; background: var(--border); margin-bottom: 6px; }
.mini-line.short { width: 60%; }

/* ---------- HOW IT WORKS ---------- */
.how-it-works { padding: 72px 0; }
.how-it-works h2 { text-align: center; font-size: 1.9rem; margin-bottom: 40px; color: var(--navy-900); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { color: var(--navy-900); font-size: 1.1rem; }
.step p { font-size: 0.92rem; margin: 0; }

/* ---------- RESULTS LAYOUT ---------- */
.results-section { padding: 20px 0 80px; }
.results-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* ---------- FILTERS ---------- */
.filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 92px;
  /* Se i filtri superano l'altezza dello schermo, scorrono internamente
     invece di restare irraggiungibili sotto il fold */
  max-height: calc(100vh - 104px);
  overflow-y: auto;
}
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filters-head h2 { font-size: 1.15rem; color: var(--navy-900); margin: 0; }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group h3 { font-size: 0.9rem; color: var(--text-900); margin-bottom: 12px; }

.checkbox-list { display: flex; flex-direction: column; gap: 10px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-600); cursor: pointer; }
.checkbox-item input { width: 17px; height: 17px; accent-color: var(--navy-700); }

.price-values { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; color: var(--navy-800); margin-bottom: 14px; }
.dual-range { position: relative; height: 24px; }
.dual-range input[type=range] {
  position: absolute;
  width: 100%;
  top: 8px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  height: 24px;
}
/* Il cursore minimo sta sopra: resta sempre afferrabile anche quando i due sono vicini */
#price-min { z-index: 4; }
#price-max { z-index: 3; }
.dual-range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--navy-800);
  cursor: pointer;
  margin-top: -1px;
}
.dual-range input[type=range]::-moz-range-thumb {
  pointer-events: all;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--navy-800);
  cursor: pointer;
}
.range-track { position: absolute; top: 15px; left: 0; right: 0; height: 4px; background: var(--border); border-radius: 4px; pointer-events: none; z-index: 1; }
.range-track-fill { position: absolute; top: 15px; height: 4px; background: var(--gold-500); border-radius: 4px; pointer-events: none; z-index: 2; }

.rating-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.rating-option {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  color: var(--text-600);
}
.rating-option.active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

#filter-distance {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  background: var(--white);
}

.toggle-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; margin-bottom: 14px; cursor: pointer; }
.toggle-item:last-child { margin-bottom: 0; }
.toggle-item input { display: none; }
.toggle-switch {
  width: 38px; height: 22px;
  background: var(--border);
  border-radius: 999px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.toggle-switch::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  top: 2px; left: 2px;
  transition: transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.toggle-item input:checked + .toggle-switch { background: var(--green-600); }
.toggle-item input:checked + .toggle-switch::after { transform: translateX(16px); }

/* ---------- RESULTS MAIN ---------- */
.results-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.results-count { font-weight: 700; color: var(--navy-900); }
.results-sort { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-600); }
.results-sort select {
  padding: 8px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.88rem;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.active-filters-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-600);
  margin-right: 2px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-100);
  color: var(--pink-700);
  border: 1px solid transparent;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.filter-chip:hover { border-color: var(--pink-600); }
.filter-chip span { font-size: 1.05rem; line-height: 1; opacity: 0.8; }
.clear-all-chip {
  background: none;
  border: none;
  color: var(--navy-600);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 4px;
}
.clear-all-chip:hover { color: var(--pink-600); }

.agency-list { display: flex; flex-direction: column; gap: 16px; }

.agency-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 20px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.agency-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.agency-card-main { display: flex; gap: 16px; }
.agency-avatar {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.agency-info { flex: 1; min-width: 0; }
.agency-top-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.agency-name { font-size: 1.1rem; color: var(--navy-900); margin: 0; }
.agency-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge-verified { background: rgba(47,158,110,0.12); color: var(--green-600); }
.badge-24h { background: rgba(44,74,117,0.1); color: var(--navy-700); }
.badge-top { background: var(--gold-100); color: var(--gold-600); }

.agency-meta { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-600); margin: 6px 0 10px; flex-wrap: wrap; }
.agency-meta .dot { color: var(--text-400); }
.stars { color: var(--gold-500); letter-spacing: 1px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--text-900); }

.agency-desc { font-size: 0.9rem; margin: 0 0 12px; }
.agency-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.75rem;
  background: var(--bg);
  color: var(--text-600);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.tag-more { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.agency-card-side { display: flex; flex-direction: column; gap: 10px; align-items: stretch; border-left: 1px solid var(--border); padding-left: 20px; }
.price-block { text-align: right; margin-bottom: 4px; }
.price-label { display: block; font-size: 0.72rem; color: var(--text-400); }
.price-value { font-size: 1.25rem; font-weight: 800; color: var(--pink-600); }
.compare-checkbox { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-600); justify-content: center; margin-top: 4px; cursor: pointer; }
.compare-checkbox input { accent-color: var(--navy-700); }

.empty-state { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--radius-lg); border: 1px dashed var(--border); }
.empty-state h3 { color: var(--navy-900); }

/* ---------- FAQ ---------- */
.faq { padding: 72px 0 100px; }
.faq h2 { text-align: center; font-size: 1.9rem; margin-bottom: 36px; color: var(--navy-900); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question .faq-icon { color: var(--pink-600); font-size: 1.3rem; transition: transform 0.2s; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 16px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .logo-mark { background: linear-gradient(135deg, var(--pink-500), var(--sky-500)); color: var(--white); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text strong { color: var(--sky-400); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--sky-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 0.8rem; }

/* ---------- COMPARE BAR ---------- */
.compare-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy-900);
  color: var(--white);
  z-index: 50;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
}
.compare-bar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; flex-wrap: wrap; }
.compare-items { display: flex; gap: 8px; flex-wrap: wrap; }
.compare-chip {
  background: rgba(255,255,255,0.1);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  display: flex; align-items: center; gap: 8px;
}
.compare-chip button { background: none; border: none; color: var(--white); cursor: pointer; font-size: 1rem; opacity: 0.7; }
.compare-actions { display: flex; align-items: center; gap: 16px; }
.compare-actions .link-btn { color: rgba(255,255,255,0.7); }

/* ---------- MODALS ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(22, 36, 59, 0.55);
  display: none;
  z-index: 100;
  padding: 24px;
}
.modal-overlay:not([hidden]) {
  display: flex; align-items: center; justify-content: center;
}
body.modal-open { overflow: hidden; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: var(--bg);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-600);
  display: flex; align-items: center; justify-content: center;
}
.modal-compare { max-width: 920px; }

.detail-header { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; padding-right: 30px; }
.detail-avatar { width: 64px; height: 64px; font-size: 1.5rem; }
.detail-header h2 { margin-bottom: 6px; color: var(--navy-900); }
.detail-desc { font-size: 0.95rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 20px 0; }
.detail-grid h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-400); margin: 14px 0 4px; }
.detail-grid h4:first-child { margin-top: 0; }
.detail-grid p { font-size: 0.92rem; margin: 0; }
.detail-services { margin: 0; padding-left: 18px; font-size: 0.92rem; color: var(--text-600); }
.detail-services li { margin-bottom: 6px; }
.detail-price {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg); border-radius: var(--radius-md);
  padding: 14px 18px; margin-bottom: 20px;
}
.detail-price span { font-size: 0.85rem; color: var(--text-600); }
.detail-price strong { color: var(--navy-900); font-size: 1.1rem; }

.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.compare-table th, .compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.88rem; text-align: left; vertical-align: top; }
.compare-table thead th { color: var(--navy-900); font-size: 0.95rem; }
.compare-table tbody th { color: var(--text-400); font-weight: 600; white-space: nowrap; }

/* ---------- QUOTE FORM ---------- */
.modal-quote h2 { color: var(--navy-900); padding-right: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-900); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--navy-700); }
.privacy-check { align-items: flex-start; margin: 8px 0 20px; font-size: 0.82rem; }
.privacy-check input { margin-top: 3px; }

.quote-success { text-align: center; padding: 20px 0; }
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(47,158,110,0.12);
  color: var(--green-600);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.quote-success h3 { color: var(--navy-900); }

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; overflow: visible; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .hero h1 { font-size: 2rem; }
  .search-box { flex-direction: column; }
  .agency-card { grid-template-columns: 1fr; }
  .agency-card-side { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}
