/* ========================================
   Zelig - Landing Page Styles
   Font: Montserrat (Google Fonts)
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: disc;
    padding-left: 24px;
}

/* ========================================
   Header / Navbar
   ======================================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 10%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__logo img {
    height: 50px;
    width: auto;
}

.header__nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.header__nav a {
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    transition: color 0.3s;
}

.header__nav a:hover {
    color: #04b800;
}

.header__nav-separator {
    color: #999;
    font-weight: 300;
    user-select: none;
}

/* Mobile menu toggle */
.header__menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.header__menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.29;
}

.hero__title {
    position: relative;
    z-index: 1;
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    padding: 0 5%;
    max-width: 1000px;
}

/* ========================================
   Banner Section
   ======================================== */
.banner {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.20;
}

.banner__text {
    position: relative;
    z-index: 1;
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    padding: 0 5%;
    max-width: 1100px;
    line-height: 1.3;
}

/* ========================================
   Product Section (repeated for each product)
   ======================================== */
.product {
    padding: 60px 10%;
    background: #fff;
}

/* Section Header: icon + title + lines */
.product__header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 50px;
}

.product__icon {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.product__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product__title-block {
    flex: 1;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    padding: 16px 0;
}

.product__title {
    font-size: 42px;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

.product--gestion .product__title {
    color: #57b6de;
}

.product--clinicas .product__title {
    color: #de5757;
}

.product--clubes .product__title {
    color: #b80063;
}

/* Product content: image + description */
.product__content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.product__image {
    flex: 0 0 45%;
    max-width: 550px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.product__image img {
    width: 100%;
    height: auto;
}

.product__description {
    flex: 1;
}

.product__description p {
    font-size: 18px;
    font-weight: 400;
    color: #626262;
    margin-bottom: 16px;
    line-height: 1.6;
}

.product__description ul {
    margin-bottom: 24px;
}

.product__description li {
    font-size: 18px;
    color: #626262;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* CTA Button */
.product__cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-cta {
    display: inline-block;
    background: #04b800;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 22px 60px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    background: #039a00;
    transform: translateY(-2px);
}

.btn-cta:active {
    transform: translateY(0);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #404040;
    padding: 60px 10% 30px;
    color: #fff;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__brand {
    flex: 1;
    min-width: 200px;
}

.footer__logo {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 14px;
    font-weight: 300;
    opacity: 0.8;
    line-height: 1.5;
}

.footer__links,
.footer__social {
    flex: 0 0 auto;
    min-width: 180px;
}

.footer__heading {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer__list {
    list-style: none;
    padding: 0;
}

.footer__list li {
    margin-bottom: 10px;
}

.footer__list a {
    font-size: 14px;
    font-weight: 300;
    color: #ddd;
    transition: color 0.3s;
}

.footer__list a:hover {
    color: #04b800;
}

.footer__bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__bottom p {
    font-size: 13px;
    font-weight: 300;
    opacity: 0.7;
}

.btn-cta--small {
    font-size: 14px;
    padding: 12px 32px;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero__title,
    .banner__text {
        font-size: 32px;
    }

    .product__title {
        font-size: 32px;
    }

    .product__content {
        gap: 30px;
    }

    .product__description p,
    .product__description li {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header {
        padding: 16px 5%;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .header__nav.active {
        display: flex;
    }

    .header__nav a {
        padding: 16px 24px;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .header__nav-separator {
        display: none;
    }

    .header__menu-toggle {
        display: block;
    }

    .hero {
        height: 240px;
    }

    .hero__title {
        font-size: 24px;
    }

    .banner {
        height: 220px;
    }

    .banner__text {
        font-size: 22px;
    }

    .product {
        padding: 40px 5%;
    }

    .product__header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .product__icon {
        width: 80px;
        height: 80px;
    }

    .product__title {
        font-size: 26px;
    }

    .product__content {
        flex-direction: column;
        gap: 24px;
    }

    .product__image {
        flex: none;
        max-width: 100%;
    }

    .btn-cta {
        font-size: 16px;
        padding: 18px 40px;
        width: 100%;
        max-width: 400px;
    }

    .footer {
        padding: 50px 5% 20px;
    }

    .footer__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__brand,
    .footer__links,
    .footer__social {
        min-width: auto;
        width: 100%;
    }

    .footer__logo {
        margin: 0 auto 12px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .header__logo img {
        height: 36px;
    }

    .hero__title {
        font-size: 20px;
    }

    .banner__text {
        font-size: 18px;
    }

    .product__title {
        font-size: 22px;
    }

    .product__description p,
    .product__description li {
        font-size: 15px;
    }
}
