:root {
    --ink: #10233f;
    --muted: #60728a;
    --line: rgba(16, 35, 63, 0.13);
    --soft-line: rgba(255, 255, 255, 0.52);
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.94);
    --cyan: #07a8b8;
    --cyan-dark: #087887;
    --coral: #ef7b62;
    --green: #2aa876;
    --danger: #d94e4e;
    --bg: #eaf8fd;
    --admin-bg: #eef6f7;
    --shadow: 0 20px 60px rgba(16, 35, 63, 0.14);
    --shadow-soft: 0 12px 36px rgba(16, 35, 63, 0.10);
    --radius: 8px;
    --max: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(7, 168, 184, 0.16), rgba(223, 246, 252, 0.94) 36%, rgba(255, 255, 255, 0.82) 78%),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}

.fa-solid,
.fa-regular,
.fa-brands {
    line-height: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    padding: 11px 13px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(7, 168, 184, 0.72);
    box-shadow: 0 0 0 4px rgba(7, 168, 184, 0.14);
    background: #fff;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

label input,
label select,
label textarea {
    color: var(--ink);
    font-weight: 500;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: 3.15rem;
    line-height: 1.02;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.65rem;
    line-height: 1.18;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.08rem;
    line-height: 1.25;
    margin-bottom: 8px;
}

p {
    color: var(--muted);
}

.public-shell {
    min-height: 100vh;
}

.public-shell main {
    display: grid;
    gap: 34px;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 20px), 1400px);
    margin: 16px auto 0;
    padding: 14px 20px;
    border: 1px solid var(--soft-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px) saturate(150%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, #10a7bb, #018f9a);
    font-weight: 900;
}

.brand-logo {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.2;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a,
.admin-nav a,
.ghost-link {
    border-radius: var(--radius);
    color: #173052;
    font-weight: 800;
    padding: 10px 12px;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.admin-nav a:hover,
.admin-nav a.active {
    color: var(--ink);
    background: rgba(7, 168, 184, 0.10);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 40px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.58);
}

.language-switch a {
    min-width: 36px;
    padding: 7px 8px;
    text-align: center;
}

.language-dropdown {
    position: relative;
}

.language-dropdown summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.58);
    color: #173052;
    font-size: 0.86rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.language-dropdown summary::-webkit-details-marker {
    display: none;
}

.language-dropdown summary .fa-chevron-down {
    font-size: 0.72rem;
}

.language-dropdown[open] summary .fa-chevron-down {
    transform: rotate(180deg);
}

.language-dropdown > div {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 70;
    display: grid;
    min-width: 150px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
}

.language-dropdown > div a {
    padding: 8px 10px;
}

.language-dropdown > div a.active {
    color: var(--cyan-dark);
    background: rgba(7, 168, 184, 0.10);
}

.nav-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    background: #128c7e;
}

.showcase-hero {
    position: relative;
    display: grid;
    align-content: end;
    min-height: 840px;
    width: min(calc(100% - 20px), 1400px);
    margin: -76px auto 0;
    padding: 188px 70px 34px;
    overflow: hidden;
    border: 1px solid var(--soft-line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(235, 248, 253, 0.34), rgba(3, 132, 154, 0.28) 68%, rgba(1, 93, 123, 0.70)),
        linear-gradient(90deg, rgba(239, 251, 255, 0.96), rgba(239, 251, 255, 0.58) 44%, rgba(239, 251, 255, 0.08)),
        var(--hero-image) center / cover;
    box-shadow: var(--shadow);
}

.showcase-copy {
    width: min(100%, 1090px);
}

.showcase-copy h1 {
    max-width: 650px;
    margin-bottom: 18px;
    color: #071d3d;
    font-size: 4rem;
    line-height: 1.02;
}

.showcase-copy p {
    max-width: 560px;
    margin-bottom: 28px;
    color: #183a62;
    font-size: 1.16rem;
    font-weight: 600;
}

.hero-search-card {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(160px, 0.8fr) 150px;
    align-items: center;
    gap: 0;
    width: min(100%, 1060px);
    min-height: 84px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 44px rgba(6, 43, 72, 0.16);
    backdrop-filter: blur(20px) saturate(150%);
}

.hero-search-card label {
    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
    min-height: 56px;
    padding: 5px 22px;
    border-right: 1px solid var(--line);
    color: #62728a;
}

.hero-search-card label i {
    grid-row: span 2;
    align-self: center;
    color: #173a65;
    font-size: 1.15rem;
}

.hero-search-card label span {
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-search-card input {
    min-height: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    color: #071d3d;
    font-size: 0.96rem;
    font-weight: 900;
}

.hero-search-card button {
    min-height: 58px;
}

.hero-card-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: min(100%, 1230px);
    margin-top: 34px;
}

.mini-tour-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.60);
    border-radius: var(--radius);
    background: rgba(240, 250, 253, 0.88);
    box-shadow: 0 14px 34px rgba(6, 43, 72, 0.22);
    backdrop-filter: blur(14px);
}

.mini-tour-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.mini-tour-card div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    padding: 14px 16px;
}

.mini-tour-card h3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
    color: #092344;
}

.mini-tour-card span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.mini-tour-card strong {
    color: var(--cyan-dark);
}

.panel-section,
.trust-panel,
.newsletter-panel {
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px) saturate(140%);
}

.panel-section {
    padding: 28px;
}

.section-head h2 {
    margin-bottom: 0;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan-dark);
    font-size: 0.92rem;
    font-weight: 900;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.destination-card,
.activity-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
}

.destination-card a,
.activity-card a {
    display: grid;
}

.destination-card img,
.activity-card img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.destination-card div,
.activity-card div {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.destination-card h3,
.activity-card h3 {
    margin-bottom: 0;
    color: #092344;
}

.destination-card p {
    min-height: 48px;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.destination-card strong,
.activity-card strong {
    justify-self: end;
    color: var(--cyan-dark);
}

.trust-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 28px;
}

.trust-panel div {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 4px 16px;
    padding: 10px 24px;
    border-right: 1px solid var(--line);
}

.trust-panel div:last-child {
    border-right: 0;
}

.trust-panel i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    color: var(--cyan-dark);
    background: rgba(7, 168, 184, 0.12);
    font-size: 1.35rem;
}

.trust-panel strong {
    color: #092344;
}

.trust-panel span {
    color: var(--muted);
    font-size: 0.9rem;
}

.home-split {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
    gap: 20px;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.activity-card img {
    aspect-ratio: 4 / 3;
}

.activity-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    font-size: 0.76rem;
    font-weight: 900;
}

.activity-card small {
    color: var(--muted);
    font-weight: 800;
}

.rating {
    display: flex;
    gap: 2px;
    margin-bottom: 0;
    color: #f6aa1c;
    font-size: 0.82rem;
}

.testimonial-card {
    align-self: stretch;
}

.quote-card {
    display: grid;
    gap: 22px;
    min-height: 286px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.70);
}

.quote-card > i {
    color: var(--cyan-dark);
    font-size: 2rem;
}

.quote-card p {
    margin-bottom: 0;
    color: #173052;
    font-weight: 700;
}

.guest-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.guest-avatar {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--coral), var(--cyan));
    font-weight: 900;
}

.guest-row small {
    display: block;
    color: var(--muted);
}

.guest-row b {
    margin-left: auto;
    color: var(--cyan-dark);
}

.guest-row b i {
    color: #f6aa1c;
}

.newsletter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr) auto;
    gap: 28px;
    align-items: center;
    padding: 28px;
}

.newsletter-panel > div:first-child {
    display: flex;
    align-items: center;
    gap: 18px;
}

.newsletter-panel > div:first-child > i {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    font-size: 1.35rem;
}

.newsletter-panel h2,
.newsletter-panel p {
    margin-bottom: 0;
}

.newsletter-panel form {
    display: grid;
    grid-template-columns: 1fr 130px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.newsletter-panel input {
    border: 0;
    border-radius: 0;
}

.newsletter-panel button {
    border-radius: 0;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links strong {
    margin-right: 8px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(16, 35, 63, 0.08);
    color: #173052;
}

.nav-toggle,
.sidebar-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--radius);
    background: rgba(16, 35, 63, 0.08);
    cursor: pointer;
}

.nav-toggle span,
.sidebar-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: end;
    gap: 28px;
    width: 100%;
    min-height: 100svh;
    margin: -76px auto 0;
    padding: 150px max(28px, calc((100vw - var(--max)) / 2)) 44px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: 0;
    background-image:
        linear-gradient(90deg, rgba(245, 251, 252, 0.98) 0%, rgba(245, 251, 252, 0.76) 38%, rgba(245, 251, 252, 0.14) 78%),
        var(--hero-image);
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    z-index: -1;
    height: 140px;
    background: linear-gradient(180deg, rgba(245, 251, 252, 0), var(--bg));
}

.hero-copy {
    max-width: 660px;
    padding: 0 0 38px;
}

.hero-copy p {
    max-width: 600px;
    font-size: 1.12rem;
}

.search-glass {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    max-width: 620px;
    margin-top: 28px;
    padding: 10px;
    border: 1px solid var(--soft-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
}

.search-glass > i {
    display: grid;
    place-items: center;
    width: 36px;
    color: var(--cyan-dark);
}

.glass-panel,
.admin-panel,
.stat-card {
    border: 1px solid var(--soft-line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px) saturate(150%);
}

.hero-booking {
    padding: 22px;
}

.form-stack {
    display: grid;
    gap: 16px;
}

.form-grid {
    display: grid;
    gap: 14px;
}

.form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 900;
    gap: 8px;
    line-height: 1.1;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    box-shadow: 0 12px 28px rgba(7, 168, 184, 0.22);
}

.button.ghost {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.68);
}

.button.danger {
    color: #fff;
    background: var(--danger);
}

.button.small {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 0.86rem;
}

.button.wide {
    width: 100%;
}

.button-row,
.form-actions,
.actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid var(--soft-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink);
    font-weight: 900;
    backdrop-filter: blur(14px);
}

.whatsapp-reserve {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    margin-top: 12px;
    border-radius: var(--radius);
    color: #fff;
    background: #128c7e;
    font-weight: 900;
}

.whatsapp-button {
    color: #fff;
    background: #128c7e;
}

.section {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    padding: 74px 0;
}

.section.tight {
    padding-top: 44px;
}

.section.panel-section,
.section.trust-panel,
.section.newsletter-panel {
    padding: 28px;
}

.section.narrow {
    max-width: 900px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.section-head p {
    margin-bottom: 0;
}

.category-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.category-chip {
    display: grid;
    gap: 6px;
    min-height: 118px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.70);
}

.category-chip span {
    color: var(--muted);
}

.category-chip > i {
    color: var(--cyan-dark);
    font-size: 1.1rem;
}

.tour-grid,
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tour-card,
.vehicle-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-strong);
    box-shadow: var(--shadow-soft);
}

.tour-card a,
.vehicle-card a {
    display: grid;
}

.tour-card img,
.vehicle-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.tour-card div,
.vehicle-card div {
    padding: 18px;
}

.tour-card small,
.vehicle-card small {
    display: block;
    color: var(--cyan-dark);
    font-weight: 900;
    margin-bottom: 8px;
}

.tour-card p,
.vehicle-card p {
    min-height: 54px;
    margin-bottom: 14px;
}

.tour-price {
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: var(--radius);
    color: #fff;
    background: rgba(16, 35, 63, 0.84);
    padding: 8px 10px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.text-link {
    color: var(--cyan-dark);
    font-weight: 900;
}

.split-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: center;
}

.metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 16px;
}

.metrics-strip div {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.62);
}

.metrics-strip strong {
    font-size: 1.06rem;
}

.metrics-strip span {
    color: var(--muted);
    font-size: 0.9rem;
}

.metrics-strip i {
    color: var(--cyan-dark);
    font-size: 1.25rem;
}

.page-hero {
    width: 100%;
    margin: 36px auto 0;
    padding: 64px max(28px, calc((100vw - var(--max)) / 2));
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(223, 246, 247, 0.78)),
        url("../img/hero-marina.png") center / cover;
    box-shadow: var(--shadow-soft);
}

.inner-hero {
    position: relative;
    display: grid;
    align-items: center;
    width: min(calc(100% - 20px), 1400px);
    min-height: 280px;
    margin: 28px auto 0;
    padding: 52px max(28px, calc((100% - var(--max)) / 2));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: var(--radius);
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.96), rgba(229, 247, 251, 0.82)),
        url("../img/hero-marina.png") center / cover;
    box-shadow: var(--shadow-soft);
}

.inner-hero.destination-hero {
    background:
        linear-gradient(90deg, rgba(242, 252, 254, 0.96), rgba(242, 252, 254, 0.72) 56%, rgba(242, 252, 254, 0.18)),
        var(--inner-image) center / cover;
}

.inner-hero > div {
    max-width: 720px;
}

.inner-hero h1 {
    margin: 14px 0;
    font-size: 3rem;
}

.inner-hero p {
    margin-bottom: 0;
    color: #315270;
    font-size: 1.06rem;
    font-weight: 600;
}

.inner-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    box-shadow: 0 12px 28px rgba(7, 168, 184, 0.20);
    font-size: 1.24rem;
}

.inner-section {
    padding-top: 34px;
}

.destination-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.destination-list-grid .destination-card img {
    aspect-ratio: 16 / 9;
}

.destination-list-grid .destination-card span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.page-hero.compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 28px;
    align-items: center;
}

.filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.42fr) auto;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
}

.empty-state {
    padding: 44px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.62);
    text-align: center;
}

.tour-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 24px;
    width: 100%;
    margin: 36px auto 0;
    padding: 0 max(28px, calc((100vw - var(--max)) / 2));
    align-items: stretch;
}

.detail-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
    gap: 24px;
    width: min(calc(100% - 20px), 1400px);
    margin: 36px auto 0;
    align-items: stretch;
}

.detail-media {
    overflow: hidden;
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.detail-intro small {
    color: var(--cyan-dark);
    font-weight: 900;
}

.detail-intro h1 {
    font-size: 2.65rem;
}

.detail-actions,
.booking-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.detail-actions .button {
    min-height: 50px;
}

.refined-detail {
    align-items: start;
    padding-top: 34px;
}

.detail-content-stack {
    display: grid;
    gap: 18px;
}

.detail-content-card {
    padding: 28px;
}

.icon-list,
.program-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.icon-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.icon-list li,
.program-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #173052;
    font-weight: 700;
}

.icon-list i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    font-size: 0.76rem;
}

.program-list {
    counter-reset: program;
}

.program-list li {
    counter-increment: program;
    position: relative;
    min-height: 42px;
}

.program-list li span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: var(--cyan-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.program-list li span::before {
    content: counter(program);
}

.booking-card {
    border-color: rgba(7, 168, 184, 0.24);
}

.tour-visual img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.tour-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.tour-summary small {
    color: var(--cyan-dark);
    font-weight: 900;
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.detail-facts span {
    display: grid;
    gap: 3px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.68);
    color: var(--muted);
    font-size: 0.82rem;
}

.detail-facts strong {
    color: var(--ink);
    font-size: 1.02rem;
}

.detail-facts i {
    color: var(--cyan-dark);
    font-size: 1rem;
}

.detail-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 28px;
}

.content-flow {
    font-size: 1.03rem;
}

.content-flow.glass-panel {
    padding: 28px;
}

.content-flow h2 {
    margin-top: 34px;
}

.content-flow h2:first-child {
    margin-top: 0;
}

.check-list,
.timeline-list {
    display: grid;
    gap: 10px;
    padding-left: 20px;
}

.check-list li::marker {
    color: var(--green);
}

.sticky-booking {
    align-self: start;
    position: sticky;
    top: 104px;
    padding: 22px;
}

.contact-card,
.contact-side {
    display: grid;
    gap: 10px;
}

.contact-side {
    align-self: start;
    padding: 6px 0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.70);
    font-weight: 900;
}

.success-hero {
    min-height: 360px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(150px, 0.8fr));
    gap: 34px;
    align-items: start;
    width: min(calc(100% - 20px), 1400px);
    margin: 0 auto 18px;
    padding: 54px 42px 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 12% 18%, rgba(7, 168, 184, 0.28), rgba(7, 168, 184, 0) 32%),
        linear-gradient(135deg, #061d38, #082d52 58%, #05233f);
    color: #eefaff;
}

.footer-about {
    display: grid;
    gap: 28px;
}

.site-footer .brand small,
.site-footer p,
.site-footer span,
.site-footer a {
    color: rgba(238, 250, 255, 0.78);
}

.site-footer .brand strong,
.site-footer h3 {
    color: #fff;
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.10);
    font-weight: 800;
}

.footer-column {
    display: grid;
    gap: 12px;
}

.footer-column h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.footer-column a,
.footer-column span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-copy {
    grid-column: 1 / -1;
    justify-self: center;
    margin: 20px 0 0;
    color: rgba(238, 250, 255, 0.68) !important;
}

[dir="rtl"] .site-nav,
[dir="rtl"] .footer-links,
[dir="rtl"] .hero-trust {
    direction: rtl;
}

[dir="rtl"] .tour-price {
    right: auto;
    left: 12px;
}

.toast,
.notice {
    width: min(calc(100% - 32px), var(--max));
    margin: 16px auto;
    border-radius: var(--radius);
    padding: 14px 16px;
    font-weight: 800;
}

.toast {
    position: fixed;
    top: 84px;
    left: 50%;
    z-index: 80;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
}

.toast button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.success {
    background: rgba(42, 168, 118, 0.14);
    color: #0d6d4a;
}

.error {
    background: rgba(217, 78, 78, 0.13);
    color: #9b2b2b;
}

.install-shell {
    min-height: 100vh;
    padding: 28px 16px;
    background:
        linear-gradient(135deg, rgba(7, 168, 184, 0.15), rgba(245, 251, 252, 0.88)),
        url("../img/hero-marina.png") center / cover fixed;
}

.install-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 520px);
    gap: 28px;
    align-items: start;
    width: min(1120px, 100%);
    margin: 32px auto;
}

.install-hero {
    padding: 28px 10px;
}

.install-hero h1 {
    margin-top: 72px;
}

.requirement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
}

.requirement span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 900;
}

.requirement.ok span {
    background: var(--green);
}

.requirement.bad span {
    background: var(--danger);
}

.install-card,
.login-card {
    padding: 24px;
}

.form-section {
    display: grid;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.form-help {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.mysql-fields {
    display: none;
    gap: 14px;
}

.mysql-fields.is-visible {
    display: grid;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-row input {
    width: 18px;
    min-height: 18px;
}

.login-wrap {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 56px);
}

.login-card {
    width: min(430px, 100%);
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
    background: var(--admin-bg);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 22px;
    border-right: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(22px);
}

.admin-nav {
    display: grid;
    gap: 6px;
}

.ghost-link {
    margin-top: auto;
}

.admin-main {
    min-width: 0;
    padding: 24px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-topbar h1 {
    font-size: 1.9rem;
    margin-bottom: 2px;
}

.admin-topbar p {
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.stat-card {
    padding: 18px;
}

.stat-card span {
    color: var(--muted);
    font-weight: 800;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
    line-height: 1;
}

.admin-grid {
    display: grid;
    gap: 18px;
}

.admin-grid.two-cols,
.admin-grid.form-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
}

.admin-panel {
    padding: 18px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.panel-head h2 {
    margin-bottom: 0;
}

.panel-head a {
    color: var(--cyan-dark);
    font-weight: 900;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 900;
}

td small {
    display: block;
    color: var(--muted);
}

.media-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
}

.media-cell img {
    width: 62px;
    height: 46px;
    object-fit: cover;
    border-radius: var(--radius);
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: var(--radius);
    padding: 4px 9px;
    background: rgba(16, 35, 63, 0.08);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
}

.status.published,
.status.active,
.status.confirmed,
.status.completed {
    color: #0d6d4a;
    background: rgba(42, 168, 118, 0.15);
}

.status.draft,
.status.new {
    color: #90620a;
    background: rgba(239, 173, 62, 0.18);
}

.status.cancelled,
.status.passive {
    color: #9b2b2b;
    background: rgba(217, 78, 78, 0.14);
}

.rank-list,
.message-list {
    display: grid;
    gap: 12px;
}

.rank-list a,
.message-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.62);
}

.admin-form {
    display: grid;
    gap: 18px;
}

.image-preview {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.logo-preview {
    width: 180px;
    aspect-ratio: 3 / 1;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.72);
    padding: 12px;
}

.settings-form {
    gap: 20px;
}

.form-note {
    margin: -6px 0 4px;
    color: var(--muted);
    font-size: 0.9rem;
}

.theme-color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.theme-color-grid input[type="color"] {
    height: 48px;
    padding: 5px;
    cursor: pointer;
}

.input-prefix {
    display: flex;
    align-items: center;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    overflow: hidden;
}

.input-prefix span {
    display: grid;
    place-items: center;
    align-self: stretch;
    min-width: 42px;
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-weight: 900;
}

.input-prefix input {
    min-height: 46px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.button.icon-only {
    width: 34px;
    min-width: 34px;
    padding-inline: 0;
}

.settings-actions {
    justify-content: flex-end;
}

.hidden {
    display: none !important;
}

.inline-filter {
    display: flex;
    gap: 8px;
}

.inline-filter select {
    min-width: 170px;
}

@media (max-width: 980px) {
    h1 {
        font-size: 2.45rem;
    }

    .site-header {
        align-items: flex-start;
    }

    .nav-toggle,
    .sidebar-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid var(--soft-line);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.94);
        box-shadow: var(--shadow-soft);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero,
    .tour-detail-hero,
    .detail-showcase,
    .detail-layout,
    .contact-layout,
    .home-split,
    .newsletter-panel,
    .page-hero.compact,
    .split-band,
    .install-wrap,
    .admin-grid.two-cols,
    .admin-grid.form-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 132px;
        margin-top: -76px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero-copy {
        padding: 0;
    }

    .hero-booking {
        margin: 0 0 22px;
    }

    .detail-media {
        min-height: 380px;
    }

    .detail-intro h1 {
        font-size: 2.2rem;
    }

    .showcase-hero {
        min-height: auto;
        padding: 136px 28px 28px;
    }

    .showcase-copy h1 {
        font-size: 3rem;
    }

    .hero-search-card {
        grid-template-columns: 1fr 1fr;
    }

    .hero-search-card label {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .category-rail,
    .hero-card-rail,
    .destination-grid,
    .destination-list-grid,
    .activity-grid,
    .trust-panel,
    .tour-grid,
    .vehicle-grid,
    .metrics-strip,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 90;
        width: 280px;
        transform: translateX(-100%);
        transition: transform 180ms ease;
    }

    .admin-sidebar.is-open {
        transform: translateX(0);
    }
}

@media (max-width: 680px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .site-header,
    .section,
    .site-footer,
    .toast,
    .notice {
        width: min(calc(100% - 20px), var(--max));
    }

    .site-header {
        top: 10px;
        min-height: 58px;
        margin-top: 10px;
        padding: 8px 10px;
    }

    .site-header .brand {
        gap: 8px;
        max-width: calc(100% - 54px);
    }

    .site-header .brand-mark,
    .site-header .brand-logo {
        width: 38px;
        height: 38px;
    }

    .site-header .brand strong {
        display: block;
        overflow: hidden;
        max-width: 180px;
        color: #10233f;
        font-size: 0.98rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-header .brand small {
        display: none;
    }

    .site-nav {
        max-height: calc(100vh - 86px);
        overflow-y: auto;
    }

    .language-dropdown summary {
        justify-content: space-between;
        width: 100%;
    }

    .language-dropdown > div {
        position: static;
        margin-top: 6px;
        box-shadow: none;
    }

    .nav-whatsapp {
        justify-content: center;
    }

    .hero::before,
    .page-hero {
        background-position: 62% center;
    }

    .search-glass,
    .hero-search-card,
    .hero-card-rail,
    .filter-form,
    .form-grid.two,
    .detail-actions,
    .booking-actions,
    .icon-list,
    .category-rail,
    .destination-grid,
    .destination-list-grid,
    .activity-grid,
    .trust-panel,
    .tour-grid,
    .vehicle-grid,
    .newsletter-panel,
    .newsletter-panel form,
    .metrics-strip,
    .stats-grid,
    .theme-color-grid,
    .detail-facts {
        grid-template-columns: 1fr;
    }

    .showcase-hero {
        width: min(calc(100% - 14px), 1400px);
        padding: 122px 18px 20px;
    }

    .inner-hero {
        width: min(calc(100% - 14px), 1400px);
        min-height: 220px;
        padding: 34px 20px;
    }

    .inner-hero h1 {
        font-size: 2.15rem;
    }

    .showcase-copy h1 {
        font-size: 2.15rem;
    }

    .showcase-copy p {
        font-size: 1rem;
    }

    .hero-search-card label {
        padding: 9px 4px;
    }

    .panel-section,
    .section.panel-section,
    .trust-panel,
    .section.trust-panel,
    .newsletter-panel,
    .section.newsletter-panel {
        padding: 18px;
    }

    .trust-panel div {
        grid-template-columns: 44px 1fr;
        padding: 10px 0;
        border-right: 0;
    }

    .newsletter-panel > div:first-child,
    .social-links {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding: 34px 22px;
    }

    .search-glass > i {
        display: none;
    }

    .hero-copy {
        padding: 0;
    }

    .hero-booking {
        margin: 0 0 16px;
    }

    .page-hero {
        padding: 32px 20px;
    }

    .section {
        padding: 48px 0;
    }

    .section-head,
    .admin-topbar,
    .panel-head,
    .message-card {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-main {
        padding: 16px 10px;
    }

    .requirement-grid {
        grid-template-columns: 1fr;
    }

    .install-hero h1 {
        margin-top: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
