:root {
    --navy: #0b2b40;
    --deep: #0b4f6c;
    --teal: #1b98b8;
    --teal-2: #3fb4c9;
    --sand: #f4e2c9;
    --sand-2: #e9cfa6;
    --ink: #15242e;
    --muted: #5f7280;
    --line: #e3e9ee;
    --bg: #f7fafb;
    --white: #ffffff;
    --success: #1e8f52;
    --wa: #25d366;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(11, 43, 64, .10);
    --shadow-sm: 0 4px 14px rgba(11, 43, 64, .08);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, .navbar-brand, .footer-brand {
    font-family: 'Montserrat', system-ui, sans-serif;
    color: var(--navy);
    line-height: 1.2;
}

a { color: var(--deep); text-decoration: none; }
a:hover { color: var(--teal); }

.container { max-width: 1200px; }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #cfe4ee; font-size: .85rem; padding: 6px 0; }
.topbar a { color: #cfe4ee; }
.topbar a:hover { color: #fff; }
.topbar-contact a { font-weight: 600; }

.main-nav { background: var(--white); box-shadow: var(--shadow-sm); padding: .6rem 0; position: sticky; top: 0; z-index: 1030; }
.brand-mark { font-weight: 800; font-size: 1.35rem; color: var(--navy); letter-spacing: -.3px; }
.main-nav .nav-link { font-weight: 600; color: var(--ink); padding: .5rem .9rem; }
.main-nav .nav-link:hover { color: var(--teal); }
.dropdown-menu { border: none; box-shadow: var(--shadow); border-radius: 10px; }

.btn-whatsapp {
    background: var(--wa); color: #fff; font-weight: 700; border-radius: 30px;
    padding: .55rem 1.2rem; border: none;
}
.btn-whatsapp:hover { background: #1eb455; color: #fff; }

/* ---------- Buttons ---------- */
.btn-primary { background: var(--deep); border-color: var(--deep); font-weight: 600; }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); }
.btn-teal { background: var(--teal); color: #fff; font-weight: 700; border-radius: 30px; padding: .6rem 1.4rem; border: none; }
.btn-teal:hover { background: var(--deep); color: #fff; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); font-weight: 700; border-radius: 30px; padding: .5rem 1.3rem; background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(120deg, rgba(11,43,64,.92) 0%, rgba(11,79,108,.82) 50%, rgba(27,152,184,.68) 130%), url('/img/hero.jpg') center/cover no-repeat;
    color: #fff; padding: 5.5rem 0 5rem; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(63,180,201,.35), transparent 40%);
    pointer-events: none;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; margin-bottom: 1rem; }
.hero p.lead { color: #d7ecf3; font-size: 1.2rem; max-width: 620px; }
.hero .hero-badges { margin-top: 1.6rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.hero .hero-badge { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 30px; padding: .4rem 1rem; font-size: .9rem; }
.hero .hero-cta { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title .eyebrow { color: var(--teal); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: .82rem; }
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-top: .3rem; }
.section-title p { color: var(--muted); max-width: 640px; margin: .6rem auto 0; }
.bg-soft { background: var(--white); }

/* ---------- Cards ---------- */
.card-boat, .card-activity, .card-blog, .card-departure {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.card-boat:hover, .card-activity:hover, .card-blog:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--deep), var(--teal)); position: relative; display: flex; align-items: center; justify-content: center; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .media-emoji { font-size: 3rem; opacity: .85; }
.card-media .chip { position: absolute; top: 12px; left: 12px; background: rgba(11,43,64,.85); color: #fff; font-size: .78rem; padding: .25rem .7rem; border-radius: 20px; font-weight: 600; }
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin: 0; }
.card-meta { color: var(--muted); font-size: .9rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.card-desc { color: #48606d; font-size: .95rem; flex: 1; }
.card-price { font-weight: 700; color: var(--deep); font-size: 1.05rem; }
.card-price small { color: var(--muted); font-weight: 500; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; }

/* ---------- Category tiles ---------- */
.cat-tile { border-radius: var(--radius); padding: 1.6rem; color: #fff; min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.cat-tile.k1 { background: linear-gradient(135deg, #0b4f6c, #1b98b8); }
.cat-tile.k2 { background: linear-gradient(135deg, #7a3b8f, #b3519c); }
.cat-tile.k3 { background: linear-gradient(135deg, #0b2b40, #14708f); }
.cat-tile.k4 { background: linear-gradient(135deg, #b5651d, #d99a3f); }
.cat-tile .cat-emoji { font-size: 2rem; }
.cat-tile h3 { color: #fff; margin: .5rem 0 .2rem; }
.cat-tile p { color: rgba(255,255,255,.9); font-size: .9rem; margin: 0; }
.cat-tile a.stretched-link::after { content: ""; position: absolute; inset: 0; }
.cat-photo { background-size: cover !important; background-position: center !important; }

/* ---------- Departure list ---------- */
.departure-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; flex-wrap: wrap; }
.departure-row .dep-when { font-weight: 700; color: var(--navy); }
.departure-row .dep-sub { color: var(--muted); font-size: .9rem; }
.departure-row .dep-cap { font-size: .85rem; }
.badge-full { background: #f8d7da; color: #842029; }
.badge-open { background: #d1e7dd; color: #0f5132; }
.availability-pill { border-radius: 20px; padding: .2rem .7rem; font-size: .8rem; font-weight: 600; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--white); border-bottom: 1px solid var(--line); }
.breadcrumbs .container { padding: .7rem 12px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; font-size: .88rem; }
.breadcrumbs li::after { content: "›"; margin-left: .4rem; color: var(--muted); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs li:last-child { color: var(--navy); font-weight: 600; }

/* ---------- Page header ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--deep)); color: #fff; padding: 3rem 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.page-hero p { color: #cfe4ee; max-width: 720px; margin-bottom: 0; }

/* ---------- Detail ---------- */
.detail-gallery img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.spec-list li span:first-child { color: var(--muted); }
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: .35rem 0 .35rem 1.7rem; position: relative; }
.feature-list li::before { content: "⚓"; position: absolute; left: 0; }

.sidebar-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); position: sticky; top: 90px; }

/* ---------- Article ---------- */
.article-body { font-size: 1.06rem; color: #263845; }
.article-body h2 { margin-top: 2rem; font-size: 1.5rem; }
.article-body h3 { margin-top: 1.4rem; font-size: 1.2rem; }
.article-body img { max-width: 100%; border-radius: 10px; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body p { margin-bottom: 1rem; }
.tag-list { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag-list a { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: .25rem .8rem; font-size: .82rem; color: var(--deep); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.form-label { font-weight: 600; color: var(--navy); }
.iban-box { background: var(--sand); border: 1px dashed var(--sand-2); border-radius: 12px; padding: 1rem 1.2rem; }
.iban-box code { font-size: 1.05rem; color: var(--navy); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c7d9e3; padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: 'Montserrat'; }
.footer-brand { color: #fff; }
.footer-about { color: #a9c2ce; font-size: .92rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: .5rem; font-size: .92rem; }
.footer-links a, .footer-contact a { color: #c7d9e3; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-iban span { font-size: .82rem; color: #8fb0bf; word-break: break-all; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { color: #fff; font-weight: 600; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: #90aab8; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; background: var(--wa); color: #fff; font-weight: 700; padding: .7rem 1.1rem; border-radius: 40px; box-shadow: 0 8px 22px rgba(37,211,102,.45); z-index: 1050; }
.whatsapp-float:hover { color: #fff; background: #1eb455; }

/* ---------- Utility ---------- */
.text-teal { color: var(--teal); }
.bg-navy { background: var(--navy); }
.rounded-xl { border-radius: var(--radius); }
.pagination .page-link { color: var(--deep); }
.pagination .active .page-link { background: var(--deep); border-color: var(--deep); }
.alert-soft { background: #eaf6f9; border: 1px solid #bfe3ec; color: #0b4f6c; border-radius: 12px; }

@media (max-width: 991px) {
    .sidebar-card { position: static; }
    .footer-bottom { flex-direction: column; }
}
