:root {
    --primary-color: #ffcc00;
    /* Color corporativo del logo */
    --secondary-color: #212121;

    /* Spacing */
    --spacing-1: 0.25rem;
    /* 4px */
    --spacing-2: 0.5rem;
    /* 8px */
    --spacing-3: 0.75rem;
    /* 12px */
    --spacing-4: 1rem;
    /* 16px */
    --spacing-5: 1.25rem;
    /* 20px */
    --spacing-6: 1.5rem;
    /* 24px */
    --spacing-8: 2rem;
    /* 32px */
    --spacing-9: 2.25rem;
    /* 36px */
    --spacing-10: 2.5rem;
    /* 40px */
    --spacing-12: 3rem;
    /* 48px */
    --spacing-16: 4rem;
    /* 64px */
    --spacing-18: 4.5rem;
    /* 72px */
    --spacing-20: 5rem;
    /* 80px */
    --spacing-24: 6rem;
    /* 96px */


    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms ease;

}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Header & Navigation */
nav {
    width: 100%;
    height: 70px;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
}

.brand-logo img {
    display: inline-block;
    height: 45px;
    margin-top: 0;
    vertical-align: middle;
}

nav .brand-logo {
    position: static; /* o relative */
    transform: none;
}


.brand-title {

    line-height: 1;
    display: inline-block;
    margin-left: 8px;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.nav-wrapper.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.nav-wrapper ul.right {
    float: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly; /* o space-between / space-around */
    flex: 1;
}
.nav-wrapper ul li a:hover {
    color: var(--primary-color);
}

@media only screen and (max-width: 600px) {
    nav .brand-logo {
        left: 8px;
        width: calc(100% - 64px);
        transform: none;
    }

    nav .brand-logo img {
        height: 34px;
    }

    nav .brand-title {
        font-size: 0.95rem;
    }
}

/* Hero Slider */
.slider .slides li .caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 30px;
    border-radius: 8px;

}

.slider .slides li img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}


/* Section Headers */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.btn-brand {
    display: inline-block;
    padding: 10px 50px;
    border-radius: 40px;
    text-decoration: none;
    font-family: var(--body-font);
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    cursor: pointer;
    text-align: center;
    font-weight: bold;

}

.btn-smartcard {
    display: inline-flex;
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-family: var(--body-font);
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    cursor: pointer;
    text-align: center;
    font-weight: 400;

}

.btn-smartcard .material-icons {
    float: none;
    margin-left: 6px;
}

.btn-brand-primary {
    background: var(--secondary-color);
    color: yellow;
}

.btn-brand-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(148, 143, 104, 0.406);
}


/* Marketing Cards */
.feature-card {
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    color: #333;
    background: var(--primary-color);
    padding: 20px;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Directory Cards */
/* Grid de 3 columnas: alinea las cards por renglón sin huecos intermedios */
#cards-container.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-6) var(--spacing-4);
    margin: 0;
}

@media only screen and (min-width: 601px) {
    #cards-container.row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 993px) {
    #cards-container.row {
        grid-template-columns: repeat(3, 1fr);
    }
}

#cards-container.row .col {
    width: auto;
    float: none;
    left: 0;
    margin: 0;
    padding: 0;
    display: flex;
}

.smart-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.smart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.smart-card .card-content {
    flex: 1 1 auto;
}

.smart-card .card-action {
    margin-top: auto;
}

.smart-card .card-image img {
    height: 300px;
    object-fit: contain;
    padding-top: 20px;

}

.tag-chip {
    display: inline-block;
    background-color: #e0e0e0;
    color: #424242;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    margin: 2px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Form Styles */
.form-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}


/* FOOTER */
.footer {
    background: #0F172E;
    color: #ced2d6;
    padding: 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: var(--spacing-12);
    margin-bottom: var(--spacing-16);
    max-width: var(--max-width-container);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-6);
}

.footer__column {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    height: 2rem;
    margin-bottom: var(--spacing-6);

}

.footer__logo img {
    height: 100%;
    width: auto;
}

.footer__text {
    font-size: var(--font-size-xs);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
    color: #ced2d6;
}




.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #f5f5f5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #171717;
    transform: translateY(-3px);
}




.footer__section-title {
    color: white;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-6);
    font-size: var(--font-size-sm);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    list-style: none;
}

.footer__list-item {
    font-size: var(--font-size-xs);
}

.footer__link {
    color: #ced2d6;
    transition: color var(--transition-base);
    text-decoration: none;
}

.footer__link:hover {
    color: white;
}

/* Networking login */
.networking-login-page {
    background: #f4f4f1;
}

.networking-login-nav {
    min-height: 70px;
    padding: 0 max(24px, calc((100% - 1120px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--secondary-color);
}

.networking-login-brand,
.networking-back-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
}

.networking-login-brand {
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
}

.networking-login-brand img {
    width: auto;
    height: 42px;
}

.networking-back-link {
    gap: 6px;
    font-size: 0.95rem;
}

.networking-login-brand:hover,
.networking-back-link:hover {
    color: var(--primary-color);
}

.networking-login-main {
    width: min(100% - 40px, 1040px);
    min-height: 560px;
    margin: 0 auto;
    padding: 72px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 72px;
}

.networking-login-intro {
    max-width: 540px;
}

.networking-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #594900;
    font-size: 0.8rem;
    font-weight: 700;
}

.networking-eyebrow i {
    font-size: 1.2rem;
}

.networking-login-intro h1 {
    margin: 20px 0 18px;
    color: #202020;
    font-size: 3rem;
    line-height: 1.12;
    font-weight: 700;
}

.networking-login-intro>p {
    max-width: 520px;
    color: #555;
    font-size: 1.08rem;
    line-height: 1.75;
}

.networking-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: #333;
    font-weight: 500;
}

.networking-benefit i {
    color: #967a00;
}

.networking-login-panel {
    padding: 38px 34px 30px;
    border-top: 5px solid var(--primary-color);
    background: #fff;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.09);
}

.networking-login-panel-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.networking-login-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #fff5c4;
    color: #302800;
}

.networking-login-panel-heading h2 {
    margin: 0 0 4px;
    color: #202020;
    font-size: 1.55rem;
    font-weight: 700;
}

.networking-login-panel-heading p,
.networking-login-note {
    margin: 0;
    color: #666;
}

.networking-input-field {
    margin-bottom: 26px;
}

.networking-input-field .prefix {
    color: #666;
}

.networking-input-field input:focus {
    border-bottom: 1px solid #8b7200 !important;
    box-shadow: 0 1px 0 0 #8b7200 !important;
}

.networking-input-field input:focus+label,
.networking-input-field .prefix.active {
    color: #705c00 !important;
}

.networking-submit {
    width: 100%;
    height: 50px;
    margin-top: 8px;
    background: #212121;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: none;
    box-shadow: none;
}

.networking-submit:hover,
.networking-submit:focus {
    background: #333;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.networking-submit:disabled {
    background: #555;
    color: #eee;
}

.networking-login-message {
    min-height: 0;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.networking-login-message:not(:empty) {
    margin: 0 0 16px;
    padding: 11px 12px;
}

.networking-login-message.is-success {
    background: #e8f5e9;
    color: #1b5e20;
}

.networking-login-message.is-error {
    background: #ffebee;
    color: #b71c1c;
}

.networking-login-note {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
}

.networking-login-note a {
    color: #675500;
    text-decoration: underline;
}

@media only screen and (max-width: 800px) {
    .networking-login-nav {
        padding: 0 18px;
    }

    .networking-login-brand {
        font-size: 1rem;
    }

    .networking-login-brand img {
        height: 36px;
    }

    .networking-back-link {
        font-size: 0;
    }

    .networking-back-link i {
        font-size: 1.4rem;
    }

    .networking-login-main {
        width: min(100% - 32px, 480px);
        min-height: auto;
        padding: 48px 0;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .networking-login-intro h1 {
        margin-top: 14px;
        font-size: 2.35rem;
    }

    .networking-login-intro>p {
        font-size: 1rem;
    }

    .networking-login-panel {
        padding: 30px 22px 24px;
    }
}

.footer__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: var(--spacing-8) var(--spacing-6);
}

.footer__bottom {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: var(--spacing-8) var(--spacing-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    font-size: var(--font-size-xs);
}

.footer__bottom-text {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-6);
}

.footer__bottom-links {
    display: flex;
    gap: var(--spacing-6);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__bottom-link {
    color: #64748B;
    transition: color var(--transition-base);
}

.footer__bottom-link:hover {
    color: white;
}