/* ===== VARIABLES ===== */
:root {
    --primary-color: #00A8E8;
    --secondary-color: #F4F9FC;
    --accent-color: #0086BA;
    --dark-color: #1A2B4C;
    --gray-900: #2d2d2d;
    --gray-800: #404040;
    --gray-600: #737373;
    --gray-400: #a3a3a3;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--white);
    color: var(--dark-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 900px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
.text-gradient-helados {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600; font-size: 1rem;
    transition: var(--transition); cursor: pointer;
    border: none;
}
.btn--helados {
    background: var(--primary-color); color: var(--white);
}
.btn--helados:hover {
    background: var(--accent-color); transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn--ghost-helados {
    background: transparent; color: var(--dark-color);
}
.btn--ghost-helados:hover { background: var(--gray-100); }
.btn--back {
    background: transparent; border: 2px solid var(--gray-200);
    color: var(--dark-color);
}
.btn--back:hover {
    border-color: var(--primary-color); background: var(--primary-color);
    color: var(--white); transform: translateY(-2px);
}
.btn--small { padding: 8px 18px; font-size: 0.9rem; }
.btn--large { padding: 16px 36px; font-size: 1.1rem; }

/* ===== HEADER ===== */
.header {
    position: sticky; top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 100;
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
}
.nav__logo { display: flex; align-items: center; gap: 8px; }
.nav__logo-img { height: 70px; width: auto; display: block; }
.nav__menu { display: flex; gap: 40px; list-style: none; }
.nav__link {
    font-weight: 500; color: var(--gray-800);
    transition: var(--transition); position: relative;
}
.nav__link:hover, .nav__link--active { color: var(--primary-color); }
.nav__link--active::after {
    content: ''; position: absolute; bottom: -8px; left: 0;
    width: 100%; height: 3px; background: var(--primary-color); border-radius: 3px;
}
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__toggle {
    display: none; background: none; border: none;
    font-size: 1.5rem; color: var(--dark-color); cursor: pointer;
}

/* ===== HERO ===== */
.hero { padding: 60px 0 80px; overflow: hidden; }
.hero__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.hero__content { animation: fadeInUp 0.6s ease-out; }
.tag {
    display: inline-block; background: var(--gray-100);
    padding: 6px 16px; border-radius: var(--radius-xl);
    font-size: 0.9rem; font-weight: 500; margin-bottom: 24px;
}
.tag--helados { background: rgba(0, 168, 232, 0.1); color: var(--primary-color); }
.hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800; margin-bottom: 24px;
    letter-spacing: -0.02em; color: var(--dark-color);
}
.hero__text {
    font-size: 1.15rem; color: var(--gray-600);
    margin-bottom: 32px; max-width: 500px;
}
.hero__cta { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; }
.hero__stats--helados .stat__number { color: var(--primary-color); }
.stat__number {
    display: block; font-size: 2rem; font-weight: 800;
    line-height: 1.2;
}
.stat__label { color: var(--gray-600); font-weight: 500; }
.hero__visual { position: relative; }
.hero__image-wrapper {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.hero__image-wrapper img { width: 100%; height: auto; display: block; }
.hero__card {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--white); padding: 16px 24px;
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 8px;
}
.hero__card i { color: var(--primary-color); }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section--light { background: var(--secondary-color); }
.section__header { text-align: center; margin-bottom: 60px; }
.section__tag {
    display: inline-block; color: var(--primary-color);
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; font-size: 0.85rem; margin-bottom: 12px;
}
.section__tag--helados { color: var(--primary-color); }
.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px; letter-spacing: -0.02em;
}
.section__subtitle { font-size: 1.1rem; color: var(--gray-600); }

/* ===== CARDS ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.card {
    background: var(--white); padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.card--helados { border-top: 4px solid var(--primary-color); }
.card--helados:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.card__icon {
    width: 64px; height: 64px; background: var(--gray-100);
    border-radius: var(--radius-md); display: flex;
    align-items: center; justify-content: center; margin-bottom: 24px;
}
.card__icon--helados { background: rgba(0, 168, 232, 0.1); }
.card__icon i { font-size: 2rem; color: var(--primary-color); }
.card__title { font-size: 1.4rem; margin-bottom: 12px; color: var(--dark-color); }
.card p { color: var(--gray-600); }

/* ===== MODELO ===== */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px; margin-bottom: 48px;
}
.model-block {
    background: var(--white); padding: 32px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.model-block:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.model-block__icon {
    width: 56px; height: 56px;
    background: rgba(0, 168, 232, 0.1);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.model-block__icon i { font-size: 1.6rem; color: var(--primary-color); }
.model-block h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark-color); }
.model-block p { color: var(--gray-600); font-size: 0.95rem; }
.model-image {
    max-width: 700px; margin: 0 auto;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.model-image img { width: 100%; display: block; }

/* ===== PRODUCTOS ===== */
.product-category { margin-bottom: 48px; }
.product-category:last-child { margin-bottom: 0; }
.product-category__title {
    font-size: 1.4rem; color: var(--dark-color);
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-flex; align-items: center; gap: 12px;
}
.product-category__title i { color: var(--primary-color); }
.product-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.product-item {
    background: var(--white); padding: 16px 20px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-color);
    font-weight: 500; display: flex; align-items: center; gap: 10px;
    transition: var(--transition);
}
.product-item:hover { transform: translateX(5px); }
.product-item i { color: var(--primary-color); font-size: 1rem; }

/* ===== FAQ ===== */
.faq { margin: 40px 0; }
.faq__item {
    background: var(--white); border-radius: var(--radius-md);
    margin-bottom: 16px; border: 1px solid var(--gray-200);
    overflow: hidden;
}
.faq__question {
    width: 100%; display: flex; justify-content: space-between;
    align-items: center; padding: 20px 24px;
    background: none; border: none; font-size: 1.1rem;
    font-weight: 600; text-align: left; cursor: pointer;
    transition: var(--transition); font-family: inherit;
}
.faq__question:hover { background: var(--gray-100); }
.faq__question i { transition: transform 0.3s ease; color: var(--primary-color); }
.faq__item.active .faq__question i { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__item.active .faq__answer { max-height: 200px; }
.faq__answer p { padding: 0 24px 20px; color: var(--gray-600); }

/* ===== CTA FINAL ===== */
.cta-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #0f1b30 100%);
    padding: 80px 0; color: var(--white);
}
.cta-section__content { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-section__content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
}
.cta-section__content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px; font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color); color: var(--white);
    padding: 60px 0 24px;
}
.footer__grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.footer__logo { display: inline-block; margin-bottom: 16px; }
.footer__logo-img { height: 50px; width: auto; display: block; }
.footer__brand p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.footer__social { display: flex; gap: 16px; }
.footer__social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    transition: var(--transition);
}
.footer__social a:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer__links h4, .footer__contact h4 { margin-bottom: 20px; font-size: 1.1rem; }
.footer__links ul, .footer__contact ul { list-style: none; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__contact li {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.7); margin-bottom: 12px;
}
.footer__bottom {
    text-align: center; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5); font-size: 0.9rem;
}

/* ===== FLOAT WHATSAPP ===== */
.float-whatsapp {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px; background: #25d366;
    color: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: var(--shadow-lg);
    transition: var(--transition); z-index: 99;
}
.float-whatsapp:hover {
    transform: scale(1.1) rotate(5deg); background: #128c7e;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero__visual { order: -1; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav__menu {
        position: fixed; top: 80px; left: -100%;
        width: 100%; height: calc(100vh - 80px);
        background: var(--white); flex-direction: column;
        align-items: center; justify-content: center;
        gap: 32px; transition: var(--transition);
    }
    .nav__menu.active { left: 0; }
    .nav__toggle { display: block; }
    .hero { padding: 40px 0 60px; }
    .hero__stats { gap: 24px; }
    .section { padding: 60px 0; }
    .footer__grid { grid-template-columns: 1fr; text-align: center; }
    .footer__social { justify-content: center; }
    .footer__contact li { justify-content: center; }
}
@media (max-width: 480px) {
    .hero__cta { flex-direction: column; }
    .btn { width: 100%; }
    .hero__stats { flex-direction: column; gap: 16px; }
}