/* ================================================
   TALLER PREMIUM - CSS MODERNO Y AVANZADO
   ================================================ */

/* ==================== VARIABLES ==================== */
:root {
    /* Colores principales */
    --primary: #0066cc;
    --primary-dark: #004d99;
    --primary-light: #3399ff;
    --secondary: #e63946;
    --secondary-dark: #c1121f;
    --secondary-light: #ff6b6b;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
    --gradient-secondary: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);

    /* Neutros */
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Tipografia */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Espaciado */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(0,102,204,0.3);

    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Evitar problemas de scroll en iOS */
    height: -webkit-fill-available;
    /* Prevenir scroll horizontal en móviles */
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Evitar problemas de scroll en iOS */
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== LOADER ==================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 70px;
    padding: 10px 0;
    z-index: var(--z-fixed);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    will-change: background, box-shadow;
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 50px;
}

/* Menu Toggle */
.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: var(--z-fixed);
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.header.scrolled .nav__toggle span {
    background: var(--primary);
}

.nav__toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav__toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Nav Menu */
.nav__menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    padding: 100px 40px 40px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
    z-index: var(--z-modal);
}

.nav__menu.active {
    left: 0;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav__link {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
    position: relative;
    transition: var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary);
}

.nav__link:hover::after {
    width: 50px;
}

/* Logo */
.nav__logo {
    position: relative;
    z-index: var(--z-fixed);
}

.nav__logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.nav__logo .logo-dark {
    display: none;
}

.nav__logo .logo-white {
    display: block;
}

.header.scrolled .nav__logo img {
    height: 55px;
}

.header.scrolled .nav__logo .logo-dark {
    display: block;
}

.header.scrolled .nav__logo .logo-white {
    display: none;
}

/* Nav Actions */
.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==================== BOTONES ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

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

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

.btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.4);
}

.btn--outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: var(--white);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--primary);
}

.btn--white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn--phone {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 16px;
}

.btn--phone span {
    display: none;
}

.btn--whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 10px 16px;
}

.btn--whatsapp span {
    display: none;
}

.btn--whatsapp:hover {
    background: #128C7E;
}

.btn--whatsapp-solid {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.btn--whatsapp-solid:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Status Badge */
.status-badge {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--gray-100);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-badge.open .status-indicator {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16,185,129,0.5);
}

.status-badge.closed .status-indicator {
    background: var(--secondary);
    box-shadow: 0 0 10px rgba(230,57,70,0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease, transform 6s ease;
}

.hero__slide.active {
    opacity: 1;
    visibility: visible;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 8s ease-out forwards;
}

@keyframes slowZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.75) 100%);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 120px 20px 80px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.hero__badge i {
    color: #fbbf24;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    color: #4a90d9;
}

.hero__description {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
}

.hero__description strong {
    color: #fbbf24;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat__number::after {
    content: '+';
}

.stat__label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hero Controls */
.hero__controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid transparent;
    transition: var(--transition);
}

.hero__dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.hero__dot:hover {
    background: rgba(255,255,255,0.7);
}

/* Hero Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.85rem;
    opacity: 0.7;
    z-index: 4;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gray-100);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.section-title--light {
    color: var(--white);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-500);
    font-size: 1.05rem;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

.services__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0,102,204,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(230,57,70,0.1) 0%, transparent 50%);
}

.services .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--primary-light);
}

.services .section-title {
    color: var(--white);
}

.services .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

/* Service Card */
.service-card {
    position: relative;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
}

.service-card__glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,102,204,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-slow);
}

.service-card:hover .service-card__glow {
    opacity: 1;
}

.service-card__icon {
    margin-bottom: 25px;
}

.service-card__icon img {
    max-height: 150px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.service-card__text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.service-card__features i {
    color: #10b981;
    font-size: 0.9rem;
}

/* Extras Grid */
.services__extras {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.extra-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
}

.extra-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.extra-card__icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.extra-card__icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.extra-card h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.extra-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==================== LOCATION SECTION ==================== */
.location {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    overflow: hidden; /* Prevenir scroll horizontal por animaciones translateX */
}

.location__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.location__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 350px;
}

.location__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location__card {
    padding: 30px;
    text-align: center;
}

.glass-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.location__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.location__icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.location__card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.location__card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.location__card p a {
    color: var(--primary);
}

.location__card p a:hover {
    text-decoration: underline;
}

/* ==================== SCHEDULE SECTION ==================== */
.schedule {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--gradient-primary);
    overflow: hidden;
}

.schedule__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 40%);
}

.schedule .section-tag {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.schedule .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.schedule__content {
    position: relative;
    z-index: 2;
}

.schedule__card {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 30px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Clock */
.schedule__clock {
    text-align: center;
    margin-bottom: 30px;
}

.clock {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    margin: 0 auto 15px;
    position: relative;
}

.clock__face {
    width: 100%;
    height: 100%;
    position: relative;
}

.clock__hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    background: var(--white);
    border-radius: var(--radius-full);
}

.clock__hand--hour {
    width: 4px;
    height: 30px;
    margin-left: -2px;
}

.clock__hand--minute {
    width: 3px;
    height: 40px;
    margin-left: -1.5px;
}

.clock__hand--second {
    width: 2px;
    height: 45px;
    margin-left: -1px;
    background: var(--secondary);
}

.clock__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--white);
    border-radius: 50%;
}

.schedule__current-time {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
}

/* Schedule Table */
.schedule__table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    transition: var(--transition);
}

.schedule__row.current {
    background: rgba(255,255,255,0.2);
    border-left: 4px solid var(--white);
}

.schedule__row--closed {
    opacity: 0.6;
}

.schedule__day {
    font-weight: 600;
    color: var(--white);
}

.schedule__hours {
    color: rgba(255,255,255,0.9);
}

/* ==================== INSURERS SECTION ==================== */
.insurers {
    padding: var(--section-padding) 0;
    background: var(--white);
    overflow: hidden;
}

.insurers__carousel {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.insurers__carousel::before,
.insurers__carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.insurers__carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), transparent);
}

.insurers__carousel::after {
    right: 0;
    background: linear-gradient(-90deg, var(--white), transparent);
}

.insurers__track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: calc(180px * 24);
}

.insurers__track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-180px * 12)); }
}

.insurers__item {
    flex: 0 0 180px;
    height: 100px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insurers__item img {
    max-width: 100%;
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.insurers__item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--off-white);
    overflow: hidden;
}

.testimonials__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0,102,204,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(230,57,70,0.05) 0%, transparent 50%);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-card__quote {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--gray-200);
}

.testimonial-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
}

.testimonial-card__stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-card__text {
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card__avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-card__info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.testimonial-card__info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.testimonials__cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

/* ==================== CTA SECTION ==================== */
.cta {
    position: relative;
    padding: 80px 0;
    background: var(--gradient-secondary);
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,0,0,0.1) 0%, transparent 50%);
}

.cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta__text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    background: var(--gray-900);
    color: var(--gray-300);
    padding-top: 80px;
}

.footer__wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%);
}

.footer__wave svg {
    width: 100%;
    height: 60px;
    fill: var(--gray-900);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer__description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer__links h4,
.footer__contact h4,
.footer__legal h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer__links h4::after,
.footer__contact h4::after,
.footer__legal h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer__links ul,
.footer__legal ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a,
.footer__legal a {
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer__links a:hover,
.footer__legal a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer__contact ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer__contact li i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer__contact a:hover {
    color: var(--white);
}

.footer__bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: var(--z-fixed);
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--gray-800);
    padding: 10px 15px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
}

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--white);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: var(--z-modal);
    transition: var(--transition-slow);
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-banner__content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.cookie-banner__text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.cookie-banner__text i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-banner__text p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.cookie-banner__text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    width: 100%;
    justify-content: center;
}

.cookie-banner__buttons .btn {
    flex: 1;
    max-width: 150px;
    text-align: center;
}

/* Cookie banner en móvil */
@media (max-width: 767px) {
    .cookie-banner__content {
        padding: 15px;
        gap: 12px;
    }

    .cookie-banner__text {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .cookie-banner__text i {
        font-size: 1.8rem;
    }

    .cookie-banner__text p {
        font-size: 0.8rem;
    }

    .cookie-banner__buttons {
        gap: 8px;
    }

    .cookie-banner__buttons .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        flex: 1;
        max-width: none;
    }
}

/* ==================== ANIMATIONS ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-animation="fadeInUp"] {
    transform: translateY(40px);
}

.animate-on-scroll[data-animation="fadeInDown"] {
    transform: translateY(-40px);
}

.animate-on-scroll[data-animation="fadeInLeft"] {
    transform: translateX(-40px);
}

.animate-on-scroll[data-animation="fadeInRight"] {
    transform: translateX(40px);
}

.animate-on-scroll[data-animation="zoomIn"] {
    transform: scale(0.9);
}

.animate-on-scroll.animated[data-animation="fadeInUp"],
.animate-on-scroll.animated[data-animation="fadeInDown"] {
    transform: translateY(0);
}

.animate-on-scroll.animated[data-animation="fadeInLeft"],
.animate-on-scroll.animated[data-animation="fadeInRight"] {
    transform: translateX(0);
}

.animate-on-scroll.animated[data-animation="zoomIn"] {
    transform: scale(1);
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 640px) {
    .btn--phone span,
    .btn--whatsapp span {
        display: inline;
    }

    .status-badge {
        display: flex;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services__extras {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cookie-banner__content {
        flex-direction: row;
        justify-content: space-between;
    }

    .cookie-banner__text {
        text-align: left;
    }
}

@media (min-width: 768px) {
    .nav__toggle {
        display: none;
    }

    .nav__menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .nav__list {
        flex-direction: row;
        gap: 30px;
    }

    .nav__link {
        padding: 10px 0;
        font-size: 0.95rem;
        color: var(--white);
    }

    .header.scrolled .nav__link {
        color: var(--gray-700);
    }

    .nav__link:hover {
        color: var(--primary-light);
    }

    .header.scrolled .nav__link:hover {
        color: var(--primary);
    }

    .location__wrapper {
        grid-template-columns: 1.5fr 1fr;
    }

    .location__map {
        height: 100%;
        min-height: 400px;
    }

    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    /* Header móvil - dimensiones fijas */
    .header {
        min-height: 60px;
        padding: 8px 0;
    }

    /* Nav móvil - reorganizado */
    .nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: 44px;
        width: 100%;
    }

    /* Ocultar menú hamburguesa, menú y estado */
    .nav__toggle {
        display: none !important;
        width: 0;
        height: 0;
        overflow: hidden;
        position: absolute;
        visibility: hidden;
    }

    .nav__menu {
        display: none !important;
        width: 0;
        height: 0;
        overflow: hidden;
        position: absolute;
        visibility: hidden;
    }

    .status-badge {
        display: none !important;
    }

    /* Logo - orden 1, a la izquierda */
    .nav__logo {
        order: 1;
        flex-shrink: 0;
    }

    .nav__logo img {
        height: 44px;
        width: auto;
    }

    .header.scrolled .nav__logo img {
        height: 40px;
    }

    /* Acciones - orden 2, a la derecha */
    .nav__actions {
        order: 2;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    /* Textos más pequeños para móvil */
    .hero__title {
        font-size: 1.8rem;
    }

    .hero__description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero__badge {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .section-tag {
        font-size: 0.75rem;
    }

    .service-card__title {
        font-size: 1.2rem;
    }

    .service-card__text {
        font-size: 0.85rem;
    }

    .testimonial-card__text {
        font-size: 0.85rem;
    }

    .cta__title {
        font-size: 1.4rem;
    }

    .cta__text {
        font-size: 0.95rem;
    }

    .hero {
        min-height: 100svh;
    }

    .hero__controls {
        bottom: 80px;
    }

    .hero__scroll {
        display: none;
    }

    .stat__number {
        font-size: 1.8rem;
    }

    .stat__label {
        font-size: 0.75rem;
    }

    .services__extras {
        grid-template-columns: repeat(2, 1fr);
    }

    .extra-card {
        padding: 20px 15px;
    }

    .extra-card__icon {
        width: 45px;
        height: 45px;
    }

    .extra-card h4 {
        font-size: 0.9rem;
    }

    .extra-card p {
        font-size: 0.8rem;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card:nth-child(n+4) {
        display: none;
    }

    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .whatsapp-float__tooltip {
        display: none;
    }

    .btn--lg {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .footer__grid {
        text-align: center;
    }

    .footer__links h4::after,
    .footer__contact h4::after,
    .footer__legal h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Reducir movimiento para usuarios que lo prefieran */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
