/* SBV Events 1.0 — the public sales page and the quotation page (Nov. 18, 2026). Sand, sea green and gold of Sundowners Beach
   Villas; a serif for the headlines (Cormorant Garamond), Manrope for the rest; phone first. */
:root {
  --sand: #f3ead9; --paper: #fbf8f1; --paper-2: #f6efe2; --card: #ffffff;
  --ink: #22312c; --ink-2: #3a4a44; --muted: #6f7a75; --faint: #a39a88; --line: rgba(176, 138, 62, .22); --line-2: rgba(176, 138, 62, .12);
  --sea: #3e8e73; --sea-d: #2f6f5a; --sea-soft: #e3efe8; --sea-ink: #1f5b48;
  --gold: #b08a3e; --gold-soft: #f4ead3; --no: #c9583f; --no-soft: #fbe6df; --warn: #8a5a10; --warn-soft: #fdf3dc;
  --shadow: 0 1px 2px rgba(34, 49, 44, .06), 0 10px 30px -16px rgba(34, 49, 44, .35);
  --r: 16px; --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; --sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--paper); min-height: 100vh; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; border-radius: 6px; }
a { color: var(--sea-d); }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.serif { font-family: var(--serif); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.overline { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* top bar */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 241, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.bar img { height: 36px; }
.bar .brand { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
@media (max-width: 420px) { .bar .brand { font-size: 17px; } .bar .cta { padding: 8px 12px; min-height: 36px; font-size: 13px; } }
.bar nav { margin-left: auto; display: none; gap: 20px; font-size: 14px; font-weight: 700; }
.bar nav a { text-decoration: none; color: var(--ink-2); }
.bar .cta { margin-left: auto; }
@media (min-width: 860px) { .bar nav { display: flex; } .bar .cta { margin-left: 0; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: var(--sea); color: #fff; font-weight: 800; padding: 13px 22px; min-height: 48px; text-decoration: none; font-size: 15px; transition: transform .12s, background .2s; }
.btn:hover { background: var(--sea-d); } .btn:active { transform: scale(.98); }
.btn.gold { background: var(--gold); } .btn.gold:hover { background: #9a7633; }
.btn.ghost { background: transparent; color: var(--sea-d); border: 1.5px solid var(--sea); } .btn.ghost:hover { background: var(--sea-soft); }
.btn.light { background: rgba(255, 255, 255, .92); color: var(--ink); } .btn.light:hover { background: #fff; }
.btn.sm { padding: 9px 16px; min-height: 38px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* hero */
.hero { position: relative; min-height: 86vh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--ink); }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 30, 26, .15) 0%, rgba(20, 30, 26, .05) 35%, rgba(20, 30, 26, .78) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 46px; padding-top: 120px; }
.hero .overline { color: #f1dfb0; }
.hero h1 { font-size: clamp(40px, 8vw, 76px); line-height: .98; color: #fff; margin: 10px 0 14px; font-weight: 500; max-width: 12ch; }
.hero h1 em { font-style: italic; color: #f1dfb0; }
.hero p { font-size: clamp(16px, 2.2vw, 19px); max-width: 52ch; margin: 0 0 24px; color: rgba(255, 255, 255, .9); }
.hero .acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* trust strip */
.strip { background: var(--ink); color: #e9e3d6; }
.strip .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; padding: 18px; font-size: 13.5px; }
.strip b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: #f1dfb0; line-height: 1.1; }
@media (min-width: 720px) { .strip .wrap { grid-template-columns: repeat(4, 1fr); } }

/* sections */
section.s { padding: 56px 0 10px; }
.s-head { max-width: 640px; margin-bottom: 26px; }
.s-head h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1.05; margin: 6px 0 10px; }
.s-head p { color: var(--muted); margin: 0; font-size: 16.5px; }

/* event types */
.types { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; }
.types::-webkit-scrollbar { display: none; }
.type { flex: none; text-decoration: none; border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.type.on { background: var(--sea-ink); border-color: var(--sea-ink); color: #fff; }
.type small { display: block; font-weight: 600; font-size: 11px; color: var(--muted); }
.type.on small { color: #cfe3da; }

/* packages */
.pkgs { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .pkgs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pkgs { grid-template-columns: repeat(3, 1fr); } }
.pkg { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pkg:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(34, 49, 44, .45); }
.pkg .ph { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--sand); }
.pkg .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pkg:hover .ph img { transform: scale(1.04); }
.pkg .tag { position: absolute; left: 12px; top: 12px; background: rgba(251, 248, 241, .92); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.pkg .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pkg h3 { font-size: 26px; line-height: 1.1; }
.pkg .price { font-size: 14px; color: var(--muted); }
.pkg .price b { font-family: var(--serif); font-size: 24px; color: var(--ink); font-weight: 700; }
.pkg .tagline { color: var(--ink-2); font-size: 15px; margin: 0; }
.pkg .facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0; }
.pkg .facts span { font-size: 12.5px; background: var(--paper-2); border-radius: 999px; padding: 4px 10px; color: var(--ink-2); font-weight: 600; }
.pkg details { border-top: 1px solid var(--line-2); padding-top: 8px; margin-top: 4px; }
.pkg summary { cursor: pointer; font-weight: 800; font-size: 14px; color: var(--sea-d); list-style: none; display: flex; justify-content: space-between; }
.pkg summary::after { content: "+"; font-size: 18px; line-height: 1; }
.pkg details[open] summary::after { content: "–"; }
.pkg ul { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 4px; }
.pkg .acts { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; }

/* venues */
.venues { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .venues { grid-template-columns: repeat(4, 1fr); } }
.venue { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; background: var(--ink); }
.venue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.venue::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20, 30, 26, .85) 100%); }
.venue .t { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; }
.venue h3 { color: #fff; font-size: 22px; }
.venue p { margin: 4px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .85); line-height: 1.35; }
.venue .cap { font-size: 11.5px; color: #f1dfb0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* the quotation builder */
#quote { background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%); padding-bottom: 60px; }
.builder { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .builder { grid-template-columns: 1.1fr .9fr; align-items: start; } .builder .est { position: sticky; top: 74px; } }
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; }
.step { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.step:first-child { border-top: 0; padding-top: 4px; }
.step .lab { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.step .lab b { font-size: 15px; } .step .lab span { font-size: 12.5px; color: var(--muted); }
.num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sea-ink); color: #fff; font-size: 12px; font-weight: 800; margin-right: 8px; }
input[type="date"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; font-size: 16px; min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--sea); outline: none; box-shadow: 0 0 0 3px rgba(62, 142, 115, .15); }
textarea { min-height: 90px; resize: vertical; }
.date-note { font-size: 13px; padding: 8px 12px; border-radius: 10px; background: var(--sea-soft); color: var(--sea-ink); }
.date-note.warn { background: var(--warn-soft); color: var(--warn); } .date-note.no { background: var(--no-soft); color: var(--no); }
.steppers { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.stp { border: 1.5px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; background: #fff; }
.stp .n { font-size: 12px; color: var(--muted); font-weight: 700; } .stp .a { font-size: 10.5px; color: var(--faint); }
.stp .v { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; }
.stp .v b { font-family: var(--serif); font-size: 26px; min-width: 34px; }
.stp button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper-2); font-weight: 800; font-size: 18px; line-height: 1; }
.stp button:hover { background: var(--sea-soft); border-color: var(--sea); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.chip.on { background: var(--sea-ink); color: #fff; border-color: var(--sea-ink); }
.chip small { font-weight: 600; color: var(--muted); } .chip.on small { color: #cfe3da; }
.est h3 { font-size: 24px; }
.est .big { font-family: var(--serif); font-size: 42px; font-weight: 700; line-height: 1; color: var(--sea-ink); margin: 6px 0 2px; }
.est .sub { font-size: 13px; color: var(--muted); }
.est table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.est td { padding: 7px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.est td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.est tr.tot td { font-weight: 800; border-bottom: 0; }
.est tr.sec td { padding-top: 14px; font-weight: 800; color: var(--sea-ink); border-bottom: 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.est .dim td { color: var(--muted); font-size: 13px; }
.flag { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: 2px 6px; margin-left: 6px; }
.msgs { display: grid; gap: 6px; margin-top: 12px; }
.msg { font-size: 13px; padding: 8px 12px; border-radius: 10px; background: var(--paper-2); color: var(--ink-2); }
.msg.warn { background: var(--warn-soft); color: var(--warn); } .msg.no { background: var(--no-soft); color: var(--no); }
.est .send { margin-top: 14px; display: grid; gap: 10px; }
.est .send .row2 { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.est .fine { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.avail { margin-top: 12px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.avail .v { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 5px 0; border-bottom: 1px dashed var(--line-2); }
.avail .ok { color: var(--sea-ink); font-weight: 700; } .avail .ko { color: var(--no); font-weight: 700; } .avail .na { color: var(--muted); }
.done { text-align: center; padding: 10px 0; }
.done .ref { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--sea-ink); line-height: 1; margin: 8px 0; }
.testband { background: var(--warn-soft); color: var(--warn); font-size: 13px; font-weight: 700; text-align: center; padding: 8px 12px; }

/* gallery */
.gallery { columns: 2; column-gap: 10px; }
@media (min-width: 760px) { .gallery { columns: 3; } }
.gallery img { width: 100%; border-radius: 12px; margin: 0 0 10px; break-inside: avoid; }

/* footer */
footer { background: var(--ink); color: #d9d2c3; padding: 40px 0 70px; margin-top: 50px; }
footer .wrap { display: grid; gap: 18px; }
footer h3 { color: #fff; font-size: 24px; }
footer a { color: #f1dfb0; }
footer .cols { display: grid; gap: 16px; grid-template-columns: 1fr; font-size: 14px; }
@media (min-width: 720px) { footer .cols { grid-template-columns: repeat(3, 1fr); } }

/* quotation page */
.qpage { max-width: 760px; margin: 0 auto; padding: 20px 16px 80px; }
.qhead { display: flex; align-items: center; gap: 14px; padding: 10px 0 18px; }
.qhead img { height: 48px; }
.qhead .t { flex: 1; } .qhead h1 { font-size: 22px; } .qhead .ref { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--sea-ink); }
.qbox { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; margin-top: 14px; }
.qbox h2 { font-size: 22px; margin-bottom: 8px; }
.qbox table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.qbox td { padding: 8px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; } .qbox td:last-child { text-align: right; white-space: nowrap; }
.qbox tr.tot td { font-weight: 800; border-bottom: 0; }
.qbox ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); display: grid; gap: 4px; }
.banner { border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 700; }
.banner.no { background: var(--no-soft); color: var(--no); } .banner.ok { background: var(--sea-soft); color: var(--sea-ink); }

/* misc */
.spin { margin: 40px auto; width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--sea); animation: sp .9s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; max-width: 92vw; z-index: 40; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.ver-badge { position: fixed; right: 8px; bottom: 6px; font-size: 11px; color: var(--muted); pointer-events: none; opacity: .85; z-index: 30; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
