:root {
    --navy: #071e2e;
    --navy-soft: #10364a;
    --ocean: #087f8c;
    --aqua: #20c7b7;
    --sun: #ffbf3f;
    --coral: #ff6b5e;
    --sand: #f6f1e8;
    --mist: #edf7f6;
    --ink: #102a3a;
    --muted: #607783;
    --white: #fff;
    --shadow-sm: 0 10px 30px rgba(7, 30, 46, .08);
    --shadow-lg: 0 24px 70px rgba(7, 30, 46, .16);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: #fbfdfd;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.page-shell { min-height: 70vh; padding: 2rem 0 4rem; }
.page-shell > .container, .page-shell > .row { max-width: 1180px; margin-left: auto; margin-right: auto; }

.marina-nav {
    min-height: 74px;
    background: rgba(7, 30, 46, .94);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: white !important;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -.04em;
}
.navbar-brand > span:last-child > span { color: var(--aqua); }
.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: var(--navy);
    background: linear-gradient(135deg, var(--sun), #ffe197);
    box-shadow: 0 8px 22px rgba(255,191,63,.25);
}
.navbar .nav-link {
    padding: .7rem .9rem !important;
    color: rgba(255,255,255,.78);
    font-weight: 650;
    border-radius: 12px;
}
.navbar .nav-link:hover, .navbar .nav-link:focus { color: white; background: rgba(255,255,255,.08); }
.navbar .nav-cta { color: var(--navy) !important; background: var(--sun); }
.logout-form { margin: 0; }
.logout-button { width: 100%; border: 0; text-align: left; }
.navbar-toggler { border: 0; padding: .5rem; box-shadow: none !important; }

.hero {
    position: relative;
    overflow: hidden;
    color: white;
    background: radial-gradient(circle at 80% 15%, rgba(32,199,183,.22), transparent 26%), linear-gradient(135deg, #071e2e 0%, #0b4053 60%, #087f8c 130%);
}
.hero-grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 4rem;
    padding-top: 5rem;
    padding-bottom: 7.5rem;
}
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
.eyebrow, .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--aqua);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.hero h1 {
    max-width: 730px;
    margin: 1.15rem 0 1.25rem;
    font-size: clamp(3.2rem, 6vw, 5.6rem);
    line-height: .95;
    letter-spacing: -.065em;
    font-weight: 850;
}
.hero h1 span { color: var(--sun); }
.hero-copy > p { max-width: 610px; margin-bottom: 2rem; color: rgba(255,255,255,.76); font-size: 1.16rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn { border-radius: 14px; font-weight: 750; padding: .78rem 1.15rem; border-width: 0; }
.btn-lg { padding: 1rem 1.35rem; font-size: 1rem; }
.btn-sun { color: var(--navy); background: var(--sun); box-shadow: 0 14px 30px rgba(255,191,63,.22); }
.btn-sun:hover { color: var(--navy); background: #ffca5c; transform: translateY(-2px); }
.btn-glass { color: white; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.btn-glass:hover { color: white; background: rgba(255,255,255,.15); }
.btn-primary { background: var(--ocean); }
.btn-primary:hover { background: #076f7a; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; color: rgba(255,255,255,.68); font-size: .82rem; }
.trust-row i { color: var(--aqua); margin-right: .25rem; }

.hero-visual { position: relative; height: 430px; }
.sun { position: absolute; width: 165px; height: 165px; right: 8%; top: 3%; border-radius: 50%; background: linear-gradient(135deg, #ffe5a2, var(--sun)); box-shadow: 0 0 70px rgba(255,191,63,.34); }
.sail { position: absolute; z-index: 2; border-style: solid; filter: drop-shadow(0 16px 16px rgba(0,0,0,.15)); }
.sail-one { right: 35%; top: 16%; border-width: 0 0 190px 135px; border-color: transparent transparent white transparent; }
.sail-two { right: 11%; top: 20%; border-width: 168px 0 0 120px; border-color: transparent transparent transparent var(--aqua); }
.boat-hull { position: absolute; z-index: 3; right: 5%; bottom: 22%; width: 330px; height: 76px; background: white; border-radius: 8px 8px 100% 55%; transform: skewX(-10deg); box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.wave { position: absolute; left: -10%; width: 125%; border-radius: 50%; }
.wave-one { bottom: 9%; height: 95px; background: rgba(32,199,183,.62); transform: rotate(-4deg); }
.wave-two { bottom: -3%; height: 105px; background: #0a6f82; transform: rotate(3deg); }
.floating-card { position: absolute; z-index: 5; left: 0; bottom: 2%; display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 17px; background: rgba(255,255,255,.9); color: var(--ink); box-shadow: var(--shadow-lg); backdrop-filter: blur(16px); }
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: var(--muted); font-size: .72rem; }
.floating-card strong { font-size: .88rem; }
.floating-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--coral); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); border: 1px solid rgba(255,255,255,.1); }
.hero-orb-one { width: 320px; height: 320px; left: -170px; top: 80px; }
.hero-orb-two { width: 540px; height: 540px; right: -250px; bottom: -240px; }

.quick-search { position: relative; z-index: 5; margin-top: -3rem; }
.search-card { display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: .3rem; padding: .75rem; border-radius: 22px; background: white; box-shadow: var(--shadow-lg); }
.search-item { display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem; border-right: 1px solid #e8efef; }
.search-item i { color: var(--ocean); font-size: 1.25rem; }
.search-item small, .search-item strong { display: block; }
.search-item small { color: var(--muted); font-size: .72rem; }
.search-item strong { font-size: .9rem; }
.search-button { width: 54px; height: 54px; padding: 0; display: grid; place-items: center; font-size: 1.1rem; }
.search-button span { display: none; }

.section-space { padding: 6.5rem 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading h2, .final-cta h2 { max-width: 720px; margin: .45rem 0 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 820; }
.section-heading.centered { justify-content: center; text-align: center; }
.text-link { color: var(--ocean); font-weight: 750; text-decoration: none; white-space: nowrap; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.experience-card { min-height: 330px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem; border-radius: var(--radius); color: white; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.experience-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.experience-card::after { content: ""; position: absolute; width: 230px; height: 230px; right: -90px; top: -90px; border-radius: 50%; background: rgba(255,255,255,.1); }
.card-yacht { background: linear-gradient(145deg, #087f8c, #075165); }
.card-action { background: linear-gradient(145deg, #ff7d66, #ca3e52); }
.card-location { background: linear-gradient(145deg, #173b57, #071e2e); }
.experience-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: rgba(255,255,255,.16); font-size: 1.45rem; }
.experience-card h3 { margin: .35rem 0 .65rem; font-size: 1.65rem; font-weight: 800; letter-spacing: -.03em; }
.experience-card p { margin: 0; color: rgba(255,255,255,.74); line-height: 1.6; }
.experience-card div > span { color: rgba(255,255,255,.65); font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.experience-card > a { position: absolute; z-index: 2; right: 1.4rem; top: 1.4rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); text-decoration: none; }

.how-it-works { background: var(--mist); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 980px; margin: 0 auto; }
.step { position: relative; padding: 2rem; text-align: center; border: 1px solid rgba(8,127,140,.1); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.step > span { position: absolute; top: 1rem; right: 1.2rem; color: #d9e8e8; font-size: 1.8rem; font-weight: 900; }
.step > i { width: 64px; height: 64px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 20px; color: var(--ocean); background: var(--mist); font-size: 1.6rem; }
.step h3 { font-size: 1.2rem; font-weight: 800; }
.step p { color: var(--muted); margin: 0; }
.final-cta { margin-top: 6rem; margin-bottom: 6rem; padding: 3.2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-radius: 30px; color: white; background: radial-gradient(circle at 90% 10%, rgba(32,199,183,.2), transparent 28%), var(--navy); box-shadow: var(--shadow-lg); }
.final-cta h2 { max-width: 680px; }

.site-footer { padding: 4rem 0 1.5rem; color: rgba(255,255,255,.72); background: #04151f; }
.footer-grid, .footer-bottom { display: flex; justify-content: space-between; gap: 2rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-links { display: flex; align-items: flex-start; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-bottom { margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.09); font-size: .78rem; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: .3rem; }
.footer-legal-links a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-legal-links a:hover { color: #fff; text-decoration: underline; }

/* Páginas legales (privacidad, cookies, términos) */
.legal-shell { padding: 6rem 0 5rem; background: #f6fbfb; min-height: 60vh; }
.legal-shell h1 { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 1.2rem 0 .3rem; }
.legal-updated { color: #6b8b90; font-size: .85rem; margin-bottom: 2rem; }
.legal-content { max-width: 780px; color: #2c4448; line-height: 1.7; }
.legal-content h2 { font-size: 1.25rem; font-weight: 750; color: var(--navy); margin: 2rem 0 .6rem; }
.legal-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 1.4rem 0 .4rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1rem 1.3rem; }
.legal-content li { margin-bottom: .4rem; }
.legal-content a { color: var(--ocean); }

/* Redes sociales en footer */
.footer-social { display: flex; gap: .8rem; margin-top: .8rem; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 1.05rem; transition: background .15s; }
.footer-social a:hover { background: var(--sun); color: var(--navy); }

/* Íconos de redes en la barra de menú (fondo oscuro) */
.nav-social { display: flex; align-items: center; gap: .5rem; }
.nav-social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 1.05rem; transition: background .15s; }
.nav-social a:hover { background: var(--sun); color: var(--navy); }

/* Versión de escritorio: al final del menú, separada con una línea sutil */
li.nav-item > .nav-social { padding-left: .9rem; margin-left: .3rem; border-left: 1px solid rgba(255,255,255,.15); }

/* Versión fija para móvil: junto al botón de hamburguesa, siempre visible */
.nav-social-mobile { gap: .35rem; margin-right: .5rem; }
.nav-social-mobile a { width: 30px; height: 30px; font-size: .92rem; }



/* Página de Contacto */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin: 2rem 0; max-width: 780px; }
.contact-card { background: #fff; border-radius: 16px; padding: 1.4rem; box-shadow: 0 8px 24px rgba(8,127,140,.08); }
.contact-card h2 { font-size: 1.1rem; font-weight: 750; color: var(--navy); margin: .3rem 0 .8rem; }
.contact-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .5rem; }
.contact-facts li { display: flex; align-items: flex-start; gap: .5rem; color: #2c4448; font-size: .9rem; }
.contact-facts a { color: var(--ocean); }
.contact-social { margin-top: 2rem; }
.social-icon-row { display: flex; gap: .8rem; margin-top: .6rem; }
.social-icon-row a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ocean); color: #fff; font-size: 1.2rem; }
.social-icon-row a:hover { background: var(--sun); color: var(--navy); }


/* Banner de cookies */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; background: var(--navy, #071e2e); color: #fff; box-shadow: 0 -10px 30px rgba(0,0,0,.25); }
.cookie-banner-inner { max-width: 1100px; margin: 0 auto; padding: 1rem 1.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.cookie-banner-inner p { margin: 0; font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.85); flex: 1 1 320px; }
.cookie-banner-inner p a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: .6rem; flex: 0 0 auto; }
@media (max-width: 575.98px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions { justify-content: flex-end; }
}



/* Shared app screens */
.page-shell h1, .page-shell h2 { font-weight: 820; letter-spacing: -.04em; }
.page-shell .card { border: 1px solid #e5eeee; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.page-shell .card-header { padding: 1.2rem 1.4rem; border: 0; background: var(--navy); color: white; }
.page-shell .card-body { padding: 1.4rem; }
.page-shell .row { row-gap: 1rem; }
.page-shell form p { margin-bottom: 1rem; }
.page-shell form label { display: block; margin-bottom: .38rem; color: var(--ink); font-size: .84rem; font-weight: 750; }
.page-shell form input, .page-shell form select, .page-shell form textarea {
    width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid #cfdddd; border-radius: 12px; background: white; outline: none;
}
.page-shell form input:focus, .page-shell form select:focus, .page-shell form textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(32,199,183,.13); }
.table-responsive { border: 1px solid #e3ecec; border-radius: 18px; background: white; box-shadow: var(--shadow-sm); }
.table { margin: 0; }
.table > :not(caption) > * > * { padding: 1rem; vertical-align: middle; border-color: #eaf0f0; }
.table thead th { color: var(--muted); background: #f4f9f9; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.badge { padding: .5rem .65rem; border-radius: 20px; font-size: .72rem; }
.alert { border: 0; border-radius: 16px; }
.message-stack { position: relative; z-index: 20; padding-top: 1rem; }

@media (max-width: 991.98px) {
    .navbar-collapse { padding: .8rem 0 1rem; }
    .navbar .nav-link { padding: .8rem 1rem !important; }
    .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 1rem; padding-top: 4rem; padding-bottom: 8rem; }
    .hero-copy { text-align: center; margin: 0 auto; }
    .hero-copy > p { margin-left: auto; margin-right: auto; }
    .hero-actions, .trust-row { justify-content: center; }
    .hero-visual { height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
    .experience-grid { grid-template-columns: 1fr 1fr; }
    .experience-card:last-child { grid-column: span 2; min-height: 260px; }
}

@media (max-width: 767.98px) {
    .container { --bs-gutter-x: 1.4rem; }
    .marina-nav { min-height: 68px; }
    .navbar-brand.logo-only .brand-mark-logo { height: calc(var(--brand-logo-height, 44px) * .77); max-width: 150px; }
    .hero-grid { padding-top: 3.2rem; padding-bottom: 6.7rem; }
    .hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
    .hero-copy > p { font-size: 1rem; line-height: 1.6; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .trust-row { gap: .65rem 1rem; }
    .hero-visual { height: 275px; transform: scale(.92); }
    .sun { width: 120px; height: 120px; }
    .sail-one { right: 40%; border-width: 0 0 145px 100px; }
    .sail-two { border-width: 128px 0 0 88px; }
    .boat-hull { width: 250px; height: 58px; }
    .floating-card { left: 3%; }
    .quick-search { margin-top: -2rem; }
    .search-card { grid-template-columns: 1fr 1fr; gap: .35rem; }
    .search-item { padding: .7rem; border-right: 0; border-bottom: 1px solid #edf2f2; }
    .search-item:nth-child(3) { display: none; }
    .search-button { width: 100%; height: 52px; display: flex; gap: .5rem; }
    .search-button span { display: inline; }
    .section-space { padding: 4.5rem 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .experience-grid, .steps-grid { grid-template-columns: 1fr; }
    .experience-card, .experience-card:last-child { grid-column: auto; min-height: 290px; }
    .final-cta { margin-top: 4rem; margin-bottom: 4rem; padding: 2rem; flex-direction: column; align-items: flex-start; border-radius: 24px; }
    .final-cta .btn { width: 100%; }
    .footer-grid, .footer-bottom { flex-direction: column; }
    .footer-links { flex-wrap: wrap; }
    .page-shell { padding: 1.25rem 0 3rem; }
    .table-responsive { border: 0; box-shadow: none; background: transparent; }
    .table thead { display: none; }
    .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
    .table tr { margin-bottom: .8rem; padding: .4rem 1rem; border: 1px solid #e2ecec; border-radius: 16px; background: white; box-shadow: var(--shadow-sm); }
    .table td { padding: .65rem 0; border-bottom: 1px solid #edf2f2; }
    .table td:last-child { border: 0; }
}

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

/* Public commercial experience */
/* Logo real subido en Identidad visual: se muestra a su ancho natural
   (no se fuerza a un cuadrado de 38px) para que no se vea recortado o
   apachurrado si el logo no es cuadrado. */
.navbar-brand.logo-only .brand-mark-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: var(--brand-logo-height, 44px);
    max-width: 260px;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.navbar-brand.logo-only .brand-mark-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.brand-mark-logo { overflow: hidden; padding: 3px; background: #fff; }
.brand-mark-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.commercial-brand > span:last-child { max-width: 240px; line-height: 1.05; }
.commercial-home { background: #fff; }
.commercial-hero {
    min-height: 760px; position: relative; display: grid; align-items: center; overflow: hidden;
    color: #fff; background:
        radial-gradient(circle at 80% 10%, rgba(32,199,183,.26), transparent 29%),
        linear-gradient(135deg, #061b29 0%, #0a4353 58%, #087f8c 120%);
}
.commercial-hero.has-photo { background-image: var(--hero-image); background-size: cover; background-position: center; }
.commercial-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,20,31,.94) 0%, rgba(4,24,35,.82) 48%, rgba(4,24,35,.3) 100%); }
.commercial-hero.has-photo::after { content:""; position:absolute; inset:auto 0 0; height:190px; background:linear-gradient(transparent,rgba(4,20,31,.28)); pointer-events:none; }
.commercial-hero-content { position: relative; z-index: 2; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.hero-logo { min-height: 70px; display: flex; align-items: center; gap: .8rem; margin-bottom: 2.2rem; }
.hero-logo img { max-width: 190px; max-height: 82px; padding: 9px; border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 16px 45px rgba(0,0,0,.2); object-fit: contain; }
.hero-logo strong { font-size: 1.35rem; }
.commercial-hero h1 { max-width: 1100px; margin: 1rem 0 1.1rem; font-size: clamp(3.1rem, 6.5vw, 6.1rem); line-height: .94; letter-spacing: -.065em; font-weight: 860; text-wrap: balance; }
.commercial-hero-content > p { max-width: 920px; color: rgba(255,255,255,.78); font-size: 1.15rem; line-height: 1.65; }
.experience-chooser { max-width: 1240px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; margin-top: 2.2rem; }
/* Pantallas grandes (laptop/desktop): el contenedor del hero usa mucho más
   ancho de pantalla en vez de quedar apretado a la izquierda con un hueco
   vacío a la derecha (el .container de Bootstrap topa en 1320px por defecto). */
@media (min-width: 1200px) {
    .commercial-hero .container { max-width: min(94vw, 1680px); }
}
@media (min-width: 1600px) {
    .commercial-hero .container { max-width: min(90vw, 1920px); }
    .commercial-hero h1 { max-width: 1360px; font-size: clamp(3.1rem, 6vw, 7.2rem); }
    .commercial-hero-content > p { max-width: 1080px; font-size: 1.25rem; }
    .experience-chooser { max-width: 1480px; }
    .choice-card { min-height: 208px; padding: 1.75rem; }
}
.choice-card { min-height: 184px; display: flex; align-items: center; gap: 1.25rem; padding: 1.45rem; border: 1px solid rgba(255,255,255,.22); border-radius: 24px; color: #fff; background: rgba(255,255,255,.1); box-shadow: 0 20px 50px rgba(0,0,0,.16); backdrop-filter: blur(16px); text-decoration: none; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.choice-card:hover { color:#fff; transform:translateY(-6px); background:rgba(255,255,255,.17); border-color:rgba(255,255,255,.4); }
/* choice-accent-1..4: se ciclan con {% cycle %} para que cualquier
   cantidad de categorías activas se vea variada, no solo 2 tarjetas fijas. */
.choice-accent-2 { background: linear-gradient(135deg, rgba(255,107,94,.28), rgba(255,255,255,.09)); }
.choice-accent-3 { background: linear-gradient(135deg, rgba(32,199,183,.3), rgba(255,255,255,.09)); }
.choice-accent-4 { background: linear-gradient(135deg, rgba(13,48,68,.4), rgba(255,255,255,.09)); }
.choice-icon { width: 72px; height: 72px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 22px; color: var(--navy); background: var(--sun); font-size: 2rem; box-shadow: 0 12px 30px rgba(255,191,63,.22); }
.choice-accent-2 .choice-icon { color:#fff; background:var(--coral); box-shadow: 0 12px 30px rgba(255,107,94,.22); }
.choice-accent-3 .choice-icon { color:#fff; background:var(--aqua); box-shadow: 0 12px 30px rgba(32,199,183,.25); }
.choice-accent-4 .choice-icon { color:#fff; background:var(--ocean); box-shadow: 0 12px 30px rgba(8,127,140,.3); }
.choice-copy { min-width:0; }
.choice-copy small,.choice-copy strong,.choice-copy em { display:block; }
.choice-copy small { margin-bottom:.3rem; color:rgba(255,255,255,.65); font-size:.72rem; letter-spacing:.04em; text-transform:uppercase; }
.choice-copy strong { font-size:clamp(1.65rem,3vw,2.35rem); letter-spacing:-.045em; }
.choice-copy em { margin-top:.65rem; color:var(--sun); font-size:.85rem; font-style:normal; font-weight:800; }
.choice-copy em i { margin-left:.3rem; transition:transform .2s; }
.choice-card:hover em i { transform:translateX(4px); }
.hero-assurance { display:flex; flex-wrap:wrap; gap:1.2rem; margin-top:1.7rem; color:rgba(255,255,255,.7); font-size:.78rem; }
.hero-assurance i { margin-right:.3rem; color:var(--aqua); }
.section-lead { margin:.7rem 0 0; color:var(--muted); }
.featured-experiences { background:linear-gradient(180deg,#fff,#f4fbfa); }
.public-item-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.2rem; }
.public-item-card { overflow:hidden; display:flex; flex-direction:column; min-width:0; border:1px solid #e1eceb; border-radius:24px; background:#fff; box-shadow:var(--shadow-sm); transition:transform .25s ease,box-shadow .25s ease; }
.public-item-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.public-item-photo { position:relative; display:block; aspect-ratio:4/3; overflow:hidden; background:linear-gradient(135deg,#dcefed,#badfdc); }
.public-item-photo img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.public-item-card:hover .public-item-photo img { transform:scale(1.045); }
.photo-placeholder { width:100%; height:100%; display:grid; place-content:center; gap:.5rem; color:var(--ocean); text-align:center; font-size:3rem; }
.photo-placeholder small { font-size:.75rem; font-weight:750; }
.featured-badge,.item-category { position:absolute; z-index:2; padding:.47rem .7rem; border-radius:999px; font-size:.68rem; font-weight:800; backdrop-filter:blur(10px); }
.featured-badge { top:.9rem; left:.9rem; color:#6d4300; background:rgba(255,212,120,.93); }
.item-category { right:.9rem; bottom:.9rem; color:#fff; background:rgba(7,30,46,.75); }
.item-category.static { position:static; display:inline-flex; color:var(--ocean); background:#e4f5f2; }
.public-item-body { flex:1; display:flex; flex-direction:column; justify-content:space-between; padding:1.25rem; }
.public-item-body h2,.public-item-body h3 { margin:0; color:var(--navy); font-size:1.2rem; font-weight:820; letter-spacing:-.03em; }
.public-item-body h2 a,.public-item-body h3 a { text-decoration:none; }
.public-item-body p { margin:.55rem 0 1.1rem; color:var(--muted); font-size:.86rem; line-height:1.55; }
.item-title-row { display:flex; align-items:flex-start; gap:.7rem; }
.item-title-row > div { min-width:0; flex:1; }
.capacity-pill { flex:0 0 auto; padding:.35rem .55rem; border-radius:10px; color:var(--ocean); background:#edf8f6; font-size:.7rem; font-weight:800; }
.item-card-footer { display:flex; align-items:end; justify-content:space-between; gap:1rem; padding-top:1rem; border-top:1px solid #edf2f2; }
.item-card-footer > span small { display:block; color:var(--muted); font-size:.65rem; }
.item-card-footer > span strong { color:var(--navy); font-size:1.15rem; }
.item-card-footer > span em { color:var(--muted); font-size:.68rem; font-style:normal; }
.item-card-footer > a { width:42px; height:42px; flex:0 0 auto; display:grid; place-items:center; border-radius:13px; color:#fff; background:var(--ocean); text-decoration:none; }
.why-cubal { padding:7rem 0; color:#fff; background:radial-gradient(circle at 85% 15%,rgba(32,199,183,.2),transparent 25%),var(--navy); }
.why-cubal .container { display:grid; grid-template-columns:1fr .9fr; align-items:center; gap:6rem; }
.why-copy h2 { max-width:650px; margin:.7rem 0 1rem; font-size:clamp(2.5rem,5vw,4.5rem); line-height:1; letter-spacing:-.055em; font-weight:850; }
.why-copy p { max-width:590px; margin-bottom:1.7rem; color:rgba(255,255,255,.7); line-height:1.7; }
.why-points { display:grid; gap:.8rem; }
.why-points article { display:flex; align-items:center; gap:1rem; padding:1.1rem; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:rgba(255,255,255,.06); }
.why-points article > i { width:52px; height:52px; flex:0 0 auto; display:grid; place-items:center; border-radius:15px; color:var(--sun); background:rgba(255,255,255,.1); font-size:1.25rem; }
.why-points strong,.why-points small { display:block; }
.why-points small { margin-top:.2rem; color:rgba(255,255,255,.62); }
.catalog-page { min-height:75vh; background:#f4f9f8; }
.catalog-hero { padding:4.5rem 0 3.2rem; color:#fff; background:radial-gradient(circle at 80% 20%,rgba(32,199,183,.24),transparent 25%),linear-gradient(135deg,#071e2e,#0a5262); }
.catalog-back { display:inline-flex; align-items:center; gap:.4rem; margin-bottom:2.5rem; color:rgba(255,255,255,.68); font-size:.8rem; font-weight:750; text-decoration:none; }
.catalog-back:hover { color:#fff; }
.catalog-back.dark { margin:0 0 1.4rem; color:var(--ocean); }
.catalog-hero h1 { max-width:820px; margin:.65rem 0 .8rem; font-size:clamp(2.7rem,6vw,5rem); line-height:.96; letter-spacing:-.06em; font-weight:850; }
.catalog-hero > .container > p { max-width:690px; color:rgba(255,255,255,.7); font-size:1.05rem; }
.catalog-switch { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:2rem; }
.catalog-switch a { padding:.72rem 1rem; border:1px solid rgba(255,255,255,.17); border-radius:13px; color:rgba(255,255,255,.76); background:rgba(255,255,255,.06); font-size:.82rem; font-weight:750; text-decoration:none; }
.catalog-switch a.active,.catalog-switch a:hover { color:var(--navy); background:var(--sun); border-color:var(--sun); }
.catalog-results { padding:2rem 0 6rem; }
.catalog-summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.3rem; color:var(--muted); font-size:.8rem; }
.catalog-summary strong { color:var(--navy); font-size:1.1rem; }
.catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.catalog-empty { grid-column:1/-1; padding:5rem 1.5rem; border:1px dashed #bbd4d1; border-radius:24px; background:#fff; text-align:center; }
.catalog-empty > i { color:var(--sun); font-size:3rem; }
.catalog-empty h2 { margin:1rem 0 .5rem; font-weight:820; letter-spacing:-.04em; }
.catalog-empty p { max-width:520px; margin:0 auto 1.3rem; color:var(--muted); }
.public-pagination { display:flex; justify-content:center; align-items:center; gap:1rem; margin-top:2rem; color:var(--muted); font-size:.78rem; }
.public-pagination a { padding:.65rem .85rem; border:1px solid #d7e5e3; border-radius:11px; color:var(--ocean); background:#fff; font-weight:750; text-decoration:none; }
.item-detail-page { background:#f7faf9; }
.detail-shell { padding:2rem 0 6rem; }
.detail-gallery { height:540px; display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:1fr 1fr; gap:.55rem; overflow:hidden; border-radius:26px; background:#dbeceb; }
.detail-gallery figure { position:relative; min-width:0; margin:0; overflow:hidden; }
.detail-gallery .main-photo { grid-row:1/-1; }
.detail-gallery img { width:100%; height:100%; object-fit:cover; }
.detail-gallery figcaption { position:absolute; left:.8rem; bottom:.8rem; padding:.4rem .6rem; border-radius:9px; color:#fff; background:rgba(7,30,46,.7); font-size:.68rem; }
.detail-gallery.single { grid-template-columns:1fr; }
.detail-placeholder { grid-column:1/-1; display:grid; place-content:center; gap:.5rem; color:var(--ocean); text-align:center; font-size:4rem; }
.detail-placeholder span { font-size:.9rem; font-weight:800; }
.detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 360px; align-items:start; gap:4rem; padding-top:3rem; }
.detail-content h1 { margin:.8rem 0 1rem; color:var(--navy); font-size:clamp(2.7rem,5vw,4.6rem); line-height:.98; letter-spacing:-.06em; font-weight:850; }
.detail-lead { color:var(--muted); font-size:1.05rem; line-height:1.75; white-space:pre-line; }
.detail-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.7rem; margin:2rem 0 3rem; }
.detail-facts > span { min-width:0; padding:1rem; border:1px solid #e0ebea; border-radius:17px; background:#fff; }
.detail-facts i,.detail-facts small,.detail-facts strong { display:block; }
.detail-facts i { margin-bottom:.75rem; color:var(--ocean); font-size:1.2rem; }
.detail-facts small { color:var(--muted); font-size:.65rem; }
.detail-facts strong { margin-top:.18rem; font-size:.78rem; }
.detail-section { padding:2.3rem 0; border-top:1px solid #dfe9e8; }
.detail-section h2 { margin:.45rem 0 1.2rem; font-size:1.8rem; font-weight:830; letter-spacing:-.04em; }
.features-list { display:grid; grid-template-columns:1fr 1fr; gap:.65rem; }
.features-list span { padding:.8rem 1rem; border-radius:13px; background:#fff; font-size:.82rem; }
.features-list i { margin-right:.45rem; color:var(--aqua); }
.public-unit-gallery-list { display:grid; gap:1rem; }
.public-unit-gallery-card { overflow:hidden; border:1px solid #dce8e7; border-radius:18px; background:#fff; box-shadow:0 10px 26px rgba(8,41,52,.05); }
.public-unit-gallery { display:grid; grid-template-columns:2fr 1fr 1fr; gap:4px; height:240px; background:#e8f0f1; }
.public-unit-gallery figure { margin:0; overflow:hidden; }
.public-unit-gallery figure.primary { grid-row:span 2; }
.public-unit-gallery figure:nth-child(4) { grid-column:2 / span 2; }
.public-unit-gallery img { width:100%; height:100%; object-fit:cover; }
.unit-photo-placeholder { grid-column:1/-1; display:grid; place-items:center; align-content:center; gap:.5rem; color:#7b9299; }
.unit-photo-placeholder i { font-size:2rem; }
.public-unit-gallery-copy { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.1rem; }
.public-unit-gallery-copy h3 { margin:0 0 .25rem; font-size:1.05rem; }
.public-unit-gallery-copy p { margin:0; color:var(--muted); font-size:.82rem; }
.public-unit-gallery-copy > span { flex:0 0 auto; padding:.45rem .7rem; border-radius:999px; background:#e7f6f5; color:var(--ocean); font-size:.75rem; font-weight:750; }
.rate-grid { display:grid; grid-template-columns:1fr 1fr; gap:.8rem; }
.rate-card { position:relative; padding:1.3rem; border:1px solid #dfeae9; border-radius:18px; background:#fff; }
.rate-card.offer { border-color:#87cfc6; background:#f0fbf8; }
.rate-badge { display:inline-block; margin-bottom:.6rem; padding:.3rem .5rem; border-radius:8px; color:#fff; background:var(--ocean); font-size:.63rem; font-weight:800; }
.rate-card h3 { margin:0; font-size:1rem; font-weight:820; }
.rate-card p { min-height:38px; margin:.45rem 0 .8rem; color:var(--muted); font-size:.76rem; }
.rate-card > strong,.rate-card > small { display:block; }
.rate-card > strong { color:var(--navy); font-size:1.45rem; }
.rate-card > small { color:var(--muted); }
.detail-note { display:flex; gap:.8rem; padding:1rem; border-radius:15px; color:#66500d; background:#fff3c9; }
.detail-note strong { display:block; }
.booking-card { position:sticky; top:100px; padding:1.6rem; border:1px solid #dce8e7; border-radius:24px; background:#fff; box-shadow:var(--shadow-lg); }
.booking-kicker { color:var(--muted); font-size:.7rem; }
.booking-price { margin:.2rem 0 .8rem; color:var(--navy); font-size:2rem; font-weight:850; letter-spacing:-.04em; }
.booking-price small { color:var(--muted); font-size:.7rem; font-weight:600; letter-spacing:0; }
.booking-card > p { color:var(--muted); font-size:.84rem; line-height:1.55; }
.booking-benefits { display:grid; gap:.65rem; margin-top:1.3rem; padding-top:1.2rem; border-top:1px solid #edf1f1; color:var(--muted); font-size:.75rem; }
.booking-benefits i { width:20px; color:var(--ocean); }

@media (max-width: 991.98px) {
    .commercial-hero-shade { background:rgba(4,20,31,.78); }
    .public-item-grid,.catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .why-cubal .container { grid-template-columns:1fr; gap:3rem; }
    .detail-gallery { height:450px; grid-template-columns:2fr 1fr; }
    .detail-gallery figure:nth-child(n+4) { display:none; }
    .detail-layout { grid-template-columns:1fr; gap:2rem; }
    .booking-card { position:static; }
}

@media (max-width: 767.98px) {
    .commercial-brand > span:last-child { max-width:180px; font-size:1rem; }
    .commercial-hero { min-height:auto; }
    .commercial-hero-content { padding-top:3rem; padding-bottom:3rem; text-align:center; }
    .hero-logo,.hero-assurance { justify-content:center; }
    .commercial-hero h1 { font-size:clamp(2.8rem,14vw,4.2rem); }
    .commercial-hero-content > p { font-size:.96rem; }
    .experience-chooser { grid-template-columns:1fr; text-align:left; }
    .choice-card { min-height:145px; padding:1.1rem; }
    .choice-icon { width:58px; height:58px; border-radius:18px; font-size:1.55rem; }
    .choice-copy small { font-size:.6rem; }
    .hero-assurance { gap:.6rem 1rem; }
    .public-item-grid,.catalog-grid { grid-template-columns:1fr; }
    .section-space { padding:4rem 0; }
    .why-cubal { padding:4.5rem 0; }
    .catalog-hero { padding:3rem 0 2.4rem; text-align:center; }
    .catalog-back,.catalog-switch { justify-content:center; }
    .catalog-hero h1 { font-size:2.8rem; }
    .catalog-switch a { flex:1 1 42%; }
    .catalog-summary { align-items:flex-start; flex-direction:column; }
    .detail-gallery { height:360px; grid-template-columns:1fr; }
    .detail-gallery .main-photo { grid-row:1/-1; }
    .detail-gallery .support-photo { display:none; }
    .detail-layout { padding-top:2rem; }
    .detail-content h1 { font-size:2.7rem; }
    .detail-facts { grid-template-columns:1fr 1fr; }
    .features-list,.rate-grid { grid-template-columns:1fr; }
    .public-unit-gallery { height:190px; }
    .public-unit-gallery-copy { align-items:flex-start; flex-direction:column; }
}

.public-booking-page { min-height: 75vh; background: #edf7f6; }
.public-booking-shell { padding: 3.5rem 0 5rem; }
.public-booking-heading { max-width: 760px; margin-bottom: 1.8rem; }
.public-booking-heading h1 { margin: .5rem 0; color: var(--navy); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 850; letter-spacing: -.06em; }
.public-booking-heading p { color: var(--muted); }

@media (max-width: 767.98px) {
    .public-booking-shell { padding: 2.2rem 0 4rem; }
    .public-booking-heading { text-align: center; }
}

.experiences-dropdown { min-width: 220px; padding: .5rem; border: 0; border-radius: 14px; box-shadow: 0 20px 45px rgba(4,20,31,.18); }
.experiences-dropdown .dropdown-item { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: 9px; font-weight: 650; }
.experiences-dropdown .dropdown-item:hover, .experiences-dropdown .dropdown-item:focus { background: #eefaf9; color: var(--ocean); }
.experiences-dropdown .dropdown-item i { color: var(--ocean); }
.dropdown-item-icon { width: 18px; height: 18px; vertical-align: -4px; color: var(--ocean); margin-right: 2px; object-fit: contain; }
.catalog-switch a { display: inline-flex; align-items: center; gap: .4rem; }
.catalog-switch-icon { width: 16px; height: 16px; object-fit: contain; }
.choice-icon svg, .choice-icon img { width: 34px; height: 34px; object-fit: contain; }
@media (min-width: 1600px) { .choice-icon svg, .choice-icon img { width: 40px; height: 40px; } }
@media (max-width: 767.98px) { .choice-icon svg, .choice-icon img { width: 26px; height: 26px; } }

/* Ícono propio subido por el usuario: la imagen ya trae su propio fondo
   y esquinas, así que en vez de mostrarla chiquita encima del círculo de
   color por defecto, la hacemos llenar todo el contenedor y quitamos el
   fondo/sombra del placeholder. */
.choice-icon-custom { background: transparent; box-shadow: none; padding: 0; overflow: hidden; }
.choice-icon-custom img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }

