:root {
    --bg-main: #09090b;
    --bg-secondary: #18181b;
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    --primary: #eab308;
    --primary-hover: #ca8a04;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

.text-primary {
    color: var(--primary);
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
}

.section-header {
    text-center: center;
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.align-center { align-items: center; }
.align-start { align-items: start; }

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 0.4;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-main));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle-h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Secciones Generales */
section {
    padding: 6rem 0;
}

/* Cinta Beneficios */
.benefits {
    padding: 4rem 0;
    background: linear-gradient(to bottom, rgba(24, 24, 27, 0.3), transparent);
    position: relative;
    z-index: 20;
    margin-top: -3rem;
}

.benefit-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(234, 179, 8, 0.5);
}

.icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

/* Galeria Bento */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}

.bento-item {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    transition: background 0.3s;
}

.bento-item:hover::after {
    background: transparent;
}

.main-img { grid-column: span 2; grid-row: span 2; }
.wide-img { grid-column: span 2; }

/* Nutrición */
.nutrition-image {
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 1;
}

.nutrition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-icon {
    display: inline-flex;
    padding: 1rem;
    background: rgba(234, 179, 8, 0.1);
    color: var(--primary);
    border-radius: 1rem;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.price-highlight {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.check-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Kinesiologia Premium */
.service-card {
    background-color: rgba(24, 24, 27, 0.4);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s;
}

.service-card:hover {
    background-color: var(--bg-secondary);
}

.service-card .ph {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.price-range {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Planes y Precios */
.pricing-grid {
    align-items: center;
}

.pricing-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
}

.pricing-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 48px;
}

.price {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.price small {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    min-height: 150px;
}

.pricing-features li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.pricing-features i {
    color: var(--primary);
    margin-top: 0.25rem;
}

/* Testimonios */
.testimonial-card {
    background-color: rgba(24, 24, 27, 0.4);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1.5rem;
}

.stars {
    color: var(--primary);
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

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

.avatar {
    width: 48px;
    height: 48px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-heading);
}

/* Team */
.team-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.team-info p {
    color: var(--primary);
    font-weight: 500;
}

/* FAQ */
.faq-container {
    max-width: 800px;
}

.faq-item {
    background-color: rgba(24, 24, 27, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    transition: background-color 0.3s;
}

.faq-item[open] {
    background-color: var(--bg-secondary);
}

.faq-item summary {
    list-style: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-item p {
    margin-top: 1rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-desc {
    margin-bottom: 2rem;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.contact-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-main);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    color: #000;
}

.footer-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
}

.whatsapp-widget .tooltip {
    position: absolute;
    right: 100%;
    margin-right: 15px;
    background-color: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.whatsapp-widget:hover .tooltip {
    opacity: 1;
}

/* Media Queries (Responsive) */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular { transform: none; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    .bento-grid { display: flex; flex-direction: column; }
    .bento-item { height: 250px; }
    
    .nutrition-image { order: -1; margin-bottom: 2rem; }
    
    .footer-map iframe { margin-top: 2rem; }
}
