/* Color Palette: #627f78, #dac344, #dcc03f, #f9dcfc, #bdb2e2, #a6d9e0 */

:root {
    --primary-green: #627f78;
    --secondary-gold: #dac344;
    --primary-gold: #dcc03f;
    --light-pink: #f9dcfc;
    --light-purple: #bdb2e2;
    --light-blue: #a6d9e0;
    --text-dark: #2a3633;
    --text-light: #ffffff;
    --bg-color: #fcfdfd;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.text-center {
    text-align: center;
}
.mb-4 {
    margin-bottom: 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

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

.nav-links li a {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a.btn-primary::after {
    display: none;
}

.nav-links li a:hover {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: 0.3s;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: linear-gradient(135deg, rgba(166, 217, 224, 0.3) 0%, rgba(249, 220, 252, 0.3) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    padding-top: 5rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #4a5d58;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-gold);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(220, 192, 63, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(220, 192, 63, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.blob-shape {
    width: 500px;
    height: 500px;
    background: var(--light-blue);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    animation: morph 8s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(98, 127, 120, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

/* Glass Section */
.glass-section {
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="2" fill="%23627f78" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    position: relative;
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Benefits */
.light-bg {
    background-color: rgba(189, 178, 226, 0.1);
}

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

.benefit-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--light-purple);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-bottom-color: var(--primary-gold);
}

.benefit-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.scientific-note {
    margin-top: 3rem;
    background: rgba(218, 195, 68, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-gold);
}

/* Tabs */
.tabs-container {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.tabs-buttons {
    display: flex;
    background: rgba(166, 217, 224, 0.2);
}

.tab-btn {
    flex: 1;
    padding: 1.5rem;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #fff;
    color: var(--primary-green);
    border-top: 4px solid var(--primary-green);
}

.tab-content {
    display: none;
    padding: 3rem;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

.split-layout {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.text-side {
    flex: 1;
}

.text-side h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.text-side h4 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.clean-list {
    margin-bottom: 1rem;
}

.clean-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.clean-list li::before {
    content: '•';
    color: var(--primary-gold);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.image-side {
    flex: 1;
}

.rounded-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Co-Creador */
.creator-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.creator-img {
    box-shadow: 0 15px 35px rgba(98, 127, 120, 0.2);
    border: 4px solid #fff;
}

.creator-title {
    font-weight: 600;
    color: var(--primary-gold);
    margin-top: 1.5rem;
    font-style: italic;
    font-size: 1.1rem;
}

.creator-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Videos Experience */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background-color: #000;
}

.video-info {
    padding: 1.5rem;
    text-align: center;
}

.video-info h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.video-info p {
    color: #666;
    font-size: 0.95rem;
}

/* Contraindicaciones */
.contra-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contra-list-grid ul {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.contra-list-grid ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    padding-left: 2rem;
}

.contra-list-grid ul li:last-child {
    border-bottom: none;
}

.contra-list-grid ul li::before {
    content: '×';
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.alert-box {
    background: rgba(249, 220, 252, 0.4);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--light-pink);
}

.alert-box a {
    color: var(--primary-green);
    font-weight: bold;
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--primary-green);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animations & Responsiveness */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .blob-shape {
        width: 350px;
        height: 350px;
    }
    
    .split-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: 2rem;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .tabs-buttons {
        flex-direction: column;
    }
    
    .contra-list-grid {
        grid-template-columns: 1fr;
    }
}

/* Ayuno Grid for index */
.ayuno-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.ayuno-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ayuno-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.ayuno-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    background: rgba(166, 217, 224, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ayuno-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.ayuno-card p {
    color: #666;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-green);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: #4a5d58;
    transform: translateY(-2px);
}

/* Page specific layouts */
.page-header {
    padding-top: 10rem;
    padding-bottom: 5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(166, 217, 224, 0.2) 0%, rgba(249, 220, 252, 0.2) 100%);
}
.page-header h1 {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.page-content h2, .page-content h3 {
    color: var(--primary-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.page-content h4 {
    color: var(--primary-gold);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Custom Infographics */
.infografia-container {
    background: #fff;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    margin: 3rem 0;
}

.info-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}
.info-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
}
.info-step::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 4px;
    background: var(--light-blue);
    z-index: 1;
}
.info-step:last-child::after {
    display: none;
}
.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(220, 192, 63, 0.3);
}
.step-circle.green { background: var(--primary-green); }
.step-circle.blue { background: var(--light-blue); color: var(--primary-green); }
.step-circle.pink { background: var(--light-pink); color: var(--primary-green); }

.info-week {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}
.day-box {
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
    color: #fff;
}
.day-box.ayuno { background: var(--primary-gold); }
.day-box.normal { background: var(--primary-green); }

.info-pie {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary-green) 0deg 240deg, /* 16 hrs (2/3 = 240deg) */
        #d67a3a 240deg 330deg, /* 6 hrs (1/4 = 90deg) */
        var(--primary-gold) 330deg 360deg /* 2 hrs */
    );
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.pie-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.infografia-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Custom Content Styles */
.ayuno-section {
    margin-bottom: 4rem;
}

.highlight-box {
    background: rgba(218, 195, 68, 0.1);
    border-left: 5px solid var(--primary-gold);
    padding: 1.5rem 2rem;
    border-radius: 0 15px 15px 0;
    margin: 2rem 0;
}

.check-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.step-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.step-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Accordion */
.custom-accordion {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 2rem 0;
    overflow: hidden;
}

.custom-accordion summary {
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    background: var(--light-bg);
    color: var(--primary-green);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.custom-accordion summary::-webkit-details-marker {
    display: none;
}

.custom-accordion summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.custom-accordion[open] summary::after {
    content: '−';
}

.custom-accordion .accordion-content {
    padding: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Buy Cards Section */
.buy-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    width: 280px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.buy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.25);
}

.buy-card .btn-secondary {
    background: var(--primary-green);
    color: white;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.buy-card .btn-secondary:hover {
    background: #4a635c;
}

/* Lead Capture Form */
.form-container {
    background: #fff;
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-gold);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(98, 127, 120, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
    cursor: pointer;
}

.legal-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 1.2rem;
    background: var(--primary-gold);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(220, 192, 63, 0.3);
    transition: all 0.3s ease;
}
.btn-submit:hover {
    background: var(--secondary-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(220, 192, 63, 0.4);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background-color: rgba(98, 127, 120, 0.1);
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
}

.form-message.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Success Page CTA */
.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    background-color: #25D366;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    max-width: 90%;
    text-align: center;
    line-height: 1.4;
}

.whatsapp-cta:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Footer Disclaimer */
.disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 0 auto 1rem auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .form-container {
        padding: 2rem;
    }
    
    .whatsapp-cta {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}
