/* ==========================================================================
   Components — Ananoè Noleggio Barche (Figma node 97:2)
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-weight: var(--fw-regular); color: var(--charcoal); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }

/* ---------- Typography ---------- */
.heading-display { font-family: var(--font-display); font-weight: var(--fw-extrabold); text-transform: uppercase; line-height: 1.05; }
.section-heading__sub { font-size: 15px; color: #808080; margin-top: 8px; }
.section-heading--center { text-align: center; }
.section-heading--white, .section-heading--white .section-heading__sub { color: #fff; }

/* ---------- Container ---------- */
.container { width: 100%; max-width: calc(var(--container-max) + 160px); margin: 0 auto; padding: 0 80px; }
.section { padding: 80px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: var(--fw-semibold); border: none; cursor: pointer; transition: all var(--transition-fast); white-space: nowrap; }
.btn-primary { background: var(--coral-accent); color: #fff; padding: 10px 24px; border-radius: var(--radius-full); box-shadow: var(--shadow-coral); font-size: 14px; }
.btn-primary:hover { background: #d45520; transform: translateY(-1px); }
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-xs { padding: 8px 16px; font-size: 12px; border-radius: var(--radius-full); }
.btn-icon { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--coral-accent); color: #fff; border: none; cursor: pointer; box-shadow: var(--shadow-coral); }
.btn-icon:hover { background: #d45520; }
.btn-icon svg { width: 20px; height: 20px; }

/* ---------- Glass Card ---------- */
.glass-card { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-md); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10,46,60,0.15); transition: background var(--transition-normal); }
.site-header.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); box-shadow: var(--shadow-soft); }
.site-header.scrolled .nav-list a, .site-header.scrolled .header-phone { color: var(--charcoal); }
.site-header.scrolled .logo-name, .site-header.scrolled .logo-sub { color: var(--navy-deep); }
.header-inner { max-width: calc(var(--container-max) + 160px); margin: 0 auto; padding: 0 80px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { width: 40px; height: 40px; object-fit: contain; }
.logo-img--dark { display: none; }
.logo-img--white { display: block; }
.site-header.scrolled .logo-img--dark { display: block; }
.site-header.scrolled .logo-img--white { display: none; }
.logo-text-group { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 20px; color: #fff; line-height: 24px; }
.logo-sub { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 1.5px; line-height: 14px; }
.main-nav .nav-list { display: flex; gap: 32px; }
.main-nav .nav-list a { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: var(--fw-medium); color: #fff; }
.main-nav .nav-list a svg { width: 16px; height: 16px; }
.main-nav .nav-list a:hover { color: var(--coral-light); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: 14px; font-weight: var(--fw-medium); color: #fff; }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; color: #fff; padding: 8px; }
.mobile-menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
    flex-shrink: 0;
}
.mobile-menu__top .logo-name {
    color: #2b2b2b;
    font-size: 18px;
    line-height: 22px;
}
.mobile-menu__top .logo-sub {
    color: #2b2b2b;
    font-size: 9px;
    letter-spacing: 1.5px;
    line-height: 12px;
}
.mobile-menu__top .logo-img {
    width: 36px;
    height: 36px;
}
.mobile-menu__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #2b2b2b;
}
.mobile-menu__close svg {
    width: 24px;
    height: 24px;
}
.mobile-menu__divider {
    height: 1px;
    background: #e8e8e8;
    flex-shrink: 0;
}
.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
    flex-shrink: 0;
}
.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    font-size: 18px;
    font-weight: var(--fw-medium);
    color: #2b2b2b;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-menu__link:last-child {
    border-bottom: none;
}
.mobile-menu__link svg {
    width: 20px;
    height: 20px;
    color: var(--coral-accent);
    flex-shrink: 0;
}
.mobile-menu__link:hover {
    color: var(--coral-accent);
}
.mobile-menu__phone {
    text-align: center;
    padding: 8px 28px 24px;
    flex-shrink: 0;
}
.mobile-menu__phone a {
    font-size: 16px;
    font-weight: var(--fw-medium);
    color: #808080;
}
.mobile-menu__spacer {
    flex: 1;
}
.mobile-menu__ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 28px 40px;
    flex-shrink: 0;
}
.mobile-menu__btn-prenota {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: var(--radius-full);
    background: var(--coral-accent);
    color: #fff;
    font-size: 16px;
    font-weight: var(--fw-bold);
    box-shadow: var(--shadow-coral);
    transition: background var(--transition-fast);
}
.mobile-menu__btn-prenota:hover {
    background: #d45520;
}
.mobile-menu__btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: var(--radius-full);
    border: 1.5px solid #25d366;
    color: #25d366;
    font-size: 15px;
    font-weight: var(--fw-semibold);
    transition: all var(--transition-fast);
}
.mobile-menu__btn-wa:hover {
    background: #25d366;
    color: #fff;
}

/* ================================================================
   HERO
   ================================================================ */
.hero { position: relative; height: 100vh; overflow: hidden; display: flex; flex-direction: column; gap: 32px; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,46,60,0.3) 0%, rgba(10,46,60,0.55) 40%, rgba(10,46,60,0.85) 75%, rgba(10,46,60,0.95) 100%); z-index: 1; }
.hero__boat-img { position: absolute; top: 3%; left: 44%; width: 100%; height: auto; }
.hero__slider { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.8s ease-in-out; will-change: opacity, transform; }
.hero__slide--active { opacity: 1; }
@keyframes kenBurnsZoomIn { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes kenBurnsZoomOut { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes kenBurnsPanLeft { from { transform: scale(1.08) translateX(2%); } to { transform: scale(1.08) translateX(-2%); } }
.hero__slide--kb-1 { animation: kenBurnsZoomIn 7s ease-in-out forwards; }
.hero__slide--kb-2 { animation: kenBurnsZoomOut 7s ease-in-out forwards; }
.hero__slide--kb-3 { animation: kenBurnsPanLeft 7s ease-in-out forwards; }
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: auto; margin-bottom: auto; padding-top: 120px; max-width: calc(var(--container-max) + 160px); padding: 0 80px; margin-left: auto; margin-right: auto; width: 100%; }
.hero__badges { display: flex; }
.rating-badge { display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.rating-badge__google { flex-shrink: 0; }
.rating-badge__score { font-size: 20px; color: #fff; line-height: 1; font-weight: 700; }
.rating-badge__text { display: flex; flex-direction: column; gap: 1px; }
.rating-badge__stars { display: flex; align-items: center; line-height: 1; }
.rating-badge__star-full { color: #FFD700; font-size: 13px; letter-spacing: 1px; }
.rating-badge__star-half { color: #FFD700; font-size: 13px; opacity: 0.5; }
.rating-badge__text small { font-size: 10px; color: rgba(255,255,255,0.7); line-height: 1; }
.hero__title { font-size: 120px; color: rgba(255,255,255,0.9); text-align: center; letter-spacing: -2px; line-height: 110px; }
.hero__title-ghost { font-family: var(--font-display); font-weight: var(--fw-extrabold); text-transform: uppercase; font-size: 120px; color: rgba(255,255,255,0.3); text-align: center; letter-spacing: -2px; line-height: 110px; margin-top: -10px; }
.hero__subtitle { text-align: center; color: rgba(255,255,255,0.7); font-size: 16px; max-width: 538px; margin-bottom: 24px; }
.hero__subtitle p { line-height: 26px; }

/* Filter Bar */
.filter-bar { background: rgba(255,255,255,0.9); border: 1px solid #ebebeb; border-radius: var(--radius-full); padding: 8px; display: flex; align-items: stretch; width: fit-content; max-width: 100%; height: 64px; box-shadow: 0 4px 10px rgba(0,0,0,0.06); }
.filter-bar__field { display: flex; align-items: center; gap: 8px; padding: 0 20px; cursor: pointer; white-space: nowrap; position: relative; }
.filter-bar__field label { display: flex; align-items: center; gap: 8px; cursor: pointer; width: 100%; height: 100%; }
.filter-bar__field--grow { flex: 1; }
.filter-bar__field svg:first-child { width: 18px; height: 18px; color: var(--coral-accent); flex-shrink: 0; }
.filter-bar__field span { font-size: 14px; color: #666; }
.filter-bar__chevron { width: 12px !important; height: 12px !important; color: #999 !important; }
.filter-bar__divider { width: 1px; height: 32px; background: #e0e0e0; flex-shrink: 0; }
.filter-bar__search { flex-shrink: 0; }
.filter-bar__select--hero, .filter-bar__select { border: none; background: transparent; font-family: var(--font-body); font-size: 14px; color: #666; cursor: pointer; outline: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; padding: 14px 20px 14px 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; align-self: stretch; display: flex; align-items: center; }
.filter-bar__date { border: none; background: transparent; font-family: var(--font-body); font-size: 14px; color: #666; cursor: pointer; outline: none; width: 130px; align-self: stretch; padding: 14px 0; }
.filter-bar__date::placeholder { color: #666; }
.filter-bar__date.active { color: #1a1a1a; }

/* Flatpickr Glass Theme */
.flatpickr-glass { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(255,255,255,0.82) !important; border: 1px solid rgba(255,255,255,0.4) !important; border-radius: var(--radius-md) !important; box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important; font-family: var(--font-body) !important; overflow: hidden; }
.flatpickr-glass .flatpickr-months { background: transparent; padding: 8px 4px 0; }
.flatpickr-glass .flatpickr-months .flatpickr-month { color: var(--navy-deep); font-family: var(--font-body); font-weight: var(--fw-semibold); }
.flatpickr-glass .flatpickr-current-month { font-family: var(--font-body) !important; font-size: 14px !important; font-weight: var(--fw-semibold) !important; color: var(--navy-deep) !important; }
.flatpickr-glass .flatpickr-current-month .numInputWrapper { margin-left: 4px; }
.flatpickr-glass .flatpickr-months .flatpickr-prev-month,
.flatpickr-glass .flatpickr-months .flatpickr-next-month { fill: var(--navy-deep); padding: 8px; }
.flatpickr-glass .flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-glass .flatpickr-months .flatpickr-next-month:hover { fill: var(--coral-accent); }
.flatpickr-glass .flatpickr-weekdays { background: transparent; }
.flatpickr-glass .flatpickr-weekday { font-family: var(--font-body); color: #999; font-size: 12px; font-weight: var(--fw-medium); }
.flatpickr-glass .flatpickr-days { padding: 4px; width: 100%; }
.flatpickr-glass .dayContainer { padding: 0; min-width: 100%; max-width: 100%; width: 100%; }
.flatpickr-glass .flatpickr-day { font-family: var(--font-body); font-size: 13px; color: #333; border-radius: 8px; border: none; flex-basis: calc(100% / 7); max-width: calc(100% / 7); height: 36px; line-height: 36px; margin: 0; }
.flatpickr-glass .flatpickr-day:hover { background: rgba(232,99,43,0.1); border: none; }
.flatpickr-glass .flatpickr-day.selected { background: var(--coral-accent) !important; color: #fff !important; border: none !important; font-weight: var(--fw-semibold); }
.flatpickr-glass .flatpickr-day.today { border: 1px solid var(--coral-accent) !important; background: transparent; }
.flatpickr-glass .flatpickr-day.today.selected { background: var(--coral-accent) !important; border-color: var(--coral-accent) !important; color: #fff !important; }
.flatpickr-glass .flatpickr-day.flatpickr-disabled { color: #ccc; }
.flatpickr-glass .flatpickr-day.prevMonthDay,
.flatpickr-glass .flatpickr-day.nextMonthDay { color: #bbb; }
.filter-bar__select--hero option, .filter-bar__select option { font-family: var(--font-body); color: #1a1a1a; background: #fff; }

/* Custom Dropdown */
.custom-dropdown { position: relative; }
.custom-dropdown__label { font-family: var(--font-body); font-size: 14px; color: #666; cursor: pointer; flex: 1; user-select: none; }
.custom-dropdown__label--active { color: #1a1a1a; }
.custom-dropdown__chevron { width: 14px !important; height: 14px !important; color: #999 !important; flex-shrink: 0; transition: transform 0.2s ease; }
.custom-dropdown.open .custom-dropdown__chevron { transform: rotate(180deg); }
.custom-dropdown__menu { display: none; position: fixed; min-width: 180px; padding: 6px; margin: 0; list-style: none; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.4); border-radius: var(--radius-md); box-shadow: 0 8px 32px rgba(0,0,0,0.12); z-index: 9999; }
.custom-dropdown__menu--visible { display: block; }
.custom-dropdown__menu li { font-family: var(--font-body); font-size: 14px; color: #333; padding: 10px 14px; border-radius: 8px; cursor: pointer; transition: background 0.15s ease; white-space: nowrap; }
.custom-dropdown__menu li:hover { background: rgba(232,99,43,0.1); }
.custom-dropdown__menu li.selected { color: var(--coral-accent); font-weight: var(--fw-semibold); }
.search-bar__select { border: none; background: transparent; font-family: var(--font-body); font-size: 14px; color: #fff; cursor: pointer; outline: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; }
.search-bar__select:focus { color: #fff; }
.search-bar__select option { font-family: var(--font-body); color: #1a1a1a; background: #fff; }

/* ================================================================
   LE PIU RICHIESTE — Boat Slider
   ================================================================ */
.popular-boats { padding: 80px 0; }
.popular-boats__header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; max-width: calc(var(--container-max) + 160px); margin-left: auto; margin-right: auto; padding: 0 80px; margin-bottom: 32px; }
.popular-boats .heading-display { font-size: 40px; }
.popular-boats__inner { max-width: none; margin: 0; position: relative; }
.slider-arrows { display: flex; gap: 8px; }
.popular-boats__arrows { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.slider-arrow { width: 44px; height: 44px; border-radius: var(--radius-full); border: 1px solid #e6e6e6; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 3px rgba(0,0,0,0.06); }
.slider-arrow svg { width: 16px; height: 16px; }
.boat-slider-wrap { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; position: relative; padding-left: 80px; }
@media (min-width: 1440px) { .boat-slider-wrap { padding-left: calc((100vw - var(--container-max)) / 2); } }
.boat-slider-wrap::-webkit-scrollbar { display: none; }
.boat-slider { overflow: visible; cursor: grab; padding: 10px 0; width: max-content; }
.popular-boats__inner::after { content: ''; position: absolute; right: 0; top: 0; width: 80px; height: 100%; background: linear-gradient(to left, #fff, transparent); z-index: 3; pointer-events: none; }
.boat-slider::-webkit-scrollbar { display: none; }
.boat-slider-wrap.dragging { cursor: grabbing; user-select: none; }
.boat-slider__track { display: flex; gap: 24px; padding-right: 80px; }

/* Boat Card Glass */
.boat-card-glass { flex: 0 0 310px; height: 460px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.12); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; position: relative; transition: transform 0.3s ease, box-shadow 0.4s ease; cursor: pointer; }
.boat-card-glass:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }
.boat-card-glass__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: 0; }
.boat-card-glass__image-area { height: 234px; overflow: hidden; position: relative; flex-shrink: 0; z-index: 1; }
.boat-card-glass__rating { position: absolute; bottom: 6px; right: 10px; backdrop-filter: blur(6px); background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; padding: 4px 10px 4px 8px; font-size: 13px; font-weight: var(--fw-bold); color: #fff; display: flex; align-items: center; gap: 4px; }
.boat-card-glass__rating .star { color: var(--coral-accent); font-size: 12px; }
.boat-card-glass__content { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 20px; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.boat-card-glass__location { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #a8e0ef; }
.boat-card-glass__location svg { width: 12px; height: 14px; }
.boat-card-glass__specs { display: flex; gap: 12px; font-size: 12px; font-weight: var(--fw-medium); color: rgba(255,255,255,0.7); }
.boat-card-glass__divider { height: 1px; background: rgba(255,255,255,0.15); }
.boat-card-glass__footer { display: flex; align-items: baseline; justify-content: space-between; }
.boat-card-glass__price { display: flex; flex-direction: column; line-height: 1.2; }
.boat-card-glass__price-label { font-size: 11px; color: rgba(255,255,255,0.6); font-weight: var(--fw-medium); }
.boat-card-glass__price strong { font-size: 22px; font-weight: var(--fw-bold); color: var(--coral-accent); }
.boat-card-glass__price span { font-size: 13px; color: rgba(255,255,255,0.7); margin-left: 4px; }

/* ================================================================
   LE NOSTRE BARCHE — Categories
   ================================================================ */
.our-boats .heading-display { font-size: 40px; }
.our-boats__layout { display: flex; gap: 16px; margin-top: 40px; }
.category-grid { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.category-grid__row { display: flex; gap: 16px; }
.cat-card { position: relative; height: 100%; min-height: 416px; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; flex: 1; overflow: hidden; transition: transform var(--transition-normal); }
.cat-card:hover { transform: scale(1.02); }
.cat-card--teal { background: #bfe0eb; }
.cat-card--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 40%, transparent 70%); border-radius: 16px; z-index: 1; pointer-events: none; }
.cat-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.cat-card__arrow { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; transition: transform 0.3s ease; z-index: 2; }
.cat-card:hover .cat-card__arrow { transform: rotate(45deg); }
.cat-card__name { font-size: 18px; font-weight: var(--fw-bold); color: #fff; position: relative; z-index: 2; }
.cat-card__desc { font-size: 12px; color: rgba(255,255,255,0.7); position: relative; z-index: 2; }

/* Stats Panel */
.stats-column { width: 307px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.stats-panel { background: var(--aqua-light); border-radius: 16px; padding: 32px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.stats-panel--reviews { background: var(--navy-deep); flex: none; padding: 20px 24px; flex-direction: row; align-items: center; gap: 14px; }
.stats-panel--reviews .stats-panel__desc { color: rgba(255,255,255,0.6); font-size: 12px; line-height: 16px; margin: 0; }
.stats-panel__google { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.stats-panel--reviews .stats-panel__number { color: #fff; font-size: 32px; line-height: 32px; }
.stats-panel__review-info { display: flex; flex-direction: column; gap: 2px; }
.stats-panel__stars { color: #FFD700; font-size: 14px; letter-spacing: 1px; }
.stats-panel__star-half { opacity: 0.5; }
.stats-panel__label { font-size: 14px; font-weight: var(--fw-medium); color: var(--navy-deep); }
.stats-panel__number { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 64px; color: var(--navy-deep); line-height: 64px; }
.stats-panel__desc { font-size: 14px; color: #999; line-height: 22px; }
.stats-panel__cta { display: block; width: 48px; height: 48px; }

/* ================================================================
   COSA VISITARE — Destinations
   ================================================================ */
.destinations-section { background: #f5f7f7; }
.destinations-section .heading-display { font-size: 40px; }
.dest-tabs { margin-top: 32px; }
.dest-tabs__switcher { display: flex; background: var(--sand-white); padding: 4px; border-radius: 12px 12px 0 0; width: fit-content; border: 1px solid #e5ddd4; border-bottom: none; }
.dest-tabs__btn { padding: 10px 24px; border-radius: 10px; border: none; background: transparent; font-family: var(--font-body); font-size: 14px; font-weight: var(--fw-medium); color: #666; cursor: pointer; }
.dest-tabs__btn.active { background: #fff; color: #333; font-weight: var(--fw-semibold); }
.dest-panel { background: var(--sand-white); border-radius: 0 20px 20px 20px; padding: 10px; display: none; flex-direction: column; gap: 10px; border: 1px solid #e5ddd4; }
.dest-panel.active { display: flex; }
.dest-panel__main { display: flex; height: 324px; overflow: hidden; }
.dest-panel__image { flex: 0 0 55%; max-width: 666px; border-radius: 12px; overflow: hidden; }
.dest-panel__image img { width: 100%; height: 100%; object-fit: cover; }
.dest-panel__info { flex: 1; padding: 20px 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; min-width: 0; }
.dest-panel__name { font-size: 42px; color: #1a1a1a; }
.dest-panel__tagline { font-size: 20px; font-weight: var(--fw-bold); color: #333; }
.dest-panel__desc { font-size: 13px; color: #555; line-height: 20px; }
.dest-panel__features { display: flex; gap: 8px; flex-wrap: wrap; }
.dest-feature { font-family: var(--font-body); font-size: 12px; font-weight: var(--fw-medium); color: #555; background: rgba(0,0,0,0.06); padding: 6px 14px; border-radius: var(--radius-full); }
.dest-panel__strip { display: flex; gap: 8px; height: 219px; overflow: hidden; }
.strip-photo { border-radius: 12px; overflow: hidden; flex: 1 1 0; min-width: 0; }
.strip-photo img { width: 100%; height: 100%; object-fit: cover; }
.strip-photo--placeholder { flex: 1 1 0; background: #bfe0eb; }
.strip-photo--teal { background: #66b2bf; flex: 0.7 1 0; }
.strip-photo--wide { flex: 1.5 1 0; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
/* Reviews Section */
.reviews-section { background: var(--sand-white); }
.reviews__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.reviews__header .heading-display { font-size: 40px; }
.reviews__score { display: flex; align-items: center; gap: 10px; }
.reviews__score strong { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 32px; color: var(--navy-deep); }
.reviews__stars { color: #FFD700; font-size: 18px; letter-spacing: 1px; }
.reviews__star-half { opacity: 0.5; }
.reviews__count { font-size: 14px; color: #808080; margin-left: 4px; }
.reviews__slider-outer { max-width: none; padding-left: 80px; position: relative; }
@media (min-width: 1440px) { .reviews__slider-outer { padding-left: calc((100vw - var(--container-max)) / 2); } }
.reviews__slider-outer::after { content: ''; position: absolute; right: 0; top: 0; width: 80px; height: 100%; background: linear-gradient(to left, var(--sand-white), transparent); z-index: 2; pointer-events: none; }
.reviews__slider-wrap { position: relative; }
.reviews__slider { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.reviews__slider::-webkit-scrollbar { display: none; }
.reviews__track { display: flex; gap: 20px; }
.review-card { flex: 0 0 360px; }
.reviews__arrows { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }

/* Chat bubbles */
/* Legal Pages */
.legal-page__hero { background: var(--navy-deep); padding: 120px 0 48px; }
.legal-page__title { font-size: 48px; color: #fff; }
.legal-page__subtitle { font-size: 16px; color: rgba(255,255,255,0.6); margin-top: 8px; }
.legal-page__content { max-width: 800px; padding: 48px 0 80px; }
.legal-page__update { font-size: 13px; color: #999; margin-bottom: 32px; }
.legal-page__content h2 { font-family: var(--font-body); font-size: 20px; font-weight: var(--fw-bold); color: var(--navy-deep); margin: 32px 0 12px; }
.legal-page__content h3 { font-family: var(--font-body); font-size: 16px; font-weight: var(--fw-semibold); color: #333; margin: 20px 0 8px; }
.legal-page__content p { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 12px; }
.legal-page__content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-page__content li { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 6px; }
.legal-page__content strong { color: #1a1a1a; }

/* Review Cards */
.review-card { background: #fff; border: 1px solid #e5ddd4; border-radius: 16px; overflow: hidden; }
.review-card__photo { height: 200px; overflow: hidden; }
.review-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.review-card__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.review-card__top { display: flex; align-items: center; justify-content: space-between; }
.review-card__author { display: flex; align-items: center; gap: 10px; }
.review-card__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: var(--fw-bold); font-size: 14px; flex-shrink: 0; }
.review-card__name { font-family: var(--font-body); font-size: 14px; font-weight: var(--fw-semibold); color: #1a1a1a; display: block; }
.review-card__date { font-size: 12px; color: #999; }
.review-card__google { flex-shrink: 0; }
.review-card__stars { color: #FFD700; font-size: 14px; letter-spacing: 1px; }
.review-card__text { font-family: var(--font-body); font-size: 14px; color: #444; line-height: 1.6; }

/* Stat circles */
.stats-row { display: flex; gap: 40px; }

/* ================================================================
   COME FUNZIONA
   ================================================================ */
.hiw {
    max-width: calc(var(--container-max) + 160px);
    margin: 0 auto;
    padding: 80px 80px 120px;
}

/* Top row: CERCA aligned bottom + right column */
.hiw__top {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

/* Shared card styles */
.hiw__card { border-radius: 20px; padding: 20px; }
.hiw__card p { font-size: 13px; color: #595959; line-height: 20px; }
.hiw__card-title { font-size: 28px; color: #1a1a1a; }
.hiw__card-image--teal { background: #66b2bf; }
.hiw__card-image--teal-dark { background: #59a6b2; }
.hiw__card-image--purple { background: #d9ccd9; }

/* CERCA */
.hiw__cerca-col {
    width: 280px;
    flex-shrink: 0;
}
.hiw__card--cerca {
    background: #d9edeb;
    height: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 0 20px 20px 20px;
    overflow: hidden;
}
.hiw__card--cerca .hiw__card-image { flex: 1; min-height: 0; border-radius: 12px; width: 100%; object-fit: cover; }

/* Right column */
.hiw__right-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* PRENOTA */
.hiw__card--prenota {
    background: #e5f5e5;
    height: 211px;
    display: flex;
    gap: 12px;
}
.hiw__prenota-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}
.hiw__prenota-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
}
.hiw__prenota-images {
    display: flex;
    gap: 8px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.hiw__prenota-images .hiw__card-image { flex: 1; border-radius: 12px; height: 100%; object-fit: cover; min-width: 0; }
.hiw__card-image--tall { width: 160px; flex-shrink: 0; border-radius: 12px; object-fit: cover; height: 100%; }

/* Bottom grid: COME text + GODITELA */
.hiw__bottom-grid {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.hiw__come-text {
    width: 608px;
    flex-shrink: 0;
}
/* Video text mask — video visible through text, white surround */
.hiw__text-video {
    position: relative;
    display: block;
    overflow: hidden;
}
.hiw__video-src {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
/* Label sets height via line-height; video fills that space */
/* White overlay with text knocked out via mix-blend-mode */
.hiw__video-label {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: var(--fw-extrabold);
    text-transform: uppercase;
    font-size: 300px;
    line-height: 1;
    padding-bottom: 10px;
    display: block;
    color: #000;
    background: #fff;
    mix-blend-mode: screen;
}

/* Fallback gradient (kept for non-video uses) */
.hiw__text-gradient {
    font-family: var(--font-display);
    font-weight: var(--fw-extrabold);
    text-transform: uppercase;
    font-size: 300px;
    line-height: 0.85;
    background: linear-gradient(180deg, #1ab2bf 0%, #33ccd9 30%, #d9f2f7 50%, #26a6b8 70%, #148c9e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

/* GODITELA */
.hiw__card--goditela {
    width: 280px;
    flex-shrink: 0;
    background: #f7e8e0;
    height: 191px;
    padding: 0 0 20px 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}
.hiw__goditela-header {
    display: flex;
    gap: 24px;
    align-items: flex-end;
}
.hiw__goditela-header .hiw__card-image { flex: 1; height: 80px; border-radius: 12px; }
.hiw__goditela-img { flex: 1; min-width: 0; height: auto; border-radius: 12px; object-fit: cover; align-self: stretch; }

/* FUNZIONA row */
.hiw__funziona-row {
    text-align: center;
    overflow: hidden;
    margin-top: -40px;
}
.hiw__funziona-row .hiw__video-label,
.hiw__funziona-row .hiw__text-gradient {
    line-height: 0.85;
}

/* Responsive */
@media (max-width: 1024px) {
    .hiw { padding: 60px 40px 0; }
    .hiw__text-gradient { font-size: 180px; line-height: 0.85; }
    .hiw__video-label { font-size: 180px; line-height: 0.85; }
    .hiw__come-text { width: auto; flex: 1; }
    .hiw__card--goditela { width: 240px; }
    .hiw__card-image--tall { width: 120px; }
}

@media (max-width: 768px) {
    .hiw { padding: 48px 20px 0; }
    .hiw__top { flex-direction: column; align-items: stretch; }
    .hiw__cerca-col { width: 100%; }
    .hiw__card--cerca { height: auto; min-height: 240px; }
    .hiw__card--prenota { height: auto; min-height: 180px; flex-direction: column; }
    .hiw__card-image--tall { width: 100%; height: 120px; }
    .hiw__bottom-grid { flex-direction: column; }
    .hiw__come-text { width: 100%; }
    .hiw__card--goditela { width: 100%; height: auto; }
    .hiw__text-gradient,
    .hiw__video-label { font-size: 80px; line-height: 0.85; }
    .hiw__funziona-row { margin-top: -10px; }
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-section { position: relative; height: 570px; overflow: hidden; display: flex; align-items: center; }
.faq-section__bg { position: absolute; inset: 0; }
.faq-section__bg img { width: 100%; height: 100%; object-fit: cover; }
.faq-section__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.faq-section .container { position: relative; z-index: 1; }
.faq__layout { display: flex; gap: 64px; align-items: flex-start; }
.faq__left { flex-shrink: 0; }
.faq__left .heading-display { font-size: 40px; }
.faq__list { width: 570px; display: flex; flex-direction: column; gap: 12px; }
.faq-card { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; padding: 20px 24px; overflow: hidden; }
.faq-card__header { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; font-family: var(--font-body); font-size: 16px; font-weight: var(--fw-medium); color: #fff; cursor: pointer; gap: 12px; text-align: left; }
.faq-card__header svg { width: 12px; height: 12px; flex-shrink: 0; }
.faq-card__answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-normal); }
.faq-card__answer p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 22px; padding-top: 16px; }
.faq-card.open .faq-card__answer { max-height: 200px; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: #fff; }
.footer-inner { max-width: calc(var(--container-max) + 160px); margin: 0 auto; padding: 0 80px 32px; }
.footer__divider-top { height: 2px; background: #e6e6e6; margin-bottom: 32px; }
.footer__divider-bottom { height: 1px; background: #e6e6e6; margin-bottom: 16px; }
.footer__columns { display: flex; gap: 48px; margin-bottom: 32px; }
.footer__brand { width: 232px; flex-shrink: 0; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-logo img { width: 40px; height: 40px; }
.footer-logo__text { display: flex; flex-direction: column; }
.footer-logo__text strong { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 20px; color: #1a1a1a; line-height: 24px; }
.footer-logo__text small { font-size: 11px; color: #1a1a1a; letter-spacing: 1.5px; line-height: 14px; }
.footer__tagline { font-size: 13px; color: #999; line-height: 20px; }
.footer__col { flex: 1; }
.footer__col h4 { font-size: 14px; font-weight: var(--fw-semibold); color: #1a1a1a; margin-bottom: 12px; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { font-size: 13px; color: #666; }
.footer__col a:hover { color: var(--coral-accent); }
.footer__social { display: flex; gap: 12px; margin-bottom: 16px; }
.footer__social img { width: 40px; height: 40px; }
.lang-switcher { display: flex; align-items: center; gap: 8px; background: #f2f2f2; border: 1px solid #e0e0e0; border-radius: var(--radius-full); padding: 8px 12px; font-size: 13px; font-weight: var(--fw-medium); color: #333; }
.lang-switcher svg { width: 8px; height: 8px; }
.lang-flag { display: flex; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: #fff; }
.flag-green { width: 8px; height: 22px; background: #009145; }
.flag-white { width: 6px; height: 22px; background: #fff; }
.flag-red { width: 8px; height: 22px; background: #cf2129; }
.footer__copy { font-size: 12px; color: #999; text-align: center; }

/* ---------- Header solid — pagine interne (scheda barca, catalogo) ---------- */
.page-scheda-barca .site-header {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.page-scheda-barca .nav-list a,
.page-scheda-barca .header-phone {
    color: var(--charcoal);
}
.page-scheda-barca .logo-name {
    color: var(--navy-deep);
}
.page-scheda-barca .logo-sub {
    color: var(--navy-deep);
}
.page-scheda-barca .mobile-menu-toggle {
    color: var(--charcoal);
}

/* ---------- Header overlay — no body push ---------- */

/* ================================================================
   CATALOGO BARCHE (archive-barca)
   ================================================================ */
.catalogo-page { background: #f7f7f7; }

/* Hero Compact */
.catalogo-hero { background: var(--navy-deep); display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 0 80px 72px; height: auto; min-height: 473px; overflow: hidden; }
.catalogo-hero__content { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.catalogo-hero__title { font-size: 90px; color: #fff; text-align: center; line-height: 56px; }
.catalogo-hero__sub { font-size: 16px; color: rgba(255,255,255,0.6); text-align: center; }

/* Filter Bar Catalogo */
.catalogo-filter-bar { background: #fff; border: 1px solid #ebebeb; border-radius: var(--radius-full); padding: 8px; display: flex; align-items: center; width: fit-content; max-width: 100%; height: 64px; box-shadow: 0 4px 10px rgba(0,0,0,0.06); margin-bottom: -32px; position: relative; z-index: 3; }
.filter-bar__reset { display: flex; align-items: center; gap: 4px; background: none; border: none; font-family: var(--font-body); font-size: 13px; color: var(--coral-accent); cursor: pointer; padding: 8px 16px; font-weight: var(--fw-medium); }
.filter-bar__reset svg { width: 14px; height: 14px; }
.catalogo-no-results { text-align: center; padding: 48px 0; color: #808080; font-size: 15px; width: 100%; }

/* Grid Section */
.catalogo-grid-section { padding: 48px 160px 80px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.catalogo-toolbar { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.catalogo-count { font-size: 14px; color: #808080; }
.catalogo-sort { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: #666; font-weight: var(--fw-medium); }
.catalogo-sort svg { width: 16px; height: 16px; color: var(--coral-accent); }
.catalogo-sort .filter-bar__chevron { width: 12px !important; height: 12px !important; color: #999 !important; }
.catalogo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; padding: 12px 0; }

/* Card override for grid — fill width */
.boat-card-glass--grid { flex: none; width: 100%; height: 460px; }

/* Load More */
.catalogo-load-more { display: flex; justify-content: center; }
.btn-load-more { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border: 2px solid var(--coral-accent); border-radius: var(--radius-full); font-family: var(--font-body); font-size: 15px; color: var(--coral-accent); background: transparent; cursor: pointer; transition: all var(--transition-fast); }
.btn-load-more:hover { background: var(--coral-accent); color: #fff; }

@media (max-width: 1024px) {
    .catalogo-grid-section { padding: 48px 40px; }
    .catalogo-grid { grid-template-columns: repeat(2, 1fr); }
    .catalogo-filter-bar { width: 100%; max-width: 833px; }
    .catalogo-hero { padding: 0 40px 48px; }
}
@media (max-width: 768px) {
    .catalogo-hero { height: auto; padding: 120px 20px 48px; }
    .catalogo-hero__title { font-size: 48px; line-height: 1; }
    .catalogo-filter-bar { width: 100%; flex-wrap: wrap; height: auto; border-radius: var(--radius-lg); padding: 12px; gap: 8px; }
    .catalogo-filter-bar .filter-bar__divider { display: none; }
    .catalogo-grid-section { padding: 32px 20px; }
    .catalogo-grid { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
body.menu-open { overflow: hidden; }
