/* ===== VARIABLES CSS ===== */
:root {
    --primary-blue: #0a4d68;
    --accent-gold: #d4af37;
    --light-blue: #87ceeb;
    --navy: #1e3a8a;
    --white: #ffffff;
    --cream: #f8f6f0;
    --dark-blue: #0f2027;
    --gradient-ocean: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gold: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.2);
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* ===== UTILIDADES ===== */
.text-accent {
    color: var(--accent-gold);
}

.bg-gradient-ocean {
    background: var(--gradient-ocean);
}

.bg-gradient-sunset {
    background: var(--gradient-sunset);
}

.bg-gradient-gold {
    background: var(--gradient-gold);
}


.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}

.footer .navbar-brand{
    margin-bottom: 20px;
}

/* ===== BANNER DE COOKIES ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-ocean);
    color: white;
    padding: 1rem;
    z-index: 1060;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-heavy);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.cookie-text h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* ===== NAVEGACIÓN ===== */
.navbar-custom {
    background: rgba(10, 77, 104, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-custom.scrolled {
    background: rgba(10, 77, 104, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.9) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-gold) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../images/banner.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-waves svg {
    width: 100%;
    height: auto;
    animation: wave 6s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 20px auto;
}
.contact-hero{
    padding-top: 120px;
}
.hero-buttons {
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--accent-gold);
    border: none;
    color: var(--dark-blue);
}

.hero-buttons .btn-primary:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.hero-stats p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* ===== SECCIONES GENERALES ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== POR QUÉ ELEGIRNOS ===== */
.why-choose-us {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(10, 77, 104, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-ocean);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Elementos flotantes decorativos */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.float-item {
    position: absolute;
    background: var(--accent-gold);
    opacity: 0.1;
    border-radius: 50%;
}

.float-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.float-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== YATES DESTACADOS ===== */
.featured-yachts {
    background: var(--gradient-ocean);
    color: white;
    position: relative;
}

.yacht-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.yacht-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.yacht-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-gold);
    color: var(--dark-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 3;
}

.yacht-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.yacht-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.yacht-card:hover .yacht-image img {
    transform: scale(1.1);
}

.yacht-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.yacht-price {
    background: rgba(212, 175, 55, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.yacht-content {
    padding: 1.5rem;
    color: #333;
}

.yacht-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.yacht-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.yacht-specs span {
    display: flex;
    align-items: center;
}

.yacht-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ===== OFERTA DESTACADA ===== */
.special-offer {
    background: var(--gradient-gold);
    position: relative;
    overflow: hidden;
}

.offer-content {
    color: #333;
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(212, 175, 55, 0.2);
    color: var(--dark-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.offer-badge i {
    margin-right: 0.5rem;
    color: var(--accent-gold);
}

.offer-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.offer-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.offer-price span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.offer-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.offer-features li {
    padding: 0.5rem 0;
    font-weight: 500;
}

.offer-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

.offer-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

/* ===== TESTIMONIOS ===== */
.testimonials {
    background: white;
    position: relative;
}

.testimonial-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-gold);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: #444;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
}

.testimonial-author h5 {
    margin: 0;
    font-weight: 600;
    color: var(--primary-blue);
}

.testimonial-author p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* ===== RUTAS RECOMENDADAS ===== */
.routes {
    background: var(--cream);
    position: relative;
}

.route-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
}

.route-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.route-map {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.route-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.route-card:hover .route-map img {
    transform: scale(1.1);
}

.route-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.route-info {
    color: white;
}

.route-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.route-info p {
    margin: 0;
    opacity: 0.9;
}

.route-content {
    padding: 1.5rem;
}

.route-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.route-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.route-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.route-features .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* ===== MAPA DE OPERACIONES ===== */
.operations-map {
    background: white;
    position: relative;
}

.map-container {
    background: var(--cream);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.interactive-map {
    margin-bottom: 2rem;
}

.spain-map {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.coastline {
    stroke-dasharray: 20 10;
    animation: dash 30s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

.port-marker {
    cursor: pointer;
    transition: all 0.3s ease;
}

.port-marker:hover {
    r: 12;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.8));
}

.port-label {
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 600;
    fill: var(--primary-blue);
}

.route-line {
    opacity: 0.8;
}

.map-stats {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.stat-box {
    text-align: center;
    padding: 1rem;
}

.stat-box h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ===== FORMULARIO DE RESERVA ===== */
.booking-form {
    background: var(--gradient-ocean);
    color: white;
}

.booking-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-heavy);
    color: #333;
}

.booking-header h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.booking-header p {
    color: #666;
    font-size: 1.1rem;
}

.booking-form-content .form-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.booking-form-content .form-control,
.booking-form-content .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.booking-form-content .form-control:focus,
.booking-form-content .form-select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.booking-form-content .btn-primary {
    background: var(--accent-gold);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.booking-form-content .btn-primary:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.form-check-label a {
    color: var(--primary-blue);
    text-decoration: none;
}

.form-check-label a:hover {
    color: var(--accent-gold);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-brand h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--dark-blue);
    transform: translateY(-2px);
}

.footer h5 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.footer-contact i {
    color: var(--accent-gold);
    width: 20px;
}

.footer-certifications {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .offer-content h2 {
        font-size: 1.8rem;
    }
    
    .yacht-specs {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .testimonial-card,
    .route-card {
        margin-bottom: 2rem;
    }
    
    .booking-card {
        padding: 1.5rem;
    }
    
    .route-features {
        justify-content: center;
    }
    
    .map-stats .row {
        text-align: center;
    }
    
    .stat-box {
        margin-bottom: 1rem;
    }
    
    .offer-content {
        text-align: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .booking-card {
        padding: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        width: 80px;
        height: 80px;
    }
}

/* ===== ANIMACIONES ADICIONALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

/* ===== EFECTOS DE SCROLL ===== */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
.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;
}

/* ===== BOTONES PERSONALIZADOS ===== */
.btn-custom {
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-custom:hover::before {
    left: 100%;
}

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== TOOLTIPS PERSONALIZADOS ===== */
.tooltip-custom {
    position: relative;
    cursor: help;
}

.tooltip-custom::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip-custom::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--dark-blue);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip-custom:hover::before,
.tooltip-custom:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 5px);
}


        .legal-hero {
            background: var(--gradient-ocean);
            color: white;
            margin-top: 76px;
        }

        .hero-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .hero-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 0.5rem;
        }

        .update-date {
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .legal-content {
            background: white;
        }

        .legal-nav {
            background: var(--cream);
            padding: 2rem;
            border-radius: 15px;
            top: 100px;
        }

        .legal-nav h5 {
            color: var(--primary-blue);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .legal-nav .nav-link {
            color: #666;
            padding: 0.5rem 0;
            border: none;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .legal-nav .nav-link:hover {
            color: var(--accent-gold);
            background: none;
        }

        .legal-text {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: var(--shadow-soft);
        }

        .legal-section {
            margin-bottom: 3rem;
        }

        .legal-section h2 {
            color: var(--primary-blue);
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--accent-gold);
        }

        .legal-section h4 {
            color: var(--primary-blue);
            margin-top: 2rem;
            margin-bottom: 1rem;
        }

        .company-info {
            background: var(--cream);
            padding: 1.5rem;
            border-radius: 10px;
            margin: 1.5rem 0;
            border-left: 4px solid var(--accent-gold);
        }

        .company-info h4 {
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }

        .definitions-list dt {
            color: var(--primary-blue);
            font-weight: 600;
            margin-top: 1rem;
        }

        .definitions-list dd {
            margin-bottom: 1rem;
            margin-left: 1rem;
        }

        .table th {
            background: var(--primary-blue);
            color: white;
            border: none;
        }

        .table td {
            border-color: #e9ecef;
        }

        .document-footer {
            background: var(--cream);
            padding: 2rem;
            border-radius: 10px;
            margin-top: 3rem;
            text-align: center;
        }

        @media (max-width: 992px) {
            .legal-nav {
                margin-bottom: 2rem;
                position: relative !important;
                top: auto !important;
            }
            
            .legal-text {
                padding: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .legal-section h2 {
                font-size: 1.5rem;
            }
        }