/* ============================================================================
   NAVISUREST · Rediseño 2026
   Aplica el sistema de diseño definido en /_redesign/styles.css
   sobre el HTML emitido por el PHP de producción.
   Carga DESPUÉS de estilos.css y lo machaca con la especificidad mínima necesaria.
   ============================================================================ */


/* --------------------------- TOKENS --------------------------- */
:root {
    --navy-900: #0a1f3d;
    --navy-800: #102a4f;
    --navy-700: #163768;
    --navy-600: #1d4a8c;
    --navy-500: #2563b8;
    --navy-100: #e8f0fa;
    --navy-50:  #f4f8fd;

    --gold-600: #b8893a;
    --gold-500: #c9a961;
    --gold-400: #d4a857;
    --gold-100: #f5ecd5;

    --ink-900: #0e1a2e;
    --ink-700: #2c3e5c;
    --ink-500: #5a6b85;
    --ink-300: #9aa8bd;
    --ink-100: #e6ebf3;

    --bg-cream: #fafaf7;
    --bg-soft:  #f4f6fa;

    --shadow-sm: 0 1px 2px rgba(10,31,61,0.06);
    --shadow-md: 0 4px 16px rgba(10,31,61,0.08);
    --shadow-lg: 0 12px 32px rgba(10,31,61,0.12);
    --shadow-xl: 0 24px 48px rgba(10,31,61,0.16);
    --shadow-gold: 0 4px 12px rgba(184,137,58,0.30);

    --radius: 10px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* --------------------------- RESET BASE / TYPOGRAPHY --------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0 !important; padding: 0 !important; background: var(--bg-cream) !important; color: var(--ink-900) !important; font-family: var(--font-sans) !important; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--navy-700); text-decoration: none; transition: color 0.2s var(--ease); }
h1 { background: none !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
a:hover { color: var(--gold-600); }

/* Neutraliza el wrapper #main, #shadow, .shadow_top, .shadow_bottom, etc. */
#main { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; height: auto !important; position: static !important; background: var(--bg-cream) !important; }
#shadow { background: transparent !important; padding: 0 !important; margin: 0 !important; width: 100% !important; }
#shadow .shadow_top, #shadow .shadow_repeat, .shadow_bottom { display: none !important; }
#contenido { background: transparent !important; width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; height: auto !important; overflow: visible !important; }
#cont_banner { all: unset; display: block; }

/* Oculta estructuras antiguas que sustituimos por bloques nuevos */
#taco_pie { display: none !important; }
#header { display: none !important; }    /* nav antigua oculta — se sustituye por .hdr */
#main_header { display: none !important; } /* topbar antiguo oculto — se sustituye por .topbar */
#listado_bottom { display: none !important; }
#footer { display: none !important; }
.imagen_banner { display: none !important; }
#menu_hamburger.menu_hamburger { display: none !important; } /* hamburguer antiguo, ahora .menu-burger */

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --------------------------- TOPBAR --------------------------- */
.topbar { background: var(--navy-900); color: #fff; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; gap: 18px; font-size: 12px; }
.topbar-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.topbar-yacht { font-family: var(--font-display); font-style: italic; color: var(--gold-400); letter-spacing: 0.05em; line-height: 1; }
.topbar-flags { display: inline-flex; gap: 8px; align-items: center; }
.topbar-flags a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 8px 6px;
    border-radius: 4px;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
    background: rgba(255,255,255,0.08);
}
.topbar-flags a:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.25); background: rgba(255,255,255,0.18); }
.topbar-flags svg {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* --------------------------- GOOGLE TRANSLATE — ocultar barra y branding --------------------------- */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-tooltip, .goog-tooltip:hover, .goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style*="background-color"] { background: transparent !important; }
#google_translate_element { display: none !important; }
.topbar-contact { margin-left: auto; display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; color: rgba(255,255,255,0.85); white-space: nowrap; line-height: 1; font-size: 13.5px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 4px 0; text-decoration: none !important; color: var(--gold-400) !important; font-size: 13.5px; }
.topbar-contact a:hover { color: #fff !important; }
.topbar-contact a.topbar-phone { color: #fff !important; }
.topbar-contact a.topbar-phone:hover { color: var(--gold-400) !important; }
.topbar-mail { color: var(--gold-400) !important; }
.topbar-mail { color: var(--gold-400); }

/* --------------------------- HEADER --------------------------- */
.hdr { background: #fff; border-bottom: 1px solid var(--ink-100); position: sticky; top: 0; z-index: 100; }
.hdr-inner { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.logo { display: inline-flex; align-items: center; text-decoration: none !important; background: var(--navy-900); border-radius: 6px; padding: 5px 10px; transition: opacity 0.2s; }
.logo:hover { opacity: 0.85; text-decoration: none !important; }
.logo-img { height: 48px; width: auto; display: block; }

@media (max-width: 720px) {
    .logo-img { height: 38px; }
    .logo { padding: 4px 8px; }
}
.nav { display: flex; gap: 4px; align-items: center; }
.nav-link { padding: 10px 16px; color: var(--ink-700) !important; font-size: 14px; font-weight: 500; border-radius: 6px; cursor: pointer; transition: all 0.25s var(--ease); text-decoration: none !important; }
.nav-link:hover { background: var(--navy-50); color: var(--navy-900) !important; text-decoration: none !important; }
.nav-link.on { background: var(--navy-100); color: var(--navy-900) !important; font-weight: 600; }
.nav-link-arrow { display: none; }
.nav-contact, .nav-logo { display: none; }

/* --------------------------- HERO (home) --------------------------- */
.hero { position: relative; height: 460px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.65); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,31,61,0.4) 0%, rgba(10,31,61,0.2) 40%, rgba(10,31,61,0.85) 100%); }
.hero-content { position: relative; max-width: 1200px; margin: 0 auto; padding: 100px 24px 0; color: #fff; }
.hero-eyebrow { font-size: 12px; font-weight: 600; color: var(--gold-400); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px; }
.hero-title { font-family: var(--font-display); font-size: 56px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; color: #fff; margin: 0 0 18px; max-width: 720px; text-shadow: 0 2px 16px rgba(0,0,0,0.4); }
.hero-sub { font-size: 17px; line-height: 1.5; color: rgba(255,255,255,0.85); max-width: 540px; margin: 0; }
.hero-search-wrap { position: absolute; left: 50%; bottom: -50px; transform: translateX(-50%); width: calc(100% - 48px); max-width: 1100px; z-index: 10; }

/* Accesibilidad: oculto visualmente pero legible por lectores de pantalla */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --------------------------- BUSCADOR --------------------------- */
.buscador { background: rgba(255,255,255,0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.5); }
.buscador-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--navy-900); margin-bottom: 14px; }
.buscador-form { display: flex; gap: 10px; align-items: center; }
.buscador-form select { flex: 1; height: 46px; padding: 0 36px 0 14px; border: 1px solid var(--ink-100); border-radius: 6px; background: #fff; font-size: 14px; color: var(--ink-900); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23163768' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; transition: all 0.25s var(--ease); font-family: inherit; }
.buscador-form select:hover { border-color: var(--navy-500); }
.buscador-form select:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(37,99,184,0.15); }

/* --------------------------- BUTTONS --------------------------- */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: #fff !important; border: none; border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(10,31,61,0.25); transition: all 0.25s var(--ease); font-family: inherit; text-decoration: none !important; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,31,61,0.35); color: #fff !important; }
.btn-primary.big { height: 54px; padding: 0 32px; font-size: 15px; }
.btn-pill, .btn-gold-pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff !important; border-radius: 999px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: var(--shadow-gold); cursor: pointer; transition: all 0.25s var(--ease); border: none; font-family: inherit; text-decoration: none !important; }
.btn-pill:hover, .btn-gold-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(184,137,58,0.45); color: #fff !important; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; background: #fff; color: var(--navy-900) !important; border: 1px solid var(--ink-100); border-radius: 6px; font-weight: 500; font-size: 14px; cursor: pointer; transition: all 0.25s var(--ease); font-family: inherit; text-decoration: none !important; }
.btn-ghost:hover { background: var(--navy-50); border-color: var(--navy-100); }
.btn-outline-light { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; font-weight: 500; font-size: 13px; cursor: pointer; text-decoration: none !important; }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); }

/* --------------------------- SECTIONS --------------------------- */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 24px; }
.t-eyebrow { font-size: 12px; font-weight: 600; color: var(--gold-600); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.welcome { padding-top: 140px; }
.welcome h2 { font-family: var(--font-display); font-size: 40px; line-height: 1.1; color: var(--navy-900); margin: 0 0 18px; }
.welcome p { color: var(--ink-700); line-height: 1.6; font-size: 15px; margin: 0 0 14px; }
.welcome-photo { aspect-ratio: 4/3; border-radius: 16px; background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }
.section-head h2 { font-family: var(--font-display); font-size: 36px; color: var(--navy-900); margin: 0; line-height: 1.1; }

/* --------------------------- SERVICES --------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--ink-100); border-radius: 16px; padding: 28px; transition: all 0.25s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-50); color: var(--navy-700); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-card h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 8px; color: var(--navy-900); }
.service-card p { font-size: 14px; line-height: 1.5; margin: 0 0 14px; color: var(--ink-700); }
.link-arrow { color: var(--navy-700) !important; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.link-arrow:hover { color: var(--gold-600) !important; }

/* --------------------------- BOAT CARDS --------------------------- */
.boats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.boats-grid.four { grid-template-columns: repeat(4, 1fr); }
.boats-grid.links-grid { grid-template-columns: repeat(2, 1fr); }
.boat-card { background: #fff; border: 1px solid var(--ink-100); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: all 0.25s var(--ease); display: block; color: inherit !important; text-decoration: none !important; }
.boat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit !important; }
.boat-img { aspect-ratio: 4/3; background-color: var(--ink-100); position: relative; overflow: hidden; transition: transform 0.6s var(--ease); }
.boat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s var(--ease); }
.boat-card:hover .boat-img img { transform: scale(1.05); }
.boat-code { position: absolute; top: 12px; left: 12px; background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; white-space: nowrap; z-index: 2; }
.boat-flag { position: absolute; top: 12px; right: 12px; background: rgba(10,31,61,0.85); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; z-index: 2; }
.boat-body { padding: 18px; }
.boat-body h2, .boat-body h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 6px; color: var(--navy-900); }
.boat-meta { color: var(--ink-500); font-size: 13px; display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.boat-meta span { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.boat-meta .dot { opacity: 0.5; }
.boat-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.boat-price { color: var(--navy-900); font-weight: 700; font-size: 16px; }
.boat-cta { flex-shrink: 0; background: var(--navy-700); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; padding: 7px 14px; border-radius: 999px; box-shadow: 0 4px 12px rgba(10,31,61,0.25); transition: background 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease); white-space: nowrap; }
.boat-card:hover .boat-cta { background: var(--gold-500); transform: translateX(2px); box-shadow: 0 6px 16px rgba(10,31,61,0.35); }

/* --------------------------- CONTACT STRIP --------------------------- */
.contact-strip { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #fff; margin-top: 60px; }
.contact-strip-inner { max-width: 1200px; margin: 0 auto; padding: 64px 24px; display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.contact-strip h2 { font-family: var(--font-display); font-size: 36px; margin: 0; color: #fff; }
.contact-strip p { color: rgba(255,255,255,0.75); margin: 8px 0 0; }
.contact-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------- FOOTER --------------------------- */
.ftr { background: var(--navy-900); color: rgba(255,255,255,0.7); margin-top: 0; }
.ftr-inner { max-width: 1200px; margin: 0 auto; padding: 64px 24px 32px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; }
.ftr-logo { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-bottom: 16px; display: inline-flex; align-items: baseline; }
.ftr-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; max-width: 320px; }
.ftr-promise { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.ftr-promise span { font-size: 11px; padding: 4px 10px; background: rgba(255,255,255,0.06); border-radius: 999px; color: rgba(255,255,255,0.7); }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ftr-cols h4, .ftr-col-title { color: var(--gold-400); font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; }
.ftr-cols a { display: flex; align-items: center; gap: 6px; padding: 10px 0; min-height: 44px; color: rgba(255,255,255,0.65) !important; font-size: 13px; cursor: pointer; }
.ftr-cols a:hover { color: var(--gold-400) !important; }
.ftr-legal { max-width: 1200px; margin: 0 auto; padding: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px; }
.ftr-legal a { color: rgba(255,255,255,0.5) !important; }
.ftr-legal a:hover { color: var(--gold-400) !important; }

/* --------------------------- PAGE BANNER (sub-pages) --------------------------- */
.page-banner { position: relative; height: 380px; background-size: cover; background-position: center; }
.page-banner.short { height: 380px; }
.page-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,31,61,0.4) 0%, rgba(10,31,61,0.2) 40%, rgba(10,31,61,0.85) 100%); }
.page-banner-content { position: relative; max-width: 1200px; margin: 0 auto; padding: 120px 24px 0; color: #fff; }
.page-banner-content .t-eyebrow { margin-bottom: 16px; }
.page-banner-content h1 { font-family: var(--font-display); color: #fff; font-size: clamp(36px, 5vw, 56px); margin: 0 0 16px; line-height: 1.05; letter-spacing: -0.02em; text-shadow: 0 2px 16px rgba(0,0,0,0.4); }
.page-banner-content p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 560px; margin: 0; line-height: 1.5; }

/* --------------------------- LISTING (catálogo) --------------------------- */
.page-listing .container { padding-top: 40px; padding-bottom: 80px; }
.cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid var(--ink-100); border-radius: 10px; padding: 8px; margin-bottom: 32px; box-shadow: var(--shadow-sm); }
.cat-tabs-label { font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; padding: 0 14px 0 10px; border-right: 1px solid var(--ink-100); margin-right: 6px; }
.cat-tab { padding: 12px 16px; min-height: 44px; display: inline-flex; align-items: center; background: transparent; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--ink-700) !important; cursor: pointer; transition: all 0.2s var(--ease); font-family: inherit; text-decoration: none !important; }
.cat-tab:hover { background: var(--navy-50); color: var(--navy-900) !important; }
.cat-tab.on { background: var(--navy-900); color: #fff !important; }

.cat-select-mobile { display: none; margin-bottom: 24px; }
.cat-select-label { display: block; font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 8px; }
.cat-select-wrap { position: relative; }
.cat-select-wrap select { width: 100%; height: 52px; padding: 0 44px 0 16px; border: 1px solid var(--ink-100); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 500; color: var(--ink-900); appearance: none; -webkit-appearance: none; cursor: pointer; box-shadow: var(--shadow-sm); font-family: inherit; }
.cat-select-wrap select:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(37,99,184,0.15); }
.cat-select-wrap::after { content: ""; position: absolute; top: 50%; right: 16px; width: 12px; height: 8px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23163768' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat center; pointer-events: none; }

/* Oculta paginador viejo */
#pag_compraventa { display: none !important; }

/* --------------------------- PAGINADOR --------------------------- */
.paginador {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 48px 0 24px;
    flex-wrap: wrap;
}
.pag-nums {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
.pag-num, .pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid var(--ink-100);
    background: #fff;
    color: var(--ink-700) !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s var(--ease);
    cursor: pointer;
    white-space: nowrap;
}
.pag-num:hover, .pag-btn:hover { background: var(--navy-50); border-color: var(--navy-300); color: var(--navy-900) !important; }
.pag-active { background: var(--navy-900) !important; color: #fff !important; border-color: var(--navy-900) !important; font-weight: 600; }
.pag-dis { opacity: 0.35; cursor: default; pointer-events: none; }
.pag-prev, .pag-next { font-weight: 600; padding: 0 18px; }

@media (max-width: 720px) {
    .paginador { gap: 4px; margin: 32px 0 16px; flex-wrap: nowrap; }
    .pag-nums { gap: 3px; }
    .pag-btn { font-size: 12px; padding: 0 10px; height: 38px; min-width: unset; }
    .pag-num { min-width: 38px; height: 38px; font-size: 13px; padding: 0 6px; }
    .pag-prev, .pag-next { padding: 0 10px; }
}

/* --------------------------- DETAIL (ficha barco) --------------------------- */
.page-detail { padding: 0 0 80px; max-width: 1200px; margin: 0 auto; }
.detail-top { padding: 32px 24px 0; }
.detail-specs-full { padding: 32px 24px 0; }
.detail-specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec-card-full { grid-column: 1 / -1; }
.detail-col-info { display: flex; flex-direction: column; }
.detail-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.detail-pills span { background: var(--navy-50); border: 1px solid var(--ink-100); border-radius: 6px; padding: 6px 12px; font-size: 13px; color: var(--ink-700); }
.detail-pills span b { color: var(--navy-800); display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.breadcrumb { display: inline-block; color: var(--ink-500); font-size: 13px; margin-bottom: 24px; cursor: pointer; }
.breadcrumb:hover { color: var(--navy-700); }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
/* Slider de imágenes en ficha */
.img-slider-wrap { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.img-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; background: var(--ink-100); -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; user-select: none; }
.img-slider::-webkit-scrollbar { display: none; }
.img-slide { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; overflow: hidden; }
.img-slide img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.img-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.92); border: none; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md); color: var(--navy-900); transition: background 0.2s, transform 0.2s; }
.img-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.img-arrow-prev { left: 12px; }
.img-arrow-next { right: 12px; }
.img-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.img-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-300); border: none; padding: 0; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.img-dot.on { background: var(--navy-700); transform: scale(1.3); }
.img-dot:hover { background: var(--navy-500); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-500); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-600); }
.breadcrumb span:last-child { color: var(--ink-700); font-weight: 500; }
.boat-code-pill { display: inline-block; background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 16px; white-space: nowrap; }
.detail-title { font-family: var(--font-display); font-size: 40px; margin: 0 0 12px; color: var(--navy-900); line-height: 1.1; }
.detail-meta { color: var(--ink-500); font-size: 14px; display: flex; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.detail-price { font-size: 28px; font-weight: 700; color: var(--navy-900); margin-bottom: 28px; }
.detail-price .oferta { color: var(--gold-600); font-size: 18px; margin-left: 12px; text-decoration: none; }
.detail-price .original { text-decoration: line-through; color: var(--ink-500); font-weight: 500; font-size: 18px; margin-right: 8px; }
.spec-card { background: #fff; border: 1px solid var(--ink-100); border-radius: 10px; padding: 22px 24px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.spec-card h4 { font-family: var(--font-display); font-size: 16px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--gold-500); color: var(--navy-900); }
.spec-card dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; margin: 0; font-size: 13px; }
.spec-card dt { color: var(--navy-900); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 5px; }
.spec-card dt svg { color: var(--gold-500); flex-shrink: 0; }
.spec-card dd { color: var(--ink-700); margin: 0 0 8px; font-size: 14px; }
.spec-card p { margin: 0; color: var(--ink-700); line-height: 1.6; font-size: 14px; }
.spec-card ul.equip { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; font-size: 13px; color: var(--ink-700); }
.spec-card ul.equip li { padding: 3px 0; break-inside: avoid; }
.spec-card ul.equip li::before { content: "✓ "; color: var(--gold-500); font-weight: 700; }
.detail-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.detail-actions .btn-primary, .detail-actions .btn-whatsapp, .detail-actions .btn-call { width: 100%; justify-content: center; }
.btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; background: #25D366; color: #fff !important; border: none; border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(37,211,102,0.30); transition: all 0.25s var(--ease); font-family: inherit; text-decoration: none !important; }
.btn-whatsapp:hover { background: #1EBE5D; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.45); color: #fff !important; }
.btn-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; background: #fff; color: var(--navy-900) !important; border: 1px solid var(--navy-100); border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.25s var(--ease); font-family: inherit; text-decoration: none !important; }
.btn-call:hover { background: var(--navy-50); border-color: var(--navy-500); color: var(--navy-900) !important; }
.detail-disclaimer { color: var(--ink-500); font-size: 12px; line-height: 1.6; margin-top: 40px; }

/* --------------------------- CONTACT FORM --------------------------- */
.page-contact .contact-grid { padding: 60px 24px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; }
.contact-form { background: #fff; border: 1px solid var(--ink-100); border-radius: 10px; padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form > p { color: var(--ink-700); margin: 0 0 24px; font-size: 14px; line-height: 1.6; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 600; color: var(--navy-900); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-form label.full { display: block; margin: 16px 0; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea { padding: 12px 14px; border: 1px solid var(--ink-100); border-radius: 6px; font-size: 14px; font-family: inherit; color: var(--ink-900); background: var(--bg-soft); transition: all 0.2s var(--ease); width: 100%; box-sizing: border-box; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy-600); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,184,0.15); }
.contact-form fieldset { border: 1px solid var(--ink-100); border-radius: 6px; padding: 16px; margin: 16px 0; }
.contact-form legend { font-size: 11px; font-weight: 600; color: var(--navy-900); text-transform: uppercase; letter-spacing: 0.05em; padding: 0 8px; }
.contact-form .checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.contact-form .check { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-700); text-transform: none; letter-spacing: 0; font-weight: 400; flex-direction: row; cursor: pointer; }
.contact-form .check input { margin: 0; }
.contact-side { background: #fff; border: 1px solid var(--ink-100); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); align-self: start; }
.contact-photo { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.contact-info { padding: 24px; }
.contact-info h4 { font-size: 13px; color: var(--gold-600); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-sans); margin: 0 0 12px; font-weight: 600; }
.contact-info p { font-size: 13px; line-height: 1.6; margin: 0 0 8px; display: flex; align-items: center; gap: 6px; color: var(--ink-700); }
.contact-info a { color: var(--navy-700); }
.contact-line { height: 1px; background: var(--ink-100); margin: 16px 0; }

/* --------------------------- WHATSAPP FLOATER --------------------------- */
.wa { position: fixed; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; box-shadow: 0 8px 24px rgba(37,211,102,0.4); display: flex; align-items: center; justify-content: center; color: #fff !important; cursor: pointer; z-index: 200; transition: all 0.25s var(--ease); text-decoration: none !important; }
.wa:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37,211,102,0.55); color: #fff !important; }
.wa svg { width: 28px; height: 28px; fill: currentColor; }

/* --------------------------- HAMBURGER --------------------------- */
.menu-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--ink-100); border-radius: 6px; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; padding: 0; }
.menu-burger span { width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: all 0.25s var(--ease); }
.menu-burger.on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-burger.on span:nth-child(2) { opacity: 0; }
.menu-burger.on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------- TEXT-PAGE (legal, seguros, etc.) --------------------------- */
.text-page { max-width: 880px; margin: 0 auto; padding: 60px 24px 80px; }
.text-page h2 { font-family: var(--font-display); font-size: 32px; color: var(--navy-900); margin: 0 0 24px; }
.text-page p { font-size: 15px; line-height: 1.7; color: var(--ink-700); margin: 0 0 16px; }
.text-page ul { padding-left: 22px; margin: 0 0 20px; }
.text-page ul li { margin: 6px 0; color: var(--ink-700); line-height: 1.5; }
.feature-card { background: #fff; border: 1px solid var(--ink-100); border-radius: 12px; padding: 28px 32px; margin: 24px 0; box-shadow: var(--shadow-sm); }
.feature-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--navy-900); margin: 0 0 12px; }
.feature-card ul { list-style: none; padding: 0; margin: 0; }
.feature-card ul li { padding: 6px 0; padding-left: 22px; position: relative; color: var(--ink-700); }
.feature-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-500); font-weight: 700; }

/* ============================================================================
   MOBILE — ≤ 980px (tablet) y ≤ 720px (móvil)
   ============================================================================ */
@media (max-width: 980px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .boats-grid, .boats-grid.four { grid-template-columns: repeat(2, 1fr); }
    .section-grid { grid-template-columns: 1fr; gap: 32px; }
    .detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .detail-specs-grid { grid-template-columns: 1fr; }
    .detail-top, .detail-specs-full { padding-left: 16px; padding-right: 16px; }
    .page-contact .contact-grid { grid-template-columns: 1fr; }
    .ftr-inner { grid-template-columns: 1fr; gap: 40px; }
    .spec-card dl { grid-template-columns: 1fr 1fr; }
    .contact-form .checks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .topbar { display: block; }
    .topbar-inner { padding: 8px 12px; font-size: 11px; gap: 10px; flex-wrap: nowrap; align-items: center; }
    .topbar-brand { gap: 8px; }
    .topbar-yacht { font-size: 13px; }
    .topbar-flags { gap: 6px; }
    .topbar-flags a { width: 44px; height: 44px; padding: 8px 6px; }
    .topbar-contact { gap: 2px; font-size: 12px; max-width: 55%; min-width: 0; }
    .topbar-contact a { min-height: 30px; padding: 6px 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
    .topbar-contact .topbar-phone, .topbar-contact .topbar-mail { font-size: 12px; }
    .topbar-contact { margin-left: auto; flex-direction: column; align-items: flex-end; gap: 1px; font-size: 10.5px; line-height: 1.35; min-width: 0; max-width: 60%; }
    .topbar-contact .topbar-phone, .topbar-contact .topbar-mail { font-size: 10.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

    .hdr-inner { padding: 12px 16px; flex-wrap: nowrap; gap: 8px; }
    .logo { font-size: 22px; }
    .menu-burger { display: flex; flex-shrink: 0; }
    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: var(--bg-cream);
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 22px;
        gap: 0;
        border-bottom: 1px solid var(--ink-100);
        box-shadow: 0 16px 32px rgba(10,31,61,0.10);
        z-index: 50;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    .nav.open { display: flex; animation: nav-slide 0.28s var(--ease); }
    @keyframes nav-slide {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 22px;
        border: 0;
        border-bottom: 1px solid var(--ink-100);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--navy-900) !important;
        position: relative;
    }
    .nav-link:hover, .nav-link:active { background: transparent; color: var(--gold-600) !important; }
    .nav-link.on {
        background: transparent;
        color: var(--gold-600) !important;
        box-shadow: none;
    }
    .nav-link.on::before {
        content: "";
        position: absolute;
        left: 0;
        top: 14px;
        bottom: 14px;
        width: 3px;
        background: var(--gold-500);
    }
    .nav-link-arrow {
        display: inline-flex;
        font-size: 20px;
        color: var(--gold-500);
        font-weight: 400;
        transition: transform 0.2s var(--ease);
    }
    .nav-link:hover .nav-link-arrow { transform: translateX(3px); }

    /* Bloque de contacto dentro del menú */
    .nav-contact {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 18px 22px 0;
        padding-top: 18px;
        border-top: 1px dashed var(--ink-100);
    }
    .nav-contact-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        background: #fff;
        border: 1px solid var(--ink-100);
        border-radius: 10px;
        color: var(--ink-900) !important;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none !important;
        line-height: 1.2;
    }
    .nav-contact-item small {
        display: block;
        font-size: 10px;
        font-weight: 600;
        color: var(--gold-600);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 3px;
    }
    .nav-contact-icon {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--navy-50);
        color: var(--navy-700);
        border-radius: 8px;
    }
    .nav-contact-item:hover { background: var(--navy-50); border-color: var(--navy-100); }
    .nav-contact-item:hover .nav-contact-icon { background: var(--navy-700); color: #fff; }

    /* Logo al pie del menú */
    .nav-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 18px auto 4px;
        background: var(--navy-900);
        border-radius: 8px;
        padding: 10px 18px;
        max-width: 200px;
    }
    .nav-logo img { height: 38px; width: auto; display: block; }

    .container, .section { padding-left: 16px; padding-right: 16px; }
    .section { padding-top: 56px; padding-bottom: 56px; }
    .page-detail { padding-left: 0; padding-right: 0; }
    .page-contact .contact-grid { padding-left: 16px; padding-right: 16px; }

    .hero { height: auto; min-height: 520px; padding-bottom: 40px; }
    .hero-content { padding: 70px 16px 24px; }
    .hero-title { font-size: 36px; line-height: 1.1; }
    .hero-sub { font-size: 15px; }
    .hero-search-wrap { width: calc(100% - 32px); bottom: -120px; }

    .buscador { padding: 18px; }
    .buscador-form { flex-direction: column; align-items: stretch; gap: 12px; }
    .buscador-form select, .buscador-form .btn-primary { width: 100%; height: 52px; min-height: 52px; flex: 0 0 auto; font-size: 15px; }

    .welcome { padding-top: 180px; }
    .welcome h2, .contact-strip h2, .section-head h2 { font-size: 30px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }

    .services-grid { grid-template-columns: 1fr; gap: 12px; }
    .service-card { padding: 22px; }

    .boats-grid, .boats-grid.four, .boats-grid.links-grid { grid-template-columns: 1fr; gap: 16px; }

    .contact-strip-inner { padding: 48px 16px; flex-direction: column; align-items: flex-start; gap: 24px; }
    .contact-strip-actions { width: 100%; }
    .contact-strip-actions a { width: 100%; justify-content: center; }

    .page-banner, .page-banner.short { height: 260px; }
    .page-banner-content { padding: 80px 16px 0; }
    .page-banner-content h1 { font-size: 32px; }

    .cat-tabs { display: none; }
    .cat-select-mobile { display: block; }

    .img-arrow { display: none; }
    .detail-title { font-size: 28px; }
    .detail-price { font-size: 22px; }
    .spec-card dl { grid-template-columns: 1fr; gap: 4px 0; }
    .spec-card ul.equip { columns: 1; }
    .detail-actions { flex-direction: column; }
    .detail-actions .btn-primary, .detail-actions .btn-ghost { width: 100%; }

    .contact-form { padding: 20px; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .contact-form .checks { grid-template-columns: 1fr 1fr; }

    .ftr-inner { padding: 40px 16px 24px; }
    .ftr-cols { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
    .ftr-cols > div:last-child { grid-column: 1 / -1; }
    .ftr-legal { flex-direction: column; gap: 8px; padding: 20px 16px; text-align: center; }

    .wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }

}


/* Botón "Volver" — encima de la imagen principal */
.btn-back { margin-bottom: 24px; height: 40px; padding: 0 18px; font-size: 13px; }

/* --------------------------- AMARRES FILTER --------------------------- */
.amarres-filter {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}
.amarres-filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.amarres-filter-puerto { margin-left: auto; flex: 0 1 auto; }
.amarres-filter-label {
    font-size: 11px;
    color: var(--ink-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    white-space: nowrap;
}
.amarres-filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.amarres-filter-select { position: relative; min-width: 220px; }
.amarres-filter-select select {
    width: 100%;
    height: 42px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--ink-100);
    border-radius: 8px;
    background: #fff;
    color: var(--ink-900);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.2s var(--ease);
}
.amarres-filter-select select:hover { border-color: var(--navy-500); }
.amarres-filter-select select:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(37,99,184,0.15); }
.amarres-filter-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 12px;
    height: 8px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23163768' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat center;
    pointer-events: none;
}
@media (max-width: 1024px) {
    .amarres-filter { padding: 12px; gap: 12px; flex-direction: column; align-items: stretch; }
    .amarres-filter-row { flex-direction: column; align-items: stretch; gap: 8px; }
    .amarres-filter-puerto { margin-left: 0; }
    .amarres-filter-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .amarres-filter-tabs .cat-tab { text-align: center; padding: 10px 6px; font-size: 13px; }
    .amarres-filter-select { min-width: 0; width: 100%; }
    .amarres-filter-select select { height: 48px; font-size: 15px; }
}

/* Empty state (accesorios sin stock, etc.) */
.empty-state { max-width: 640px; margin: 60px auto; padding: 48px 32px; background: #fff; border: 1px solid var(--ink-100); border-radius: 16px; text-align: center; box-shadow: var(--shadow-sm); }
.empty-state-icon { width: 80px; height: 80px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: var(--navy-50); color: var(--navy-700); border-radius: 50%; }
.empty-state h2 { font-family: var(--font-display); font-size: 24px; color: var(--navy-900); margin: 0 0 12px; line-height: 1.2; }
.empty-state p { color: var(--ink-700); font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.empty-state-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 28px; }
.empty-state-tags span { font-size: 12px; padding: 5px 12px; background: var(--bg-soft); border: 1px solid var(--ink-100); border-radius: 999px; color: var(--ink-700); }
.empty-state-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 720px) {
    .empty-state { padding: 32px 20px; margin: 32px auto; }
    .empty-state h2 { font-size: 20px; }
    .empty-state-actions { flex-direction: column; }
    .empty-state-actions .btn-primary, .empty-state-actions .btn-ghost { width: 100%; }
}

/* --------------------------- SIMILARES (ficha de barco) --------------------------- */
.similares-section {
    background: transparent;
    padding: 48px 0 64px;
    margin-top: 0;
}
.similares-section .container {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 40px 36px;
}
.similares-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0 0 28px;
    line-height: 1.2;
}
.similares-more {
    margin-top: 32px;
    text-align: center;
}
.similares-more .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 768px) {
    .similares-section .container { padding: 28px 20px; border-radius: 12px; }
}

/* --------------------------- 404 --------------------------- */
.page-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; }
.page-404-inner { max-width: 560px; width: 100%; text-align: center; }
.page-404-icon { width: 96px; height: 96px; background: var(--navy-50); border: 1px solid var(--ink-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--navy-700); }
.page-404-code { font-family: var(--font-display); font-size: 96px; font-weight: 700; color: var(--ink-100); line-height: 1; margin-bottom: 8px; letter-spacing: -4px; }
.page-404-title { font-family: var(--font-display); font-size: 28px; color: var(--navy-900); margin: 0 0 16px; }
.page-404-text { color: var(--ink-500); font-size: 15px; line-height: 1.7; margin: 0 0 32px; }
.page-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.page-404-tip { font-size: 13px; color: var(--ink-500); }
.page-404-tip a { color: var(--navy-700); font-weight: 600; }
.page-404-tip a:hover { color: var(--gold-600); }
@media (max-width: 480px) {
    .page-404-code { font-size: 64px; }
    .page-404-title { font-size: 22px; }
    .page-404-actions { flex-direction: column; align-items: stretch; }
}

/* === Sticky bar (ficha de barco) === */
.sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid var(--ink-100);
    box-shadow: 0 -8px 24px rgba(10, 31, 61, 0.10);
    z-index: 250;
    transform: translateY(100%);
    transition: transform 0.3s var(--ease);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.sticky-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s var(--ease);
    flex: 1;
    white-space: nowrap;
}
.sticky-bar-primary {
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(10, 31, 61, 0.25);
    flex: 1.4;
}
.sticky-bar-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10, 31, 61, 0.35); }
.sticky-bar-wa {
    background: #25D366;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.30);
}
.sticky-bar-wa:hover { background: #1EBE5D; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45); }
.sticky-bar-call {
    background: #fff;
    color: var(--navy-900) !important;
    border: 1px solid var(--navy-100);
    flex: 1.6;
}
.sticky-bar-call:hover { background: var(--navy-50); border-color: var(--navy-500); }
.sticky-bar-call-short { display: none; }

@media (max-width: 720px) {
    .sticky-bar { padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
    .sticky-bar-inner { gap: 8px; }
    .sticky-bar-btn { height: 46px; padding: 0 12px; font-size: 13px; }
    .sticky-bar-primary span { display: none; }
    .sticky-bar-primary { flex: 0 0 56px; padding: 0; }
    .sticky-bar-wa span { display: none; }
    .sticky-bar-wa { flex: 0 0 56px; padding: 0; }
    .sticky-bar-call-full { display: none; }
    .sticky-bar-call-short { display: inline; }
    .sticky-bar-call { flex: 1; }
}
