/* Uffizi Gallery Guide — white site styles (no external fonts/CDNs) */
:root {
  --ink: #23201a;
  --muted: #6d675c;
  --paper: #faf7f1;
  --card: #ffffff;
  --line: #e4ddd0;
  --accent: #1f4d3a;
  --accent-2: #b98a2f;
  --serif: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: #14352a; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand {
  font-family: var(--serif); font-size: 1.25rem; color: var(--ink);
  text-decoration: none; letter-spacing: .01em; white-space: nowrap;
}
.brand span { color: var(--accent-2); }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-size: .95rem;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--accent-2); color: var(--ink); }
.site-nav a.active { border-bottom-color: var(--accent); font-weight: 600; }

/* hero */
.hero {
  position: relative; min-height: 420px; display: flex; align-items: flex-end;
  background: linear-gradient(160deg, #22402f 0%, #1f4d3a 55%, #2f5d47 100%);
  color: #fff; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  opacity: .82;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,25,20,.15) 0%, rgba(20,25,20,.55) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 64px; }
.hero p.lead { font-size: 1.1rem; max-width: 560px; color: #f2ede2; }
.hero h1 { text-shadow: 0 1px 14px rgba(0,0,0,.35); }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 3px;
  background: var(--accent-2); color: #fff; text-decoration: none;
  font-size: .98rem; letter-spacing: .02em; border: none; cursor: pointer;
}
.btn:hover { background: #a37624; color: #fff; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-ink { background: var(--accent); color: #fff; }
.btn-ink:hover { background: #14352a; color: #fff; }

/* sections */
section { padding: 56px 0; }
.section-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 26px; box-shadow: 0 1px 2px rgba(40, 35, 20, .04);
}
.card h3 { color: var(--accent); }
.card .big { font-size: 1.6rem; font-family: var(--serif); color: var(--ink); }

.info-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.info-table th, .info-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { font-weight: 600; color: var(--accent); white-space: nowrap; }

.figure { margin: 0; }
.figure img { width: 100%; display: block; border-radius: 6px; }
.figcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.figcard .figure-caption { padding: 14px 18px; font-size: .9rem; color: var(--muted); }
.figcard .figure-caption strong { color: var(--ink); font-family: var(--serif); font-weight: 500; display: block; font-size: 1.02rem; }

/* FAQ */
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 12px; padding: 0; }
details.faq summary {
  cursor: pointer; padding: 16px 20px; font-family: var(--serif);
  font-size: 1.05rem; list-style: none; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 20px; color: var(--accent-2); font-size: 1.3rem; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 20px 18px; color: var(--muted); }

/* quote / banner */
.banner {
  background: var(--accent); color: #f2ede2; text-align: center;
  padding: 52px 24px;
}
.banner h2 { color: #fff; }
.banner p { max-width: 620px; margin: 0 auto 22px; }

/* legal pages */
.legal { padding: 48px 0 72px; }
.legal h2 { margin-top: 1.6em; font-size: 1.3rem; }
.legal h3 { margin-top: 1.2em; font-size: 1.05rem; color: var(--accent); }
.legal ul li, .legal ol li { margin-bottom: .4em; }
.updated { color: var(--muted); font-size: .9rem; }

/* cookie banner */
.cookie-banner {
  position: fixed; inset: auto 16px 16px 16px; z-index: 100;
  max-width: 560px; margin-left: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 10px 30px rgba(30, 25, 10, .18);
  padding: 20px 22px; font-size: .93rem;
}
.cookie-banner h3 { margin-bottom: 6px; }
.cookie-banner .row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 9px 18px; font-size: .88rem; }
.cookie-banner .link-row { margin-top: 10px; }
.cookie-banner .link-row a { color: var(--muted); font-size: .84rem; }
.btn-secondary { background: #eee7d9; color: var(--ink); }
.btn-secondary:hover { background: #e2d9c6; color: var(--ink); }
@media (max-width: 620px) { .cookie-banner { inset: auto 10px 10px 10px; } }

/* contact */
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: baseline; }
.contact-list .k { min-width: 120px; font-weight: 600; color: var(--accent); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }

/* footer */
.site-footer { background: #1d241f; color: #cfc9bd; margin-top: 40px; }
.site-footer .container { padding: 44px 24px 28px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 26px; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfc9bd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-note { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: .82rem; color: #a49e91; }
.notice {
  background: #fdf6e6; border: 1px solid #e9d9ac; border-radius: 6px;
  padding: 14px 18px; font-size: .9rem; color: #6d5a20; margin-bottom: 28px;
}
