        :root {
            --primary: #003366;
            --secondary: #d4a373;
            --accent: #e9edc9;
            --text: #333;
            --bg: #f8f9fa;
            --white: #ffffff;
            --glass: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Outfit', sans-serif;
        }

        html, body { display: flex; flex-direction: column; min-height: 100vh;
            overflow-x: hidden;
            width: 100%;
            position: relative;
            scroll-behavior: smooth;
        }

        [id] {
            scroll-margin-top: 120px;
        }

        body { display: flex; flex-direction: column; min-height: 100vh;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
        }

        h1, h2, h3 {
            font-family: 'Playfair Display', serif;
            color: var(--primary);
        }

        /* Navbar */
        nav {
            position: fixed;
            top: 15px;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            padding: 0 2rem;
            transition: all 0.4s ease;
        }

        .offer-ticker {
            background: #1a3a2a;
            color: #d4a373;
            padding: 15px 0;
            overflow: hidden;
            position: fixed;
            bottom: 0;
            width: 100%;
            z-index: 2100;
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-top: 1px solid rgba(212, 163, 115, 0.2);
        }

        .ticker-content {
            display: flex;
            width: max-content;
            animation: ticker 40s linear infinite;
        }

        .ticker-content span {
            padding: 0 50px;
            display: inline-block;
        }

        @keyframes ticker {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1400px;
            background: rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(10px);
            padding: 0.8rem 3rem;
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s ease;
        }

        nav.scrolled .nav-container {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            backdrop-filter: none;
            border-color: transparent;
        }

        .nav-logo-link {
            display: flex;
            align-items: center;
            height: 100%;
        }

        .nav-img-logo {
            height: 80px;
            width: auto;
            transition: all 0.4s ease;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
        }

        /* SVG Logo Dynamic Colors */
        .nav-img-logo .casa, 
        .nav-img-logo .playa, 
        .nav-img-logo .line { 
            fill: white; 
            stroke: white;
            transition: all 0.4s ease;
        }
        
        .nav-img-logo .vacacional { 
            fill: #f0f0f0; 
            transition: all 0.4s ease;
        }

        .nav-img-logo .wave {
            stroke: #4dd0e1;
            transition: all 0.4s ease;
        }

        /* Scrolled State - Original Colors */
        nav.scrolled .nav-img-logo {
            filter: none;
        }

        nav.scrolled .nav-img-logo .casa, 
        nav.scrolled .nav-img-logo .playa { 
            fill: #2d4628; 
            stroke: #2d4628;
        }

        nav.scrolled .nav-img-logo .line {
            stroke: #2d4628;
        }
        
        nav.scrolled .nav-img-logo .vacacional { 
            fill: #c18b4a; 
        }

        nav.scrolled .nav-img-logo .wave {
            stroke: #26c6da;
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            z-index: 10001;
        }

        .menu-toggle span {
            display: block;
            width: 30px;
            height: 3px;
            background: white;
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        nav.scrolled .menu-toggle span {
            background: var(--primary);
        }

        .menu-toggle.active span {
            background: white !important;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }

        .nav-links a {
            text-decoration: none;
            color: white;
            font-weight: 700;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.3s ease;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }

        nav.scrolled .nav-links a {
            color: var(--primary);
            text-shadow: none;
        }

        .nav-links a:hover {
            color: var(--secondary);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            /* background defined inline in index.php */
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 25vh;
            text-align: center;
            color: var(--white);
            position: relative;
        }

        .hero-content {
            background: var(--white);
            padding: 1rem 2rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            max-width: 900px;
            margin: 0 20px;
            position: relative;
        }

        .hero-logo {
            max-width: 500px;
            width: 100%;
            margin-bottom: 1rem;
            filter: contrast(1.1) brightness(1.05);
            mix-blend-mode: multiply;
        }

        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 0.2rem;
            color: var(--primary);
            letter-spacing: 1px;
        }

        .hero p {
            font-size: 1rem;
            margin-bottom: 1rem;
            color: var(--primary);
            opacity: 0.8;
        }

        /* Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 5rem 20px;
        }

        /* Sections */
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 50px;
            height: 3px;
            background: var(--secondary);
            margin: 10px auto;
        }

        /* Grid System */
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .card {
            background: var(--white);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }

        .card:hover {
            transform: translateY(-10px);
        }

        .card i {
            font-size: 2rem;
            color: var(--secondary);
            margin-bottom: 1rem;
        }

        /* Gallery */
        .gallery-wrapper {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding: 1rem 0;
            width: 100%;
        }

        .gallery-row {
            display: flex;
            overflow: hidden;
            width: 100%;
            position: relative;
        }

        .gallery-track {
            display: flex;
            gap: 1.5rem;
            width: max-content;
        }

        .gallery-track.scroll-left {
            animation: marquee-left 40s linear infinite;
        }

        .gallery-track.scroll-right {
            animation: marquee-right 40s linear infinite;
        }

        .gallery-row:hover .gallery-track {
            animation-play-state: paused;
        }

        @keyframes marquee-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        @keyframes marquee-right {
            0% { transform: translateX(-50%); }
            100% { transform: translateX(0); }
        }

        .gallery-item {
            flex: 0 0 350px;
            height: 250px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            cursor: pointer;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        /* Lightbox Modal */
        .lightbox {
            display: none;
            position: fixed;
            z-index: 20000;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .lightbox.active {
            display: flex;
            opacity: 1;
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 80%;
            border-radius: 10px;
            box-shadow: 0 0 30px rgba(255,255,255,0.1);
        }

        .close-lightbox {
            position: absolute;
            top: 30px;
            right: 40px;
            color: white;
            font-size: 50px; /* Un poco más grande */
            cursor: pointer;
            z-index: 20001;
            transition: 0.3s;
            line-height: 1;
        }

        .close-lightbox:hover {
            color: var(--secondary);
            transform: rotate(90deg);
        }

        /* Distances */
        .distances-list {
            list-style: none;
        }

        .distances-list li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
        }

        .distances-list li span:last-child {
            font-weight: 600;
            color: var(--primary);
        }

        /* Floating WhatsApp Button */
        .whatsapp-btn {
            position: fixed;
            bottom: 80px;
            right: 30px;
            background: #25d366;
            color: white;
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            z-index: 1000;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .whatsapp-btn:hover {
            transform: scale(1.1) rotate(10deg);
        }

        .book-now {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 2rem;
            transition: background 0.3s ease;
        }

        .book-now:hover {
            background: var(--secondary);
        }

        /* Booking Form */
        .booking-bar {
            background: var(--white);
            padding: 2rem 2.5rem;
            border-radius: 25px;
            display: flex;
            align-items: flex-end;
            gap: 1.5rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
            border: 1px solid #ddd;
            margin-top: 1.5rem;
            max-width: 950px;
            width: 100%;
        }

        .input-group {
            flex: 1;
            text-align: left;
        }

        .input-group label {
            display: block;
            font-size: 0.7rem;
            font-weight: 700;
            color: #4a5d4e;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
            letter-spacing: 1px;
        }

        .input-group input {
            width: 100%;
            padding: 1rem;
            border: 1px solid #e8f0e9;
            border-radius: 12px;
            background: #ffffff;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s ease;
            color: #1a3a2a;
            font-weight: 600;
        }

        .input-group input:focus {
            border-color: #1a3a2a;
            box-shadow: 0 0 0 4px rgba(26, 58, 42, 0.05);
        }

        .btn-enviar {
            background: #1a3a2a;
            color: white;
            padding: 0.8rem 2.5rem;
            border: none;
            border-radius: 25px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            height: 45px;
        }

        .btn-enviar:hover {
            background: #2d5a41;
            transform: translateY(-2px);
        }

        /* Booking Info Strip debajo del Formulario de Reservas */
        .booking-info-strip {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.8rem 1.2rem;
            margin: 1.5rem auto 0 auto;
            padding: 0.8rem 1.5rem;
            background: rgba(26, 58, 42, 0.03);
            border: 1px dashed rgba(26, 58, 42, 0.15);
            border-radius: 15px;
            max-width: 950px;
            width: 100%;
        }

        .booking-info-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.88rem;
            font-weight: 600;
            color: #1a3a2a;
            padding: 4px 8px;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .booking-info-item i {
            color: #d4a373; /* Dorado arena elegante */
            font-size: 0.95rem;
        }

        .booking-info-item:hover {
            transform: translateY(-1px);
            background: rgba(26, 58, 42, 0.06);
        }

        @media (max-width: 768px) {
            .booking-info-strip {
                padding: 0.6rem 1rem;
                gap: 0.5rem 0.8rem;
            }
            .booking-info-item {
                font-size: 0.78rem;
                padding: 2px 4px;
            }
        }

        @media (max-width: 768px) {
            .booking-bar {
                flex-direction: row; /* En una sola linea */
                flex-wrap: nowrap;
                gap: 0.5rem;
                padding: 1rem;
                overflow-x: auto; /* Por si acaso no caben */
            }
            .input-group label {
                font-size: 0.6rem;
            }
            .input-group input {
                padding: 0.5rem;
                font-size: 0.8rem;
            }
            .btn-enviar {
                padding: 0.5rem 1rem;
                font-size: 0.7rem;
                width: auto;
                margin-top: 0;
            }
            .hero h1 { font-size: 2rem; }
            .hero-content { padding: 1rem; }
        }
        /* No Smoking Sign (Flying) */
        .no-smoking-badge {
            position: absolute;
            top: 140px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 100px;
            z-index: 1000;
            animation: flyAround 15s ease-in-out infinite;
            pointer-events: auto;
        }

        .no-smoking-badge::after {
            content: 'SMOKING IS NOT ALLOWED\A PROHIBIDO FUMAR';
            white-space: pre;
            position: absolute;
            bottom: -65px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 8px 15px;
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: 700;
            text-align: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            width: max-content;
            pointer-events: none;
            line-height: 1.2;
        }

        .no-smoking-badge:hover::after {
            opacity: 1;
            visibility: visible;
        }

        .no-smoking-badge img {
            width: 100%;
            height: auto;
            filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
            transition: transform 0.3s ease;
        }

        .no-smoking-badge:hover img {
            transform: scale(1.1);
        }

        @keyframes flyAround {
            0% { transform: translate(-50%, 0) rotate(0deg); }
            20% { transform: translate(calc(-50% - 5vw), 15px) rotate(5deg); }
            40% { transform: translate(calc(-50% + 3vw), 25px) rotate(-3deg); }
            60% { transform: translate(calc(-50% - 2vw), -15px) rotate(2deg); }
            80% { transform: translate(calc(-50% + 5vw), 5px) rotate(-5deg); }
            100% { transform: translate(-50%, 0) rotate(0deg); }
        }




        /* Explore Section */
        .explore-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .explore-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid #eee;
        }

        .explore-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        }

        .explore-img {
            height: 200px;
            width: 100%;
            object-fit: cover;
        }

        .explore-content {
            padding: 1.5rem;
        }

        .explore-content h3 {
            margin-bottom: 0.8rem;
            font-size: 1.3rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .explore-content p {
            font-size: 0.95rem;
            color: #666;
            margin-bottom: 1rem;
        }

        .badge-tip {
            display: inline-block;
            background: var(--accent);
            color: var(--primary);
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-top: 10px;
        }

        .plan-box {
            background: var(--primary);
            color: white;
            padding: 3rem;
            border-radius: 30px;
            margin-top: 5rem;
            text-align: center;
        }

        .plan-box h2 {
            color: white;
            margin-bottom: 2rem;
        }

        .plan-days {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            text-align: center;
        }

        .day-card {
            background: rgba(255,255,255,0.1);
            padding: 1.5rem;
            border-radius: 15px;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .day-card h4 {
            margin-bottom: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            padding-bottom: 0.5rem;
            color: var(--secondary);
        }

        .day-card ul {
            list-style: none;
            font-size: 0.9rem;
        }

        .day-card li {
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        /* Footer */
        footer {
            background: var(--primary);
            color: white;
            text-align: center;
            padding: 3rem 0;
            margin-top: 5rem;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .menu-toggle {
                display: flex;
            }

            .nav-links {
                position: fixed;
                top: 0;
                right: 0;
                width: 80%;
                max-width: 320px;
                height: 100vh;
                background: rgba(0, 51, 102, 0.98); /* Fondo primario algo traslúcido */
                backdrop-filter: blur(15px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                transform: translateX(100%);
                visibility: hidden;
                pointer-events: none;
                z-index: 9999;
                gap: 2.5rem;
                box-shadow: -10px 0 30px rgba(0,0,0,0.3);
            }

            .nav-links.active {
                transform: translateX(0);
                visibility: visible;
                pointer-events: auto;
            }

            .nav-links a, 
            nav.scrolled .nav-links a {
                color: white !important;
                font-size: 1.2rem;
                text-shadow: none;
                width: 100%;
                text-align: center;
                padding: 10px;
            }

            .nav-container {
                padding: 0.8rem 2rem;
            }
            
            .nav-img-logo {
                max-width: 200px;
            }
        }

        @media (max-width: 768px) {
            .hero h1 { font-size: 2rem; }
            .hero-content { padding: 1.5rem; }
            .nav-img-logo { max-width: 160px; }
            .nav-container { padding: 0.8rem 1.5rem; }
        }

        @media (max-height: 768px) {
            .hero {
                padding-bottom: 12vh;
            }
            .hero-logo {
                max-width: 350px;
                margin-bottom: 0.5rem;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
            .hero p {
                font-size: 0.9rem;
                margin-bottom: 0.5rem;
            }
            .booking-bar {
                padding: 1.2rem 1.5rem;
                margin-top: 1rem;
            }
            .no-smoking-badge {
                top: 100px;
                width: 70px;
                height: 70px;
            }
            .nav-img-logo {
                height: 60px;
            }
            .nav-container {
                padding: 0.5rem 2rem;
            }
        }

        /* ===== Intro Showcase Section ===== */
        .intro-showcase {
            position: relative;
            background: linear-gradient(135deg, #0a2e1f 0%, #1a3a2a 40%, #0d3b2a 100%);
            padding: 6rem 2rem 8rem;
            text-align: center;
            overflow: hidden;
        }

        .intro-bg-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(212, 163, 115, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(212, 163, 115, 0.04) 0%, transparent 40%),
                radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
            pointer-events: none;
        }

        .intro-container {
            position: relative;
            z-index: 1;
            max-width: 900px;
            margin: 0 auto;
        }

        .intro-badge {
            display: inline-block;
            background: rgba(212, 163, 115, 0.15);
            color: #d4a373;
            padding: 8px 24px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 2rem;
            border: 1px solid rgba(212, 163, 115, 0.25);
            animation: fadeInDown 0.8s ease;
        }

        .intro-badge i {
            margin-right: 8px;
        }

        .intro-heading {
            font-family: 'Playfair Display', serif;
            color: #ffffff;
            font-size: 2.8rem;
            line-height: 1.3;
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease 0.2s both;
        }

        .intro-highlight {
            position: relative;
            color: #d4a373;
            font-style: italic;
        }

        .intro-highlight::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #d4a373, transparent);
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0%, 100% { opacity: 0.4; }
            50% { opacity: 1; }
        }

        .intro-text {
            color: rgba(255, 255, 255, 0.85);
            font-size: 1.15rem;
            line-height: 1.9;
            margin-bottom: 1.5rem;
            animation: fadeInUp 0.8s ease 0.4s both;
        }

        .intro-text strong {
            color: #ffffff;
            font-weight: 600;
        }

        .intro-camino {
            background: rgba(212, 163, 115, 0.08);
            border: 1px solid rgba(212, 163, 115, 0.15);
            border-radius: 16px;
            padding: 1.2rem 2rem;
            margin-top: 0.5rem;
            animation: fadeInUp 0.8s ease 0.5s both;
        }

        .intro-camino i {
            color: #d4a373;
            margin-right: 8px;
            font-size: 1.1rem;
        }

        .intro-tags {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 2.5rem;
            animation: fadeInUp 0.8s ease 0.6s both;
        }

        .intro-tag {
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.9);
            padding: 10px 22px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .intro-tag:hover {
            background: rgba(212, 163, 115, 0.2);
            border-color: rgba(212, 163, 115, 0.4);
            color: #d4a373;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .intro-tag i {
            margin-right: 8px;
            font-size: 0.85rem;
        }

        .intro-wave {
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            line-height: 0;
        }

        .intro-wave svg {
            width: 100%;
            height: 80px;
        }

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

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .intro-showcase {
                padding: 4rem 1.2rem 6rem;
            }
            .intro-heading {
                font-size: 1.8rem;
            }
            .intro-text {
                font-size: 1rem;
            }
            .intro-camino {
                padding: 1rem 1.2rem;
            }
            .intro-tags {
                gap: 0.6rem;
            }
            .intro-tag {
                font-size: 0.8rem;
                padding: 8px 16px;
            }
        }

        .rules-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }

        .rule-card {
            background: white;
            padding: 2.5rem 2rem;
            border-radius: 20px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid #eee;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .rule-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border-color: var(--secondary);
        }

        .rule-card i.fas {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            color: #704214; /* Castaño */
            transition: transform 0.3s ease;
        }
        
        .rule-card:hover i.fas {
            transform: scale(1.1);
        }

        .rule-card h4 {
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 0;
        }

        .rule-card .ban-overlay {
            position: absolute;
            top: 25px;
            font-size: 5rem;
            color: #704214; /* Castaño */
            opacity: 0.2;
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .rule-card:hover .ban-overlay {
            opacity: 0.4;
            transform: scale(1.2) rotate(-10deg);
        }

        /* ===== SERVICES SECTION ===== */
        .services-section {
            margin-top: 5rem;
            text-align: center;
        }
        
        .services-title {
            font-size: 2.2rem;
            margin-bottom: 2rem;
            font-family: 'Playfair Display', serif;
            color: var(--primary);
            position: relative;
        }
        
        .services-title::after {
            content: '';
            display: block;
            width: 50px;
            height: 3px;
            background: var(--secondary);
            margin: 10px auto;
        }

        .popular-services-banner {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-bottom: 3rem;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
        }

        .popular-service-badge {
            background: rgba(212, 163, 115, 0.12);
            color: #704214;
            border: 1px solid rgba(212, 163, 115, 0.25);
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .popular-service-badge:hover {
            background: var(--secondary);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(212, 163, 115, 0.25);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .service-category-card {
            background: white;
            border-radius: 20px;
            padding: 2.2rem 1.8rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            border: 1px solid #eee;
            text-align: left;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            overflow: hidden;
        }

        .service-category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.06);
            border-color: rgba(212, 163, 115, 0.2);
        }

        .service-category-card:hover::before {
            opacity: 1;
        }

        .service-card-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #f7fafc;
            padding-bottom: 1rem;
        }

        .service-card-header i {
            font-size: 1.5rem;
            color: var(--primary);
            background: rgba(0, 51, 102, 0.05);
            width: 45px;
            height: 45px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .service-category-card:hover .service-card-header i {
            color: white;
            background: var(--primary);
            transform: scale(1.05);
        }

        .service-card-header h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
            margin: 0;
        }

        .service-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .service-list li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 0.92rem;
            color: #555;
            line-height: 1.4;
        }

        .service-list li i {
            color: #2d5a41; /* Verde elegante */
            font-size: 0.85rem;
            margin-top: 5px;
        }

        .service-list li.negative-item i {
            color: #a83232; /* Rojo suave para excepciones */
        }

        /* ===== "¿QUÉ HAY CERCA?" SECTION ===== */
        .near-section {
            margin-top: 5rem;
            text-align: center;
            width: 100%;
        }

        .near-tabs-container {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 2.5rem;
            padding: 0 10px;
        }

        .near-tab-btn {
            background: white;
            border: 1px solid rgba(0, 51, 102, 0.12);
            color: var(--primary);
            padding: 10px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
        }

        .near-tab-btn i {
            font-size: 1rem;
            color: var(--secondary);
            transition: transform 0.3s ease;
        }

        .near-tab-btn:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 51, 102, 0.06);
        }

        .near-tab-btn:hover i {
            transform: scale(1.15);
        }

        .near-tab-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 6px 15px rgba(0, 51, 102, 0.2);
        }

        .near-tab-btn.active i {
            color: white;
        }

        .near-panels-container {
            position: relative;
            min-height: 200px;
            width: 100%;
        }

        .near-panel {
            display: none;
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 0.4s ease, transform 0.4s ease;
            width: 100%;
        }

        .near-panel.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .near-items-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            width: 100%;
            text-align: left;
        }

        .near-item-card {
            background: white;
            border-radius: 15px;
            padding: 1.3rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.02);
            border: 1px solid #eee;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            transition: all 0.3s ease;
        }

        .near-item-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            border-color: rgba(212, 163, 115, 0.3);
        }

        .near-item-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .near-item-icon {
            font-size: 1.15rem;
            color: var(--secondary);
            background: rgba(212, 163, 115, 0.1);
            width: 38px;
            height: 38px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .near-item-card:hover .near-item-icon {
            background: var(--secondary);
            color: white;
        }

        .near-item-name {
            font-weight: 700;
            color: var(--primary);
            font-size: 0.95rem;
        }

        .near-item-distance {
            background: rgba(0, 51, 102, 0.05);
            color: var(--primary);
            padding: 5px 12px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.8rem;
            white-space: nowrap;
            border: 1px solid rgba(0, 51, 102, 0.08);
            transition: all 0.3s ease;
        }

        .near-item-card:hover .near-item-distance {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .near-footnote {
            margin-top: 2.5rem;
            font-size: 0.82rem;
            color: #777;
            font-style: italic;
            text-align: center;
            line-height: 1.5;
        }
        
        .near-footnote i {
            color: var(--secondary);
            margin-right: 5px;
        }

        @media (max-width: 768px) {
            .services-grid {
                grid-template-columns: 1fr;
            }
            .near-tabs-container {
                gap: 6px;
            }
            .near-tab-btn {
                padding: 8px 14px;
                font-size: 0.8rem;
            }
            .near-items-grid {
                grid-template-columns: 1fr;
            }
        }

main { flex: 1; display: flex; flex-direction: column; }




@media (max-width: 992px) {
    .services-grid, .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .rules-grid {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 992px) {
    .near-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

