/* ===========================================================
   PRAGUE BOATS — firemkynalodi.cz
   =========================================================== */
:root {
  --blue:        #0b1c33;
  --blue-2:      #102a4c;
  --blue-deep:   #061325;
  --gold:        #c9a05a;
  --gold-2:      #e3c489;
  --ink:         #1b2330;
  --muted:       #5b6b80;
  --line:        #e4e9f0;
  --bg:          #ffffff;
  --bg-soft:     #f5f7fb;
  --radius:      14px;
  --shadow:      0 18px 50px rgba(11,28,51,.14);
  --wrap:        1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open, body.nav-open { overflow: hidden; }

h1, h2, h3, h4 { font-family: "Inter", system-ui, sans-serif; line-height: 1.15; color: var(--blue); font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold); }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.center { text-align: center; }
.mt { margin-top: 32px; }
.narrow { max-width: 640px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--gold); margin: 0 0 .6em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.rich p { margin: 0 0 1em; }
.rich a { color: var(--gold); text-decoration: underline; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; transition: .2s; white-space: nowrap;
  background: var(--blue); color: #fff; line-height: 1;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--blue-deep); }
.btn.gold:hover { box-shadow: 0 10px 24px rgba(201,160,90,.4); color: var(--blue-deep); }
.btn.outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn.outline:hover { background: var(--blue); color: #fff; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.sm { padding: 9px 16px; font-size: .85rem; }
.btn.lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(11,28,51,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; line-height: 1; color: #fff; }
.logo img { height: 52px; width: auto; display: block; }
.logo-main { font-weight: 800; letter-spacing: .12em; font-size: 1.15rem; }
.logo-sub { font-size: .65rem; letter-spacing: .35em; color: var(--gold); margin-top: 3px; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: rgba(255,255,255,.82); font-size: .92rem; font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.header-cta { margin-left: 8px; }
.lang-switch { color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 700; letter-spacing: .06em; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 5px 11px; }
.lang-switch:hover { color: var(--blue-deep); background: var(--gold); border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; color: #fff; min-height: 82vh; display: flex; align-items: center; overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(11,28,51,.35), rgba(11,28,51,.5)); }
.hero-inner { position: relative; z-index: 2; padding: 80px 0; max-width: 760px; }
.hero h1 { color: #fff; display: flex; flex-direction: column; gap: .15em; }
.hero h1 span { font-weight: 300; font-size: .58em; color: var(--gold-2); }
.hero .btn { margin-top: 24px; }

/* ---------------- reasons ---------------- */
.reasons { background: var(--bg-soft); }
.reasons-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px; margin-top: 40px; }
.reason { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reason img { width: 56px; height: 56px; object-fit: contain; }
.reason span { font-weight: 600; color: var(--blue); font-size: .95rem; }

/* ---------------- split (about) ---------------- */
.split-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }

/* ---------------- partners ---------------- */
.partner-row { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; justify-content: center; margin-top: 32px; }
.partner-row img { height: 84px; width: auto; max-width: 180px; object-fit: contain; transition: transform .2s; }
.partner-row img:hover { transform: scale(1.05); }

/* ---------------- references ---------------- */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.ref-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); display: block; }
.ref-card img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.ref-card:hover img { transform: scale(1.06); }
.ref-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff; background: linear-gradient(transparent 40%, rgba(6,19,37,.85));
}
.ref-overlay span { font-size: .85rem; color: rgba(255,255,255,.8); }
.ref-title { font-size: 1.15rem; font-weight: 700; color: #fff !important; }

/* ---------------- contact band ---------------- */
.contact-band { background: var(--blue); color: #fff; padding: 60px 0; }
.contact-band h1, .contact-band h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.contact-band p { color: rgba(255,255,255,.85); }
.contact-list { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact-list a { color: #fff; font-size: 1.1rem; font-weight: 600; }
.contact-list a:hover { color: var(--gold); }
.contact-list .btn { margin-top: 10px; }

/* ---------------- footer ---------------- */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.6); padding: 30px 0; font-size: .85rem; }
.site-footer a { color: var(--gold); }

/* ---------------- page head ---------------- */
.page-head { background: var(--bg-soft); padding: 64px 0 48px; border-bottom: 1px solid var(--line); }

/* ---------------- boat grid / cards ---------------- */
.boat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 28px; }
.boat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.boat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.boat-media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.boat-media img { width: 100%; height: 100%; object-fit: cover; }
.boat-body { padding: 18px 20px 6px; flex: 1; }
.boat-body p { color: var(--muted); font-size: .92rem; }
.boat-price { padding: 0 20px; color: var(--muted); font-size: .9rem; }
.boat-price strong { color: var(--blue); font-size: 1.05rem; }
.boat-cap { padding: 4px 20px 0; color: var(--muted); font-size: .85rem; }
.boat-actions { padding: 16px 20px 20px; }

/* ---------------- boat detail ---------------- */
.detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.detail-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.detail-facts { display: flex; gap: 32px; margin: 24px 0; }
.detail-facts span { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.detail-facts strong { font-size: 1.3rem; color: var(--blue); }

/* ---------------- gallery ---------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-item { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,19,37,.92); display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 8px; }

/* ---------------- offer grid (catering/program) ---------------- */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.offer-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: .2s; }
.offer-card:hover { box-shadow: var(--shadow); }
.offer-card p { color: var(--muted); font-size: .92rem; }
.offer-price { margin-top: 14px; font-weight: 700; color: var(--gold); }

/* ---------------- forms ---------------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--blue); }
.form input, .form textarea, .form select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form .btn { align-self: flex-start; }

/* ===========================================================
   CONFIGURATOR
   =========================================================== */
.cfg { padding: 40px 0 80px; background: var(--bg-soft); min-height: 80vh; }
.cfg-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cfg-main { min-width: 0; }

.cfg-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cfg-step { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 8px; cursor: pointer; font: inherit; color: var(--muted); transition: .2s; }
.cfg-step-no { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
.cfg-step-t { font-size: .85rem; font-weight: 600; }
.cfg-step.active { border-color: var(--gold); color: var(--blue); }
.cfg-step.active .cfg-step-no { background: var(--gold); color: var(--blue-deep); }
.cfg-step.done .cfg-step-no { background: var(--blue); color: #fff; }

.cfg-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; min-height: 360px; }
.cfg-h { margin-bottom: 8px; }
.cfg-intro { color: var(--muted); margin-bottom: 24px; font-size: .95rem; }
.cfg-intro p { margin: 0 0 .5em; }

.cfg-boats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cfg-boat { border: 2px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; transition: .2s; background: #fff; }
.cfg-boat:hover { border-color: var(--gold-2); }
.cfg-boat.selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,160,90,.18); }
.cfg-boat-media { aspect-ratio: 16/10; overflow: hidden; }
.cfg-boat-media img { width: 100%; height: 100%; object-fit: cover; }
.cfg-boat-body { padding: 14px 16px; }
.cfg-boat-body h3 { font-size: 1rem; }
.cfg-boat-body p { color: var(--muted); font-size: .82rem; margin: 0 0 10px; }
.cfg-boat-meta { display: flex; flex-direction: column; gap: 2px; font-size: .8rem; color: var(--muted); }
.cfg-boat-meta strong { color: var(--blue); }

.cfg-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cfg-item { border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; transition: .2s; }
.cfg-item.selected { border-color: var(--gold); background: #fffdf8; box-shadow: 0 0 0 2px rgba(201,160,90,.15); }
.cfg-item-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.cfg-item-head h3 { font-size: 1rem; }
.cfg-item-price { color: var(--gold); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.cfg-item-short { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.cfg-item-actions { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; }

.cfg-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.cfg-nav .btn:disabled { opacity: .4; cursor: not-allowed; }

/* sidebar summary */
.cfg-aside { position: sticky; top: 96px; }
.cfg-summary { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cfg-summary h3 { color: #fff; margin-bottom: 16px; }
.cfg-params { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.cfg-params-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cfg-params label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; color: rgba(255,255,255,.75); font-weight: 600; }
.cfg-params input, .cfg-params select { font: inherit; padding: 9px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; }
.cfg-params input:focus, .cfg-params select:focus { outline: 2px solid var(--gold); }
.cfg-params option { color: var(--ink); }
.cfg-lines { list-style: none; margin: 0 0 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow-y: auto; }
.cfg-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; }
.cfg-line-name { color: rgba(255,255,255,.85); }
.cfg-line-val { color: var(--gold-2); white-space: nowrap; font-weight: 600; }
.cfg-lines:empty { display: none; }
.cfg-totals { display: flex; flex-direction: column; gap: 6px; }
.cfg-totals > div { display: flex; justify-content: space-between; align-items: baseline; }
.cfg-totals span { color: rgba(255,255,255,.75); font-size: .85rem; }
.cfg-total-vat strong { font-size: 1.5rem; color: var(--gold-2); }
.cfg-total-net strong { color: #fff; }

.cfg-lead { margin-top: 8px; }
.cfg-lead .lead { color: var(--muted); }

/* config modal */
.cfg-modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cfg-modal[hidden] { display: none; }
.cfg-modal-backdrop { position: absolute; inset: 0; background: rgba(6,19,37,.7); }
.cfg-modal-box { position: relative; background: #fff; border-radius: var(--radius); max-width: 680px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 32px; box-shadow: var(--shadow); }
.cfg-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.cfg-modal-img { border-radius: 10px; margin: 12px 0; }
.cfg-modal-video { position: relative; padding-bottom: 56.25%; height: 0; margin: 14px 0; border-radius: 10px; overflow: hidden; }
.cfg-modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.cfg-menu h4 { color: var(--gold); margin: 18px 0 6px; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }
.cfg-menu ul { margin: 0; padding-left: 18px; color: var(--ink); }
.cfg-menu li { margin-bottom: 4px; font-size: .92rem; }

/* ===========================================================
   ADMIN
   =========================================================== */
.admin-login-page { background: var(--blue); display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login.form { background: #fff; padding: 40px; border-radius: var(--radius); width: 340px; box-shadow: var(--shadow); }
.login.form h1 { font-size: 1.4rem; margin-bottom: 0; letter-spacing: .1em; }
.login-logo { width: 150px; height: auto; display: block; margin-bottom: 6px; }
.login.form .eyebrow { margin-top: 4px; }

.admin-page { background: var(--bg-soft); }
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--blue); color: #fff; display: flex; flex-direction: column; padding: 24px 0; position: sticky; top: 0; height: 100vh; }
.admin-brand { padding: 0 24px 24px; font-weight: 800; letter-spacing: .1em; display: flex; flex-direction: column; align-items: flex-start; }
.admin-brand img { width: 132px; height: auto; display: block; }
.admin-brand span { font-size: .7rem; letter-spacing: .3em; color: var(--gold); font-weight: 400; margin-top: 4px; }
.admin-side nav { display: flex; flex-direction: column; flex: 1; }
.admin-side nav a { padding: 11px 24px; color: rgba(255,255,255,.78); font-size: .92rem; border-left: 3px solid transparent; }
.admin-side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side nav a.active { color: #fff; border-left-color: var(--gold); background: rgba(201,160,90,.12); }
.admin-side-foot { padding: 16px 24px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 10px; }
.admin-side-foot a { color: rgba(255,255,255,.6); font-size: .85rem; }
.admin-side-foot a:hover { color: var(--gold); }
.admin-main { padding: 36px 40px; max-width: 1000px; }

.notice { background: #e7f7ec; border: 1px solid #b7e4c4; color: #1d7a3e; padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; }
.notice.error { background: #fdecea; border-color: #f5c2bd; color: #b23b32; }
.toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; }
.toolbar h1 { margin: 0; font-size: 1.7rem; }

.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(11,28,51,.05); }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: middle; }
.table th { background: var(--bg-soft); color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }
.table tr:last-child td { border-bottom: 0; }
.table.sub { box-shadow: none; margin: 10px 0; }
.row-thumb { width: 56px; height: 40px; object-fit: cover; border-radius: 6px; }
.row-actions { display: flex; gap: 12px; align-items: center; white-space: nowrap; }
.text-link { color: var(--blue); text-decoration: underline; font-size: .85rem; }
.text-link.danger { color: #c0392b; background: none; border: 0; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.inline-delete { display: inline; }
.lead-detail-box { background: var(--bg-soft); padding: 16px; border-radius: 10px; }

.admin-form { display: flex; flex-direction: column; gap: 20px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.admin-card h2 { font-size: 1.05rem; margin-bottom: 16px; }
.admin-card > label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .85rem; color: var(--blue); margin-bottom: 16px; }
.admin-card > label:last-child { margin-bottom: 0; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .85rem; color: var(--blue); }
.admin-grid label.full { grid-column: 1 / -1; }
.admin-form input, .admin-form textarea, .admin-form select {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.admin-form input[type=checkbox] { width: auto; margin-right: 8px; }
.admin-form textarea { resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.prices label { font-size: .78rem; }
.hint { color: var(--muted); font-size: .8rem; margin: 10px 0 0; }
.hint code { background: var(--bg-soft); padding: 1px 5px; border-radius: 4px; }
.admin-thumb { max-width: 220px; border-radius: 8px; margin: 8px 0; }
.admin-actions { display: flex; gap: 12px; align-items: center; }
.avail-block { margin-top: 14px; }
.avail-block h3 { font-size: .95rem; margin: 0 0 8px; color: var(--blue); }
.avail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px; }
.avail-item { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 400; color: var(--ink); }
.avail-item input { width: auto; }

/* ---------------- about video / generic video frames ---------------- */
.split-video { position: relative; padding-bottom: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; }
.split-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-frame { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------------- contact band w/ map ---------------- */
.contact-band .contact-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 300px; box-shadow: var(--shadow); }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 300px; }
.contact-info .contact-list { margin-top: 22px; }

/* ---------------- boat detail extras ---------------- */
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.boat-plan { max-width: 900px; margin: 0 auto; }
.boat-plan img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------------- offer sections (catering / program) ---------------- */
.offer-section { padding: 56px 0; }
.offer-section:nth-of-type(even) { background: var(--bg-soft); }
.offer-intro { max-width: 820px; margin: 0 auto 36px; }
.offer-card { display: flex; flex-direction: column; gap: 10px; }
.offer-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.offer-card-head h3 { margin: 0; font-size: 1.05rem; }
.offer-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------------- shared site modal ---------------- */
.site-modal { position: fixed; inset: 0; z-index: 160; display: flex; align-items: center; justify-content: center; padding: 24px; }
.site-modal[hidden] { display: none; }
.site-modal-backdrop { position: absolute; inset: 0; background: rgba(6,19,37,.72); }
.site-modal-box { position: relative; background: #fff; border-radius: var(--radius); max-width: 680px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 34px; box-shadow: var(--shadow); }
.site-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--muted); }
.site-modal-box h2 { margin-bottom: 18px; }
.modal-img { border-radius: 10px; margin: 12px 0; width: 100%; }

/* ---------------- contact form modal ---------------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea { font: inherit; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.contact-form { gap: 14px; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.checkbox input { width: auto; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1100px) { .reasons-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) {
  .split-grid, .detail-grid, .contact-grid, .cfg-grid { grid-template-columns: 1fr; }
  .cfg-aside { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-side nav { flex-direction: row; flex-wrap: wrap; }
  .admin-side nav a { border-left: 0; border-bottom: 3px solid transparent; padding: 10px 14px; }
  .admin-side nav a.active { border-left: 0; border-bottom-color: var(--gold); }
  .admin-side-foot { border-top: 0; padding-top: 0; flex-direction: row; }
}
@media (max-width: 760px) {
  /* In-flow drawer: the nav AND the primary CTA drop below the header row when open. */
  .header-inner { flex-wrap: wrap; height: auto; min-height: 76px; row-gap: 0; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  body.nav-open .main-nav {
    display: flex; flex-direction: column; order: 4; flex-basis: 100%;
    gap: 14px; padding: 10px 0 6px; border-top: 1px solid rgba(255,255,255,.1);
  }
  body.nav-open .header-cta {
    display: inline-flex; order: 5; flex-basis: 100%; margin: 0 0 14px; justify-content: center;
  }
  .section { padding: 48px 0; }
  .admin-main { padding: 24px 16px; }
  .admin-grid, .prices, .form-row { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Keyboard focus visibility + reduced-motion respect */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cfg-cap-hint { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.cfg-cap-hint.over, .cfg-cap-hint.under { color: #c0392b; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

/* ---------------- catalogue flip-book ---------------- */
.catalog-head { text-align: center; padding: 54px 0 26px; }
.catalog-head .eyebrow { letter-spacing: .22em; }
.catalog-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 6px 0 12px; }
.catalog-head .lead { max-width: 620px; margin: 0 auto; color: var(--muted); }

.catalog-stage {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(201,162,90,.16), transparent 60%),
    linear-gradient(180deg, #0b1c33 0%, #0a1828 60%, #081320 100%);
  padding: 54px clamp(16px, 6vw, 90px) 30px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex-wrap: wrap;
}
.catalog-book-wrap { width: 100%; max-width: 1180px; }
/* dependency-free two-page flip-book */
.fb {
  position: relative; width: 100%; max-width: 1180px; margin: 0 auto;
  aspect-ratio: 2 / 1; perspective: 2600px;
  filter: drop-shadow(0 26px 40px rgba(0,0,0,.5));
  opacity: 0; transition: opacity .4s ease; cursor: pointer; user-select: none;
}
.fb.ready { opacity: 1; }
.fb-static { position: absolute; top: 0; width: 50%; height: 100%; overflow: hidden; background: #fff; }
.fb-left { left: 0; } .fb-right { right: 0; }
.fb-static img, .fb-face img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
.fb-blank { background: linear-gradient(135deg, #0e2138, #0a1828); }
.fb-leaf {
  position: absolute; top: 0; width: 50%; height: 100%; z-index: 6; display: none;
  transform-style: preserve-3d; transition: transform .8s cubic-bezier(.32,.08,.24,1); will-change: transform;
}
.fb-leaf.turning { display: block; }
.fb-leaf.fwd { left: 50%; transform-origin: left center; }
.fb-leaf.bwd { left: 0;   transform-origin: right center; }
.fb-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #fff; }
.fb-back { transform: rotateY(180deg); }
.fb-shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,0) 45%); }
.fb-leaf.fwd .fb-shade { background: linear-gradient(270deg, rgba(0,0,0,.4), rgba(0,0,0,0) 45%); }
.fb-leaf.flip .fb-shade { animation: fbShade .8s cubic-bezier(.32,.08,.24,1); }
@keyframes fbShade { 0% { opacity: 0; } 50% { opacity: .55; } 100% { opacity: 0; } }

.catalog-arrow {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22);
  font-size: 1.9rem; line-height: 1; display: grid; place-items: center; transition: .15s;
}
.catalog-arrow:hover { background: var(--gold); color: var(--blue-deep); border-color: var(--gold); }
.catalog-hint { flex-basis: 100%; text-align: center; color: rgba(255,255,255,.5); font-size: .82rem; margin: 18px 0 0; letter-spacing: .03em; }

.catalog-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; flex-wrap: wrap;
}
.catalog-counter { color: var(--muted); font-size: .95rem; }
.catalog-counter strong { color: var(--blue); font-size: 1.05rem; }
.catalog-actions { display: flex; gap: 10px; }

.catalog-thumbs-wrap { border-top: 1px solid var(--line); padding: 18px 0 60px; }
.catalog-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.catalog-thumb {
  flex: 0 0 auto; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 4px;
  background: none; cursor: pointer; overflow: hidden; opacity: .62; transition: .15s; scroll-snap-align: center;
}
.catalog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catalog-thumb:hover { opacity: 1; }
.catalog-thumb.active { opacity: 1; border-color: var(--gold); }

/* fullscreen: fill the viewport with the dark stage */
.catalog-stage.is-fullscreen,
.catalog-stage:fullscreen { padding: 4vh 6vw; overflow: auto; }
.catalog-stage:fullscreen .catalog-book-wrap { max-width: min(1300px, 92vw); }

@media (max-width: 760px) {
  .catalog-stage { padding: 30px 8px 20px; gap: 8px; }
  .catalog-arrow { width: 42px; height: 42px; font-size: 1.5rem; }
  .catalog-thumb { width: 52px; height: 52px; }
}

/* ============================================================
   Cookie consent bar (Consent Mode v2)
   ============================================================ */
.cookie-consent { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(6, 16, 33, .55); }
.cookie-consent[hidden] { display: none; }
/* [hidden] must win over the .btn / .cookie-details display rules below. */
.cookie-consent [hidden] { display: none !important; }
.has-consent .cookie-consent { display: none; }
.cookie-box { background: #fff; color: var(--ink); max-width: 640px; width: 100%; border-radius: 14px; padding: 22px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.cookie-title { margin: 0 0 8px; font-size: 1.15rem; }
.cookie-text { margin: 0 0 14px; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.cookie-link { color: var(--blue); text-decoration: underline; }
.cookie-details { margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.cookie-opt { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; line-height: 1.4; }
.cookie-opt input { margin-top: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.footer-links { margin-top: 10px; font-size: .8rem; opacity: .85; }
.footer-links a { color: inherit; text-decoration: underline; }
@media (max-width: 520px) {
  .cookie-consent { align-items: stretch; }
  .cookie-box { align-self: flex-end; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* admin: test-lead badge */
.badge-test { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .04em; background: #fef0cd; color: #8a6100; border: 1px solid #f0d488; border-radius: 5px; padding: 1px 6px; vertical-align: middle; }
.lead-test > td { opacity: .7; }
