:root {
    --primary: #2D5A27;
    --primary-light: #3F7C38;
    --accent: #F4A261;
    --accent-hover: #E76F51;
    --bg-light: #F8FAF7;
    --bg-dark: #1F2E1E;
    --text-primary: #2B3029;
    --text-secondary: #5C6B5A;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 4px 20px rgba(31, 46, 30, 0.08);
    --shadow-md: 0 8px 32px rgba(31, 46, 30, 0.12);
    --shadow-lg: 0 16px 48px rgba(31, 46, 30, 0.16);
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

::selection { background: var(--accent); color: var(--white); }

#progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
a { text-decoration: none; color: inherit; transition: all 0.3s var(--ease); }
ul { list-style: none; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.text-accent { color: var(--primary-light); }
.text-accent-light { color: var(--accent); }
.mt-2 { margin-top: 2rem; }
.w-100 { width: 100%; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 2.2rem; border-radius: 50px; font-weight: 600;
    font-size: 1rem; cursor: pointer; border: none; gap: 0.5rem;
    transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s var(--ease);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(244, 162, 97, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(231, 111, 81, 0.45);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    color: var(--primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.pulse-btn { animation: pulse 2s infinite; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(244, 162, 97, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(244, 162, 97, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 162, 97, 0); }
}

/* Navigation */
#navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 1.2rem 0;
    padding-top: env(safe-area-inset-top, 0px);
    transition: all 0.4s var(--ease);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
    padding: 0.7rem 0;
    padding-top: calc(0.7rem + env(safe-area-inset-top, 0px));
}

.nav-container {
    width: 90%; max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

.logo {
    display: flex; align-items: center; gap: 0.8rem;
    font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600;
    color: var(--white);
    transition: all 0.3s var(--ease);
}

#navbar.scrolled .logo { color: var(--primary); }

.logo img {
    height: 40px; width: 40px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--white);
    transition: all 0.3s var(--ease);
}

#navbar.scrolled .logo img { border-color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-links li a {
    color: var(--white); font-weight: 500; position: relative; padding-bottom: 5px;
    -webkit-tap-highlight-color: transparent;
}

#navbar.scrolled .nav-links li a { color: var(--text-primary); }

.nav-links li a:not(.btn-nav)::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.nav-links li a:not(.btn-nav):hover::after { width: 100%; }

.btn-nav {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem; border-radius: 50px; font-weight: 600;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.4);
}

.menu-toggle { display: none; font-size: 1.5rem; color: var(--white); cursor: pointer; }
#navbar.scrolled .menu-toggle { color: var(--primary); }

/* Hero */
.hero {
    height: 100vh; height: 100dvh; min-height: 600px; position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); padding: 0 20px;
    overflow: hidden;
}

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

.hero-slideshow .slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-position: center; background-size: cover; background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s var(--ease);
    transform: scale(1.08);
}

.hero-slideshow .slide.active { opacity: 1; transform: scale(1); }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        135deg,
        rgba(45, 90, 39, 0.75) 0%,
        rgba(31, 46, 30, 0.5) 50%,
        rgba(45, 90, 39, 0.6) 100%
    );
    z-index: 1;
}

/* Floating elements */
.floating-elements { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

.f-float {
    position: absolute; font-size: 2rem; opacity: 0.12;
    animation: floatAround 20s infinite linear;
    color: var(--white);
}

.f-1 { top: 15%; left: 10%; animation-delay: 0s; font-size: 2.5rem; }
.f-2 { top: 60%; right: 12%; animation-delay: -5s; font-size: 3rem; }
.f-3 { top: 30%; right: 20%; animation-delay: -10s; }
.f-4 { bottom: 25%; left: 15%; animation-delay: -15s; font-size: 2.5rem; }
.f-5 { top: 70%; left: 30%; animation-delay: -7s; }

@keyframes floatAround {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0.08; }
    25% { transform: translate(30px, -40px) rotate(90deg); opacity: 0.15; }
    50% { transform: translate(-20px, -80px) rotate(180deg); opacity: 0.08; }
    75% { transform: translate(-50px, -30px) rotate(270deg); opacity: 0.15; }
    100% { transform: translate(0, 0) rotate(360deg); opacity: 0.08; }
}

.hero-content {
    position: relative; z-index: 2; max-width: 800px;
    animation: heroIn 1.2s var(--ease) forwards;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem; border-radius: 30px;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-content h1 span {
    color: var(--accent);
    font-family: var(--font-heading); font-style: italic; font-weight: 600;
    display: inline-block;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(244, 162, 97, 0.3); }
    50% { text-shadow: 0 0 40px rgba(244, 162, 97, 0.6), 0 0 60px rgba(244, 162, 97, 0.3); }
}

.hero-desc {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin: 1.5rem 0 2.5rem;
    opacity: 0.9;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-down {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    animation: bounce 2.5s infinite;
}

.scroll-down a {
    color: var(--white); font-size: 1.2rem;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%; backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

section { padding: 6rem 0; }

.section-title { margin-bottom: 4rem; }

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 0.8rem;
    position: relative;
}

.section-subtitle::before, .section-subtitle::after {
    content: ''; display: inline-block;
    width: 30px; height: 2px;
    background: var(--primary-light);
    vertical-align: middle; margin: 0 10px;
}

.light-sub { color: var(--accent); }
.light-sub::before, .light-sub::after { background: var(--accent); }

.section-title p {
    color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.1rem;
}

/* Stats Bar */
.stats-bar { padding: 3rem 0; background: var(--white); }

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

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

.stat-number {
    font-size: 3rem; font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem; color: var(--text-secondary); font-weight: 500;
    display: block; margin-top: 0.3rem;
}

/* Horarios */
.horarios-section {
    background: var(--white); position: relative; overflow: hidden;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; position: relative; z-index: 2;
}

.horario-card {
    background: var(--bg-light);
    border-radius: 24px; padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}

.horario-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.horario-card:hover::before { transform: scaleX(1); }

.horario-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.icon-wrapper {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.12), rgba(244, 162, 97, 0.05));
    color: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.5s var(--ease);
}

.horario-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.horario-card ul li { margin-bottom: 1rem; font-size: 0.95rem; color: var(--text-secondary); }
.horario-card ul li strong { color: var(--primary); display: block; margin-bottom: 0.2rem; }
.horario-card .note { font-size: 0.85rem; font-style: italic; margin-top: 1.5rem; color: var(--accent-hover); }

/* Blob decorations */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.blob-1 {
    width: 400px; height: 400px;
    background: var(--primary-light);
    top: -100px; right: -100px;
    animation: blobMove 15s ease-in-out infinite alternate;
}

.blob-2 {
    width: 300px; height: 300px;
    background: var(--accent);
    bottom: -50px; left: -80px;
    animation: blobMove 20s ease-in-out infinite alternate-reverse;
}

@keyframes blobMove {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
    100% { transform: translate(-20px, 20px) scale(0.9); }
}

.leaf {
    position: absolute;
    width: 150px; height: 150px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%233F7C38" opacity="0.06" xmlns="http://www.w3.org/2000/svg"><path d="M17 8C8 10 5 16 5 22C11 20 16 11 17 8Z"/></svg>') no-repeat center/contain;
    z-index: 1; pointer-events: none;
}

.deco-1 { top: -20px; right: -30px; transform: rotate(45deg) scale(2); }
.deco-2 { bottom: 50px; left: -50px; transform: rotate(-45deg) scale(1.5); }

/* Features Strip */
.features-strip {
    background: linear-gradient(135deg, var(--primary), var(--bg-dark));
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.features-strip::before {
    content: '';
    position: absolute; inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    position: relative; z-index: 1;
}

.feature-item {
    text-align: center; color: var(--white); padding: 1.5rem;
}

.feature-icon {
    width: 64px; height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 1.2rem;
    transition: all 0.4s var(--ease);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover .feature-icon {
    background: var(--accent);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(244, 162, 97, 0.3);
}

.feature-item h4 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-item p { font-size: 0.9rem; opacity: 0.7; }

/* Pricing */
.pricing-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.price-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(45, 90, 39, 0.08);
    overflow: hidden;
}

.price-card-head {
    padding: 2rem 2rem 1.2rem;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.06), rgba(244, 162, 97, 0.10));
}

.price-card-head p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.price-tag {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(45, 90, 39, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-table {
    padding: 0 2rem 2rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(92, 107, 90, 0.16);
    color: var(--text-secondary);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row strong {
    color: var(--primary);
    font-size: 1.05rem;
}

.pricing-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    font-weight: 700;
}

/* Promo */
.promo-section {
    background: linear-gradient(135deg, var(--primary), var(--bg-dark));
}

.promo-card {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.promo-card .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.promo-card .section-subtitle::before,
.promo-card .section-subtitle::after {
    background: rgba(255, 255, 255, 0.5);
}

.promo-card h2 {
    margin-bottom: 0.8rem;
}

.promo-card p {
    color: rgba(255, 255, 255, 0.86);
}

.promo-list {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.promo-list li,
.value-card li {
    position: relative;
    padding-left: 1.5rem;
}

.promo-list li::before,
.value-card li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: var(--accent);
}

.promo-note {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.promo-pricing {
    background: var(--white);
    color: var(--text-primary);
    border-radius: 22px;
    padding: 1.5rem;
    align-self: center;
    box-shadow: var(--shadow-md);
}

.promo-price-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(92, 107, 90, 0.18);
}

.promo-price-row strong {
    color: var(--primary);
}

.promo-checks {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Value */
.value-section {
    background: var(--white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: var(--bg-light);
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(45, 90, 39, 0.06);
    box-shadow: var(--shadow-sm);
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card ul {
    display: grid;
    gap: 0.75rem;
    color: var(--text-secondary);
}

/* Gallery */
.galeria-section { background: var(--bg-light); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative; border-radius: 16px; overflow: hidden;
    height: 260px; cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(45, 90, 39, 0.5), transparent);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.gallery-overlay i {
    color: var(--white); font-size: 2rem;
    transform: scale(0);
    transition: transform 0.4s var(--ease-bounce);
}

.gallery-item:hover img { transform: scale(1.12); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay i { transform: scale(1); }

/* Reseñas */
.resenas-section {
    background: var(--primary) url('7.webp') center/cover no-repeat fixed;
    position: relative; color: var(--white);
}

.resenas-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        rgba(31, 46, 30, 0.92) 0%,
        rgba(45, 90, 39, 0.85) 100%
    );
}

.resenas-section .container { position: relative; z-index: 2; }

.light-text p { color: rgba(255, 255, 255, 0.8); }

.stars { color: #FFD700; font-size: 1.2rem; margin-top: 1rem; letter-spacing: 5px; }

/* Testimonials carousel */
.testimonials-wrapper {
    display: flex; align-items: center; gap: 1rem;
    max-width: 900px; margin: 0 auto; position: relative;
}

.testimonials-track {
    display: flex; gap: 1.5rem;
    overflow: hidden; scroll-behavior: smooth;
    flex: 1;
    padding: 1rem 0.5rem;
}

.testimonial-btn {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white); font-size: 1.2rem;
    cursor: pointer; transition: all 0.3s var(--ease);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(5px);
}

.testimonial-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.review-card {
    min-width: calc(50% - 0.75rem);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    color: var(--white);
    transition: all 0.4s var(--ease);
}

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

.review-header {
    display: flex; align-items: center; gap: 15px; margin-bottom: 1rem; position: relative;
}

.avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #E91E63, #FF6B6B);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1rem;
    flex-shrink: 0;
}

.bg-2 { background: linear-gradient(135deg, #9C27B0, #673AB7); }
.bg-3 { background: linear-gradient(135deg, #3F51B5, #2196F3); }
.bg-4 { background: linear-gradient(135deg, #009688, #4CAF50); }
.bg-5 { background: linear-gradient(135deg, #FF5722, #FF9800); }
.bg-6 { background: linear-gradient(135deg, #607D8B, #455A64); }

.user-info h4 { font-size: 1rem; margin-bottom: 0.1rem; font-weight: 600; }
.user-info .date { font-size: 0.8rem; opacity: 0.6; }

.google-icon { position: absolute; right: 0; top: 5px; color: #4285F4; font-size: 1.3rem; }

.review-stars { color: #FFD700; font-size: 0.85rem; margin-bottom: 0.8rem; letter-spacing: 3px; }

.review-body p { font-size: 0.92rem; opacity: 0.9; font-style: italic; line-height: 1.6; }

.testimonial-dots {
    display: flex; justify-content: center; gap: 10px; margin-top: 2rem;
}

.testimonial-dots span {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    padding: 6px;
    background-clip: content-box;
}

.testimonial-dots span.active {
    background: var(--accent);
    width: 30px; border-radius: 5px;
}

/* Contacto */
.contacto-section {
    background: var(--bg-light); position: relative;
}

.contact-wrapper {
    border-radius: 30px; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1.2fr;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    padding: 4rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--bg-dark));
    color: var(--white);
}

.contact-info h3 {
    color: var(--white); margin-bottom: 2.5rem;
    font-family: var(--font-heading); font-weight: 600;
}

.info-list li {
    display: flex; gap: 1.2rem; margin-bottom: 2rem; align-items: flex-start;
}

.info-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(244, 162, 97, 0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--accent);
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
}

.info-list li:hover .info-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.info-list strong { display: block; margin-bottom: 0.2rem; font-size: 1.05rem; }
.info-list span { opacity: 0.8; display: block; font-size: 0.95rem; }

.link-map {
    color: var(--accent); font-size: 0.9rem; margin-top: 5px; display: inline-block;
}

.link-map:hover { color: var(--accent-hover); }

.instagram-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white; padding: 0.9rem 2rem; border-radius: 50px;
    font-weight: bold; margin-top: 2rem;
    transition: all 0.4s var(--ease-bounce);
}

.instagram-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
}

.contact-form {
    padding: 4rem 3rem; background: var(--white);
}

.contact-form h3 {
    color: var(--primary); margin-bottom: 2rem;
    font-family: var(--font-heading); font-weight: 600;
}

/* Floating label inputs */
.input-group {
    position: relative; margin-bottom: 1.8rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%; padding: 1.2rem 1rem 0.6rem;
    border: none; border-bottom: 2px solid #E2E8F0;
    font-family: var(--font-main); font-size: 16px;
    background: transparent; outline: none;
    transition: all 0.3s var(--ease);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.input-group textarea { resize: vertical; min-height: 80px; }

.input-group label {
    position: absolute; left: 1rem; top: 1rem;
    color: #94A3B8; font-size: 1rem;
    transition: all 0.3s var(--ease);
    pointer-events: none;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label {
    top: 0.2rem; font-size: 0.75rem; color: var(--primary-light);
}

.input-group .input-border {
    position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    transition: width 0.4s var(--ease);
}

.input-group input:focus ~ .input-border,
.input-group select:focus ~ .input-border,
.input-group textarea:focus ~ .input-border {
    width: 100%;
}

.input-group select { cursor: pointer; }
.input-group select:valid { color: var(--text-primary); }
.input-group select:invalid { color: #94A3B8; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.submit-btn { padding: 1rem 2rem; font-size: 1.05rem; position: relative; overflow: hidden; }

.submit-btn i { transition: transform 0.3s var(--ease); }
.submit-btn:hover i { transform: translateX(5px); }

/* Instagram Section */
.instagram-section {
    padding: 5rem 0; background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.insta-icon {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instagram-handle {
    font-size: 1.2rem; color: var(--text-secondary); font-weight: 600;
}

.instagram-handle:hover { color: var(--accent-hover); }

.ig-grid { display: flex; justify-content: center; gap: 15px; margin-top: 3rem; flex-wrap: wrap; }

.ig-item {
    position: relative; width: 200px; height: 200px;
    border-radius: 16px; overflow: hidden; display: block;
    box-shadow: var(--shadow-sm);
}

.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }

.ig-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.4), rgba(131, 58, 180, 0.4));
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: all 0.4s var(--ease);
}

.ig-overlay i { color: white; font-size: 2.5rem; transform: scale(0); transition: transform 0.4s var(--ease-bounce); }

.ig-item:hover img { transform: scale(1.15); }
.ig-item:hover .ig-overlay { opacity: 1; }
.ig-item:hover .ig-overlay i { transform: scale(1); }

/* Footer */
footer {
    background: var(--bg-dark); color: var(--white);
    padding: 4rem 0 2rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    text-align: center;
    position: relative; overflow: hidden;
}

footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-content {
    display: flex; flex-direction: column; align-items: center; gap: 2rem; margin-bottom: 3rem;
}

.footer-logo {
    width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1rem;
    border: 2px solid rgba(255,255,255,0.1);
}

.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a:hover { color: var(--accent); }

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

.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.3rem; transition: all 0.4s var(--ease-bounce);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
    background: var(--accent); transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(244, 162, 97, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem; font-size: 0.9rem; opacity: 0.5;
}

/* Lightbox */
.lightbox {
    display: none; position: fixed; z-index: 2000;
    padding-top: 60px; left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
}

.lightbox-content {
    margin: auto; display: block;
    max-width: 85%; max-height: 80vh;
    border-radius: 12px;
    animation: zoomIn 0.4s var(--ease-bounce);
}

.close-btn {
    position: absolute; top: 20px; right: 35px;
    color: #f1f1f1; font-size: 40px; font-weight: bold;
    transition: 0.3s; cursor: pointer; z-index: 2001;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}

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

.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none; color: white; font-size: 1.5rem;
    padding: 1rem; cursor: pointer;
    transition: all 0.3s var(--ease);
    border-radius: 50%;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(5px);
    z-index: 2001;
}

.lightbox-nav:hover { background: var(--accent); transform: translateY(-50%) scale(1.1); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.lightbox-caption {
    text-align: center; color: rgba(255,255,255,0.6);
    margin-top: 1rem; font-size: 0.9rem;
}

/* Back to Top */
#backToTop {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; border: none; font-size: 1.2rem;
    cursor: pointer; z-index: 999;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-bounce);
    box-shadow: 0 4px 20px rgba(45, 90, 39, 0.3);
}

#backToTop.visible {
    opacity: 1; visibility: visible; transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(45, 90, 39, 0.5);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}



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

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-info, .contact-form { padding: 3rem 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .review-card { min-width: calc(100% - 0.5rem); }
    .gallery-item { height: 240px; }
    .promo-card { grid-template-columns: 1fr; }
    .promo-card { gap: 1.5rem; }
    .promo-pricing { max-width: 540px; width: 100%; justify-self: center; }
    .pricing-grid { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { width: min(92%, 640px); }

    .nav-links {
        position: fixed; right: -100%; top: 0; height: 100dvh; height: 100vh;
        width: min(88vw, 360px);
        background: linear-gradient(135deg, var(--bg-dark), var(--primary));
        flex-direction: column; justify-content: center; align-items: stretch;
        transition: right 0.5s var(--ease);
        box-shadow: -10px 0 40px rgba(0,0,0,0.2);
        z-index: 100;
        padding: calc(2rem + env(safe-area-inset-top, 0px)) 1.5rem 2rem;
    }

    .nav-links li { width: 100%; }
    .nav-links li a {
        font-size: 1.05rem;
        padding: 0.95rem 0;
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .btn-nav {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.2rem;
        margin-top: 0.5rem;
    }

    .nav-links.active { right: 0; }

    #navbar.scrolled .nav-links li a { color: var(--white); }

    .menu-toggle { display: block; z-index: 101; }

    .hero {
        min-height: auto;
        height: auto;
        padding: calc(6.5rem + env(safe-area-inset-top, 0px)) 16px 3rem;
    }
    .hero-content {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    .badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
    .hero-desc {
        max-width: 34rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn {
        width: 100%;
        padding: 1rem 1.2rem;
        min-height: 52px;
    }

    .floating-elements { display: none; }
    .scroll-down { bottom: 16px; }

    .resenas-section { background-attachment: scroll; }

    .gallery-item { height: 220px; }
    .gallery-overlay { opacity: 0.6; }
    .gallery-overlay i { transform: scale(0.8); }

    .review-card { padding: 1.5rem; min-width: 100%; }

    .contact-info, .contact-form { padding: 2.5rem 1.5rem; }
    .contact-wrapper { border-radius: 24px; }

    .lightbox-nav { width: 44px; height: 44px; font-size: 1.1rem; }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
    .lightbox-content { max-width: 92%; max-height: 70vh; }
    .close-btn { top: 10px; right: 15px; font-size: 32px; width: 44px; height: 44px; }

    #backToTop { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 1rem; }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.85rem; }
    .testimonials-wrapper { flex-direction: column; }
    .testimonial-btn { display: none; }
    .review-card { min-width: 100%; }
    .section-title { margin-bottom: 2.5rem; }
    .section-subtitle::before, .section-subtitle::after { width: 20px; }
    .horario-card { padding: 2rem 1.2rem; }
    .pricing-table { padding: 0 1.3rem 1.4rem; }
    .price-card-head { padding: 1.5rem 1.3rem 1rem; }
    .promo-card { padding: 1.5rem; }
    .promo-pricing { padding: 1.2rem; }
    .value-card { padding: 1.5rem; }
    .pricing-row,
    .promo-price-row {
        gap: 0.35rem;
    }
    .ig-grid { gap: 8px; }
    .ig-item { width: calc(50% - 4px); height: 140px; }
    .d-none-mobile { display: none; }
    section { padding: 3.5rem 0; }
    footer { padding: 3rem 0 1.5rem; }
    .footer-content { gap: 1.5rem; }
    .footer-links { gap: 1.2rem; }
    .footer-links a { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .container { width: 92%; }
    section { padding: 2.5rem 0; }
    .hero {
        min-height: auto;
        padding-top: calc(6rem + env(safe-area-inset-top, 0px));
        padding-bottom: 2.5rem;
    }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-desc { font-size: 0.95rem; margin: 1rem 0 1.5rem; }
    .badge { font-size: 0.7rem; letter-spacing: 1px; max-width: 100%; }

    .logo { font-size: 1.2rem; gap: 0.55rem; }
    .logo img { width: 34px; height: 34px; }
    .nav-links { width: 100%; max-width: none; padding-inline: 1.25rem; }
    .nav-links li a { font-size: 1rem; }

    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.8rem; }
    .stat-item { padding: 0.75rem 0.35rem; }

    .section-title h2 { font-size: 1.5rem; }
    .section-title p { font-size: 0.95rem; }
    .section-subtitle { font-size: 0.75rem; }
    .section-subtitle::before, .section-subtitle::after { width: 12px; margin: 0 4px; }

    .horarios-grid { gap: 1rem; }
    .horario-card { padding: 1.5rem 1rem; }
    .horario-card h3 { font-size: 1.2rem; }
    .icon-wrapper { width: 56px; height: 56px; font-size: 1.4rem; margin-bottom: 1rem; }
    .horario-card ul li { font-size: 0.85rem; }

    .feature-item { padding: 1rem; }
    .feature-icon { width: 52px; height: 52px; font-size: 1.2rem; margin-bottom: 0.8rem; }
    .feature-item h4 { font-size: 0.95rem; }
    .feature-item p { font-size: 0.8rem; }

    .pricing-grid,
    .value-grid { gap: 1rem; }

    .pricing-header {
        display: none;
    }

    .pricing-row,
    .promo-price-row {
        font-size: 0.9rem;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.9rem 0;
    }

    .pricing-row strong,
    .promo-price-row strong {
        font-size: 1rem;
    }

    .price-card,
    .value-card,
    .promo-card,
    .promo-pricing {
        border-radius: 18px;
    }

    .gallery-grid { gap: 10px; }
    .gallery-item { height: 180px; border-radius: 12px; }

    .contact-info, .contact-form { padding: 2rem 1.2rem; }
    .contact-info h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }
    .contact-form h3 { font-size: 1.2rem; }
    .info-list li { gap: 0.8rem; margin-bottom: 1.2rem; }
    .info-icon { width: 40px; height: 40px; font-size: 1rem; }
    .info-list strong { font-size: 0.95rem; }
    .info-list span { font-size: 0.85rem; }
    .instagram-btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }
    .input-group { margin-bottom: 1.2rem; }
    .input-group input, .input-group select, .input-group textarea { padding: 1rem 0.8rem 0.5rem; font-size: 0.9rem; }
    .input-group label { left: 0.8rem; font-size: 0.9rem; }
    .submit-btn { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
    .input-group select { min-height: 52px; }

    .review-card { padding: 1.2rem; border-radius: 16px; }
    .review-body p { font-size: 0.85rem; }

    .ig-grid { gap: 10px; }
    .ig-item { width: calc(50% - 5px); height: 120px; border-radius: 10px; }

    .instagram-section { padding: 3rem 0; }
    .instagram-handle { font-size: 1rem; }

    .footer-logo { width: 48px; height: 48px; }
    .footer-links {
        gap: 0.75rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
    .footer-links a {
        font-size: 0.85rem;
        padding: 0.45rem 0;
    }
    .footer-social a { width: 38px; height: 38px; font-size: 1.1rem; }
    .footer-bottom { font-size: 0.8rem; }

    .lightbox-nav { width: 36px; height: 36px; font-size: 0.9rem; }
    .lightbox-nav.prev { left: 5px; }
    .lightbox-nav.next { right: 5px; }
    .lightbox-content { max-width: 96%; max-height: 60vh; }
    .close-btn { top: 5px; right: 10px; font-size: 28px; width: 36px; height: 36px; }

    #backToTop { bottom: 15px; right: 15px; width: 40px; height: 40px; font-size: 0.9rem; }

    .testimonial-dots { gap: 8px; }
    .testimonial-dots span { width: 8px; height: 8px; }
    .testimonial-dots span.active { width: 24px; }

    .stars { font-size: 1rem; letter-spacing: 3px; }
    .google-icon { font-size: 1.1rem; }
    .user-info h4 { font-size: 0.9rem; }
    .user-info .date { font-size: 0.75rem; }

    .stats-bar { padding: 2rem 0; }
    .stats-grid { gap: 0.5rem; }

    .features-strip { padding: 2.5rem 0; }

    .contact-wrapper { border-radius: 20px; }
    .promo-card .section-subtitle::before,
    .promo-card .section-subtitle::after {
        display: none;
    }
}
