:root {
    /* Identidad visual Hielosito */
    --primary: #173855; 
    --primary-light: #2c5980;
    --water-blue: #0077cc; 
    --water-light: #e6f7ff; 
    --accent: #89c4f4;
    
    --dark: #111827;
    --dark-muted: #374151;
    --light: #ffffff;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --gray-border: #e5e7eb;
    
    --whatsapp: #25D366;
    --whatsapp-dark: #1ebe57;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* UI Variables */
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
}

body {
    background-color: var(--light);
}

/* Typography Base */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary);
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-muted);
}

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

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

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-border);
    z-index: 100;
    padding: 0.5rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a:not(.btn-whatsapp):not(.btn-b2b) {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.nav-links a:not(.btn-whatsapp):not(.btn-b2b):hover {
    color: var(--water-blue);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-full {
    width: 100%;
}

.btn .icon {
    margin-right: 0.5rem;
}

.btn-whatsapp-primary {
    background-color: var(--whatsapp);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-primary:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-b2b {
    background-color: var(--primary);
    color: white !important;
    border: 1px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.btn-b2b:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary {
    background-color: white;
    color: var(--dark);
    border: 1px solid var(--gray-border);
}

.btn-secondary:hover {
    background-color: var(--gray-light);
}

.btn-secondary-light {
    background-color: white;
    color: var(--primary);
    border: none;
    font-weight: 800;
}

.btn-secondary-light:hover {
    background-color: var(--gray-light);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-whatsapp {
    background-color: var(--water-blue); 
    color: white !important;
}

.btn-whatsapp:hover {
    background-color: #0066b3;
}

.btn-outline {
    display: block;
    text-align: center;
    padding: 0.8rem;
    border: 1px solid var(--gray-border);
    color: var(--dark);
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: auto;
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: var(--gray-light);
}

.btn-text {
    color: var(--water-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-text:hover {
    text-decoration: underline;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    width: 100%;
    max-width: 450px;
}

/* Hero Section - WATER */
.hero-water {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, var(--water-light) 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--water-blue);
    background-color: rgba(0, 119, 204, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-water h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-pricing {
    margin-bottom: 1.5rem;
}

.hero-pricing h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.hero-pricing h3 {
    font-size: 2rem;
    color: var(--water-blue);
    margin-bottom: 0.25rem;
}

.hero-small-text {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
}

.hero-benefits li {
    margin-bottom: 0.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.hero-sub-cta {
    font-weight: 600;
    color: var(--water-blue);
    font-size: 1rem;
    margin-left: 0.5rem;
}

.hero-sub-cta:hover {
    text-decoration: underline;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-water {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

/* Zonas de Despacho (Inmediatamente después del hero) */
.coverage-section {
    padding: 3rem 0;
    background-color: white;
}

.coverage-box {
    background: var(--light);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.coverage-box h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.chip {
    background: var(--gray-light);
    color: var(--dark);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
}

.coverage-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-border);
}

.coverage-cta h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Producto Principal - Dos Caminos de Compra */
.main-product {
    padding: 3rem 0 5rem;
    background-color: white;
}

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

.purchase-card {
    background: white;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.purchase-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--water-blue);
}

.option-refill {
    border-top: 4px solid var(--whatsapp);
}

.option-new {
    border-top: 4px solid var(--water-blue);
}

.pc-header {
    padding: 1.5rem;
    background-color: var(--gray-light);
    border-bottom: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pc-icon {
    font-size: 1.5rem;
}

.pc-header h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.pc-body {
    padding: 2rem;
    flex-grow: 1;
}

.pc-body h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.pc-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pc-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.pc-desc {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.pc-img-placeholder {
    display: flex;
    justify-content: center;
    height: 140px;
}

.pc-img-placeholder img {
    height: 100%;
    object-fit: contain;
}

.pc-footer {
    padding: 1.5rem;
    background-color: white;
    border-top: 1px solid var(--gray-border);
}

/* Selector de Cantidad */
.quantity-selector {
    margin-top: 1rem;
}

.quantity-selector label {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
}

.qty-options {
    display: flex;
    gap: 0.5rem;
}

.qty-btn {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--gray-border);
    background: white;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--water-blue);
    color: var(--water-blue);
}

.qty-btn.active {
    border-color: var(--water-blue);
    background-color: var(--water-blue);
    color: white;
}

/* Recompra */
.repurchase {
    padding: 3rem 0 5rem;
    background-color: white;
}

.repurchase-box {
    background-color: var(--water-light);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(0, 119, 204, 0.1);
}

.repurchase-box h2 {
    color: var(--primary);
    font-size: 2rem;
}

.rep-subtitle {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 2rem;
}

.repurchase-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.rep-chip {
    background: white;
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.rep-benefits {
    list-style: none;
    margin: 2rem auto;
    max-width: 400px;
    text-align: left;
    font-weight: 600;
}

.rep-benefits li {
    margin-bottom: 0.8rem;
}

/* Cómo Pedir */
.how-to-section {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--water-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

/* Prueba Social / Galería */
.social-proof {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

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

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Box B2B Minimal */
.b2b-box-section {
    padding: 4rem 0 2rem;
    background-color: white;
}

.b2b-box-minimal {
    background: var(--gray-light);
    border: 1px solid var(--gray-border);
    border-left: 6px solid var(--primary);
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.b2b-eyebrow {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.b2b-content h2 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.b2b-content p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* B2B Products Compact */
.b2b-products {
    padding: 2rem 0 5rem;
    background-color: white;
}

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

.b2b-card {
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--light);
}

.highlight-b2b {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.b2b-img-wrapper {
    width: 120px;
    flex-shrink: 0;
}

.b2b-img-wrapper img {
    width: 100%;
    height: auto;
}

.b2b-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.b2b-desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.b2b-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--dark-muted);
}

.b2b-benefits li {
    margin-bottom: 0.25rem;
}

.secondary-b2b {
    background: var(--gray-light);
    border-color: transparent;
}

/* CTA Final */
.final-cta {
    padding: 5rem 0;
    text-align: center;
    background: var(--water-light);
}

.final-cta h2 {
    font-size: 2.5rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-inline: auto;
}

.cta-footer-text {
    font-size: 0.9rem !important;
    color: var(--gray) !important;
    margin-top: 1rem;
    margin-bottom: 0 !important;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-contact p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover, .footer-contact a:hover {
    color: white;
}

.footer-contact a {
    color: white;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    color: white;
    font-size: 0.9rem;
}

.kintutech-credit {
    font-weight: 700;
    color: #ffffff;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.kintutech-credit:hover {
    color: var(--accent);
}

/* Floating WhatsApp with Tooltip */
.float-wa-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.wa-tooltip {
    background-color: white;
    color: var(--dark);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    margin-right: 1rem;
    position: relative;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.float-wa {
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.float-wa:hover {
    transform: scale(1.1);
    background-color: var(--whatsapp-dark);
}


/* Responsive */
@media (max-width: 1024px) {
    .hero-water h1 { font-size: 3rem; }
    .split-purchase-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.btn-whatsapp):not(.btn-b2b) {
        display: none;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .btn-sm {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .hero-buttons {
        align-items: stretch;
    }

    .hero-sub-cta {
        margin-left: 0;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }

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

    .b2b-box-minimal {
        flex-direction: column;
        text-align: center;
    }
    
    .b2b-cta {
        width: 100%;
    }

    .b2b-cta .btn {
        width: 100%;
    }

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

    .b2b-card {
        flex-direction: column;
        text-align: center;
    }

    .b2b-img-wrapper {
        width: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wa-tooltip {
        display: none; /* Hide tooltip on mobile to avoid clutter */
    }
}

@media (max-width: 480px) {
    .hero-water h1 { font-size: 2.25rem; }
    .float-wa-container {
        bottom: 1rem;
        right: 1rem;
    }
    .float-wa {
        width: 50px;
        height: 50px;
    }
    .float-wa svg {
        width: 24px;
        height: 24px;
    }
    .qty-btn {
        padding: 0.6rem;
    }
    .hero-water, .coverage-section, .main-product, .repurchase, .how-to-section, .social-proof, .b2b-box-section, .b2b-products {
        padding: 3rem 0; /* Reduce vertical space on mobile */
    }
}
