:root {
    --navy-950: #061725;
    --navy-900: #071b2d;
    --navy-800: #0c2940;
    --navy-700: #143b57;
    --gold-500: #d8ae63;
    --gold-400: #e9c984;
    --gold-100: #f8efd9;
    --ink: #14202b;
    --muted: #697782;
    --line: #dfe5e9;
    --paper: #ffffff;
    --soft: #f5f7f8;
    --success: #176a48;
    --danger: #a73b3b;
    --warning: #a46c14;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 18px 55px rgba(8, 27, 44, .11);
    --shadow-soft: 0 10px 30px rgba(8, 27, 44, .08);
    --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
body, input, textarea, select, button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { border: 0; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 880px; }
.public-body { background: #fff; }
.section { padding: 86px 0; }
.section-light { background: var(--soft); }
.eyebrow { display: inline-block; color: #a77b32; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-900); line-height: 1.16; }
h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; }
h3 { font-size: 22px; letter-spacing: -.02em; }
p { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 800; font-size: 14px; transition: .2s ease; border: 1px solid transparent; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding-inline: 28px; }
.btn-gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 9px 25px rgba(216, 174, 99, .24); }
.btn-gold:hover { background: var(--gold-400); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-soft { background: #eef2f4; color: var(--navy-900); border-color: #dde4e8; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.06); backdrop-filter: blur(7px); }
.btn-whatsapp { background: #1fa463; color: #fff; }
.btn-block { width: 100%; }
.text-link { color: var(--navy-800); font-weight: 800; font-size: 14px; }
.text-link:hover { color: #9b722d; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: .25s ease; }
.site-header.scrolled { background: rgba(6, 23, 37, .96); box-shadow: 0 8px 26px rgba(0,0,0,.16); backdrop-filter: blur(12px); }
.header-inner { height: 88px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-900); }
.brand-light { color: #fff; }
.brand-mark { width: 44px; height: 44px; border: 1px solid var(--gold-500); border-radius: 50%; display: grid; place-items: center; color: var(--gold-400); font-family: Georgia, serif; font-weight: 700; }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-family: Georgia, serif; font-size: 21px; letter-spacing: .04em; }
.brand small { margin-top: 5px; font-size: 8px; letter-spacing: .18em; opacity: .78; }
.site-header .brand { color: #fff; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.main-nav a { font-size: 13px; font-weight: 750; opacity: .84; position: relative; }
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--gold-400); }
.main-nav a.active::after { content: ''; position: absolute; height: 2px; background: var(--gold-500); left: 0; right: 0; bottom: -10px; }
.nav-toggle { display: none; margin-left: auto; color: #fff; background: transparent; font-size: 27px; }
.header-cta { min-height: 42px; }

.hero { min-height: 790px; display: flex; align-items: center; color: #fff; position: relative; background: linear-gradient(90deg, rgba(5,20,33,.94) 0%, rgba(5,20,33,.68) 48%, rgba(5,20,33,.20) 100%), var(--hero-image) center/cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(transparent, rgba(6,23,37,.35)); pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding-top: 70px; }
.hero-kicker { color: var(--gold-400); font-size: 12px; letter-spacing: .24em; font-weight: 900; }
.hero h1 { color: #fff; max-width: 820px; margin: 20px 0 24px; }
.hero p { max-width: 720px; color: rgba(255,255,255,.78); font-size: 19px; }
.hero-actions { display: flex; gap: 13px; margin: 34px 0 35px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 700; }

.search-panel-wrap { position: relative; z-index: 5; margin-top: -54px; }
.search-panel { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 20px; display: grid; grid-template-columns: 1.25fr .8fr 1fr auto; gap: 14px; align-items: end; }
label, .search-panel > div, .filter-bar > div { display: grid; gap: 7px; color: var(--navy-900); font-size: 13px; font-weight: 750; }
input, textarea, select { width: 100%; color: var(--ink); background: #fff; border: 1px solid #d8e0e4; border-radius: var(--radius-sm); min-height: 46px; padding: 11px 13px; outline: none; transition: .18s ease; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(216,174,99,.16); }

.rental-banner { display: block; min-height: 310px; border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-soft); }
.rental-banner picture, .rental-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rental-banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,23,37,.90), rgba(6,23,37,.30)); }
.rental-banner-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 310px; padding: 45px; color: #fff; max-width: 660px; }
.rental-banner-content small { color: var(--gold-400); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.rental-banner-content strong { font-family: Georgia, serif; font-size: clamp(31px, 4vw, 48px); line-height: 1.12; margin: 10px 0; }
.rental-banner-content em { font-style: normal; color: rgba(255,255,255,.76); }
.rental-banner-content b { margin-top: 24px; color: var(--gold-400); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 9px 0 10px; }
.section-heading p { max-width: 660px; margin-bottom: 0; }
.section-heading.centered { justify-content: center; text-align: center; }
.boat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.boat-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid rgba(13,42,64,.07); transition: .25s ease; }
.boat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.boat-card-image { position: relative; display: block; aspect-ratio: 1.42; background: var(--navy-900); overflow: hidden; }
.boat-card-image img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.boat-card:hover .boat-card-image img { transform: scale(1.045); }
.card-badge { position: absolute; top: 14px; left: 14px; padding: 7px 11px; border-radius: 999px; background: var(--gold-500); color: var(--navy-950); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.image-placeholder { height: 100%; display: grid; place-items: center; color: var(--gold-400); font-family: Georgia, serif; font-size: 32px; }
.boat-card-body { padding: 21px; }
.boat-card-head { display: flex; justify-content: space-between; gap: 14px; }
.boat-card-head h3 { margin: 5px 0 0; }
.boat-type { align-self: start; background: #eef2f4; border-radius: 999px; padding: 6px 9px; color: var(--navy-700); font-size: 10px; font-weight: 800; white-space: nowrap; }
.boat-card-body > p { font-size: 14px; min-height: 68px; margin: 16px 0; }
.boat-facts { display: flex; flex-wrap: wrap; gap: 9px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #536570; font-size: 12px; font-weight: 700; }
.boat-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: 17px; }
.boat-card-footer small, .package-price small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.boat-card-footer strong { display: block; color: var(--navy-900); font-size: 20px; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-grid-large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { min-height: 370px; border-radius: var(--radius); overflow: hidden; position: relative; display: flex; align-items: flex-end; box-shadow: var(--shadow-soft); }
.service-card img, .service-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card img { transition: .5s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-overlay { background: linear-gradient(transparent 25%, rgba(5,20,33,.92)); }
.service-card > span:last-child { position: relative; z-index: 2; color: #fff; padding: 26px; }
.service-card small, .service-card strong, .service-card em { display: block; }
.service-card small { color: var(--gold-400); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.service-card strong { font-family: Georgia, serif; font-size: 27px; line-height: 1.15; margin: 8px 0; }
.service-card em { color: rgba(255,255,255,.74); font-style: normal; font-size: 13px; }

.supplier-cta { background: var(--navy-900); }
.supplier-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.supplier-cta h2 { color: #fff; margin: 10px 0; }
.supplier-cta p { color: rgba(255,255,255,.66); max-width: 750px; margin-bottom: 0; }

.page-hero { padding: 180px 0 80px; background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); color: #fff; }
.page-hero h1 { color: #fff; margin: 12px 0; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 730px; font-size: 18px; margin: 0; }
.filter-bar { display: grid; grid-template-columns: 1.2fr 1fr .75fr .9fr auto auto; gap: 12px; align-items: end; background: #fff; padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow-soft); margin-bottom: 24px; }
.result-line { margin: 0 0 20px; color: var(--muted); }
.empty-state { padding: 80px 20px; text-align: center; background: #fff; border-radius: var(--radius); }

.detail-hero { padding: 150px 0 45px; background: var(--navy-900); color: #fff; }
.breadcrumbs { display: flex; gap: 8px; color: rgba(255,255,255,.55); font-size: 12px; }
.breadcrumbs a:hover { color: var(--gold-400); }
.detail-title { margin-top: 34px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.detail-title h1 { color: #fff; margin: 8px 0 12px; }
.detail-title p { color: rgba(255,255,255,.7); max-width: 800px; margin: 0; }
.detail-type { padding: 9px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.detail-section { background: var(--soft); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 230px); gap: 10px; margin-top: -28px; position: relative; z-index: 2; }
.gallery-item { padding: 0; overflow: hidden; border-radius: 14px; background: #ddd; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-main { grid-row: 1 / 3; }
.gallery-empty { grid-column: 1/-1; min-height: 400px; display: grid; place-items: center; border-radius: var(--radius); background: var(--navy-900); color: #fff; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 28px; margin-top: 30px; align-items: start; }
.detail-main { display: grid; gap: 22px; }
.content-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-soft); }
.content-card h2 { margin: 8px 0 20px; font-size: 32px; }
.rich-text { color: #536570; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.spec-grid > div { padding: 16px; background: var(--soft); border-radius: 12px; }
.spec-grid small, .spec-grid strong { display: block; }
.spec-grid small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.spec-grid strong { margin-top: 5px; color: var(--navy-900); }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amenity-grid span { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy-800); font-size: 13px; font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list a { padding: 10px 14px; background: var(--gold-100); color: #7a571f; border-radius: 999px; font-weight: 800; font-size: 13px; }
.package-list { display: grid; gap: 14px; }
.package-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px; }
.package-card h3 { margin-bottom: 8px; }
.package-card p { margin-bottom: 6px; font-size: 13px; }
.package-price { text-align: right; }
.package-price strong { color: var(--navy-900); font-size: 25px; }
.package-detail { grid-column: 1/-1; padding-top: 12px; border-top: 1px solid var(--line); }
.contact-sticky { position: sticky; top: 110px; }
.contact-box { background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-box h2 { color: #fff; font-size: 30px; margin: 9px 0 13px; }
.contact-box p { color: rgba(255,255,255,.67); font-size: 14px; }
.contact-box .btn { margin-top: 10px; }
.contact-box ul { padding-left: 18px; margin: 22px 0 0; color: rgba(255,255,255,.6); font-size: 12px; }
.gallery-modal { position: fixed; z-index: 100; inset: 0; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 45px; }
.gallery-modal[hidden] { display: none; }
.gallery-modal img { max-height: 88vh; border-radius: 8px; }
.gallery-modal button { position: absolute; right: 20px; top: 12px; background: transparent; color: #fff; font-size: 42px; }

.service-detail-hero { min-height: 560px; padding: 180px 0 80px; display: flex; align-items: flex-end; background: linear-gradient(rgba(5,20,33,.35), rgba(5,20,33,.9)), var(--service-image) center/cover no-repeat; }
.service-detail-hero h1 { color: #fff; margin: 10px 0; }
.service-detail-hero p { color: rgba(255,255,255,.76); font-size: 19px; }
.prose .btn { margin-top: 24px; }

.form-container { max-width: 1000px; }
.public-form { display: grid; gap: 20px; }
.form-section { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); }
.form-section-title { display: flex; gap: 18px; margin-bottom: 24px; align-items: flex-start; }
.form-section-title > span { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: var(--gold-400); font-weight: 900; }
.form-section-title h2 { font-size: 25px; margin: 0 0 4px; }
.form-section-title p { margin: 0; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.upload-zone { min-height: 170px; border: 2px dashed #c7d1d7; border-radius: 14px; display: grid; place-items: center; align-content: center; text-align: center; padding: 20px; cursor: pointer; background: #fafbfb; }
.upload-zone input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.upload-zone span { color: var(--navy-900); font-size: 18px; }
.upload-zone small { color: var(--muted); }
.upload-zone .file-ok { color: var(--success); }
.upload-zone .file-bad { color: var(--danger); }
.upload-zone.compact { min-height: 120px; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--navy-900); padding: 28px; border-radius: var(--radius); }
.form-submit p { color: rgba(255,255,255,.68); margin: 0; max-width: 650px; font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.contact-large { background: var(--navy-900); border-radius: var(--radius-lg); padding: 48px; color: #fff; }
.contact-large h2 { color: #fff; margin: 10px 0; }
.contact-large p { color: rgba(255,255,255,.68); }
.contact-cards { display: grid; gap: 15px; }
.contact-cards > * { display: flex; flex-direction: column; justify-content: center; background: #fff; padding: 25px; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.contact-cards small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-cards strong { color: var(--navy-900); font-size: 21px; margin-top: 5px; }

.flash-wrap { position: relative; z-index: 20; }
.flash { padding: 14px 17px; border-radius: 12px; margin: 18px 0; font-size: 14px; }
.flash ul { margin: 8px 0 0; }
.flash-success { background: #e7f5ee; color: var(--success); border: 1px solid #bfe4d1; }
.flash-error { background: #fff0f0; color: var(--danger); border: 1px solid #f1caca; }
.site-header + main .flash-wrap { padding-top: 95px; margin-bottom: -95px; }
.pagination-wrap { margin-top: 28px; }
.pagination { display: flex; list-style: none; padding: 0; gap: 6px; flex-wrap: wrap; }
.page-link { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.page-item.active .page-link { background: var(--navy-900); color: #fff; }
.page-item.disabled .page-link { opacity: .45; }

.site-footer { background: var(--navy-950); color: #fff; padding: 68px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr; gap: 70px; }
.footer-grid p { color: rgba(255,255,255,.55); max-width: 480px; margin-top: 20px; }
.footer-grid h3 { color: #fff; font-size: 15px; margin-bottom: 15px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { color: rgba(255,255,255,.66); font-size: 13px; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 45px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.4); font-size: 11px; }

/* Login */
.login-body { min-height: 100vh; background: var(--soft); }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.2fr .8fr; }
.login-visual { background: linear-gradient(rgba(5,20,33,.55), rgba(5,20,33,.9)), url('../../images/demo/boat-2.jpg') center/cover; padding: 55px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.login-visual h1 { color: #fff; max-width: 720px; }
.login-visual p { color: rgba(255,255,255,.68); max-width: 630px; }
.login-panel { display: grid; place-items: center; padding: 40px; }
.login-panel form { width: min(100%, 430px); background: #fff; padding: 38px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 17px; }
.login-panel h2 { margin: 0; }
.login-panel p { margin: -10px 0 4px; }
.check-row { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.check-row input { width: 18px; min-height: 18px; padding: 0; }
.demo-note { text-align: center; color: var(--muted); }

/* Admin */
.admin-body { background: #eef2f4; min-height: 100vh; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 255px minmax(0,1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; background: var(--navy-950); color: #fff; padding: 24px 16px; display: flex; flex-direction: column; z-index: 60; }
.admin-brand { padding: 0 10px 25px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-nav { display: grid; gap: 5px; margin-top: 22px; }
.admin-nav a { padding: 11px 13px; border-radius: 9px; color: rgba(255,255,255,.66); font-size: 13px; font-weight: 750; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(216,174,99,.13); color: var(--gold-400); }
.admin-sidebar-footer { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 12px 0; display: grid; gap: 10px; }
.admin-sidebar-footer a, .link-button { background: transparent; color: rgba(255,255,255,.58); font-size: 12px; padding: 0; text-align: left; }
.admin-main { min-width: 0; }
.admin-topbar { height: 72px; padding: 0 28px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 15px; position: sticky; top: 0; z-index: 20; }
.admin-topbar div { display: flex; flex-direction: column; }
.admin-topbar strong { color: var(--navy-900); }
.admin-topbar small { color: var(--muted); }
.admin-menu-toggle { display: none; background: #eef2f4; border-radius: 8px; width: 40px; height: 40px; }
.admin-content { padding: 28px; max-width: 1600px; margin: auto; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.admin-heading h1 { font-size: 32px; margin-bottom: 5px; }
.admin-heading p { margin: 0; }
.heading-actions { display: flex; gap: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-bottom: 22px; }
.stat-grid article { background: #fff; border-radius: 14px; padding: 20px; border: 1px solid var(--line); }
.stat-grid small, .stat-grid strong, .stat-grid span { display: block; }
.stat-grid small { color: var(--muted); font-weight: 700; }
.stat-grid strong { color: var(--navy-900); font-size: 35px; line-height: 1.15; margin: 8px 0; }
.stat-grid span { color: #89949b; font-size: 11px; }
.admin-grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 6px 20px rgba(8,27,44,.035); }
.card-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 18px; }
.card-heading h2 { font-size: 20px; margin: 0 0 3px; }
.card-heading p { margin: 0; font-size: 12px; }
.card-heading > a { color: #9a702d; font-size: 12px; font-weight: 800; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 11px 10px; text-align: left; color: #79868e; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
td { padding: 14px 10px; border-bottom: 1px solid #edf0f2; vertical-align: middle; }
td strong, td small { display: block; }
td small { color: var(--muted); margin-top: 3px; }
td a { color: #8b641f; font-weight: 800; }
.table-entity { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.table-entity img { width: 58px; height: 45px; border-radius: 7px; object-fit: cover; }
.table-actions { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.table-actions form { margin: 0; }
.table-actions button { background: transparent; color: var(--danger); padding: 0; font-size: 13px; font-weight: 800; }
.status { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.status-published, .status-active, .status-approved { background: #e4f4ec; color: var(--success); }
.status-draft, .status-pending { background: #fff4da; color: var(--warning); }
.status-reviewing { background: #e7efff; color: #315eac; }
.status-passive, .status-rejected { background: #f6e5e5; color: var(--danger); }
.form-card { margin-bottom: 20px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; }
.form-actions { display: flex; justify-content: flex-end; padding: 10px 0 30px; }
.admin-check { align-self: end; min-height: 46px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 16px; }
.admin-image-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 15px; }
.admin-image-grid img { width: 100%; height: 120px; object-fit: cover; border-radius: 9px; }
.admin-image-grid label span { display: flex; gap: 5px; align-items: center; font-size: 11px; margin-top: 5px; }
.admin-image-grid input { width: auto; min-height: auto; }
.package-section { margin-top: 20px; }
.package-editor { display: grid; gap: 15px; }
.package-editor-row { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fafbfb; }
.package-editor-head { display: flex; justify-content: space-between; margin-bottom: 15px; color: var(--navy-900); }
.package-editor-head button { background: transparent; color: var(--danger); font-size: 12px; font-weight: 800; }
.form-preview { margin-top: 10px; width: 220px; height: 130px; object-fit: cover; border-radius: 10px; }
.admin-filter { display: flex; gap: 10px; margin-bottom: 16px; }
.admin-filter select { max-width: 230px; }
.application-detail { grid-template-columns: minmax(0,1fr) 360px; align-items: start; }
.application-detail > div { display: grid; gap: 20px; }
.application-images { grid-template-columns: repeat(5,1fr); }
.application-images img { height: 120px; }
.detail-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; margin: 0; }
.detail-list > div { padding: 13px 0; border-bottom: 1px solid #edf0f2; }
.detail-list > div:nth-child(odd) { padding-right: 18px; }
.detail-list dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.detail-list dd { margin: 4px 0 0; color: var(--navy-900); }
.detail-list.vertical { grid-template-columns: 1fr; }
.sticky-admin { position: sticky; top: 95px; }
.sticky-admin form { display: grid; gap: 15px; }
.sticky-admin hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.sticky-admin > small { display: block; color: var(--muted); margin-top: 10px; }
.converted-note { display: grid; gap: 7px; padding: 14px; background: #e7f5ee; border-radius: 10px; }
.converted-note a { color: var(--success); font-weight: 800; }
.markup-card { background: var(--navy-900); color: #fff; }
.markup-card h2 { color: #fff; }
.markup-card p { color: rgba(255,255,255,.65); }
.markup-input { display: flex; align-items: center; gap: 10px; }
.markup-input input { font-size: 35px; font-weight: 900; color: var(--navy-900); }
.markup-input span { font-size: 35px; color: var(--gold-400); }
.formula-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 13px; border-radius: 10px; margin: 15px 0; color: var(--gold-400); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }

@media (max-width: 1120px) {
    .main-nav { gap: 16px; }
    .main-nav a { font-size: 12px; }
    .header-cta { display: none; }
    .boat-grid { grid-template-columns: repeat(2,1fr); }
    .service-grid { grid-template-columns: repeat(2,1fr); }
    .stat-grid { grid-template-columns: repeat(3,1fr); }
    .admin-form-grid { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: repeat(3,1fr); }
    .filter-bar .btn { width: 100%; }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 78px; margin: 0; padding: 18px; background: var(--navy-900); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav a.active::after { display: none; }
    .hero { min-height: 700px; }
    .search-panel { grid-template-columns: repeat(2,1fr); }
    .search-panel .btn { width: 100%; }
    .detail-layout, .contact-grid { grid-template-columns: 1fr; }
    .contact-sticky { position: static; }
    .spec-grid { grid-template-columns: repeat(2,1fr); }
    .gallery { grid-template-columns: 2fr 1fr; }
    .gallery-item:nth-child(n+4) { display: none; }
    .supplier-cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1/-1; }
    .admin-shell { display: block; }
    .admin-sidebar { position: fixed; left: -280px; width: 255px; transition: .2s ease; }
    .admin-sidebar.open { left: 0; box-shadow: 15px 0 35px rgba(0,0,0,.2); }
    .admin-menu-toggle { display: block; }
    .admin-grid-2, .application-detail { grid-template-columns: 1fr; }
    .sticky-admin { position: static; }
    .login-shell { grid-template-columns: 1fr; }
    .login-visual { min-height: 430px; }
}

@media (max-width: 700px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 60px 0; }
    .header-inner { height: 76px; }
    .brand-mark { width: 39px; height: 39px; }
    .brand strong { font-size: 18px; }
    .hero { min-height: 650px; background-position: 62% center; }
    .hero-content { padding-top: 40px; }
    .hero h1 { font-size: 44px; }
    .hero p { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-trust { gap: 9px; flex-direction: column; }
    .search-panel-wrap { margin-top: -35px; }
    .search-panel, .filter-bar { grid-template-columns: 1fr; }
    .rental-banner, .rental-banner-content { min-height: 390px; }
    .rental-banner-content { padding: 28px; justify-content: flex-end; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .boat-grid, .service-grid, .service-grid-large { grid-template-columns: 1fr; }
    .service-card { min-height: 340px; }
    .page-hero { padding: 135px 0 60px; }
    .detail-hero { padding-top: 125px; }
    .detail-title { align-items: flex-start; flex-direction: column; }
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 270px 120px; margin-top: 0; }
    .gallery-main { grid-column: 1/-1; grid-row: auto; }
    .gallery-item:nth-child(3) { display: block; }
    .content-card { padding: 23px; }
    .content-card h2 { font-size: 27px; }
    .spec-grid, .amenity-grid { grid-template-columns: 1fr 1fr; }
    .package-card { grid-template-columns: 1fr; }
    .package-price { text-align: left; }
    .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
    .span-2, .span-3 { grid-column: auto; }
    .form-section { padding: 22px; }
    .form-submit { align-items: stretch; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .admin-content { padding: 18px 13px; }
    .admin-heading { align-items: flex-start; flex-direction: column; }
    .heading-actions { width: 100%; flex-wrap: wrap; }
    .stat-grid { grid-template-columns: repeat(2,1fr); }
    .admin-card { padding: 15px; }
    .admin-image-grid, .application-images { grid-template-columns: repeat(2,1fr); }
    .detail-list { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .login-visual { min-height: 380px; padding: 30px; }
    .login-panel { padding: 20px; }
    .login-panel form { padding: 25px; }
}

@media (max-width: 430px) {
    .hero h1 { font-size: 38px; }
    .spec-grid, .amenity-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Belek Marina Yacht Rental — public frontend upgrade
   ========================================================= */
:root {
    --sea-950: #04131e;
    --sea-900: #071b2d;
    --sea-800: #0a3142;
    --sea-700: #0e5263;
    --sea-600: #0e6574;
    --sea-100: #e9f3f3;
    --sand-50: #fbf8f1;
    --sand-100: #f4ecdc;
    --marina-gold: #d8ae63;
    --marina-gold-light: #f4d89d;
}

body.public-body { background: #fff; overflow-x: hidden; }
.public-body h1,
.public-body h2,
.public-body h3 { font-family: Georgia, "Times New Roman", serif; }
.public-body :focus-visible { outline: 3px solid rgba(216, 174, 99, .55); outline-offset: 3px; }

.site-loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--sea-950); transition: opacity .35s ease, visibility .35s ease; }
.site-loader.is-hidden { opacity: 0; visibility: hidden; }
.site-loader-card { display: grid; justify-items: center; color: #fff; letter-spacing: .18em; text-align: center; }
.site-loader-card img { width: 74px; height: 74px; animation: marinaPulse .7s ease-in-out infinite alternate; }
.site-loader-card span { margin-top: 15px; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; }
.site-loader-card small { margin-top: 4px; color: var(--marina-gold-light); font-size: 9px; letter-spacing: .32em; }
@keyframes marinaPulse { from { transform: translateY(0) scale(.98); opacity: .75; } to { transform: translateY(-4px) scale(1.03); opacity: 1; } }

.site-header { background: linear-gradient(180deg, rgba(4, 19, 30, .74), rgba(4, 19, 30, 0)); }
.site-header.scrolled { background: rgba(4, 19, 30, .96); }
.header-inner { height: 92px; }
.brand-logo { display: inline-flex; width: 288px; flex: 0 0 auto; }
.brand-logo img { width: 100%; height: auto; }
.main-nav { gap: 22px; }
.main-nav a { font-size: 12px; letter-spacing: .025em; }
.nav-toggle { width: 44px; height: 44px; padding: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 3px; }

.marina-hero { position: relative; min-height: 830px; display: flex; align-items: center; overflow: hidden; color: #fff; background: linear-gradient(90deg, rgba(4,19,30,.96) 0%, rgba(4,19,30,.79) 43%, rgba(4,19,30,.24) 76%, rgba(4,19,30,.2) 100%), var(--hero-image) center/cover no-repeat; }
.marina-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(244,216,157,.16), transparent 30%), linear-gradient(180deg, transparent 70%, rgba(4,19,30,.6)); }
.marina-hero-glow { position: absolute; width: 520px; height: 520px; right: -140px; top: 50px; border-radius: 50%; border: 1px solid rgba(244,216,157,.2); box-shadow: 0 0 0 70px rgba(244,216,157,.025), 0 0 0 140px rgba(244,216,157,.018); }
.marina-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .55fr); gap: 72px; align-items: end; padding-top: 116px; padding-bottom: 86px; }
.marina-hero-copy h1 { max-width: 820px; margin: 22px 0 24px; color: #fff; font-size: clamp(52px, 6.2vw, 88px); line-height: 1.02; }
.marina-hero-copy > p { max-width: 710px; color: rgba(255,255,255,.76); font-size: 18px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; }
.hero-kicker i { width: 34px; height: 1px; background: var(--marina-gold); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 760px; margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-proof div { padding-right: 20px; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { color: #fff; font-size: 13px; }
.hero-proof span { margin-top: 4px; color: rgba(255,255,255,.55); font-size: 11px; }
.hero-route-card { align-self: end; padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(4,19,30,.48); backdrop-filter: blur(16px); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.hero-route-card > span, .hero-route-card > strong, .hero-route-card > p, .hero-route-card > a { display: block; }
.route-card-label { color: var(--marina-gold-light); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.hero-route-card > strong { margin: 13px 0 10px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.15; }
.hero-route-card > p { color: rgba(255,255,255,.7); font-size: 13px; }
.hero-route-card > div { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0; }
.hero-route-card > div span { padding: 7px 9px; border-radius: 999px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.84); font-size: 10px; }
.hero-route-card > a { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: var(--marina-gold-light); font-size: 12px; font-weight: 800; }
.hero-route-card > a b { float: right; }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; justify-items: center; gap: 7px; color: rgba(255,255,255,.65); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.hero-scroll span { width: 1px; height: 30px; background: linear-gradient(var(--marina-gold), transparent); }

.quick-search { position: relative; z-index: 8; margin-top: -42px; }
.search-panel-marina { border: 1px solid rgba(7,27,45,.08); box-shadow: 0 26px 70px rgba(4,19,30,.15); }
.search-panel-marina label, .marina-filter label { text-transform: uppercase; letter-spacing: .08em; font-size: 10px; color: #62727a; }

.marina-intro { padding-top: 105px; }
.intro-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 90px; align-items: start; }
.intro-title h2 { margin: 12px 0 0; font-size: clamp(36px, 4.5vw, 58px); }
.intro-copy p { font-size: 18px; line-height: 1.85; }
.trust-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 60px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip span { padding: 22px 18px; border-right: 1px solid var(--line); color: #4b5d67; font-size: 12px; font-weight: 700; }
.trust-strip span:last-child { border-right: 0; }
.trust-strip b { margin-right: 8px; color: var(--marina-gold); }
.section-sea-soft { background: linear-gradient(180deg, #eff7f7, #f8fbfb); }

.experience-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.experience-card { min-height: 470px; position: relative; overflow: hidden; border-radius: 24px; box-shadow: 0 16px 35px rgba(4,19,30,.1); }
.experience-card img, .experience-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.experience-card img { transition: transform .65s ease; }
.experience-card:hover img { transform: scale(1.06); }
.experience-shade { background: linear-gradient(180deg, rgba(4,19,30,.06) 10%, rgba(4,19,30,.88) 87%); }
.experience-index { position: absolute; top: 18px; right: 19px; color: rgba(255,255,255,.62); font-family: Georgia, serif; font-size: 21px; }
.experience-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 27px; color: #fff; }
.experience-content small, .experience-content strong, .experience-content em, .experience-content b { display: block; }
.experience-content small { color: var(--marina-gold-light); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.experience-content strong { margin: 10px 0 8px; font-family: Georgia, serif; font-size: 29px; line-height: 1.1; }
.experience-content em { min-height: 52px; color: rgba(255,255,255,.69); font-style: normal; font-size: 12px; }
.experience-content b { margin-top: 18px; font-size: 11px; color: #fff; }
.service-list-grid .experience-card { min-height: 520px; }

.tour-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.tour-card { overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid rgba(7,27,45,.08); box-shadow: 0 14px 36px rgba(4,19,30,.08); transition: transform .25s ease, box-shadow .25s ease; }
.tour-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(4,19,30,.14); }
.tour-card-image { position: relative; display: block; aspect-ratio: 1.55; overflow: hidden; background: var(--sea-900); }
.tour-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.tour-card:hover .tour-card-image img { transform: scale(1.045); }
.tour-duration { position: absolute; right: 14px; bottom: 14px; padding: 7px 11px; border-radius: 999px; background: rgba(4,19,30,.78); color: #fff; backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; }
.tour-card-body { padding: 22px; }
.tour-category { color: #a77931; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.tour-card h3 { margin: 7px 0 10px; font-size: 25px; }
.tour-card p { min-height: 67px; font-size: 13px; }
.tour-meta { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tour-meta span { padding: 5px 8px; border-radius: 999px; background: #eef5f5; color: #48616b; font-size: 10px; font-weight: 700; }
.tour-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: 16px; }
.tour-card-footer small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.tour-card-footer strong { display: block; color: var(--sea-900); font-size: 20px; }
.card-arrow { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sea-900); color: #fff; font-size: 20px; transition: .2s ease; }
.card-arrow:hover { background: var(--marina-gold); color: var(--sea-950); }
.image-location { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 7px 10px; border-radius: 999px; background: rgba(4,19,30,.72); color: #fff; font-size: 9px; font-weight: 700; backdrop-filter: blur(8px); }
.boat-card-head .eyebrow { font-size: 9px; }
.boat-card-head h3 { margin-top: 7px; }

.banner-section { padding-top: 20px; }
.marina-banner { min-height: 360px; }
.marina-banner .rental-banner-content { min-height: 360px; }

.page-hero-marina { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 20%, rgba(216,174,99,.18), transparent 24%), linear-gradient(120deg, var(--sea-950), var(--sea-800)); }
.page-hero-marina::after { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; right: -100px; bottom: -280px; box-shadow: 0 0 0 65px rgba(255,255,255,.018); }
.page-hero-marina .container { position: relative; z-index: 1; }
.page-hero-marina h1 { color: #fff; }
.page-hero-marina p { max-width: 760px; color: rgba(255,255,255,.7); }
.marina-filter { padding: 18px; background: #fff; border-radius: 18px; border: 1px solid rgba(7,27,45,.08); box-shadow: 0 14px 35px rgba(4,19,30,.06); }
.listing-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 46px 0 26px; }
.listing-heading h2 { margin: 6px 0 0; }
.listing-heading p { margin: 0; }

.tour-detail-hero { position: relative; min-height: 680px; display: flex; align-items: end; overflow: hidden; color: #fff; }
.tour-detail-hero > img, .tour-detail-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-detail-shade { background: linear-gradient(180deg, rgba(4,19,30,.15), rgba(4,19,30,.92)); }
.tour-detail-copy { position: relative; z-index: 2; padding-bottom: 70px; }
.tour-detail-copy h1 { max-width: 920px; margin: 13px 0 15px; color: #fff; }
.tour-detail-copy p { max-width: 760px; color: rgba(255,255,255,.75); font-size: 17px; }
.back-link { display: inline-block; margin-bottom: 24px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; }
.tour-detail-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.tour-detail-facts span { padding: 9px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(4,19,30,.38); font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); }
.tour-detail-layout { align-items: start; }
.highlight-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.highlight-grid span { padding: 17px; border-radius: 13px; background: #eef6f6; color: var(--sea-800); font-size: 13px; font-weight: 750; }
.route-line { padding: 20px; border-left: 3px solid var(--marina-gold); background: var(--sand-50); color: var(--sea-800); font-weight: 700; }
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.included-card { border-top: 4px solid #2b8b65; }
.excluded-card { border-top: 4px solid #b8713f; }
.related-block { margin-top: 48px; }
.compact-tour-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.availability-card { border: 1px solid rgba(7,27,45,.1); box-shadow: 0 20px 50px rgba(4,19,30,.12); }
.availability-card > small { display: block; margin-top: 18px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; }
.availability-card > strong { display: block; margin: 3px 0 12px; color: var(--sea-900); font-size: 30px; }
.availability-note { margin-top: 14px !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.5; }

.detail-hero-marina { background: linear-gradient(120deg, var(--sea-950), var(--sea-800)); }
.detail-hero-marina h1 { color: #fff; }
.detail-hero-marina p { color: rgba(255,255,255,.7); }
.detail-hero-marina .breadcrumbs, .detail-hero-marina .breadcrumbs a { color: rgba(255,255,255,.6); }
.amenity-grid span { position: relative; padding-left: 20px; }
.amenity-grid span::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border: 2px solid var(--marina-gold); border-radius: 50%; }

.process-section { background: var(--sea-950); color: #fff; }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: start; }
.process-copy h2 { color: #fff; margin: 11px 0 18px; }
.process-copy p { color: rgba(255,255,255,.64); font-size: 16px; }
.process-steps { border-top: 1px solid rgba(255,255,255,.14); }
.process-steps article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.process-steps article > span { color: var(--marina-gold-light); font-family: Georgia, serif; font-size: 19px; }
.process-steps h3 { margin: 0 0 4px; color: #fff; font-size: 20px; }
.process-steps p { margin: 0; color: rgba(255,255,255,.55); font-size: 12px; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 85px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 38px 22px 0; color: var(--sea-900); font-family: Georgia, serif; font-size: 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--marina-gold); font-family: Arial, sans-serif; font-size: 25px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 40px 20px 0; margin: 0; }

.contact-hub { position: fixed; z-index: 90; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: 12px; }
.contact-hub-menu { width: 300px; display: grid; gap: 8px; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97); transform-origin: bottom right; transition: .22s ease; }
.contact-hub.is-open .contact-hub-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.contact-hub-menu a { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid rgba(7,27,45,.08); box-shadow: 0 14px 34px rgba(4,19,30,.15); }
.contact-hub-menu a:hover { transform: translateX(-4px); }
.contact-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--sea-900); color: #fff; font-size: 10px; font-weight: 900; }
.contact-icon-whatsapp { background: #1d9a5b; }
.contact-hub-menu strong, .contact-hub-menu small { display: block; }
.contact-hub-menu strong { color: var(--sea-900); font-size: 13px; }
.contact-hub-menu small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.contact-hub-trigger { min-width: 142px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 7px; border-radius: 999px; background: var(--sea-900); color: #fff; border: 1px solid rgba(244,216,157,.35); box-shadow: 0 15px 35px rgba(4,19,30,.28); font-weight: 800; }
.contact-hub-trigger img { width: 44px; height: 44px; }
.contact-hub.is-open .contact-hub-trigger { background: var(--marina-gold); color: var(--sea-950); }

.site-footer { background: var(--sea-950); }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 50px; padding: 72px 0 50px; }
.footer-main h3 { color: #fff; font-family: Arial, sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-main a { display: block; margin: 9px 0; color: rgba(255,255,255,.65); font-size: 13px; }
.footer-main a:hover { color: var(--marina-gold-light); }
.footer-main p { color: rgba(255,255,255,.55); font-size: 13px; }
.footer-brand img { max-width: 300px; }
.footer-brand p { max-width: 420px; margin: 22px 0 15px; }
.footer-domain { color: var(--marina-gold-light); font-size: 11px; letter-spacing: .1em; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-visual > img { width: 100%; min-height: 560px; object-fit: cover; border-radius: 26px; }
.about-visual > span { position: absolute; bottom: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(4,19,30,.88); color: #fff; backdrop-filter: blur(10px); }
.about-visual > span:nth-of-type(1) { left: 18px; }
.about-visual > span:nth-of-type(2) { left: 155px; }
.about-visual strong, .about-visual span { display: block; }
.about-visual strong { font-size: 25px; }
.about-copy h2 { margin: 12px 0 20px; }
.about-copy > p { font-size: 16px; line-height: 1.8; }
.value-list { margin-top: 30px; }
.value-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.value-list > div:last-child { border-bottom: 1px solid var(--line); }
.value-list b { color: var(--marina-gold); font-family: Georgia, serif; }
.value-list strong, .value-list small { display: block; }
.value-list small { margin-top: 3px; color: var(--muted); }
.principle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.principle-grid article { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid rgba(7,27,45,.08); }
.principle-grid article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sea-100); color: var(--sea-700); font-weight: 900; }
.principle-grid h3 { margin: 20px 0 10px; font-size: 22px; }

.contact-page-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-story h2 { margin: 12px 0 18px; }
.contact-process { display: grid; gap: 10px; margin-top: 28px; }
.contact-process span { padding: 13px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--sea-800); font-weight: 700; font-size: 13px; }
.contact-process b { margin-right: 10px; color: var(--marina-gold); }
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-methods a { min-height: 165px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid rgba(7,27,45,.08); box-shadow: 0 12px 28px rgba(4,19,30,.05); }
.contact-methods a:hover { transform: translateY(-3px); }
.contact-methods small { color: #9d742f; font-weight: 900; letter-spacing: .12em; }
.contact-methods strong { margin: 8px 0 4px; color: var(--sea-900); font-size: 20px; }
.contact-methods span { color: var(--muted); font-size: 11px; }
.contact-methods .whatsapp-method { background: #176f4b; }
.contact-methods .whatsapp-method small, .contact-methods .whatsapp-method strong, .contact-methods .whatsapp-method span { color: #fff; }
.location-card { display: flex; justify-content: space-between; gap: 35px; align-items: center; padding: 35px; border-radius: 24px; background: var(--sand-50); border: 1px solid var(--sand-100); }
.location-card h2 { margin: 8px 0; }
.location-tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 450px; justify-content: flex-end; }
.location-tags span { padding: 8px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 11px; font-weight: 700; }

.admin-logo { display: block; padding: 4px 8px 22px; }
.admin-logo img { width: 100%; max-width: 225px; }
.login-logo img { width: min(100%, 320px); }
.checkbox-stack { display: flex; gap: 18px; align-items: end; }
.checkbox-stack .admin-check { min-height: auto; }
.admin-card input[type="checkbox"], .public-form input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; accent-color: var(--marina-gold); }
.admin-card select, .admin-card input, .admin-card textarea,
.public-form select, .public-form input, .public-form textarea,
.filter-bar select, .filter-bar input { border-color: #cfdadd; }
.admin-card select:hover, .admin-card input:hover, .admin-card textarea:hover,
.public-form select:hover, .public-form input:hover, .public-form textarea:hover { border-color: #9fb0b7; }

@media (max-width: 1180px) {
    .brand-logo { width: 240px; }
    .main-nav { gap: 14px; }
    .main-nav a { font-size: 11px; }
    .experience-grid { grid-template-columns: repeat(2,1fr); }
    .tour-grid { grid-template-columns: repeat(2,1fr); }
    .footer-main { grid-template-columns: 1.4fr repeat(2,1fr); }
    .footer-main > div:last-child { grid-column: 2/4; }
}

@media (max-width: 980px) {
    .marina-hero { min-height: 790px; }
    .marina-hero-grid { grid-template-columns: 1fr; gap: 34px; align-items: center; }
    .hero-route-card { max-width: 420px; }
    .intro-grid, .process-grid, .faq-grid, .about-grid, .contact-page-grid { grid-template-columns: 1fr; gap: 45px; }
    .trust-strip { grid-template-columns: repeat(2,1fr); }
    .trust-strip span:nth-child(2) { border-right: 0; }
    .trust-strip span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .included-grid { grid-template-columns: 1fr; }
    .principle-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-main > div:first-child, .footer-main > div:last-child { grid-column: 1/-1; }
}

@media (max-width: 760px) {
    .header-inner { height: 78px; }
    .brand-logo { width: 210px; }
    .site-header .main-nav { top: 70px; }
    .marina-hero { min-height: 760px; background-position: 65% center; }
    .marina-hero-grid { padding-top: 100px; padding-bottom: 68px; }
    .marina-hero-copy h1 { font-size: 47px; }
    .hero-proof { grid-template-columns: 1fr; gap: 13px; }
    .hero-proof div { padding-right: 0; }
    .hero-route-card { display: none; }
    .quick-search { margin-top: -24px; }
    .marina-intro { padding-top: 82px; }
    .experience-grid, .tour-grid, .compact-tour-grid, .contact-methods { grid-template-columns: 1fr; }
    .experience-card { min-height: 430px; }
    .tour-card p { min-height: auto; }
    .listing-heading { align-items: flex-start; flex-direction: column; }
    .tour-detail-hero { min-height: 620px; }
    .tour-detail-copy { padding-bottom: 48px; }
    .highlight-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-main > div:last-child { grid-column: auto; }
    .location-card { align-items: flex-start; flex-direction: column; }
    .location-tags { justify-content: flex-start; }
    .contact-hub { right: 12px; bottom: 12px; }
    .contact-hub-menu { width: min(310px, calc(100vw - 24px)); }
    .contact-hub-trigger { min-width: 58px; width: 58px; height: 58px; padding: 6px; }
    .contact-hub-trigger span { display: none; }
    .about-visual > img { min-height: 430px; }
    .about-visual > span:nth-of-type(2) { left: auto; right: 18px; }
    .checkbox-stack { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (max-width: 520px) {
    .brand-logo { width: 186px; }
    .marina-hero-copy h1 { font-size: 41px; }
    .marina-hero-copy > p { font-size: 15px; }
    .hero-actions .btn { width: 100%; }
    .trust-strip { grid-template-columns: 1fr; }
    .trust-strip span { border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-strip span:last-child { border-bottom: 0; }
    .experience-card { min-height: 390px; }
    .experience-content strong { font-size: 26px; }
    .tour-detail-hero { min-height: 570px; }
    .tour-detail-copy h1 { font-size: 42px; }
    .footer-main { padding-top: 55px; }
    .about-visual > span { position: static; display: inline-block; margin: 10px 8px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .site-loader-card img { animation: none; }
}


/* Upgrade v2 — yönetilebilir slider, iyzico ödeme ve yatay taşma düzeltmeleri */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
main, section, header, footer, .container, .admin-main, .admin-content { min-width: 0; max-width: 100%; }
.container > *, .contact-page-grid > *, .contact-methods > *, .detail-layout > *, .process-grid > *, .faq-grid > *, .footer-main > *, .form-grid > *, .payment-layout > * { min-width: 0; }
h1, h2, h3, p, strong, small, .contact-process span, .contact-methods a, .footer-main a, .footer-main p { overflow-wrap: anywhere; word-break: normal; }

.home-slider-section { padding: 58px 0 14px; }
.banner-slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); background: var(--sea-950); }
.banner-slider-track { position: relative; min-height: 360px; }
.banner-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .45s ease, visibility .45s ease; }
.banner-slide.is-active { position: relative; visibility: visible; opacity: 1; pointer-events: auto; }
.banner-slider .rental-banner { border-radius: 0; box-shadow: none; }
.banner-arrow { position: absolute; z-index: 5; top: 50%; width: 44px; height: 44px; transform: translateY(-50%); border-radius: 50%; background: rgba(6,23,37,.68); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 30px; line-height: 1; backdrop-filter: blur(8px); }
.banner-arrow:hover { background: var(--gold-500); color: var(--navy-950); }
.banner-prev { left: 16px; }
.banner-next { right: 16px; }
.banner-dots { position: absolute; z-index: 5; left: 50%; bottom: 16px; display: flex; gap: 8px; transform: translateX(-50%); }
.banner-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; background: rgba(255,255,255,.52); transition: width .2s ease, background .2s ease; }
.banner-dots button.is-active { width: 28px; background: var(--gold-400); }

.package-pay-button { margin-top: 12px; min-height: 40px; padding-inline: 16px; }
.footer-payment-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 20px; padding: 13px; width: fit-content; max-width: 100%; border-radius: 12px; background: rgba(255,255,255,.92); }
.footer-payment-logos img:first-child { width: 140px; height: auto; }
.footer-payment-logos img:last-child { width: 155px; height: auto; }

.payment-hero { padding-bottom: 75px; }
.payment-layout { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 28px; align-items: start; }
.payment-form, .payment-summary { border-radius: 24px; background: #fff; border: 1px solid rgba(7,27,45,.08); box-shadow: var(--shadow-soft); }
.payment-form { padding: 34px; }
.payment-form-heading { margin-bottom: 28px; }
.payment-form-heading h2 { margin: 8px 0 10px; }
.payment-form label small { color: var(--muted); font-weight: 500; }
.payment-consent { display: flex; grid-template-columns: none; align-items: flex-start; gap: 12px; margin: 24px 0; padding: 15px; border-radius: 12px; background: #f5f8f8; }
.payment-consent input { flex: 0 0 auto; width: 18px; height: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--gold-500); }
.payment-consent span { font-size: 12px; color: var(--sea-800); }
.payment-summary { position: sticky; top: 110px; overflow: hidden; }
.payment-summary > img { width: 100%; aspect-ratio: 1.52; object-fit: cover; }
.payment-summary > div { padding: 25px; }
.payment-summary h2 { margin: 9px 0; font-size: 29px; }
.payment-total { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.payment-total small, .payment-total strong { display: block; }
.payment-total small { color: var(--muted); }
.payment-total strong { color: var(--sea-900); font-size: 25px; }
.payment-security { display: grid; gap: 13px; border-top: 1px solid var(--line); background: #fafcfc; }
.payment-security img { max-height: 45px; width: auto; object-fit: contain; }
.payment-security p { margin: 0; font-size: 12px; }
.sandbox-note { display: grid; gap: 5px; border-top: 1px solid #ead8ab; background: #fff8e8; color: #725018; font-size: 12px; }
.payment-whatsapp-note { display: grid; gap: 8px; border-top: 1px solid #cfe7dc; background: #f1fbf6; color: #195b43; }
.payment-whatsapp-note strong { font-size: 15px; }
.payment-whatsapp-note p { margin: 0; font-size: 12px; line-height: 1.65; }
.payment-result-card { padding: 44px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); text-align: center; }
.payment-result-icon { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: #eef2f4; color: var(--sea-900); font-size: 34px; font-weight: 900; }
.payment-result-card.status-paid .payment-result-icon { background: #e4f6ee; color: #176a48; }
.payment-result-card.status-review .payment-result-icon { background: #fff4d8; color: #8a620f; }
.payment-result-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 28px 0; }
.payment-result-facts span { padding: 16px; border-radius: 13px; background: #f5f7f8; }
.payment-result-facts small, .payment-result-facts strong { display: block; }
.payment-result-facts small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.payment-result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.admin-filter { display: grid; grid-template-columns: minmax(0,1fr) 220px auto; gap: 12px; margin-bottom: 20px; }
.status-paid { background: #e4f6ee; color: #176a48; }
.status-review { background: #fff4d8; color: #8a620f; }
.status-redirected, .status-pending { background: #edf3f8; color: #345d78; }
.status-failed, .status-cancelled { background: #fae9e9; color: #a73b3b; }

@media (max-width: 900px) {
    .payment-layout { grid-template-columns: 1fr; }
    .payment-summary { position: static; }
    .admin-filter { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .section { padding-block: 64px; }
    .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
    .home-slider-section { padding-top: 38px; padding-bottom: 0; }
    .banner-slider, .banner-slider-track, .banner-slider .rental-banner, .banner-slider .rental-banner-content { min-height: 440px; }
    .banner-slider .rental-banner-overlay { background: linear-gradient(180deg, rgba(6,23,37,.2), rgba(6,23,37,.92)); }
    .banner-slider .rental-banner-content { max-width: 100%; padding: 28px 24px 58px; justify-content: flex-end; }
    .banner-slider .rental-banner-content strong { font-size: clamp(29px, 9vw, 42px); }
    .banner-arrow { top: auto; bottom: 12px; width: 38px; height: 38px; transform: none; font-size: 25px; }
    .banner-prev { left: 12px; }
    .banner-next { right: 12px; }
    .contact-page-grid { gap: 30px; }
    .contact-story, .contact-methods, .contact-process, .location-card { width: 100%; max-width: 100%; }
    .contact-process span, .contact-methods a { min-width: 0; width: 100%; }
    .contact-methods strong { font-size: clamp(17px, 5.3vw, 20px); }
    .page-hero-marina h1 { font-size: clamp(38px, 11vw, 54px); }
    .page-hero-marina p { font-size: 16px; }
    .payment-form { padding: 24px 18px; }
    .payment-summary > div { padding: 20px; }
    .payment-result-card { padding: 30px 18px; }
    .payment-result-facts { grid-template-columns: 1fr; }
    .package-card { width: 100%; }
    .package-price { min-width: 0; }
    .footer-payment-logos { width: 100%; }
}

@media (max-width: 430px) {
    .container { width: min(calc(100% - 20px), var(--container)); }
    .header-inner { gap: 10px; }
    .brand-logo { max-width: calc(100% - 65px); }
    .banner-slider, .banner-slider-track, .banner-slider .rental-banner, .banner-slider .rental-banner-content { min-height: 420px; }
    .footer-payment-logos { align-items: flex-start; flex-direction: column; }
    .payment-total { align-items: flex-start; flex-direction: column; }
}

/* Upgrade v3 — fiyat, form uyumu ve genel responsive düzeltmeleri */
.boat-card-image { aspect-ratio: 3 / 2; }
.tour-card-image { aspect-ratio: 8 / 5; }
.payment-summary > img { aspect-ratio: 3 / 2; }
.footer-payment-logos img:last-child { width: 145px; }

.search-panel-marina > div { min-width: 0; }
.search-panel-marina input,
.search-panel-marina select { min-width: 0; width: 100%; min-height: 48px; }
.search-panel-marina .btn { min-height: 48px; }

.tour-detail-layout .detail-content { display: grid; gap: 24px; min-width: 0; }
.tour-detail-layout .detail-content > * { min-width: 0; margin-top: 0; margin-bottom: 0; }
.tour-detail-layout .related-block { padding-top: 8px; }
.availability-card { padding: 28px; border-radius: 22px; overflow: hidden; }
.availability-card > p { margin: 0 0 18px; }
.availability-card .btn { min-height: 48px; margin-top: 10px; padding-inline: 18px; }
.availability-card .availability-note { display: block; margin-top: 16px; line-height: 1.55; }
.payment-unit-price { margin: 8px 0 0; font-size: 13px; font-weight: 750; color: var(--muted); }

@media (min-width: 901px) {
    .search-panel-marina { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
}

@media (min-width: 701px) and (max-width: 900px) {
    .search-panel-marina { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-panel-marina .btn { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
    .tour-detail-layout { gap: 24px; }
    .contact-sticky { width: 100%; }
    .availability-card { width: 100%; }
}

@media (max-width: 760px) {
    .tour-detail-layout .detail-content { gap: 18px; }
    .tour-detail-layout .content-card { padding: 24px 20px; }
    .availability-card { padding: 22px 18px; border-radius: 18px; }
    .availability-card .btn { width: 100%; min-height: 50px; margin-top: 9px; white-space: normal; text-align: center; }
    .tour-detail-facts span { max-width: 100%; overflow-wrap: anywhere; }
}

@media (max-width: 700px) {
    .search-panel-marina { grid-template-columns: 1fr; gap: 13px; padding: 16px; }
    .search-panel-marina .btn { width: 100%; }
}

@media (max-width: 430px) {
    .tour-detail-layout .content-card { padding: 21px 16px; }
    .availability-card { padding: 20px 15px; }
    .availability-card > strong { font-size: clamp(25px, 8vw, 30px); }
    .payment-summary h2 { font-size: 25px; }
}

/* Upgrade V4 — localization, currency controls and long-text responsive hardening */
.header-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.header-preferences { align-items: center; gap: 8px; }
.mobile-preferences { display: none; }
.preference-select { position: relative; flex: 0 0 auto; }
.preference-select > button {
    min-width: 54px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(5,20,33,.34);
    color: #fff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .04em;
    backdrop-filter: blur(8px);
}
.preference-select > button::after { content: '⌄'; margin-left: 7px; opacity: .75; }
.preference-select [data-pref-menu] {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    min-width: 175px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 13px;
    background: #071b2d;
    box-shadow: var(--shadow);
    z-index: 80;
}
.preference-select.open [data-pref-menu] { display: grid; }
.preference-select [data-pref-menu] a {
    display: block;
    padding: 9px 11px;
    border-radius: 9px;
    color: rgba(255,255,255,.84);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}
.preference-select [data-pref-menu] a:hover,
.preference-select [data-pref-menu] a.active { background: rgba(216,174,99,.15); color: var(--gold-400); }

/* Longer German/Russian labels must wrap instead of widening the viewport. */
.main-nav,
.main-nav a,
.boat-card,
.tour-card,
.service-card,
.content-card,
.package-card,
.public-form,
.payment-summary,
.site-footer,
.admin-card,
.admin-table td,
.admin-table th { min-width: 0; }
.main-nav a,
.card-badge,
.boat-type,
.detail-type,
.btn,
.content-card,
.package-card,
.footer-main,
.form-help-box { overflow-wrap: anywhere; }

.locale-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.locale-tabs button {
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid #d8e0e4;
    border-radius: 999px;
    background: #f6f8f9;
    color: var(--navy-800);
    font-size: 12px;
    font-weight: 800;
}
.locale-tabs button.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.locale-panel { display: none; }
.locale-panel.active { display: block; }
.multilingual-card { overflow: visible; }
.package-locales { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.translation-groups { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.translation-groups a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid #d8e0e4;
    background: #fff;
    color: var(--navy-800);
    font-size: 12px;
    font-weight: 800;
}
.translation-groups a.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.translation-editor { display: grid; gap: 18px; }
.translation-head,
.translation-row { display: grid; grid-template-columns: minmax(180px,.9fr) repeat(4,minmax(180px,1fr)); gap: 12px; align-items: start; }
.translation-head { padding: 0 4px; color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.translation-row { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.translation-row > strong { padding-top: 11px; font-size: 12px; overflow-wrap: anywhere; }
.translation-row textarea { min-height: 88px; }
.translation-grid { overflow-x: auto; padding-bottom: 4px; }
.currency-table input[type="number"] { min-width: 150px; }

@media (max-width: 1120px) {
    .nav-toggle { display: block; }
    .site-header .main-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 82px;
        margin: 0;
        padding: 18px;
        background: var(--navy-900);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 14px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    .site-header .main-nav.open { display: flex; }
    .site-header .main-nav a { font-size: 13px; padding: 7px 4px; }
    .site-header .main-nav a.active::after { display: none; }
    .header-actions { margin-left: auto; }
    .nav-toggle { margin-left: 0; }
    .translation-head,
    .translation-row { grid-template-columns: minmax(160px,.8fr) repeat(4,minmax(165px,1fr)); }
}

@media (max-width: 900px) {
    .desktop-preferences { display: none; }
    .mobile-preferences { display: flex; flex-wrap: wrap; padding-top: 12px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,.12); }
    .mobile-preferences .preference-select { flex: 1 1 135px; }
    .mobile-preferences .preference-select > button { width: 100%; justify-content: space-between; }
    .mobile-preferences .preference-select [data-pref-menu] { position: static; margin-top: 7px; width: 100%; }
    .form-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .translation-grid { overflow-x: auto; }
    .translation-head,
    .translation-row { min-width: 920px; }
}

@media (max-width: 700px) {
    .site-header .main-nav { left: 12px; right: 12px; top: 72px; }
    .form-grid-4 { grid-template-columns: 1fr; }
    .locale-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .locale-tabs button { width: 100%; padding-inline: 8px; }
    .multilingual-card .form-grid { grid-template-columns: 1fr; }
    .currency-table { min-width: 690px; }
    .admin-card .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 430px) {
    .locale-tabs { grid-template-columns: 1fr; }
    .preference-select [data-pref-menu] a { white-space: normal; }
}


/* Upgrade V4.1 — localized route/header compatibility and cache-safe responsive header */
.site-header .header-inner {
    position: relative;
    width: min(calc(100% - 40px), 1420px);
    max-width: 1420px;
    gap: clamp(12px, 1.25vw, 22px);
}
.site-header .brand-logo {
    width: clamp(225px, 18vw, 270px);
    min-width: 0;
}
.site-header .main-nav {
    gap: clamp(10px, 1vw, 18px);
    min-width: 0;
}
.site-header .main-nav > a {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
    font-size: clamp(10px, .76vw, 12px);
}
.site-header .header-actions {
    margin-left: 0;
    flex: 0 0 auto;
}
.header-preferences { display: flex; }
.mobile-preferences { display: none; }
.preference-select > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}
.preference-select [data-pref-menu] {
    max-width: min(280px, calc(100vw - 24px));
}

/*
 * Localized navigation labels are wider in Russian/German. Switch to the
 * hamburger before the fixed-width header can collide, rather than waiting
 * until tablet widths.
 */
@media (max-width: 1320px) {
    .site-header .header-inner {
        width: min(calc(100% - 32px), 1280px);
    }
    .site-header .brand-logo { width: 240px; }
    .site-header .nav-toggle {
        display: block;
        order: 3;
        margin-left: 0;
        flex: 0 0 44px;
    }
    .site-header .header-actions {
        order: 2;
        margin-left: auto;
    }
    .site-header .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% - 3px);
        margin: 0;
        padding: 18px;
        background: var(--navy-900);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        box-shadow: var(--shadow);
        max-height: calc(100vh - 105px);
        overflow-y: auto;
        z-index: 70;
    }
    .site-header .main-nav.open { display: flex; }
    .site-header .main-nav > a {
        width: 100%;
        padding: 8px 6px;
        font-size: 13px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .site-header .main-nav a.active::after { display: none; }
}

@media (max-width: 900px) {
    .site-header .header-inner {
        width: min(calc(100% - 28px), 1280px);
    }
    .site-header .desktop-preferences { display: none; }
    .site-header .nav-toggle { margin-left: auto; }
    .site-header .mobile-preferences {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        padding-top: 12px;
        margin-top: 4px;
        border-top: 1px solid rgba(255,255,255,.12);
    }
    .site-header .mobile-preferences .preference-select {
        flex: 1 1 145px;
        min-width: 0;
    }
    .site-header .mobile-preferences .preference-select > button {
        width: 100%;
        justify-content: space-between;
    }
    .site-header .mobile-preferences .preference-select [data-pref-menu] {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-top: 7px;
    }
}

@media (max-width: 700px) {
    .site-header .header-inner {
        width: min(calc(100% - 24px), 1280px);
    }
    .site-header .brand-logo {
        width: min(210px, calc(100% - 62px));
    }
    .site-header .main-nav {
        left: 0;
        right: 0;
        top: calc(100% - 2px);
    }
}

@media (max-width: 430px) {
    .site-header .header-inner {
        width: min(calc(100% - 20px), 1280px);
        gap: 10px;
    }
    .site-header .brand-logo {
        width: min(190px, calc(100% - 58px));
        max-width: calc(100% - 58px);
    }
}

/* Upgrade V5 — resilient preferences, richer yacht detail, legal footer, WhatsApp tour flow and consent UI */
.preference-select > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(5,20,33,.34);
    color: #fff;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .04em;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    backdrop-filter: blur(8px);
}
.preference-select > summary::-webkit-details-marker { display: none; }
.preference-select > summary::marker { content: ''; }
.preference-select > summary::after { content: '⌄'; margin-left: 7px; opacity: .75; }
.preference-select[open] > summary { border-color: rgba(216,174,99,.7); color: var(--gold-400); }
.preference-select .preference-menu {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    min-width: 175px;
    max-width: min(280px, calc(100vw - 24px));
    padding: 7px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 13px;
    background: #071b2d;
    box-shadow: var(--shadow);
    z-index: 90;
}
.preference-select[open] .preference-menu { display: grid; }
.preference-select .preference-menu a {
    display: block;
    padding: 10px 11px;
    border-radius: 9px;
    color: rgba(255,255,255,.84);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
    white-space: nowrap;
}
.preference-select .preference-menu a:hover,
.preference-select .preference-menu a.active { background: rgba(216,174,99,.15); color: var(--gold-400); }

.boat-gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 20px;
}
.boat-gallery-heading h2 { margin: 6px 0 0; font-size: clamp(30px, 4vw, 46px); }
.boat-gallery-heading > span { color: var(--muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.boat-gallery {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(250px, .85fr);
    gap: 12px;
    min-width: 0;
}
.boat-gallery button {
    appearance: none;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #dce3e7;
    cursor: zoom-in;
}
.boat-gallery-main { min-height: clamp(410px, 48vw, 650px); border-radius: 22px; }
.boat-gallery-main img,
.boat-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.boat-gallery-main:hover img,
.boat-gallery-thumb:hover img { transform: scale(1.025); }
.boat-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(125px, 1fr);
    gap: 10px;
    max-height: clamp(410px, 48vw, 650px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    min-width: 0;
}
.boat-gallery-thumb { min-height: 135px; border-radius: 15px; }
.boat-quick-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 30px;
}
.boat-quick-facts > div {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.boat-quick-facts small,
.boat-quick-facts strong { display: block; }
.boat-quick-facts small { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.boat-quick-facts strong { margin-top: 6px; color: var(--navy-900); font-size: 17px; overflow-wrap: anywhere; }
.section-intro { margin: -8px 0 18px; }

.tour-whatsapp-card { display: grid; gap: 13px; }
.tour-whatsapp-card h2 { margin: 2px 0 0; }
.tour-whatsapp-card > p { margin: 0; }
.tour-whatsapp-form { display: grid; gap: 12px; margin-top: 3px; }
.tour-whatsapp-form label {
    display: grid;
    gap: 7px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 800;
}
.tour-whatsapp-form input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 11px;
    background: rgba(255,255,255,.08);
    color: #fff;
    color-scheme: dark;
    font: inherit;
}
.tour-whatsapp-form input:focus { outline: 2px solid var(--gold-400); outline-offset: 2px; }
.whatsapp-icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.whatsapp-icon-button svg { flex: 0 0 21px; width: 21px; height: 21px; }

.legal-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: start;
}
.legal-page-main { min-width: 0; }
.legal-page-main .rich-text { white-space: pre-line; line-height: 1.78; }
.legal-updated { display: inline-block; margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.legal-company-card { position: sticky; top: 112px; }
.legal-company-list { display: grid; gap: 12px; margin-top: 18px; }
.legal-company-list > div { padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.legal-company-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-company-list small,
.legal-company-list strong { display: block; }
.legal-company-list small { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.legal-company-list strong { margin-top: 5px; overflow-wrap: anywhere; }

.footer-main { grid-template-columns: minmax(260px, 1.45fr) repeat(4, minmax(130px, .75fr)); gap: clamp(24px, 3vw, 48px); }
.footer-payment-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.96);
}
.footer-payment-logos img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.footer-payment-logos img:first-child { width: 138px; max-height: 48px; }
.footer-payment-logos img:last-child { width: 145px; max-height: 21px; }
.footer-bottom { align-items: center; flex-wrap: wrap; }
.footer-cookie-settings {
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(255,255,255,.52);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.footer-cookie-settings:hover { color: var(--gold-400); }

.cookie-consent {
    position: fixed;
    left: max(16px, env(safe-area-inset-left));
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 150;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    width: min(920px, calc(100% - 32px));
    margin-inline: auto;
    padding: 20px 22px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(5,20,33,.98);
    color: #fff;
    box-shadow: 0 25px 80px rgba(0,0,0,.32);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent strong { display: block; margin-bottom: 5px; }
.cookie-consent p { margin: 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.6; }
.cookie-consent p a { color: var(--gold-400); text-decoration: underline; }
.cookie-actions { display: flex; align-items: center; gap: 9px; }
.cookie-actions .btn { min-height: 42px; padding: 0 16px; white-space: nowrap; }

@media (max-width: 1180px) {
    .footer-main { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-main > div:first-child { grid-column: 1 / -1; }
    .footer-main > div:last-child { grid-column: auto; }
}

@media (max-width: 980px) {
    .boat-gallery { grid-template-columns: 1fr; }
    .boat-gallery-main { min-height: clamp(340px, 64vw, 560px); }
    .boat-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(145px, 1fr));
        grid-auto-rows: 118px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .boat-quick-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .legal-page-layout { grid-template-columns: 1fr; }
    .legal-company-card { position: static; }
}

@media (max-width: 900px) {
    .site-header .mobile-preferences .preference-select { width: 100%; }
    .site-header .mobile-preferences .preference-select > summary { width: 100%; justify-content: space-between; }
    .site-header .mobile-preferences .preference-select .preference-menu {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-top: 7px;
    }
    .site-header .mobile-preferences .preference-menu a { white-space: normal; }
}

@media (max-width: 700px) {
    .boat-gallery-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .boat-gallery-main { min-height: 300px; border-radius: 17px; }
    .boat-gallery-thumbs { grid-template-columns: repeat(4, 125px); grid-auto-rows: 96px; }
    .boat-gallery-thumb { min-height: 96px; border-radius: 12px; }
    .boat-quick-facts { grid-template-columns: 1fr 1fr; margin-bottom: 22px; }
    .boat-quick-facts > div { padding: 15px; }
    .tour-whatsapp-form input { min-height: 50px; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-main > div:first-child { grid-column: auto; }
    .footer-payment-logos { width: 100%; }
    .cookie-consent { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1 1 0; }
}

@media (max-width: 430px) {
    .boat-gallery-main { min-height: 250px; }
    .boat-gallery-thumbs { grid-template-columns: repeat(4, 108px); grid-auto-rows: 84px; }
    .boat-gallery-thumb { min-height: 84px; }
    .boat-quick-facts { grid-template-columns: 1fr; }
    .footer-payment-logos { align-items: flex-start; flex-direction: column; }
    .footer-payment-logos img:first-child { width: min(138px, 100%); }
    .footer-payment-logos img:last-child { width: min(150px, 100%); }
    .cookie-actions { flex-direction: column-reverse; }
    .cookie-actions .btn { width: 100%; flex-basis: auto; }
}
.legal-company-list { margin: 18px 0 0; }
.legal-company-list dt, .legal-company-list dd { margin: 0; }

/* V5.1 — tour gallery + visible WhatsApp request fields */
.tour-gallery-section {
    padding-bottom: 8px;
}
.tour-gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 20px;
}
.tour-gallery-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(30px, 4vw, 46px);
}
.tour-gallery-heading > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.tour-gallery {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .9fr);
    gap: 12px;
    min-width: 0;
}
.tour-gallery button {
    appearance: none;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #dce3e7;
    cursor: zoom-in;
}
.tour-gallery-main {
    aspect-ratio: 8 / 5;
    border-radius: 22px;
}
.tour-gallery-main img,
.tour-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.tour-gallery-main:hover img,
.tour-gallery-thumb:hover img {
    transform: scale(1.025);
}
.tour-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: max-content;
    gap: 10px;
    max-height: min(50vw, 650px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    min-width: 0;
    align-content: start;
}
.tour-gallery-thumb {
    aspect-ratio: 8 / 5;
    min-width: 0;
    border-radius: 14px;
}

.tour-whatsapp-card {
    background: #fff;
    color: var(--navy-900);
}
.tour-whatsapp-card h2 {
    color: var(--navy-900);
}
.tour-whatsapp-card > p,
.tour-whatsapp-card .availability-note {
    color: var(--muted);
}
.tour-whatsapp-card > strong {
    color: var(--sea-900);
}
.tour-whatsapp-form label {
    color: var(--navy-800);
}
.tour-whatsapp-form input {
    border-color: #cfdadd;
    background: #f7fafb;
    color: var(--navy-900);
    color-scheme: light;
}
.tour-whatsapp-form input:hover {
    border-color: #9fb0b7;
}
.tour-whatsapp-form input:focus {
    border-color: var(--gold-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(216,174,99,.16);
    outline: none;
}

@media (max-width: 980px) {
    .tour-gallery {
        grid-template-columns: 1fr;
    }
    .tour-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(145px, 1fr));
        grid-auto-flow: column;
        grid-auto-columns: minmax(145px, 1fr);
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 700px) {
    .tour-gallery-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .tour-gallery-heading > span {
        white-space: normal;
    }
    .tour-gallery-main {
        border-radius: 17px;
    }
    .tour-gallery-thumbs {
        grid-template-columns: repeat(4, 125px);
        grid-auto-columns: 125px;
    }
    .tour-gallery-thumb {
        border-radius: 12px;
    }
    .tour-whatsapp-form label {
        font-size: 13px;
    }
    .tour-whatsapp-form input {
        min-height: 52px;
        font-size: 16px;
    }
}

@media (max-width: 430px) {
    .tour-gallery-thumbs {
        grid-template-columns: repeat(4, 108px);
        grid-auto-columns: 108px;
    }
}

/* V5.2 — mobile touch-target hardening for locale/currency/contact controls */
.nav-toggle,
.preference-select > summary,
.preference-select .preference-menu a,
.contact-hub-trigger,
.contact-hub-menu a,
.btn-whatsapp,
.availability-card .btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle,
.contact-hub-trigger,
.preference-select > summary,
.preference-select .preference-menu a,
.contact-hub-menu a {
    position: relative;
}

/* Decorative children must never become a smaller competing tap target. */
.nav-toggle > *,
.contact-hub-trigger > *,
.contact-hub-menu a > *,
.preference-select > summary > * {
    pointer-events: none;
}

.preference-select > summary {
    min-height: 46px;
    min-width: 58px;
}
.preference-select .preference-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
}

.contact-hub { z-index: 120; }
.contact-hub-menu { pointer-events: none; }
.contact-hub.is-open .contact-hub-menu { pointer-events: auto; }
.contact-hub-menu a {
    width: 100%;
    min-height: 72px;
    cursor: pointer;
}
.contact-hub-trigger {
    min-height: 58px;
    cursor: pointer;
}
.contact-icon svg {
    width: 23px;
    height: 23px;
    display: block;
}
.contact-icon-call { background: var(--sea-900); }

@media (max-width: 900px) {
    .site-header .nav-toggle {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        padding: 11px;
    }

    .site-header .mobile-preferences {
        gap: 10px;
    }
    .site-header .mobile-preferences .preference-select {
        flex: 1 1 100%;
        width: 100%;
    }
    .site-header .mobile-preferences .preference-select > summary {
        width: 100%;
        min-height: 54px;
        padding: 0 16px;
        justify-content: space-between;
        font-size: 13px;
    }
    .site-header .mobile-preferences .preference-menu {
        gap: 4px;
        padding: 7px 0 0;
    }
    .site-header .mobile-preferences .preference-menu a {
        min-height: 52px;
        padding: 12px 14px;
        border: 1px solid rgba(255,255,255,.08);
        background: rgba(255,255,255,.035);
        font-size: 13px;
    }

    .contact-hub-menu a {
        min-height: 76px;
        padding: 13px;
    }
    .contact-hub-trigger {
        width: 64px;
        height: 64px;
        min-width: 64px;
        min-height: 64px;
        padding: 8px;
    }
    .contact-hub-trigger img {
        width: 48px;
        height: 48px;
    }

    .tour-whatsapp-form .btn,
    .availability-card .btn,
    .contact-methods a {
        min-height: 54px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 430px) {
    .contact-hub-menu {
        width: min(324px, calc(100vw - 20px));
    }
    .site-header .mobile-preferences .preference-select > summary,
    .site-header .mobile-preferences .preference-menu a {
        min-height: 56px;
    }
}

/* V5.3 — native-first mobile locale/currency navigation
 * Mobile preference choices are direct anchors. No disclosure toggle or
 * JavaScript is required to choose a locale/currency.
 */
.mobile-preference-group,
.mobile-preference-options,
.mobile-preference-option {
    min-width: 0;
}
.mobile-preference-group {
    display: none;
}
.mobile-preference-label {
    display: block;
    margin: 0 0 8px;
    color: rgba(255,255,255,.68);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.mobile-preference-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.mobile-preference-option {
    display: grid;
    grid-template-columns: minmax(42px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 54px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.9);
    line-height: 1.2;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(216,174,99,.18);
    touch-action: auto;
    user-select: none;
    -webkit-user-select: none;
}
.mobile-preference-option.active {
    border-color: rgba(216,174,99,.64);
    background: rgba(216,174,99,.14);
    color: var(--gold-400);
}
.mobile-preference-code {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
}
.mobile-preference-name {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 750;
    opacity: .92;
}

/* Native anchors/buttons must keep their normal hit-testing. V5.2 used
 * pointer-events:none on decorative descendants; that is no longer needed.
 */
.nav-toggle > *,
.contact-hub-trigger > *,
.contact-hub-menu a > *,
.preference-select > summary > * {
    pointer-events: auto;
}
.contact-hub-menu a,
.mobile-preference-option {
    pointer-events: auto;
    touch-action: auto;
}

@media (hover: hover) and (pointer: fine) {
    .mobile-preference-option:hover {
        border-color: rgba(216,174,99,.46);
        background: rgba(216,174,99,.1);
        color: #fff;
    }
}

@media (max-width: 900px) {
    .site-header .mobile-preferences {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
        padding-top: 14px;
        margin-top: 6px;
        border-top: 1px solid rgba(255,255,255,.12);
    }
    .site-header .mobile-preferences > .preference-select {
        display: none;
    }
    .site-header .mobile-preferences .mobile-preference-group {
        display: block;
        width: 100%;
    }
    .site-header .mobile-preference-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-header .mobile-preference-option {
        min-height: 56px;
        position: relative;
        z-index: 1;
    }

    /* The channel links themselves remain fully native. */
    .contact-hub-menu a {
        touch-action: auto;
        -webkit-tap-highlight-color: rgba(216,174,99,.18);
    }
}

@media (max-width: 430px) {
    .site-header .mobile-preference-options {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }
    .site-header .mobile-preference-option {
        min-height: 58px;
        padding: 10px 11px;
    }
}


/* V5.4 — mobile locale/currency controls moved out of the hamburger menu.
 * Desktop keeps the compact header selectors. On mobile, locale/currency are
 * plain native links in the footer so no nav/disclosure JavaScript participates
 * in their activation.
 */
.footer-preferences {
    display: none;
    min-width: 0;
}
.footer-preference-group,
.footer-preference-options,
.footer-preference-option {
    min-width: 0;
}
.footer-preference-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.footer-preference-option {
    display: grid;
    grid-template-columns: minmax(42px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 54px;
    padding: 10px 12px;
    margin: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.9);
    line-height: 1.2;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(216,174,99,.2);
    touch-action: manipulation;
}
.footer-preference-option.active {
    border-color: rgba(216,174,99,.68);
    background: rgba(216,174,99,.15);
    color: var(--gold-400);
}
.footer-preference-code {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
}
.footer-preference-name {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 750;
    opacity: .94;
}

@media (hover: hover) and (pointer: fine) {
    .footer-preference-option:hover {
        border-color: rgba(216,174,99,.46);
        background: rgba(216,174,99,.1);
        color: #fff;
    }
}

@media (max-width: 900px) {
    /* V5.3's mobile header preference block is deliberately disabled even if
     * an old cached Blade fragment ever survives. The controls live in footer.
     */
    .site-header .mobile-preferences {
        display: none !important;
    }

    .footer-preferences {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        width: 100%;
        padding: 18px;
        margin-top: 6px;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 16px;
        background: rgba(255,255,255,.035);
    }
    .footer-preference-group {
        display: block;
        width: 100%;
    }
    .footer-preference-group > h3 {
        margin: 0 0 10px;
    }
    .footer-preference-option {
        min-height: 56px;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 600px) {
    .footer-preferences {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 15px;
    }
    .footer-preference-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 360px) {
    .footer-preference-options {
        grid-template-columns: 1fr;
    }
}

/* V5.5 — supplied Belek Marina brand artwork. The new square logo is used
 * consistently in public, admin and auth surfaces. Sizes below preserve the
 * existing header/footer rhythm while keeping the complete supplied artwork. */
.site-header .brand-logo {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.site-header .brand-logo img,
.footer-brand > img,
.admin-logo img,
.login-logo img,
.site-loader-card img,
.contact-hub-trigger img {
    display: block;
    object-fit: contain;
    background: rgba(255,255,255,.96);
    border-radius: 14px;
}
.site-header .brand-logo img {
    width: 78px;
    height: 78px;
    padding: 3px;
}
.site-loader-card img {
    width: 150px;
    height: 150px;
    padding: 6px;
    border-radius: 22px;
}
.footer-brand > img {
    width: 190px;
    height: 190px;
    max-width: 100%;
    padding: 6px;
    border-radius: 20px;
}
.admin-logo img {
    width: 150px;
    height: 150px;
    max-width: 100%;
    padding: 5px;
    margin-inline: auto;
    border-radius: 18px;
}
.login-logo img {
    width: 200px;
    height: 200px;
    max-width: 100%;
    padding: 6px;
    border-radius: 20px;
}
.contact-hub-trigger img {
    width: 44px;
    height: 44px;
    padding: 2px;
    border-radius: 50%;
}

@media (max-width: 760px) {
    .site-header .brand-logo {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        max-width: 64px;
    }
    .site-header .brand-logo img {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 430px) {
    .site-header .brand-logo {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        max-width: 58px;
    }
    .site-header .brand-logo img {
        width: 58px;
        height: 58px;
    }
    .footer-brand > img {
        width: 165px;
        height: 165px;
    }
}

/* V5.6 admin CRUD/media feedback */
.media-selection { grid-column: 1 / -1; margin: 12px 0 20px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafb; padding: 12px; }
.media-selection[hidden] { display: none !important; }
.media-selection-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.media-selection-head strong { color: var(--navy-900); font-size: 14px; }
.media-selection-head.is-valid > span { color: var(--success); }
.media-selection-head.is-invalid > span { color: var(--danger); }
.media-selection-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 10px; }
.media-selection-card { min-width: 0; display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 8px; }
.media-selection-card.is-valid { border-color: #bfe4d1; }
.media-selection-card.is-invalid { border-color: #f1caca; background: #fffafa; }
.media-selection-thumb { width: 72px; height: 58px; border-radius: 8px; background: #eef2f4; overflow: hidden; display: grid; place-items: center; }
.media-selection-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-selection-meta { min-width: 0; display: grid; gap: 3px; }
.media-selection-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--navy-900); }
.media-selection-meta small { font-size: 11px; color: var(--muted); }
.media-selection-state { font-size: 11px; line-height: 1.3; color: var(--success); }
.media-selection-card.is-invalid .media-selection-state { color: var(--danger); }
.admin-submit-status { margin-right: auto; align-self: center; font-size: 13px; font-weight: 700; color: var(--navy-900); }
.admin-content > .flash-error { position: sticky; top: 74px; z-index: 35; scroll-margin-top: 90px; box-shadow: 0 8px 26px rgba(77,13,13,.12); }
.admin-content form[aria-busy="true"] .form-actions button[type="submit"] { opacity: .72; cursor: wait; }

@media (max-width: 700px) {
    .media-selection-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .media-selection-grid { grid-template-columns: 1fr; }
    .media-selection-card { grid-template-columns: 84px minmax(0,1fr); }
    .media-selection-thumb { width: 84px; height: 67px; }
    .form-actions { flex-wrap: wrap; gap: 10px; }
    .admin-submit-status { width: 100%; order: -1; }
    .admin-content > .flash-error { top: 60px; }
}
