/* CellarTeam — one-page site */
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-var.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #215168;
  --navy-dark: #163a4c;
  --navy-ink: #0f2735;
  --orange: #f36523;
  --orange-dark: #d9520f;
  --cream: #f7f2e8;
  --cream-2: #efe7d8;
  --ink: #1d2a33;
  --muted: #55636d;
  --line: #d9d2c4;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 39, 53, .12);
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 1rem/1.6 var(--font-body); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: .01em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); text-transform: uppercase; color: var(--navy); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; scroll-margin-top: 72px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--navy-ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 6px 6px; }
.skip-link:focus { top: 0; color: #fff; }

.eyebrow { font: 600 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; }
.eyebrow-dark { color: var(--orange-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1.05rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: .95rem 1.5rem; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, transform .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-orange { background: var(--orange); color: var(--navy-ink); }
.btn-orange:hover:not([disabled]) { background: #ff7a3a; color: var(--navy-ink); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover:not([disabled]) { background: var(--navy); color: #fff; }
.btn-small { padding: .6rem 1rem; font-size: .95rem; }
.btn-large { padding: 1.1rem 1.8rem; font-size: 1.25rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); }
.topbar { height: 6px; background: linear-gradient(90deg, var(--orange) 0 70%, var(--navy) 70%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand img { width: 128px; }
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--navy); white-space: nowrap; }
.header-phone span { display: none; }
@media (min-width: 560px) { .header-phone span { display: inline; } }

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy-ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(15,39,53,.94) 0%, rgba(22,58,76,.85) 45%, rgba(33,81,104,.45) 100%); }
.hero-inner { display: flex; flex-direction: column; min-height: clamp(460px, 72vh, 640px); padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); text-transform: uppercase; line-height: .98; margin-bottom: 1.25rem; max-width: 12ch; }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 34rem; color: #e3ebef; }
.hero-cta { margin-top: auto; align-self: flex-end; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
@media (max-width: 559px) { .hero-cta { align-self: stretch; margin-top: 2rem; } }

/* Services */
.services { background: var(--cream); }
.section-head { max-width: 640px; margin-bottom: 2.25rem; }
.section-head p:last-child { color: var(--muted); }
.service-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--navy); overflow: hidden; }
.service.is-open { border-top-color: var(--orange); }
.service-heading { margin: 0; font: inherit; }
.service-toggle { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon title chev" "icon summary chev"; column-gap: 1rem; align-items: center; width: 100%; padding: 1.3rem 1.25rem; }
.service-toggle:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.service-toggle:hover .service-title { color: var(--orange-dark); }
.service-icon { grid-area: icon; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.service-icon svg { width: 30px; height: 30px; }
.service-title { grid-area: title; font: 600 1.2rem/1.15 var(--font-display); text-transform: uppercase; color: var(--navy); letter-spacing: .02em; }
.service-summary { grid-area: summary; font-size: .9rem; color: var(--muted); margin-top: .25rem; }
.chev { grid-area: chev; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); position: relative; transition: transform .2s, background-color .2s; }
.chev::before, .chev::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); }
.chev::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.service-toggle[aria-expanded="true"] .chev { background: var(--orange); border-color: var(--orange); }
.service-toggle[aria-expanded="true"] .chev::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (min-width: 1000px) {
  .service-toggle { grid-template-columns: 1fr auto; grid-template-areas: "icon chev" "title title" "summary summary"; row-gap: .85rem; padding: 1.5rem 1.4rem; min-height: 230px; align-content: start; }
  .service-summary { margin-top: -.4rem; }
}
.service-panel { padding: 0 1.4rem 1.4rem; border-top: 1px solid var(--cream-2); }
.service-panel ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; font-size: .93rem; }
.service-panel li { position: relative; padding-left: 1.3rem; }
.service-panel li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.service-panel strong { color: var(--navy-ink); }
.small-note { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; padding-top: .8rem; border-top: 1px dashed var(--line); }

.photo-strip { display: grid; gap: .75rem; margin-top: 2.5rem; grid-template-columns: 1fr 1fr; }
.photo-strip img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius); }
.photo-strip img:first-child { grid-column: 1 / -1; height: 210px; }
@media (min-width: 700px) { .photo-strip { gap: 1rem; grid-template-columns: 1.4fr 1fr 1fr; } .photo-strip img, .photo-strip img:first-child { grid-column: auto; height: 260px; } }

/* Coverage */
.coverage { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; background: var(--orange); }
.coverage-map { position: absolute; inset: 0; z-index: -2; background: url("../img/coverage-map.svg") center / cover no-repeat; filter: grayscale(1) contrast(1.1); opacity: .55; }
.coverage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(243,101,35,.86), rgba(217,82,15,.9)); mix-blend-mode: multiply; }
.coverage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(160,55,5,.45), transparent 65%); }
.coverage-inner { padding: clamp(4rem, 10vw, 6.5rem) 0; }
.coverage h2 { color: #fff; font-size: clamp(2.3rem, 6.5vw, 4.4rem); margin: 0 0 .3rem; text-shadow: 0 2px 18px rgba(80,25,0,.35); }
.coverage-sub { font: 500 clamp(1.3rem, 3vw, 1.9rem)/1.2 var(--font-display); letter-spacing: .05em; margin: 0; text-transform: uppercase; color: var(--navy-ink); background: #fff; display: inline-block; padding: .35rem .9rem; border-radius: 4px; }

/* Quote */
.quote { background: #fff; }
.quote-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: 5fr 7fr; gap: 3rem; } }
.quote-intro { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--navy-dark); min-height: 260px; }
.quote-intro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-intro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,39,53,.25) 0%, rgba(15,39,53,.92) 70%); }
.quote-intro-text { position: relative; z-index: 1; padding: 6rem 1.6rem 1.6rem; }
.quote-intro h2 { color: #fff; }
.quote-intro p:last-child { color: #e3ebef; margin: 0; }
@media (min-width: 900px) { .quote-intro { min-height: 520px; display: flex; align-items: flex-end; } }
.quote-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.quote-logo { display: none; }
@media (min-width: 900px) {
  .quote-grid { align-items: stretch; }
  .quote-logo { display: flex; flex: 1; align-items: flex-end; justify-content: center; min-height: 0; }
  .quote-logo img { width: auto; max-width: min(100%, 360px); max-height: 170px; object-fit: contain; }
}
.quote-card { background: var(--cream); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--cream-2); }

/* Forms */
.field { margin: 0 0 1.15rem; border: 0; padding: 0; min-width: 0; }
.field > label, legend { display: block; font-weight: 600; color: var(--navy-ink); margin-bottom: .4rem; font-size: .95rem; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c9c0af; border-radius: 6px; padding: .75rem .85rem; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(243,101,35,.35); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.help { font-size: .85rem; color: var(--muted); margin: .4rem 0 0; }
.grid-2 { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; flex: none; accent-color: var(--navy); }
.check label { font-weight: 400; font-size: .9rem; margin: 0; color: var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.is-invalid { border-color: #b3261e !important; }
.field-error { color: #b3261e; font-size: .85rem; margin: .35rem 0 0; font-weight: 500; }
.form-msg:empty { display: none; }
.form-msg { padding: .85rem 1rem; border-radius: 6px; margin: 0 0 1rem; font-weight: 500; }
.form-msg.is-error { background: #fdecea; color: #8c1d18; border: 1px solid #f3c1bd; }
.form-msg.is-success { background: #e7f4ec; color: #1d5b33; border: 1px solid #b8dcc5; }

.stepper { display: flex; max-width: 220px; }
.stepper input { text-align: center; border-radius: 0; font-weight: 600; font-size: 1.15rem; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step { flex: none; width: 52px; font: 600 1.4rem/1 var(--font-body); background: var(--navy); color: #fff; border: 0; cursor: pointer; }
.step:first-child { border-radius: 6px 0 0 6px; } .step:last-child { border-radius: 0 6px 6px 0; }
.step:hover { background: var(--navy-dark); }

.slots { display: grid; gap: .6rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .slots { grid-template-columns: repeat(3, 1fr); } }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; }
.slot label { display: block; background: #fff; border: 1.5px solid #c9c0af; border-radius: 6px; padding: .7rem .85rem; cursor: pointer; height: 100%; transition: border-color .15s, background-color .15s; }
.slot-name { display: block; font: 600 1.05rem/1.2 var(--font-display); text-transform: uppercase; color: var(--navy); letter-spacing: .03em; }
.slot-hours { display: block; font-size: .85rem; color: var(--muted); }
.slot-price { display: block; font-size: .85rem; font-weight: 600; color: var(--orange-dark); margin-top: .2rem; }
.slot input:checked + label { border-color: var(--navy); background: #e9f0f3; box-shadow: inset 0 0 0 1px var(--navy); }
.slot input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }

.breakdown { background: #fff; border-radius: 8px; padding: 1.1rem 1.25rem; border: 1px solid var(--cream-2); margin: 1.5rem 0 1.25rem; }
.breakdown h3 { font-size: 1.15rem; text-transform: uppercase; color: var(--navy); margin-bottom: .6rem; }
.breakdown table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.breakdown td, .breakdown th { padding: .5rem 0; border-bottom: 1px solid #eee7da; text-align: left; font-weight: 400; vertical-align: top; }
.breakdown td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; font-weight: 600; }
.breakdown .muted-row td { color: var(--muted); font-weight: 400; }
.breakdown tfoot th, .breakdown tfoot td { border-bottom: 0; padding-top: .8rem; font: 600 1.6rem/1 var(--font-display); color: var(--navy-ink); text-transform: uppercase; }
.breakdown tfoot td { text-align: right; color: var(--navy); }
.decision { display: flex; flex-wrap: wrap; gap: .75rem; }
.decision .btn { flex: 1 1 180px; }
.reject-msg, .accept-form { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--cream-2); }
.reject-msg h3, .accept-form h3 { font-size: 1.4rem; text-transform: uppercase; color: var(--navy); }
.reject-msg:focus, .accept-form h3:focus { outline: none; }

/* Contact */
.contact { background: var(--cream); }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; font-size: 1.05rem; }
.contact-list span { display: inline-block; min-width: 4.2rem; font-weight: 600; color: var(--navy-ink); }
.contact-list a { font-weight: 600; }
.contact-photo { border-radius: var(--radius); width: 100%; height: 280px; object-fit: cover; object-position: 50% 25%; display: none; }
@media (min-width: 900px) { .contact-photo { display: block; } }
.contact-form { background: #fff; border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }

/* Footer */
.site-footer { background: var(--navy-ink); color: #c9d6dd; padding: 2.5rem 0; border-top: 6px solid var(--orange); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.footer-logo { width: 84px; }
.footer-text p { margin: 0 0 .35rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.footer-small { font-size: .85rem; color: #9fb2bd; }

/* Privacy page */
.page { padding: 3rem 0 4rem; }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3rem); text-transform: uppercase; color: var(--navy); }
.page h2 { font-size: 1.5rem; margin-top: 2rem; }
.accept-form > .help { margin: -.2rem 0 1.25rem; }

.slot-note { margin-top: .6rem; font-size: .8rem; }
.vat-note { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; text-align: right; }
.freq { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.freq label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 400; cursor: pointer; }
.freq input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
