/**
 * Grelontor - Piscinas Cubiertas con Programas de Aqua Fitness
 * Estilos principales
 */

/* ============================
   Variables globales
   ============================ */
:root {
    /* Colores */
    --grelontor-primary: #00B8D9;
    --grelontor-primary-light: #48d5f1;
    --grelontor-primary-dark: #0095b0;
    --grelontor-secondary: #7FDBB6;
    --grelontor-secondary-light: #a8e9cd;
    --grelontor-secondary-dark: #5db991;
    --grelontor-accent: #FF6F61;
    --grelontor-accent-light: #ff9a91;
    --grelontor-accent-dark: #e54b3c;

    /* Colores neutros */
    --grelontor-text: #2c3e50;
    --grelontor-text-light: #7f8c8d;
    --grelontor-background: #f3f9fb;
    --grelontor-card-bg: #ffffff;
    --grelontor-border: #eaeaea;

    /* Colores funcionales */
    --grelontor-success: #4caf50;
    --grelontor-warning: #ff9800;
    --grelontor-error: #f44336;
    --grelontor-info: #2196f3;

    /* Espaciado */
    --grelontor-space-xs: 0.25rem;
    --grelontor-space-sm: 0.5rem;
    --grelontor-space-md: 1rem;
    --grelontor-space-lg: 2rem;
    --grelontor-space-xl: 3rem;
    --grelontor-space-xxl: 5rem;

    /* Bordes y sombras */
    --grelontor-border-radius-sm: 0.25rem;
    --grelontor-border-radius: 0.5rem;
    --grelontor-border-radius-lg: 1rem;
    --grelontor-border-radius-xl: 2rem;
    --grelontor-border-radius-circle: 50%;

    --grelontor-shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --grelontor-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --grelontor-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

    /* Tipografía */
    --grelontor-font-heading: 'Syne', sans-serif;
    --grelontor-font-body: 'Montserrat', sans-serif;

    --grelontor-text-xs: 0.75rem;
    --grelontor-text-sm: 0.875rem;
    --grelontor-text-base: 1rem;
    --grelontor-text-lg: 1.125rem;
    --grelontor-text-xl: 1.25rem;
    --grelontor-text-2xl: 1.5rem;
    --grelontor-text-3xl: 1.875rem;
    --grelontor-text-4xl: 2.25rem;
    --grelontor-text-5xl: 3rem;

    /* Transiciones */
    --grelontor-transition-fast: 0.15s ease;
    --grelontor-transition: 0.3s ease;
    --grelontor-transition-slow: 0.5s ease;

    /* Z-index */
    --grelontor-z-background: -1;
    --grelontor-z-base: 1;
    --grelontor-z-menu: 50;
    --grelontor-z-header: 100;
    --grelontor-z-modal: 1000;
    --grelontor-z-toast: 2000;

    /* Dimensiones de contenedor */
    --grelontor-container-width: 1200px;
    --grelontor-header-height: 5rem;
}

/* ============================
   Reset y base
   ============================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--grelontor-font-body);
    font-size: var(--grelontor-text-base);
    line-height: 1.6;
    color: var(--grelontor-text);
    background-color: var(--grelontor-background);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--grelontor-primary);
    text-decoration: none;
    transition: color var(--grelontor-transition);
}

a:hover {
    color: var(--grelontor-primary-dark);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--grelontor-font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--grelontor-space-md);
    color: var(--grelontor-text);
}

h1 {
    font-size: var(--grelontor-text-4xl);
}

h2 {
    font-size: var(--grelontor-text-3xl);
}

h3 {
    font-size: var(--grelontor-text-2xl);
}

p {
    margin-bottom: var(--grelontor-space-md);
}

/* ============================
   Animaciones globales
   ============================ */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes wave {
    0% {
        transform: translateX(0) translateZ(0) scaleY(1);
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(0.8);
    }
    100% {
        transform: translateX(-50%) translateZ(0) scaleY(1);
    }
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) scale(1.5);
        opacity: 0;
    }
}

/* ============================
   Utilidades
   ============================ */
.grelontor-container {
    width: 100%;
    max-width: var(--grelontor-container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--grelontor-space-lg);
    padding-right: var(--grelontor-space-lg);
}

.grelontor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--grelontor-border-radius);
    font-weight: 600;
    font-family: var(--grelontor-font-heading);
    transition: all var(--grelontor-transition);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.grelontor-button-text {
    position: relative;
    z-index: 1;
}

.grelontor-button i {
    margin-left: var(--grelontor-space-sm);
    transition: transform var(--grelontor-transition);
}

.grelontor-button:hover i {
    transform: translateX(3px);
}

.grelontor-button-primary {
    background-color: var(--grelontor-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 184, 217, 0.3);
}

.grelontor-button-primary:hover {
    background-color: var(--grelontor-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 217, 0.4);
}

.grelontor-button-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 184, 217, 0.3);
}

.grelontor-button-secondary {
    background-color: var(--grelontor-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(127, 219, 182, 0.3);
}

.grelontor-button-secondary:hover {
    background-color: var(--grelontor-secondary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 219, 182, 0.4);
}

.grelontor-button-outline {
    background-color: transparent;
    color: var(--grelontor-primary);
    border: 2px solid var(--grelontor-primary);
}

.grelontor-button-outline:hover {
    background-color: var(--grelontor-primary-light);
    color: white;
    transform: translateY(-2px);
}

.grelontor-button-small {
    padding: 0.5rem 1rem;
    font-size: var(--grelontor-text-sm);
}

.grelontor-button-large {
    padding: 1rem 2rem;
    font-size: var(--grelontor-text-lg);
}

.grelontor-button-ripple:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
    border-radius: 50%;
}

.grelontor-button-ripple:active:after {
    transform: scale(2);
    opacity: 0;
    transition: 0s;
}

/* Animación de fondo de agua */
.grelontor-background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: var(--grelontor-z-background);
    opacity: 0.6;
    pointer-events: none;
}

/* ============================
   Componentes del header
   ============================ */
.grelontor-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--grelontor-z-header);
    transition: transform var(--grelontor-transition);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: var(--grelontor-shadow);
}

.grelontor-header.grelontor-header-hidden {
    transform: translateY(-100%);
}

.grelontor-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--grelontor-header-height);
    padding: 0 var(--grelontor-space-lg);
    max-width: var(--grelontor-container-width);
    margin: 0 auto;
}

.grelontor-logo-container {
    flex-shrink: 0;
}

.grelontor-logo img {
    max-width: 150px;
    transition: transform var(--grelontor-transition);
}

.grelontor-logo:hover img {
    transform: scale(1.05);
}

.grelontor-nav {
    transition: all var(--grelontor-transition);
}

.grelontor-nav-list {
    display: flex;
    gap: var(--grelontor-space-lg);
}

.grelontor-nav-item a {
    position: relative;
    font-weight: 500;
    color: var(--grelontor-text);
    padding: var(--grelontor-space-sm) 0;
    transition: color var(--grelontor-transition);
}

.grelontor-nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--grelontor-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--grelontor-transition);
}

.grelontor-nav-item a:hover,
.grelontor-nav-item a.active {
    color: var(--grelontor-primary);
}

.grelontor-nav-item a:hover::after,
.grelontor-nav-item a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.grelontor-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 51;
}

.grelontor-menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.grelontor-menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--grelontor-primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all var(--grelontor-transition);
}

.grelontor-menu-icon span:nth-child(1) {
    top: 0;
}

.grelontor-menu-icon span:nth-child(2) {
    top: 8px;
}

.grelontor-menu-icon span:nth-child(3) {
    top: 16px;
}

.grelontor-menu-open .grelontor-menu-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.grelontor-menu-open .grelontor-menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.grelontor-menu-open .grelontor-menu-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* ============================
   Hero Section
   ============================ */
.grelontor-hero {
    display: flex;
    align-items: center;
    padding: calc(var(--grelontor-header-height) + var(--grelontor-space-xl)) 0 var(--grelontor-space-xxl);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.grelontor-hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeIn 1s ease forwards, slideUp 1s ease forwards;
}

.grelontor-hero-title {
    font-size: var(--grelontor-text-5xl);
    font-weight: 800;
    margin-bottom: var(--grelontor-space-md);
    background: linear-gradient(120deg, var(--grelontor-primary), var(--grelontor-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.grelontor-hero-subtitle {
    font-size: var(--grelontor-text-xl);
    color: var(--grelontor-text-light);
    margin-bottom: var(--grelontor-space-lg);
    max-width: 500px;
}

.grelontor-hero-image {
    flex: 1;
    margin-left: var(--grelontor-space-xl);
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.grelontor-hero-image img {
    border-radius: var(--grelontor-border-radius-lg);
    box-shadow: var(--grelontor-shadow-lg);
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.grelontor-hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border-radius: var(--grelontor-border-radius-lg);
    background: linear-gradient(135deg, var(--grelontor-primary-light), var(--grelontor-secondary-light));
    z-index: -1;
    opacity: 0.5;
    animation: pulse 4s ease-in-out infinite;
}

/* ============================
   Secciones comunes
   ============================ */
.grelontor-section-title {
    text-align: center;
    margin-bottom: var(--grelontor-space-xl);
    font-size: var(--grelontor-text-3xl);
    position: relative;
    display: inline-block;
}

.grelontor-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--grelontor-primary), var(--grelontor-secondary));
    border-radius: var(--grelontor-border-radius);
}

/* ============================
   Sección de Beneficios
   ============================ */
.grelontor-benefits {
    padding: var(--grelontor-space-xxl) 0;
    text-align: center;
}

.grelontor-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--grelontor-space-lg);
    margin-top: var(--grelontor-space-xl);
}

.grelontor-benefit-card {
    background-color: var(--grelontor-card-bg);
    border-radius: var(--grelontor-border-radius);
    padding: var(--grelontor-space-xl);
    box-shadow: var(--grelontor-shadow);
    transition: all var(--grelontor-transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.grelontor-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 184, 217, 0.05), rgba(127, 219, 182, 0.05));
    z-index: -1;
    transition: opacity var(--grelontor-transition);
    opacity: 0;
}

.grelontor-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--grelontor-shadow-lg);
}

.grelontor-benefit-card:hover::before {
    opacity: 1;
}

.grelontor-benefit-icon {
    font-size: 2.5rem;
    color: var(--grelontor-primary);
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-benefit-card h3 {
    font-size: var(--grelontor-text-lg);
    margin-bottom: var(--grelontor-space-sm);
    hyphens: auto;
}

.grelontor-benefit-card p {
    color: var(--grelontor-text-light);
    margin-bottom: 0;
}

/* ============================
   Sección de Programas
   ============================ */
.grelontor-programs {
    padding: var(--grelontor-space-xxl) 0;
    text-align: center;
}

.grelontor-programs-carousel {
    display: flex;
    gap: var(--grelontor-space-lg);
    overflow-x: auto;
    padding: var(--grelontor-space-md) 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.grelontor-programs-carousel::-webkit-scrollbar {
    display: none;
}

.grelontor-program-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background-color: var(--grelontor-card-bg);
    border-radius: var(--grelontor-border-radius);
    overflow: hidden;
    box-shadow: var(--grelontor-shadow);
    transition: all var(--grelontor-transition);
    position: relative;
}

.grelontor-program-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--grelontor-shadow-lg);
}

.grelontor-program-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.grelontor-program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--grelontor-transition-slow);
}

.grelontor-program-card:hover .grelontor-program-image img {
    transform: scale(1.1);
}

.grelontor-program-card h3 {
    margin: var(--grelontor-space-md) 0 var(--grelontor-space-sm);
    font-size: var(--grelontor-text-lg);
    padding: 0 var(--grelontor-space-md);
}

.grelontor-program-card p {
    color: var(--grelontor-text-light);
    margin-bottom: var(--grelontor-space-lg);
    padding: 0 var(--grelontor-space-md);
    height: 3rem;
}

.grelontor-price {
    display: block;
    font-family: var(--grelontor-font-heading);
    font-size: var(--grelontor-text-lg);
    font-weight: 700;
    color: var(--grelontor-primary);
    margin-bottom: var(--grelontor-space-md);
    margin-top: var(--grelontor-space-md);
}

.grelontor-program-card .grelontor-button {
    margin: 0 var(--grelontor-space-md) var(--grelontor-space-md);
}

/* ============================
   Sección de Localización
   ============================ */
.grelontor-location {
    padding: var(--grelontor-space-xxl) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grelontor-space-xl);
    align-items: center;
}

.grelontor-location-content {
    text-align: left;
}

.grelontor-location-content h2 {
    margin-bottom: var(--grelontor-space-lg);
    text-align: left;
}

.grelontor-location-content p {
    margin-bottom: var(--grelontor-space-lg);
    max-width: 500px;
}

.grelontor-location-content h2::after {
    left: 0;
    transform: none;
}

.grelontor-address {
    font-style: normal;
    line-height: 2;
    color: var(--grelontor-text-light);
}

.grelontor-address i {
    margin-right: var(--grelontor-space-sm);
    color: var(--grelontor-primary);
}

.grelontor-map {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--grelontor-border-radius-lg);
    box-shadow: var(--grelontor-shadow);
    position: relative;
}

.grelontor-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.grelontor-map::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--grelontor-primary);
    border-radius: inherit;
    opacity: 0;
    transition: all var(--grelontor-transition);
    z-index: 10;
    pointer-events: none;
}

.grelontor-map:hover::before {
    opacity: 1;
    transform: scale(0.98);
}

/* ============================
   Call to Action
   ============================ */
.grelontor-cta {
    padding: var(--grelontor-space-xl) 0;
    text-align: center;
    position: relative;
    background: linear-gradient(120deg, var(--grelontor-primary-light), var(--grelontor-primary));
    color: white;
    border-radius: var(--grelontor-border-radius-lg);
    overflow: hidden;
    margin: var(--grelontor-space-xxl) auto;
    max-width: 1100px;
}

.grelontor-cta-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
    animation: ripple 6s linear infinite;
}

.grelontor-cta-title {
    font-size: var(--grelontor-text-3xl);
    margin-bottom: var(--grelontor-space-md);
    position: relative;
    z-index: 1;
    color: white;
}

.grelontor-cta-text {
    max-width: 600px;
    margin: 0 auto var(--grelontor-space-lg);
    position: relative;
    z-index: 1;
}

.grelontor-cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: var(--grelontor-space-md);
    justify-content: center;
}

.grelontor-cta .grelontor-button-primary {
    background-color: white;
    color: var(--grelontor-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.grelontor-cta .grelontor-button-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--grelontor-primary-dark);
}

.grelontor-cta .grelontor-button-outline {
    border-color: white;
    color: white;
}

.grelontor-cta .grelontor-button-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ============================
   Footer
   ============================ */
.grelontor-footer {
    background-color: var(--grelontor-text);
    color: white;
    padding-top: var(--grelontor-space-xl);
}

.grelontor-footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--grelontor-space-xl);
    justify-content: space-between;
    max-width: var(--grelontor-container-width);
    margin: 0 auto;
    padding: 0 var(--grelontor-space-lg);
}

.grelontor-footer-logo {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.grelontor-footer-logo img {
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.grelontor-footer-links {
    flex: 1;
    min-width: 200px;
}

.grelontor-footer-links h3 {
    color: white;
    margin-bottom: var(--grelontor-space-md);
    font-size: var(--grelontor-text-lg);
}

.grelontor-footer-links ul {
    columns: 2;
    column-gap: var(--grelontor-space-lg);
}

.grelontor-footer-links li {
    margin-bottom: var(--grelontor-space-sm);
}

.grelontor-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--grelontor-transition);
}

.grelontor-footer-links a:hover {
    color: white;
}

.grelontor-footer-bottom {
    margin-top: var(--grelontor-space-xl);
    padding: var(--grelontor-space-md) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--grelontor-text-sm);
}

/* ============================
   Cookie Consent
   ============================ */
.grelontor-cookie-consent {
    position: fixed;
    bottom: var(--grelontor-space-md);
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: white;
    border-radius: var(--grelontor-border-radius);
    box-shadow: var(--grelontor-shadow-lg);
    z-index: var(--grelontor-z-modal);
    animation: slideUp 0.5s ease forwards;
    display: none;
}

.grelontor-cookie-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--grelontor-space-md);
    align-items: center;
    justify-content: space-between;
    padding: var(--grelontor-space-md);
}

.grelontor-cookie-content p {
    margin-bottom: 0;
    flex: 1;
    font-size: var(--grelontor-text-sm);
}

/* ============================
   Page Header
   ============================ */
.grelontor-page-header {
    padding: calc(var(--grelontor-header-height) + var(--grelontor-space-xl)) 0 var(--grelontor-space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.grelontor-page-title {
    font-size: var(--grelontor-text-4xl);
    margin-bottom: var(--grelontor-space-sm);
    animation: fadeIn 1s ease forwards, slideDown 1s ease forwards;
    background: linear-gradient(120deg, var(--grelontor-primary), var(--grelontor-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
}

.grelontor-page-subtitle {
    color: var(--grelontor-text-light);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 1s ease forwards, slideUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    position: relative;
    z-index: 2;
}

/* Animación de ondas para el encabezado de página */
.grelontor-waves-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 1;
}

.grelontor-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M321.39 56.44c58-10.79 114.16-30.13 172-41.86 82.39-16.72 168.19-17.73 250.45-.39C823.78 31 906.67 72 985.66 92.83c70.05 18.48 146.53 26.09 214.34 3V0H0v27.35a600.21 600.21 0 00321.39 29.09z" fill="%2300B8D9" fill-opacity="0.1"/></svg>') repeat-x;
    animation: wave 8s linear infinite;
}

.grelontor-wave:nth-child(2) {
    bottom: 10px;
    animation-delay: -2s;
    animation-duration: 6s;
    opacity: 0.7;
}

.grelontor-wave:nth-child(3) {
    bottom: 20px;
    animation-delay: -3s;
    animation-duration: 10s;
    opacity: 0.5;
}

/* Animación de orbes líquidos */
.grelontor-liquid-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.grelontor-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--grelontor-primary-light), var(--grelontor-primary));
    opacity: 0.2;
    filter: blur(30px);
    animation: float 10s ease-in-out infinite;
}

.grelontor-orb-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: 15%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.grelontor-orb-2 {
    width: 150px;
    height: 150px;
    top: 50px;
    left: 20%;
    animation-delay: -2s;
    animation-duration: 8s;
}

.grelontor-orb-3 {
    width: 100px;
    height: 100px;
    bottom: -20px;
    right: 30%;
    animation-delay: -1s;
    animation-duration: 7s;
}

/* ============================
   Página de piscinas - Filtros
   ============================ */
.grelontor-filters {
    padding: var(--grelontor-space-lg) 0;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: var(--grelontor-border-radius);
    box-shadow: var(--grelontor-shadow);
    margin-bottom: var(--grelontor-space-xl);
}

.grelontor-filter-container {
    max-width: 1000px;
    margin: 0 auto;
}

.grelontor-search-container {
    margin-bottom: var(--grelontor-space-lg);
}

.grelontor-search-input {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.grelontor-search-input input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--grelontor-border);
    border-radius: var(--grelontor-border-radius);
    transition: all var(--grelontor-transition);
    background-color: white;
}

.grelontor-search-input input:focus {
    border-color: var(--grelontor-primary);
    box-shadow: 0 0 0 3px rgba(0, 184, 217, 0.2);
}

.grelontor-search-input i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grelontor-text-light);
}

.grelontor-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--grelontor-space-lg);
    margin-bottom: var(--grelontor-space-lg);
}

.grelontor-filter-group h3 {
    font-size: var(--grelontor-text-lg);
    margin-bottom: var(--grelontor-space-sm);
}

.grelontor-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--grelontor-border);
    border-radius: var(--grelontor-border-radius);
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%232c3e50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.grelontor-range-slider {
    position: relative;
    padding-top: var(--grelontor-space-md);
}

.grelontor-range-slider input {
    width: 100%;
    appearance: none;
    height: 8px;
    background: linear-gradient(90deg, var(--grelontor-primary-light), var(--grelontor-primary));
    border-radius: var(--grelontor-border-radius);
}

.grelontor-range-slider input::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid var(--grelontor-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--grelontor-shadow-sm);
    transition: all var(--grelontor-transition);
}

.grelontor-range-slider input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.grelontor-range-value {
    position: absolute;
    top: 0;
    right: 0;
    font-size: var(--grelontor-text-sm);
    font-weight: 600;
    color: var(--grelontor-primary);
}

.grelontor-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--grelontor-space-sm);
}

.grelontor-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.grelontor-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.grelontor-checkbox-mark {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-color: white;
    border: 1px solid var(--grelontor-border);
    border-radius: 3px;
    transition: all var(--grelontor-transition);
    flex-shrink: 0;
}

.grelontor-checkbox input:checked ~ .grelontor-checkbox-mark {
    background-color: var(--grelontor-primary);
    border-color: var(--grelontor-primary);
}

.grelontor-checkbox-mark:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.grelontor-checkbox input:checked ~ .grelontor-checkbox-mark:after {
    display: block;
}

.grelontor-checkbox-label {
    font-size: var(--grelontor-text-sm);
}

.grelontor-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--grelontor-space-md);
    justify-content: center;
}

/* ============================
   Página de piscinas - Resultados
   ============================ */
.grelontor-pool-results {
    padding-bottom: var(--grelontor-space-xxl);
}

.grelontor-results-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--grelontor-space-lg);
}

.grelontor-results-count {
    color: var(--grelontor-text-light);
}

.grelontor-view-toggle {
    display: flex;
    gap: 5px;
}

.grelontor-view-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid var(--grelontor-border);
    border-radius: var(--grelontor-border-radius);
    cursor: pointer;
    transition: all var(--grelontor-transition);
}

.grelontor-view-button.active,
.grelontor-view-button:hover {
    background-color: var(--grelontor-primary);
    border-color: var(--grelontor-primary);
    color: white;
}

.grelontor-pool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--grelontor-space-lg);
}

.grelontor-pool-card {
    background-color: white;
    border-radius: var(--grelontor-border-radius-lg);
    overflow: hidden;
    box-shadow: var(--grelontor-shadow);
    transition: all var(--grelontor-transition);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease forwards, slideUp 0.5s ease forwards;
}

.grelontor-pool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--grelontor-shadow-lg);
}

.grelontor-pool-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.grelontor-pool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--grelontor-transition-slow);
}

.grelontor-pool-card:hover .grelontor-pool-image img {
    transform: scale(1.1);
}

.grelontor-pool-badge {
    position: absolute;
    top: var(--grelontor-space-sm);
    right: var(--grelontor-space-sm);
    padding: 0.25rem 0.75rem;
    background-color: var(--grelontor-primary);
    color: white;
    font-size: var(--grelontor-text-xs);
    font-weight: 600;
    border-radius: 20px;
    z-index: 1;
}

.grelontor-pool-content {
    padding: var(--grelontor-space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grelontor-pool-title {
    font-size: var(--grelontor-text-xl);
    margin-bottom: var(--grelontor-space-xs);
}

.grelontor-pool-location {
    display: flex;
    align-items: center;
    color: var(--grelontor-text-light);
    font-size: var(--grelontor-text-sm);
    margin-bottom: var(--grelontor-space-sm);
}

.grelontor-pool-location i {
    margin-right: 5px;
    color: var(--grelontor-primary);
}

.grelontor-pool-rating {
    display: flex;
    align-items: center;
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-stars {
    display: flex;
    align-items: center;
    margin-right: var(--grelontor-space-sm);
    color: #ffc107;
    font-size: var(--grelontor-text-sm);
}

.grelontor-stars i {
    margin-right: 2px;
}

.grelontor-pool-rating span {
    font-size: var(--grelontor-text-sm);
    color: var(--grelontor-text-light);
}

.grelontor-pool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-feature {
    font-size: var(--grelontor-text-xs);
    background-color: rgba(0, 184, 217, 0.1);
    color: var(--grelontor-primary);
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.grelontor-feature i {
    margin-right: 4px;
}

.grelontor-pool-classes {
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-pool-classes h4 {
    font-size: var(--grelontor-text-sm);
    margin-bottom: var(--grelontor-space-xs);
}

.grelontor-class-tag {
    display: inline-block;
    font-size: var(--grelontor-text-xs);
    background-color: rgba(127, 219, 182, 0.1);
    color: var(--grelontor-secondary-dark);
    padding: 4px 8px;
    border-radius: 20px;
    margin-right: 6px;
    margin-bottom: 6px;
}

.grelontor-pool-price {
    margin-top: auto;
    margin-bottom: var(--grelontor-space-md);
    font-size: var(--grelontor-text-sm);
    color: var(--grelontor-text-light);
}

.grelontor-pool-price span {
    font-size: var(--grelontor-text-lg);
    font-weight: 700;
    color: var(--grelontor-primary);
}

.grelontor-load-more {
    text-align: center;
    margin-top: var(--grelontor-space-xl);
}

.grelontor-pagination {
    display: flex;
    justify-content: center;
    gap: var(--grelontor-space-sm);
    margin-top: var(--grelontor-space-xl);
}

.grelontor-page-number,
.grelontor-page-arrow,
.grelontor-page-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--grelontor-border-radius);
    background-color: white;
    font-weight: 500;
    transition: all var(--grelontor-transition);
}

.grelontor-page-number.active,
.grelontor-page-number:hover,
.grelontor-page-arrow:hover {
    background-color: var(--grelontor-primary);
    color: white;
}

.grelontor-page-arrow.disabled {
    color: var(--grelontor-text-light);
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================
   Página de opiniones
   ============================ */
.grelontor-review-stats {
    padding: var(--grelontor-space-xl) 0;
    margin-bottom: var(--grelontor-space-xl);
}

.grelontor-stats-container {
    background-color: white;
    border-radius: var(--grelontor-border-radius-lg);
    padding: var(--grelontor-space-xl);
    box-shadow: var(--grelontor-shadow);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--grelontor-space-lg);
    align-items: center;
}

.grelontor-stat-card {
    text-align: center;
    padding: var(--grelontor-space-lg);
    background: linear-gradient(135deg, rgba(0, 184, 217, 0.05), rgba(127, 219, 182, 0.05));
    border-radius: var(--grelontor-border-radius);
}

.grelontor-stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--grelontor-primary);
    font-family: var(--grelontor-font-heading);
    line-height: 1;
    margin-bottom: var(--grelontor-space-xs);
}

.grelontor-stat-label {
    color: var(--grelontor-text-light);
    font-size: var(--grelontor-text-sm);
    margin-top: var(--grelontor-space-sm);
}

.grelontor-stat-bar {
    display: flex;
    align-items: center;
    gap: var(--grelontor-space-md);
    margin-bottom: var(--grelontor-space-sm);
}

.grelontor-stat-bar-label {
    width: 60px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--grelontor-text-sm);
}

.grelontor-stat-bar-track {
    flex: 1;
    height: 8px;
    background-color: var(--grelontor-border);
    border-radius: 4px;
    overflow: hidden;
}

.grelontor-stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--grelontor-primary), var(--grelontor-primary-light));
    border-radius: 4px;
}

.grelontor-stat-bar-percent {
    width: 50px;
    text-align: right;
    font-size: var(--grelontor-text-sm);
    color: var(--grelontor-text-light);
}

.grelontor-stat-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grelontor-space-md);
}

.grelontor-highlight {
    text-align: center;
    padding: var(--grelontor-space-md);
    background-color: rgba(255, 111, 97, 0.05);
    border-radius: var(--grelontor-border-radius);
}

.grelontor-highlight-icon {
    font-size: 1.5rem;
    color: var(--grelontor-accent);
    margin-bottom: var(--grelontor-space-xs);
}

.grelontor-highlight-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--grelontor-accent);
    font-family: var(--grelontor-font-heading);
    line-height: 1;
    margin-bottom: var(--grelontor-space-xs);
}

.grelontor-highlight-label {
    font-size: var(--grelontor-text-xs);
    color: var(--grelontor-text-light);
}

.grelontor-review-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--grelontor-space-lg);
    gap: var(--grelontor-space-md);
}

.grelontor-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--grelontor-space-sm);
}

.grelontor-filter-tab {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid var(--grelontor-border);
    border-radius: 20px;
    font-size: var(--grelontor-text-sm);
    cursor: pointer;
    transition: all var(--grelontor-transition);
}

.grelontor-filter-tab.active,
.grelontor-filter-tab:hover {
    background-color: var(--grelontor-primary);
    border-color: var(--grelontor-primary);
    color: white;
}

.grelontor-sort-dropdown {
    display: flex;
    align-items: center;
    gap: var(--grelontor-space-sm);
}

.grelontor-sort-dropdown label {
    font-size: var(--grelontor-text-sm);
    color: var(--grelontor-text-light);
}

.grelontor-sort-dropdown .grelontor-select {
    width: auto;
    padding: 0.5rem 2rem 0.5rem 1rem;
    font-size: var(--grelontor-text-sm);
}

.grelontor-reviews {
    display: flex;
    flex-direction: column;
    gap: var(--grelontor-space-lg);
}

.grelontor-review-card {
    background-color: white;
    border-radius: var(--grelontor-border-radius-lg);
    padding: var(--grelontor-space-lg);
    box-shadow: var(--grelontor-shadow);
    animation: fadeIn 0.5s ease forwards, slideUp 0.5s ease forwards;
}

.grelontor-review-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--grelontor-space-md);
    flex-shrink: 0;
}

.grelontor-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grelontor-review-info {
    flex: 1;
}

.grelontor-review-name {
    margin-bottom: 0;
    font-size: var(--grelontor-text-lg);
}

.grelontor-review-meta {
    font-size: var(--grelontor-text-sm);
    color: var(--grelontor-text-light);
    margin-bottom: var(--grelontor-space-xs);
}

.grelontor-review-divider {
    margin: 0 5px;
}

.grelontor-review-content {
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-review-content p {
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-review-photos {
    display: flex;
    gap: var(--grelontor-space-sm);
    margin-bottom: var(--grelontor-space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: var(--grelontor-space-sm);
}

.grelontor-review-photos::-webkit-scrollbar {
    display: none;
}

.grelontor-review-photo {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    border-radius: var(--grelontor-border-radius);
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
    transition: all var(--grelontor-transition);
}

.grelontor-review-photo:hover {
    transform: scale(1.05);
}

.grelontor-review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grelontor-review-tags {
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-review-tag {
    display: inline-block;
    font-size: var(--grelontor-text-xs);
    background-color: rgba(127, 219, 182, 0.1);
    color: var(--grelontor-secondary-dark);
    padding: 4px 8px;
    border-radius: 20px;
    margin-right: 6px;
    margin-bottom: 6px;
}

.grelontor-review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--grelontor-space-sm);
    border-top: 1px solid var(--grelontor-border);
}

.grelontor-review-helpful {
    background: none;
    border: none;
    color: var(--grelontor-text-light);
    font-size: var(--grelontor-text-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all var(--grelontor-transition);
}

.grelontor-review-helpful:hover {
    color: var(--grelontor-primary);
}

.grelontor-review-facility {
    font-size: var(--grelontor-text-sm);
    color: var(--grelontor-text-light);
    display: flex;
    align-items: center;
    gap: var(--grelontor-space-sm);
}

.grelontor-link-arrow {
    display: flex;
    align-items: center;
    color: var(--grelontor-primary);
    font-weight: 500;
}

.grelontor-link-arrow:after {
    content: '→';
    margin-left: 4px;
    transition: transform var(--grelontor-transition);
}

.grelontor-link-arrow:hover:after {
    transform: translateX(3px);
}

.grelontor-share-experience {
    padding: var(--grelontor-space-xl) 0;
    text-align: center;
}

.grelontor-share-container {
    background: linear-gradient(135deg, var(--grelontor-primary), var(--grelontor-secondary));
    padding: var(--grelontor-space-xl);
    border-radius: var(--grelontor-border-radius-lg);
    color: white;
    position: relative;
    overflow: hidden;
}

.grelontor-share-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.grelontor-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.grelontor-bubble-1 {
    width: 80px;
    height: 80px;
    bottom: -40px;
    left: 10%;
    animation: bubbleFloat 8s linear infinite;
}

.grelontor-bubble-2 {
    width: 50px;
    height: 50px;
    bottom: -25px;
    left: 50%;
    animation: bubbleFloat 6s linear infinite;
    animation-delay: 2s;
}

.grelontor-bubble-3 {
    width: 70px;
    height: 70px;
    bottom: -35px;
    right: 15%;
    animation: bubbleFloat 10s linear infinite;
    animation-delay: 1s;
}

.grelontor-share-container h2 {
    color: white;
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-share-container p {
    max-width: 600px;
    margin: 0 auto var(--grelontor-space-lg);
    color: rgba(255, 255, 255, 0.9);
}

/* ============================
   Página de contacto
   ============================ */
.grelontor-contact-immersive {
    padding: calc(var(--grelontor-header-height) + var(--grelontor-space-xl)) 0 var(--grelontor-space-xxl);
    position: relative;
}

.grelontor-contact-fluid-container {
    position: relative;
    border-radius: var(--grelontor-border-radius-lg);
    overflow: hidden;
}

.grelontor-fluid-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.grelontor-fluid-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
}

.grelontor-fluid-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--grelontor-primary);
    top: -100px;
    left: -100px;
    animation: pulse 8s ease-in-out infinite;
}

.grelontor-fluid-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--grelontor-secondary);
    bottom: -50px;
    right: -50px;
    animation: pulse 6s ease-in-out infinite;
    animation-delay: -3s;
}

.grelontor-fluid-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 0;
    padding-bottom: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    animation: ripple 6s ease-in-out infinite;
}

.grelontor-contact-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grelontor-space-xl);
    padding: var(--grelontor-space-xl);
}

.grelontor-contact-info {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--grelontor-border-radius-lg);
    padding: var(--grelontor-space-xl);
    box-shadow: var(--grelontor-shadow);
}

.grelontor-contact-title {
    font-size: var(--grelontor-text-3xl);
    margin-bottom: var(--grelontor-space-sm);
    background: linear-gradient(120deg, var(--grelontor-primary), var(--grelontor-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.grelontor-contact-subtitle {
    color: var(--grelontor-text-light);
    margin-bottom: var(--grelontor-space-xl);
}

.grelontor-contact-details {
    display: grid;
    gap: var(--grelontor-space-lg);
}

.grelontor-contact-detail {
    display: flex;
    align-items: flex-start;
}

.grelontor-contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 184, 217, 0.1);
    color: var(--grelontor-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--grelontor-text-lg);
    margin-right: var(--grelontor-space-md);
    flex-shrink: 0;
}

.grelontor-contact-text h3 {
    font-size: var(--grelontor-text-lg);
    margin-bottom: var(--grelontor-space-xs);
}

.grelontor-contact-text p {
    color: var(--grelontor-text-light);
    margin-bottom: 0;
}

.grelontor-contact-form-container {
    position: relative;
    overflow: hidden;
}

.grelontor-form-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.grelontor-form-bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(30px);
}

.grelontor-form-bubble-1 {
    width: 200px;
    height: 200px;
    background: var(--grelontor-primary-light);
    top: -100px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.grelontor-form-bubble-2 {
    width: 150px;
    height: 150px;
    background: var(--grelontor-secondary-light);
    bottom: -50px;
    left: -30px;
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
}

.grelontor-contact-form {
    background-color: white;
    border-radius: var(--grelontor-border-radius-lg);
    padding: var(--grelontor-space-xl);
    box-shadow: var(--grelontor-shadow);
}

.grelontor-contact-form h2 {
    text-align: center;
    margin-bottom: var(--grelontor-space-lg);
}

.grelontor-form-group {
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-form-group label {
    display: block;
    margin-bottom: var(--grelontor-space-xs);
    font-weight: 500;
}

.grelontor-required {
    color: var(--grelontor-accent);
}

.grelontor-input-container {
    position: relative;
}

.grelontor-input-container i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1rem;
    color: var(--grelontor-text-light);
}

.grelontor-input-container input,
.grelontor-input-container textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--grelontor-border);
    border-radius: var(--grelontor-border-radius);
    transition: all var(--grelontor-transition);
    background-color: white;
}

.grelontor-input-container textarea {
    resize: vertical;
}

.grelontor-input-container input:focus,
.grelontor-input-container textarea:focus {
    border-color: var(--grelontor-primary);
    box-shadow: 0 0 0 3px rgba(0, 184, 217, 0.2);
}

.grelontor-input-focus-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--grelontor-primary), var(--grelontor-secondary));
    transition: width var(--grelontor-transition);
}

.grelontor-input-container input:focus ~ .grelontor-input-focus-effect,
.grelontor-input-container textarea:focus ~ .grelontor-input-focus-effect {
    width: 100%;
}

.grelontor-checkbox-consent {
    margin-top: var(--grelontor-space-md);
}

.grelontor-form-submit {
    text-align: center;
    margin-top: var(--grelontor-space-lg);
}

.grelontor-map-section {
    padding: var(--grelontor-space-xl) 0;
    text-align: center;
}

.grelontor-map-container {
    max-width: 900px;
    margin: 0 auto;
}

.grelontor-map-frame {
    width: 100%;
    height: 400px;
    border-radius: var(--grelontor-border-radius-lg);
    overflow: hidden;
    box-shadow: var(--grelontor-shadow);
    margin-bottom: var(--grelontor-space-lg);
}

.grelontor-map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.grelontor-map-directions h3 {
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-directions-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--grelontor-space-lg);
}

.grelontor-directions-list li {
    display: flex;
    align-items: center;
    font-size: var(--grelontor-text-sm);
}

.grelontor-directions-list i {
    margin-right: var(--grelontor-space-sm);
    color: var(--grelontor-primary);
}

.grelontor-faq {
    padding: var(--grelontor-space-xl) 0;
}

.grelontor-faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.grelontor-accordion {
    text-align: left;
}

.grelontor-accordion-item {
    margin-bottom: var(--grelontor-space-md);
    border: 1px solid var(--grelontor-border);
    border-radius: var(--grelontor-border-radius);
    overflow: hidden;
}

.grelontor-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--grelontor-space-md) var(--grelontor-space-lg);
    background-color: white;
    cursor: pointer;
    transition: all var(--grelontor-transition);
}

.grelontor-accordion-item.active .grelontor-accordion-header,
.grelontor-accordion-header:hover {
    background-color: rgba(0, 184, 217, 0.05);
}

.grelontor-accordion-header h3 {
    margin-bottom: 0;
    font-size: var(--grelontor-text-lg);
    font-weight: 600;
}

.grelontor-accordion-icon {
    font-size: var(--grelontor-text-lg);
    color: var(--grelontor-primary);
    transition: all var(--grelontor-transition);
}

.grelontor-accordion-icon .fa-minus {
    display: none;
}

.grelontor-accordion-item.active .grelontor-accordion-icon .fa-plus {
    display: none;
}

.grelontor-accordion-item.active .grelontor-accordion-icon .fa-minus {
    display: inline-block;
}

.grelontor-accordion-content {
    padding: 0 var(--grelontor-space-lg);
    max-height: 0;
    overflow: hidden;
    transition: all var(--grelontor-transition);
    background-color: white;
}

.grelontor-accordion-item.active .grelontor-accordion-content {
    max-height: 500px;
    padding: var(--grelontor-space-md) var(--grelontor-space-lg) var(--grelontor-space-lg);
}

/* ============================
   Página de agradecimiento
   ============================ */
.grelontor-thanks-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.grelontor-fluid-simulation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.grelontor-fluid-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.grelontor-particle-1 {
    width: 300px;
    height: 300px;
    background: var(--grelontor-primary);
    top: -150px;
    right: -150px;
    filter: blur(100px);
    animation: float 15s ease-in-out infinite;
}

.grelontor-particle-2 {
    width: 200px;
    height: 200px;
    background: var(--grelontor-secondary);
    bottom: -100px;
    left: -100px;
    filter: blur(70px);
    animation: float 12s ease-in-out infinite;
    animation-delay: -3s;
}

.grelontor-particle-3 {
    width: 100px;
    height: 100px;
    background: var(--grelontor-accent);
    top: 30%;
    right: 10%;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
    animation-delay: -5s;
}

.grelontor-fluid-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M321.39 56.44c58-10.79 114.16-30.13 172-41.86 82.39-16.72 168.19-17.73 250.45-.39C823.78 31 906.67 72 985.66 92.83c70.05 18.48 146.53 26.09 214.34 3V0H0v27.35a600.21 600.21 0 00321.39 29.09z" fill="%2300B8D9" fill-opacity="0.1"/></svg>') repeat-x;
    animation: wave 15s linear infinite;
}

.grelontor-fluid-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,184,217,0.1) 0%, rgba(0,184,217,0) 70%);
    opacity: 0;
    animation: ripple 6s ease-out infinite;
}

.grelontor-thanks-content {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--grelontor-border-radius-lg);
    padding: var(--grelontor-space-xxl) var(--grelontor-space-xl);
    text-align: center;
    max-width: 600px;
    box-shadow: var(--grelontor-shadow-lg);
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease forwards, slideUp 1s ease forwards;
}

.grelontor-thanks-icon {
    width: 80px;
    height: 80px;
    background-color: var(--grelontor-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--grelontor-text-2xl);
    margin: 0 auto var(--grelontor-space-lg);
    box-shadow: 0 10px 20px rgba(0, 184, 217, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.grelontor-thanks-title {
    font-size: var(--grelontor-text-3xl);
    margin-bottom: var(--grelontor-space-md);
    color: var(--grelontor-primary);
}

.grelontor-thanks-message {
    margin-bottom: var(--grelontor-space-lg);
}

.grelontor-timestamp {
    display: inline-flex;
    align-items: center;
    gap: var(--grelontor-space-sm);
    padding: var(--grelontor-space-sm) var(--grelontor-space-md);
    background-color: rgba(0, 184, 217, 0.1);
    color: var(--grelontor-primary);
    border-radius: 20px;
    font-size: var(--grelontor-text-sm);
    margin-bottom: var(--grelontor-space-lg);
}

.grelontor-thanks-actions {
    display: flex;
    gap: var(--grelontor-space-md);
    justify-content: center;
}

.grelontor-next-steps {
    padding: var(--grelontor-space-xxl) 0;
    text-align: center;
}

.grelontor-next-container {
    max-width: 900px;
    margin: 0 auto;
}

.grelontor-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--grelontor-space-lg);
    margin-top: var(--grelontor-space-xl);
}

.grelontor-step-card {
    background-color: white;
    border-radius: var(--grelontor-border-radius);
    padding: var(--grelontor-space-xl) var(--grelontor-space-lg);
    box-shadow: var(--grelontor-shadow);
    position: relative;
    transition: all var(--grelontor-transition);
}

.grelontor-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--grelontor-shadow-lg);
}

.grelontor-step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--grelontor-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--grelontor-font-heading);
}

.grelontor-step-icon {
    font-size: 2rem;
    color: var(--grelontor-primary);
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-step-card h3 {
    font-size: var(--grelontor-text-lg);
    margin-bottom: var(--grelontor-space-sm);
}

.grelontor-step-card p {
    color: var(--grelontor-text-light);
    margin-bottom: 0;
    font-size: var(--grelontor-text-sm);
}

.grelontor-newsletter {
    padding: var(--grelontor-space-xl) 0;
}

.grelontor-newsletter-container {
    background: linear-gradient(135deg, var(--grelontor-primary), var(--grelontor-secondary));
    padding: var(--grelontor-space-xl);
    border-radius: var(--grelontor-border-radius-lg);
    color: white;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.grelontor-newsletter-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.grelontor-newsletter-bubble {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.grelontor-newsletter-bubble.grelontor-bubble-1 {
    width: 120px;
    height: 120px;
    top: -60px;
    right: 10%;
    animation: bubbleFloat 15s linear infinite;
}

.grelontor-newsletter-bubble.grelontor-bubble-2 {
    width: 80px;
    height: 80px;
    bottom: -40px;
    left: 15%;
    animation: bubbleFloat 12s linear infinite;
    animation-delay: 2s;
}

.grelontor-newsletter-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.grelontor-newsletter-content h2 {
    color: white;
    margin-bottom: var(--grelontor-space-sm);
}

.grelontor-newsletter-content p {
    max-width: 500px;
    margin: 0 auto var(--grelontor-space-lg);
    color: rgba(255, 255, 255, 0.9);
}

.grelontor-newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.grelontor-newsletter-input-group {
    display: flex;
    gap: 0;
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-newsletter-input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid white;
    border-radius: var(--grelontor-border-radius) 0 0 var(--grelontor-border-radius);
    transition: all var(--grelontor-transition);
}

.grelontor-newsletter-input-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.grelontor-newsletter-input-group button {
    border-radius: 0 var(--grelontor-border-radius) var(--grelontor-border-radius) 0;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: var(--grelontor-primary);
    border: 2px solid white;
    cursor: pointer;
    transition: all var(--grelontor-transition);
}

.grelontor-newsletter-input-group button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.grelontor-newsletter-form .grelontor-checkbox-label {
    color: white;
    font-size: var(--grelontor-text-sm);
}

.grelontor-newsletter-form .grelontor-checkbox-mark {
    background-color: transparent;
    border-color: white;
}

.grelontor-newsletter-form .grelontor-checkbox input:checked ~ .grelontor-checkbox-mark {
    background-color: white;
    border-color: white;
}

.grelontor-newsletter-form .grelontor-checkbox-mark:after {
    border-color: var(--grelontor-primary);
}

.grelontor-newsletter-form a {
    color: white;
    text-decoration: underline;
}

/* ============================
   Página de error 404
   ============================ */
.grelontor-error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    min-height: 600px;
    padding-top: var(--grelontor-header-height);
    position: relative;
    overflow: hidden;
}

.grelontor-water-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.grelontor-water-drop {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--grelontor-primary);
    border-radius: 50%;
    animation: float 3s ease-in infinite;
}

.grelontor-water-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid var(--grelontor-primary);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 4s linear infinite;
}

.grelontor-ripple-delay {
    animation-delay: 0.5s;
}

.grelontor-ripple-delay-2 {
    animation-delay: 1s;
}

.grelontor-error-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.grelontor-error-code {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    font-weight: 800;
    color: var(--grelontor-primary);
    font-family: var(--grelontor-font-heading);
    margin-bottom: var(--grelontor-space-md);
    line-height: 1;
    position: relative;
}

.grelontor-bubbles-container {
    position: relative;
    width: 80px;
    height: 120px;
    margin: 0 5px;
}

.grelontor-bubble {
    position: absolute;
    background-color: var(--grelontor-primary-light);
    border-radius: 50%;
    opacity: 0.8;
}

.grelontor-bubble-sm {
    width: 15px;
    height: 15px;
    top: 60px;
    left: 20px;
    animation: bubbleFloat 6s ease-in-out infinite;
}

.grelontor-bubble-md {
    width: 25px;
    height: 25px;
    top: 40px;
    left: 40px;
    animation: bubbleFloat 8s ease-in-out infinite;
    animation-delay: 1s;
}

.grelontor-bubble-lg {
    width: 35px;
    height: 35px;
    top: 20px;
    left: 10px;
    animation: bubbleFloat 10s ease-in-out infinite;
    animation-delay: 2s;
}

.grelontor-error-title {
    font-size: var(--grelontor-text-3xl);
    margin-bottom: var(--grelontor-space-md);
    color: var(--grelontor-primary);
}

.grelontor-error-message {
    margin-bottom: var(--grelontor-space-lg);
}

.grelontor-error-actions {
    display: flex;
    gap: var(--grelontor-space-md);
    justify-content: center;
}

.grelontor-suggestions {
    padding: var(--grelontor-space-xl) 0;
}

.grelontor-suggestions-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.grelontor-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--grelontor-space-lg);
    margin-top: var(--grelontor-space-lg);
}

.grelontor-suggestion-card {
    background-color: white;
    border-radius: var(--grelontor-border-radius);
    padding: var(--grelontor-space-lg);
    box-shadow: var(--grelontor-shadow);
    transition: all var(--grelontor-transition);
    color: var(--grelontor-text);
    display: block;
}

.grelontor-suggestion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--grelontor-shadow-lg);
    color: var(--grelontor-text);
}

.grelontor-suggestion-icon {
    font-size: 2rem;
    color: var(--grelontor-primary);
    margin-bottom: var(--grelontor-space-md);
}

.grelontor-suggestion-card h3 {
    font-size: var(--grelontor-text-lg);
    margin-bottom: var(--grelontor-space-sm);
}

.grelontor-suggestion-card p {
    color: var(--grelontor-text-light);
    margin-bottom: 0;
    font-size: var(--grelontor-text-sm);
}

.grelontor-search-section {
    padding: var(--grelontor-space-xl) 0;
    background-color: rgba(0, 184, 217, 0.05);
}

.grelontor-search-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: var(--grelontor-space-xl);
    border-radius: var(--grelontor-border-radius-lg);
}

.grelontor-search-form {
    max-width: 500px;
    margin: var(--grelontor-space-lg) auto 0;
}

.grelontor-search-input-group {
    display: flex;
    gap: 0;
}

.grelontor-search-input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--grelontor-border);
    border-right: none;
    border-radius: var(--grelontor-border-radius) 0 0 var(--grelontor-border-radius);
    transition: all var(--grelontor-transition);
}

.grelontor-search-input-group input:focus {
    outline: none;
    border-color: var(--grelontor-primary);
}

.grelontor-search-input-group button {
    padding: 1rem 2rem;
    border: 2px solid var(--grelontor-primary);
    border-radius: 0 var(--grelontor-border-radius) var(--grelontor-border-radius) 0;
}

/* ============================
   Archivos específicos
   ============================ */
.grelontor-sitemap,
.grelontor-robots {
    font-family: monospace;
    padding: var(--grelontor-space-xl);
    background-color: #f5f5f5;
    border-radius: var(--grelontor-border-radius);
    overflow-x: auto;
    max-width: 800px;
    margin: var(--grelontor-header-height) auto var(--grelontor-space-xl);
    box-shadow: var(--grelontor-shadow);
}

/* ============================
   Media Queries
   ============================ */
@media (max-width: 1200px) {
    :root {
        --grelontor-text-5xl: 2.5rem;
        --grelontor-text-4xl: 2rem;
        --grelontor-text-3xl: 1.75rem;
    }
}

@media (max-width: 992px) {
    .grelontor-hero {
        flex-direction: column;
        padding-top: calc(var(--grelontor-header-height) + var(--grelontor-space-lg));
    }

    .grelontor-hero-image {
        margin: var(--grelontor-space-lg) 0 0;
        width: 100%;
        max-width: 500px;
    }

    .grelontor-hero-content {
        text-align: center;
        max-width: 100%;
    }

    .grelontor-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .grelontor-location {
        grid-template-columns: 1fr;
    }

    .grelontor-stats-container {
        grid-template-columns: 1fr;
    }

    .grelontor-contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --grelontor-space-lg: 1.5rem;
        --grelontor-space-xl: 2rem;
        --grelontor-space-xxl: 3rem;
    }

    .grelontor-hero-title{
        font-size: 2rem;
    }

    .grelontor-container {
        padding-left: var(--grelontor-space-md);
        padding-right: var(--grelontor-space-md);
    }

    .grelontor-menu-toggle {
        display: block;
    }

    .grelontor-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        z-index: var(--grelontor-z-menu);
        padding: calc(var(--grelontor-header-height) + var(--grelontor-space-lg)) var(--grelontor-space-lg) var(--grelontor-space-lg);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right var(--grelontor-transition);
    }

    .grelontor-menu-open .grelontor-nav {
        right: 0;
    }

    .grelontor-nav-list {
        flex-direction: column;
        gap: var(--grelontor-space-md);
    }

    .grelontor-nav-item a {
        display: block;
        padding: var(--grelontor-space-sm) 0;
    }

    .grelontor-programs-carousel {
        scroll-padding: var(--grelontor-space-md);
    }

    .grelontor-program-card {
        flex: 0 0 280px;
    }

    .grelontor-cta-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 480px) {
    .grelontor-thanks-container{
        margin-top: var(--grelontor-space-xl);
    }
}
@media (max-width: 576px) {
    .grelontor-hero-image img{
        margin-top: var(--grelontor-space-lg);
    }
    .grelontor-hero-image::before{
        margin-top: var(--grelontor-space-lg);
    }

    :root {
        --grelontor-text-4xl: 1.75rem;
        --grelontor-text-3xl: 1.5rem;
        --grelontor-text-2xl: 1.25rem;
        --grelontor-header-height: 4rem;
    }

    .grelontor-benefits-grid,
    .grelontor-suggestions-grid,
    .grelontor-steps-grid {
        grid-template-columns: 1fr;
    }

    .grelontor-filter-grid {
        grid-template-columns: 1fr;
    }

    .grelontor-footer-content {
        flex-direction: column;
    }

    .grelontor-error-code {
        font-size: 4rem;
    }

    .grelontor-bubbles-container {
        width: 60px;
        height: 100px;
    }

    .grelontor-error-actions {
        flex-direction: column;
    }

    .grelontor-thanks-actions {
        flex-direction: column;
    }
}

/* ============================
   Utilities for animation
   ============================ */
.grelontor-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.grelontor-slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 1s ease forwards;
}

.grelontor-slide-down {
    transform: translateY(-30px);
    opacity: 0;
    animation: slideDown 1s ease forwards;
}

.grelontor-slide-left {
    transform: translateX(-30px);
    opacity: 0;
    animation: slideLeft 1s ease forwards;
}

.grelontor-slide-right {
    transform: translateX(30px);
    opacity: 0;
    animation: slideRight 1s ease forwards;
}


.grelontor-menu-open{
    overflow: hidden;
}