/* ========== HulaInfinity — Wellness Green ========== */
:root {
    --hi-bg: #f4faf6;
    --hi-surface: #ffffff;
    --hi-surface-alt: #e8f5ec;
    --hi-border: #c5e6d0;
    --hi-primary: #1b8a4a;
    --hi-primary-dark: #0f5c31;
    --hi-primary-light: #3cb371;
    --hi-accent: #7dd3a0;
    --hi-text: #1a2e22;
    --hi-text-muted: #4a6b58;
    --hi-shadow: 0 8px 32px rgba(27, 138, 74, 0.12);
    --hi-radius: 16px;
    --hi-radius-sm: 10px;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--hi-text);
    background: var(--hi-bg);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Publicidad */
.site-top {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--hi-surface);
    box-shadow: 0 1px 0 var(--hi-border);
}

.publicidad-banner {
    background: var(--hi-surface-alt);
    border-bottom: 1px solid var(--hi-border);
    text-align: center;
    padding: 0.35rem 1rem;
}

.publicidad-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--hi-text-muted);
}

/* Header */
.header {
    background: var(--hi-surface);
    border-bottom: 1px solid var(--hi-border);
}

.header-inner,
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hi-primary);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--hi-primary-light);
}

.header-tag {
    font-size: 0.8rem;
    color: var(--hi-text-muted);
    background: var(--hi-surface-alt);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--hi-border);
}

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

/* Hero — split layout */
.hero {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(135deg, #e8f5ec 0%, #f4faf6 50%, #dff0e6 100%);
    border-bottom: 1px solid var(--hi-border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--hi-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--hi-primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: var(--hi-text-muted);
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    background: var(--hi-primary);
    color: #fff;
    padding: 0.95rem 2rem;
    border: none;
    border-radius: var(--hi-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: var(--hi-shadow);
}

.btn-primary:hover {
    background: var(--hi-primary-dark);
    transform: translateY(-1px);
}

.hero-note {
    font-size: 0.85rem;
    color: var(--hi-text-muted);
}

.hero-visual {
    background: var(--hi-surface);
    border-radius: var(--hi-radius);
    padding: 1.5rem;
    border: 1px solid var(--hi-border);
    box-shadow: var(--hi-shadow);
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--hi-radius-sm);
    display: block;
}

/* Product */
.product-section {
    padding: 4.5rem 0;
    background: var(--hi-surface);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.carousel-container {
    position: relative;
    border-radius: var(--hi-radius);
    overflow: hidden;
    border: 1px solid var(--hi-border);
    background: var(--hi-surface-alt);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
    animation: hiFade 0.4s ease;
}

@keyframes hiFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.25rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--hi-surface);
    color: var(--hi-primary);
    border: 1px solid var(--hi-border);
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.2s;
    box-shadow: var(--hi-shadow);
    line-height: 1;
}

.carousel-btn:hover {
    background: var(--hi-primary);
    color: #fff;
    border-color: var(--hi-primary);
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
    text-align: center;
    padding: 1rem 0;
    background: var(--hi-surface-alt);
}

.dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 5px;
    background: var(--hi-border);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.2s;
}

.dot.active,
.dot:hover {
    background: var(--hi-primary);
    transform: scale(1.25);
}

.product-badge {
    display: inline-block;
    background: var(--hi-surface-alt);
    color: var(--hi-primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--hi-border);
}

.product-info h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--hi-primary-dark);
    line-height: 1.25;
}

.product-description {
    color: var(--hi-text-muted);
    margin-bottom: 1.75rem;
    font-size: 1.02rem;
}

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: var(--hi-bg);
    border-radius: var(--hi-radius-sm);
    border: 1px solid var(--hi-border);
    font-size: 0.92rem;
}

.feature-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.product-specs {
    background: var(--hi-surface-alt);
    padding: 1.5rem;
    border-radius: var(--hi-radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--hi-border);
}

.product-specs h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--hi-primary-dark);
    margin-bottom: 0.75rem;
}

.product-specs p {
    color: var(--hi-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.product-price {
    margin-bottom: 1.25rem;
}

.price-label {
    font-weight: 600;
    color: var(--hi-text);
}

/* Section common */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--hi-primary-dark);
}

.section-lead {
    text-align: center;
    color: var(--hi-text-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

/* Benefits — staggered cards */
.benefits-section {
    padding: 4.5rem 0;
    background: var(--hi-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: var(--hi-surface);
    padding: 1.75rem;
    border-radius: var(--hi-radius);
    border: 1px solid var(--hi-border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hi-shadow);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--hi-primary-dark);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--hi-text-muted);
    font-size: 0.95rem;
}

/* How it works — nutrition */
.how-it-works {
    padding: 4.5rem 0;
    background: var(--hi-surface);
}

.nutrition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nutrition-card {
    background: var(--hi-bg);
    border-radius: var(--hi-radius);
    overflow: hidden;
    border: 1px solid var(--hi-border);
    display: flex;
    flex-direction: column;
}

.nutrition-card-header {
    padding: 1.25rem 1.5rem 0;
}

.nutrition-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--hi-primary-dark);
    margin-bottom: 0.5rem;
}

.nutrition-image {
    padding: 0 1.5rem;
}

.nutrition-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--hi-radius-sm);
    display: block;
}

.nutrition-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
}

.nutrition-card-body p {
    color: var(--hi-text-muted);
    font-size: 0.98rem;
    margin-bottom: 0.75rem;
}

.nutrition-card-body p:last-child {
    margin-bottom: 0;
}

/* Guarantee */
.guarantee {
    padding: 3.5rem 0;
    background: linear-gradient(90deg, var(--hi-primary-dark), var(--hi-primary));
    color: #fff;
    text-align: center;
}

.guarantee .section-title {
    color: #fff;
    margin-bottom: 1rem;
}

.guarantee p {
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.92;
    font-size: 1.05rem;
}

/* FAQ — accordion */
.faq {
    padding: 4.5rem 0;
    background: var(--hi-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--hi-surface);
    border: 1px solid var(--hi-border);
    border-radius: var(--hi-radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.15rem 1.35rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--hi-primary-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--hi-primary);
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item .faq-answer {
    padding: 0 1.35rem 1.15rem;
    color: var(--hi-text-muted);
    line-height: 1.75;
    font-size: 0.98rem;
}

.faq-item a {
    color: var(--hi-primary);
}

/* Contact */
.contact-section {
    padding: 4rem 0;
    background: var(--hi-surface);
    border-top: 1px solid var(--hi-border);
}

.contact-section > .container > p {
    text-align: center;
    color: var(--hi-text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--hi-surface-alt);
    border-radius: var(--hi-radius);
    border: 1px solid var(--hi-border);
}

.contact-item strong {
    display: block;
    color: var(--hi-primary-dark);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.contact-item span {
    font-size: 0.85rem;
    color: var(--hi-text-muted);
}

.contact-item a {
    color: var(--hi-primary);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--hi-primary-dark);
    color: #d4ede0;
    padding: 3rem 0 1.5rem;
}

.footer-legal h3 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.legal-info p,
.contact-info-footer p,
.health-notice p {
    color: #b8dcc8;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-info strong,
.contact-info-footer strong,
.health-notice h4 {
    color: #fff;
}

.health-notice {
    background: rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    border-radius: var(--hi-radius-sm);
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.health-notice h4 {
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.contact-info-footer a {
    color: var(--hi-accent);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #b8dcc8;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom > p {
    font-size: 0.9rem;
    color: #8fb9a0;
}

/* Legal pages */
.legal-page {
    padding: 4rem 0;
    min-height: 60vh;
    background: var(--hi-bg);
}

.legal-page h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--hi-primary-dark);
    margin-bottom: 2rem;
}

.legal-page section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--hi-border);
}

.legal-page section:last-child {
    border-bottom: none;
}

.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--hi-primary-dark);
    margin-bottom: 1rem;
}

.legal-page h3 {
    font-size: 1.1rem;
    color: var(--hi-primary);
    margin: 1.25rem 0 0.75rem;
}

.legal-page p,
.legal-page ul li {
    color: var(--hi-text-muted);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.legal-page a {
    color: var(--hi-primary);
}

.withdrawal-form {
    background: var(--hi-surface);
    padding: 2rem;
    border-radius: var(--hi-radius);
    border: 1px solid var(--hi-border);
}

@media (max-width: 900px) {
    .hero-grid,
    .product-layout,
    .nutrition-grid {
        grid-template-columns: 1fr;
    }

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

    .product-features {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .carousel-slides {
        height: 360px;
    }

    .header-tag {
        display: none;
    }
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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