/* ==========================================================================
   Tamara Jeitler – Tour Guide Website
   Colours can be changed in the CRM (Settings → Design colours)
   ========================================================================== */

:root {
  --primary: #7a1f2b;        /* imperial burgundy */
  --accent: #d9a441;         /* Schönbrunn gold */
  --ink: #1f2430;
  --text: #3b4150;
  --muted: #6b7280;
  --bg: #fbf8f3;
  --bg-alt: #f3ede3;
  --card: #ffffff;
  --line: #e7dfd2;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(31, 36, 48, .06), 0 8px 24px rgba(31, 36, 48, .08);
  --shadow-lg: 0 18px 50px rgba(31, 36, 48, .16);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", "Songti SC", "STSong", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
.lang-zh body, body.lang-zh { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: color-mix(in srgb, var(--primary) 75%, #000); }
h1, h2, h3, h4, .h3, .h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
body.lang-zh h1, body.lang-zh h2, body.lang-zh h3, body.lang-zh .h3, body.lang-zh .h4 { font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3, .h3 { font-size: 1.45rem; }
.h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-primary:hover { color: #fff; background: color-mix(in srgb, var(--primary) 85%, #000); }
.btn-accent { background: var(--accent); color: #2a1d05; }
.btn-accent:hover { color: #2a1d05; background: color-mix(in srgb, var(--accent) 88%, #fff); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-small { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-block { width: 100%; margin-top: .6rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--primary); color: #fff; font: 600 1.4rem/1 var(--serif); border: 2px solid var(--accent);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 600 1.3rem/1.1 var(--serif); }
.brand-sub { font-size: .74rem; color: var(--muted); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.nav-list { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--accent); }
.lang-switch { display: flex; align-items: center; gap: .15rem; font-size: .82rem; color: var(--muted); }
.lang-switch .icon { margin-right: .2rem; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: .25rem .4rem; border-radius: 6px; font-weight: 600; }
.lang-switch a:hover { color: var(--primary); background: var(--bg-alt); }
.lang-switch a.active { color: #fff; background: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: .4rem; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1080px) {
  .nav-cta { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch;
    gap: 1rem; padding: 1.2rem 1.25rem 1.6rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease; max-height: calc(100vh - 72px); overflow: auto;
  }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .lang-switch { justify-content: center; font-size: .95rem; }
  .nav-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2b2230; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,28,.15) 0%, rgba(20,16,28,.35) 45%, rgba(20,16,28,.82) 100%); }
.hero-content { position: relative; padding: 7rem 0 4.5rem; max-width: 820px; margin-left: max(1.25rem, calc((100% - var(--container)) / 2)); }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.92); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.2rem; }
.hero-rating { display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: rgba(255,255,255,.9); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--primary); margin-bottom: .6rem; }
body.lang-zh .eyebrow { letter-spacing: .05em; }
.licence-pill { display: inline-flex; align-items: center; gap: .45rem; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); padding: .45rem .9rem; border-radius: 999px; backdrop-filter: blur(6px); letter-spacing: .08em; }
.licence-pill .icon { color: var(--accent); }

/* ---------- Features ---------- */
.features { margin-top: -2.6rem; position: relative; z-index: 2; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.feature { padding: 1.7rem 1.5rem; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--primary); margin-bottom: .8rem; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature p { font-size: .93rem; margin: 0; color: var(--muted); }
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } .feature:nth-child(2) { border-right: 0; } .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } .feature { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tight { padding-top: clamp(2rem, 5vw, 3.5rem); }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 1rem; background: radial-gradient(1200px 300px at 20% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent); }
.page-head .lead { font-size: 1.2rem; max-width: 720px; color: var(--muted); }

/* ---------- Tour cards ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.6rem; }
.tour-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tour-card[hidden] { display: none; }
.tour-card-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; display: block; background: var(--bg-alt); }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tour-card:hover .tour-card-img img { transform: scale(1.05); }
.tag { position: absolute; left: 1rem; top: 1rem; background: rgba(255,255,255,.94); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.tag-static { position: static; display: inline-block; background: color-mix(in srgb, var(--accent) 22%, #fff); margin-bottom: .8rem; }
.tour-card-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.tour-card-body h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.tour-card-body h3 a { color: var(--ink); text-decoration: none; }
.tour-card-body h3 a:hover { color: var(--primary); }
.tour-card-body p { color: var(--muted); font-size: .95rem; }
.tour-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; gap: 1.1rem; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.tour-facts li { display: flex; align-items: center; gap: .35rem; }
.tour-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); }
.price { font-weight: 700; color: var(--ink); font-size: 1.2rem; }
.price small { font-weight: 500; color: var(--muted); font-size: .8rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0 0 2rem; }
.chip { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.custom-tour-note { text-align: center; margin-top: 2.5rem; color: var(--muted); }
.custom-tour-note .icon { color: var(--primary); }
.prose-center { text-align: center; max-width: 760px; margin: 0 auto 2rem; }

/* ---------- About ---------- */
.about-teaser, .about-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-layout { align-items: start; }
.portrait { position: relative; }
.portrait img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait::before { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; border: 2px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.portrait-badge { position: absolute; left: -1rem; bottom: 1.5rem; background: var(--card); padding: .7rem 1rem; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .9rem; color: var(--ink); display: flex; gap: .45rem; align-items: center; }
.portrait-badge .icon { color: var(--primary); }
.tour-langs { display: flex; gap: .4rem; align-items: baseline; flex-wrap: wrap; margin: 1.2rem 0 1.6rem; }
.tour-langs .icon { color: var(--primary); align-self: center; }
.licence-card { display: flex; gap: 1rem; background: var(--card); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); margin: 1.6rem 0; }
.licence-card p { margin: .3rem 0 0; font-size: .95rem; color: var(--muted); }
.licence-icon { width: 38px; height: 38px; color: var(--primary); }
@media (max-width: 860px) { .about-teaser, .about-layout { grid-template-columns: 1fr; } .portrait { max-width: 420px; margin: 0 auto 1rem; } }

.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.legal { font-size: .98rem; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.review-card { margin: 0; background: var(--card); padding: 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.review-card::before { content: "\201C"; position: absolute; right: 1.2rem; top: .2rem; font: 5rem/1 var(--serif); color: color-mix(in srgb, var(--accent) 45%, transparent); }
.review-card blockquote { margin: .8rem 0 1rem; font-size: 1rem; flex: 1; }
.review-card blockquote p { margin: 0; }
.review-card figcaption { font-size: .9rem; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .icon { width: 18px; height: 18px; }
.stars .off { color: #d8d2c6; }
.sample-badge { display: inline-block; margin-left: .4rem; font-size: .7rem; padding: .1rem .45rem; border-radius: 4px; background: #fff4d6; color: #7a5a00; border: 1px dashed #d9a441; vertical-align: middle; }
.rating-summary { display: flex; align-items: center; gap: 1.2rem; justify-content: center; margin-bottom: 2.4rem; }
.rating-big { font: 700 3.6rem/1 var(--serif); color: var(--ink); }
.rating-summary .stars .icon { width: 24px; height: 24px; }
.rating-summary p { margin: .2rem 0 0; }
.review-links { margin-top: 2rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #1a0f14)); color: #fff; padding: 3.5rem 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(217,164,65,.18); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Tour detail ---------- */
.tour-hero { padding: 2.5rem 0 0; }
.tour-hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 760px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }
.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; }
.gallery { margin-bottom: 2rem; }
.gallery-main { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; width: 96px; cursor: pointer; background: none; opacity: .7; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--accent); opacity: 1; }
.check-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.4rem; }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; }
.check-list .icon { color: #fff; background: var(--primary); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: .2rem; }
.meeting { display: flex; gap: .5rem; align-items: flex-start; }
.meeting .icon { color: var(--primary); margin-top: .25rem; }
.tour-aside { position: sticky; top: 92px; }
.info-card { background: var(--card); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--accent); }
.info-price { margin: 0 0 .4rem; color: var(--ink); }
.info-price strong { font: 700 2.2rem/1 var(--serif); }
.info-list { list-style: none; padding: 0; margin: 1rem 0; }
.info-list li { display: grid; grid-template-columns: 24px 1fr auto; gap: .6rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.info-list li span { color: var(--muted); }
.info-list li strong { text-align: right; color: var(--ink); font-weight: 600; }
.info-list .icon { color: var(--primary); }
@media (max-width: 960px) { .tour-layout { grid-template-columns: 1fr; } .tour-aside { position: static; } .check-list { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; background: var(--card); padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.form label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number], .form input[type=date], .form select, .form textarea {
  width: 100%; font: 400 1rem var(--sans); padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fffdfa; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { grid-template-columns: 1.3fr 1fr .8fr; }
@media (max-width: 640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.form .check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--primary); }
.form button { justify-self: start; }
.field-error { color: #b42318; font-size: .82rem; font-weight: 600; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); display: flex; gap: .6rem; align-items: center; }
.alert-success { background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; }
.alert-error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.rating-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.rating-input legend { font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; float: left; width: 100%; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: #d8d2c6; display: block; }
.rating-input label .icon { width: 32px; height: 32px; transition: transform .15s; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: var(--accent); }
.rating-input input:focus-visible + label { outline: 3px solid var(--accent); border-radius: 4px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--card); color: var(--primary); box-shadow: var(--shadow); }
.map-box { margin-top: 1.6rem; display: grid; gap: .6rem; justify-items: start; }
.map-box iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #1c1820; color: rgba(255,255,255,.72); padding: 3.5rem 0 1.4rem; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { font: 600 1.6rem/1.1 var(--serif); color: #fff; margin-bottom: .5rem; }
.footer-licence { color: var(--accent); display: flex; gap: .4rem; align-items: center; font-weight: 600; font-size: .88rem; }
.footer-title { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: .9rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-list a { display: inline-flex; gap: .5rem; align-items: center; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }
.footer-links { display: flex; gap: 1.2rem; }
.site-footer .muted { color: rgba(255,255,255,.6); }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.social a:hover { background: var(--accent); color: #1c1820; transform: translateY(-2px); }
.social .icon { width: 20px; height: 20px; }
.social-dark a { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

.page-404 { padding: 6rem 0; }
.big-404 { font: 700 7rem/1 var(--serif); color: color-mix(in srgb, var(--accent) 70%, #fff); margin: 0; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .wa-float, .cta-band { display: none; } }

/* Small phones: slightly smaller headlines */
@media (max-width: 520px) {
  h1 { font-size: 2rem; }
  .hero-content { padding: 5rem 0 4rem; }
  .licence-pill { font-size: .7rem; }
}

/* ---------- Online booking ---------- */
.booking-form { gap: 1.6rem; }
.booking-step { display: grid; gap: .9rem; }
.booking-step + .booking-step { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.step-title { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; margin: 0; }
.step-title span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font: 700 .95rem/1 var(--sans); }
.cal { max-width: 460px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.cal-title { font: 600 1.15rem var(--serif); color: var(--ink); text-transform: capitalize; }
body.lang-zh .cal-title { font-family: var(--sans); }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.cal-nav:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: .3rem 0; }
.cal-day { position: relative; aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: transparent; font: 500 .95rem var(--sans); color: #b9b2a6; cursor: default; padding: 0; }
.cal-day.free { background: #fff; border-color: var(--line); color: var(--ink); cursor: pointer; font-weight: 700; }
.cal-day.free:hover { border-color: var(--primary); }
.cal-day.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.cal-dots { position: absolute; left: 0; right: 0; bottom: 5px; display: flex; justify-content: center; gap: 3px; }
.cal-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cal-day.selected .cal-dots i { background: #fff; }
.cal-legend { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; display: flex; align-items: center; gap: .4rem; }
.lg-free { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); background: #fff; display: inline-block; }
.slot-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.slot-option { position: relative; cursor: pointer; display: block !important; }
.slot-option input { position: absolute; opacity: 0; }
.slot-option span { display: grid; gap: .1rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fffdfa; transition: .15s; }
.slot-option strong { color: var(--ink); font-size: 1rem; }
.slot-option small { color: var(--muted); font-weight: 500; }
.slot-option:hover span { border-color: var(--primary); }
.slot-option input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
.slot-option input:focus-visible + span { outline: 3px solid var(--accent); }
.slot-option.disabled { cursor: not-allowed; }
.slot-option.disabled span { opacity: .4; background: transparent; text-decoration: line-through; }
[data-slot-hint].picked { color: var(--ink); font-weight: 700; font-size: .95rem; }
[data-slot-hint].error { color: #b42318; font-weight: 700; }
.booking-selection { margin: 0; padding: .8rem 1rem; border-radius: var(--radius-sm); background: #ecfdf3; color: #05603a; font-weight: 600; font-size: .95rem; }
.booking-alt { margin-top: 1.2rem; }
.alert-info { background: #eef4fd; color: #23508e; border: 1px solid #c4d8f6; display: block; }
.booking-done { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; text-align: center; border-top: 4px solid #12805c; }
.booking-done-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #ecfdf3; color: #12805c; margin-bottom: .6rem; }
.booking-done-icon .icon { width: 30px; height: 30px; }
.booking-summary { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.2rem; text-align: left; max-width: 440px; margin: 1.2rem auto 0; padding: 1rem 1.2rem; background: var(--bg); border-radius: var(--radius-sm); }
.booking-summary dt { color: var(--muted); font-size: .9rem; }
.booking-summary dd { margin: 0; font-weight: 600; color: var(--ink); }

/* Interpreter teaser on the home page */
.interp-teaser { padding: 0 0 clamp(3rem, 6vw, 4.5rem); }
.interp-inner { display: flex; align-items: center; gap: 1.4rem; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem 1.8rem; border-left: 5px solid var(--accent); flex-wrap: wrap; }
.interp-inner > div { flex: 1; min-width: 240px; }
.interp-inner h2 { margin: 0 0 .3rem; }
.interp-inner p { margin: 0; color: var(--muted); }
.interp-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 20%, #fff); color: var(--primary); }
.interp-icon .icon { width: 30px; height: 30px; }
.form .cal-day, .form .cal-nav { justify-self: stretch; }
.form .cal-nav { justify-self: auto; }
.cal-day { width: 100%; min-height: 44px; }
