/* ================================================================
   florencegolfcart.tours — Tuscan sienna editorial theme
   ================================================================ */

:root {
  --bg:        #fafaf8;
  --bg-alt:    #f2f0eb;
  --border:    #dedad4;
  --text:      #1c1b18;
  --muted:     #5a5751;
  --accent:    #9c4a2b;
  --accent-lt: #f5ebe6;
  --warn:      #9a6809;
  --highlight: #fde68a;
  --highlight-strong: #fbd35a;
  --serif:     'Fraunces', Georgia, serif;
  --sans:      'Source Sans 3', system-ui, sans-serif;
  --max:       820px;
  --wide:      1120px;
}

/* --- Reset & base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .3em; }

/* --- Typography -------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: .75rem; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
p  { margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

/* --- Containers -------------------------------------------------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 3rem 0; }
section + section { border-top: 1px solid var(--border); }

/* --- Inline u-links (yellow highlighter) ------------------------- */
.u-link {
  position: relative;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  padding: 0 .12em;
  background-image: linear-gradient(to top,
    transparent .15em,
    var(--highlight) .15em,
    var(--highlight) 1.05em,
    transparent 1.05em);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.u-link:hover {
  color: var(--accent);
  background-image: linear-gradient(to top,
    transparent .15em,
    var(--highlight-strong) .15em,
    var(--highlight-strong) 1.05em,
    transparent 1.05em);
}

/* --- Chip links -------------------------------------------------- */
.chip {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .3em .75em;
  border-radius: 3px;
  transition: background .15s, color .15s;
}
.chip.accent {
  background: var(--accent-lt);
  color: var(--accent);
  border: 1px solid #d4a393;
}
.chip.accent:hover {
  background: var(--accent);
  color: #fff;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.site-logo {
  font-family: var(--serif);
  font-size: 1.05rem; font-weight: 800;
  text-decoration: none; color: var(--text);
  white-space: nowrap;
}
.site-logo span { color: var(--accent); }
.header-nav { display: flex; gap: .25rem; }
.header-nav a {
  font-size: .82rem; font-weight: 700;
  text-decoration: none; color: var(--muted);
  padding: .4em .7em;
  border-radius: 3px;
  transition: color .15s, background .15s;
}
.header-nav a:hover, .header-nav a.active { color: var(--accent); background: var(--accent-lt); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: .2s; }
.mobile-nav {
  display: none; flex-direction: column; gap: .5rem;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.mobile-nav a {
  font-size: .95rem; font-weight: 700;
  text-decoration: none; color: var(--text);
  padding: .5rem 0; border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: var(--bg-alt);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6rem;
}
.hero h1 { margin-bottom: .75rem; }
.hero-deck {
  font-size: 1.1rem; color: var(--muted);
  max-width: 620px; margin-bottom: 1.2rem;
  line-height: 1.6;
}
.hero-byline {
  font-size: .8rem; color: var(--muted);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.hero-cta { margin-top: 1.75rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: .95rem;
  text-decoration: none;
  padding: .7em 1.5em;
  border-radius: 3px;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: .87; }
.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--accent);
  font-weight: 700; font-size: .95rem;
  text-decoration: none;
  padding: .7em 1.5em;
  border-radius: 3px;
  border: 1.5px solid var(--accent);
  transition: background .15s, color .15s;
}
.btn-secondary:hover { background: var(--accent); color: #fff; }

/* ================================================================
   FACTS BAR
   ================================================================ */
.facts-bar {
  background: var(--text); color: var(--bg);
  padding: 0; border-bottom: 1px solid var(--border);
}
.facts-inner {
  max-width: var(--wide); margin: 0 auto; padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
}
.fact { min-width: 0; }
.fact-num {
  font-family: var(--serif);
  font-size: 1.55rem; font-weight: 800;
  color: var(--highlight);
  display: block; line-height: 1.1;
}
.fact-label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  overflow-wrap: anywhere;
}

/* ================================================================
   ANCHOR-NAV
   ================================================================ */
.anchor-nav {
  position: sticky; top: 52px; z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav-list {
  max-width: var(--wide); margin: 0 auto;
  padding: 0 1.5rem;
  display: inline-flex; gap: .15rem;
  list-style: none; min-width: 100%;
}
.anchor-nav-list li { flex-shrink: 0; padding: 0; margin: 0; }
.anchor-nav-list li::before { content: none; }
.anchor-link {
  display: inline-block;
  padding: .55rem .8rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s, opacity .15s;
  opacity: .55; white-space: nowrap;
}
.anchor-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  opacity: 1;
}

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.section-label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .5rem;
}

/* ================================================================
   TL;DR CALLOUT
   ================================================================ */
.tldr-box {
  background: var(--accent-lt);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 1.5rem 1.75rem;
  margin-top: 1.25rem;
}
.tldr-box ul { list-style: none; padding: 0; }
.tldr-box li {
  padding: .6rem 0;
  border-bottom: 1px solid rgba(156,74,43,.15);
  font-size: 1.02rem;
  line-height: 1.55;
}
.tldr-box li:last-child { border-bottom: none; }
.tldr-box li::before {
  content: '→';
  color: var(--accent);
  margin-right: .6em;
  font-weight: 700;
}

/* ================================================================
   WHY GOLF CART — comparison grid
   ================================================================ */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.compare-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
}
.compare-card h3 { font-size: .95rem; margin-bottom: .5rem; }
.compare-vs {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: .35rem;
}

/* ================================================================
   ROUTES — 4-card grid
   ================================================================ */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.route-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
}
.route-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.route-meta {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .7rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: .6rem;
}
.route-icon {
  font-size: 1.6rem; margin-bottom: .75rem; display: block;
}

/* ================================================================
   VIEWPOINTS — landmark cards
   ================================================================ */
.landmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.landmark-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
}
.landmark-card h3 { font-size: .95rem; margin-bottom: .4rem; }
.landmark-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--accent-lt); color: var(--accent);
  padding: .2em .55em; border-radius: 2px;
  margin-bottom: .5rem;
}

/* ================================================================
   PERSONA GRID
   ================================================================ */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.persona-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
}
.persona-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.persona-card ul { font-size: .9rem; }
.persona-card li { margin-bottom: .4em; }
.persona-chip {
  display: inline-block;
  margin-top: .9rem;
  font-size: .78rem; font-weight: 700;
  text-decoration: none; color: var(--accent);
  padding: .3em .7em;
  border: 1px solid #d4a393;
  border-radius: 3px;
  background: var(--accent-lt);
  transition: background .15s, color .15s;
}
.persona-chip:hover { background: var(--accent); color: #fff; }

/* ================================================================
   SEASON GRID
   ================================================================ */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.season-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
}
.season-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.season-months {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .7rem; color: var(--accent); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .5rem;
}
.season-verdict {
  font-size: .85rem; font-weight: 700;
  color: var(--warn); margin-top: .5rem;
}

/* ================================================================
   RED FLAGS
   ================================================================ */
.flag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.flag-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--warn);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.25rem;
}
.flag-item h3 { font-size: .95rem; margin-bottom: .3rem; color: var(--warn); }
.flag-item p { font-size: .88rem; }

/* ================================================================
   TOURS CTA SECTION
   ================================================================ */
.tours-cta-box {
  background: var(--accent-lt);
  border: 1px solid #d4a393;
  border-radius: 4px;
  padding: 1.75rem;
  margin-top: 1.5rem;
}
.tours-cta-box ul { margin-top: .75rem; }
.tours-cta-box li { margin-bottom: .5em; font-size: .97rem; }

/* ================================================================
   FAQ
   ================================================================ */
.faq-list { margin-top: 1.25rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  color: var(--text); text-align: left; gap: .5rem;
}
.faq-question::after {
  content: '+';
  font-size: 1.3rem; font-weight: 400;
  color: var(--accent); flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  display: none;
  padding: 0 0 1rem;
  font-size: .97rem; color: var(--muted); line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand h3 {
  font-family: var(--serif); font-size: 1.1rem;
  color: #fff; margin-bottom: .5rem;
}
.footer-brand p { font-size: .88rem; }
.footer-col h4 {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .4em; }
.footer-col a {
  color: rgba(255,255,255,.7); text-decoration: none;
  font-size: .88rem;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--wide); margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }

/* ================================================================
   FLOATING PLAN PILL
   ================================================================ */
.plan-pill {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 200;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: .9rem; font-family: var(--sans);
  text-decoration: none;
  padding: .7em 1.3em; border-radius: 40px;
  box-shadow: 0 4px 16px rgba(156,74,43,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  transform: translateY(8px);
}
.plan-pill.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ================================================================
   TOURS PAGE — FILTER BAR (not sticky)
   ================================================================ */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: 1.25rem 0;
  align-items: center;
}
.filter-label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  margin-right: .25rem;
}
.filter-chip {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted);
  padding: .35em .8em;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
}
.filter-divider {
  width: 1px; height: 1.5rem; background: var(--border);
  margin: 0 .25rem;
}
.count-bar {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .8rem; color: var(--muted);
  padding: .75rem 0 .25rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 68px;
}
.count-bar strong { color: var(--text); }

/* ================================================================
   TOUR CARDS — hand-curated <30 variant (whole-card-clickable P.4)
   ================================================================ */
.hero-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.tour-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.tour-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(156,74,43,.09);
}
.tour-card.hidden { display: none; }
.tour-img {
  display: block;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}
.tour-img img {
  width: 100%; height: 190px;
  object-fit: cover;
  transition: transform .3s;
}
.tour-card:hover .tour-img img { transform: scale(1.04); }
.tour-badge {
  position: absolute; top: .75rem; left: .75rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  background: var(--accent); color: #fff;
  padding: .25em .6em; border-radius: 2px;
}
.tour-badge.hills   { background: #6b8e6b; }
.tour-badge.fiesole { background: #4a6fa8; }
.tour-badge.food    { background: #8b6b1a; }
.tour-badge.night   { background: #2a2a4a; }
.hero-badge {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--highlight); color: var(--text);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .65rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .2em .55em; border-radius: 2px;
}
.tour-body { padding: 1rem 1.1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.tour-body h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: .3rem; line-height: 1.35;
}
.tour-body h3 a {
  text-decoration: none; color: var(--text);
  transition: color .15s;
}
.tour-body h3 a:hover { color: var(--accent); }
.tour-note {
  font-size: .84rem; color: var(--muted);
  margin-bottom: .5rem; line-height: 1.45;
}
.tour-meta {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .72rem; color: var(--muted);
  margin-bottom: .75rem;
}
.tour-meta .star { color: #c8860a; }
.book-cta {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: .88rem;
  text-decoration: none; text-align: center;
  padding: .55em 1.1em;
  border-radius: 3px;
  transition: opacity .15s;
  margin-top: auto;
  align-self: flex-start;
}
.book-cta:hover { opacity: .87; }

/* ================================================================
   PICK SECTION HEADER (hero picks)
   ================================================================ */
.picks-header {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  margin-bottom: .25rem;
}
.picks-header h2 { margin-bottom: 0; }
.view-all-link {
  font-size: .82rem; font-weight: 700;
  color: var(--accent); text-decoration: none;
}
.view-all-link:hover { text-decoration: underline; }

/* ================================================================
   METHODOLOGY BOX
   ================================================================ */
.methodology {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
  font-size: .9rem; color: var(--muted);
}
.methodology h3 { font-size: 1rem; margin-bottom: .6rem; color: var(--text); }

/* ================================================================
   TOURS PAGE HERO
   ================================================================ */
.page-hero {
  background: var(--bg-alt);
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.page-hero .hero-deck { font-size: 1rem; margin-bottom: 0; }

/* ================================================================
   BAN NOTICE CALLOUT
   ================================================================ */
.ban-notice {
  background: #fff8e6;
  border: 1px solid #e8c87a;
  border-left: 3px solid var(--warn);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: .92rem;
}
.ban-notice strong { color: var(--warn); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: block; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  section { padding: 2rem 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 2.25rem 0 2rem; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .tour-note { display: none; }
}
