/* ============================================================
   Centro de Estudios ViVo — styles.css
   ============================================================ */

/* --- Variables CSS --- */
:root {
    --primary: #02bece;
    --primary-dark: #0199a8;
    --primary-light: #e0f8fb;
    --secondary: #a9c323;
    --secondary-dark: #8aa01c;
    --secondary-light: #f0f7d4;
    --bg: #ffffff;
    --bg-alt: #f7fafb;
    --text: #222222;
    --text-muted: #666666;
    --border: #e4eef0;
    --radius: 14px;
    --radius-sm: 8px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 2px 16px rgba(2, 190, 206, 0.10);
    --shadow-card: 0 1px 6px rgba(34, 34, 34, 0.07);
    --nav-height: 70px;
    --font-main: 'Poppins', 'Open Sans', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

p {
    color: var(--text-muted);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-vivo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar-vivo.scrolled {
    box-shadow: 0 2px 20px rgba(2, 190, 206, 0.10);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon svg {
    width: 22px;
    height: 22px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nav-logo-text span:first-child {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.nav-logo-text span:last-child {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile menu */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1.5px solid var(--border);
    padding: 12px 24px 20px;
    z-index: 999;
    flex-direction: column;
    gap: 4px;
    animation: slideDown 0.2s ease;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 10px 14px;
    border-radius: 8px;
    display: block;
}

.nav-mobile a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-mobile .nav-cta-mobile {
    background: var(--primary);
    color: #fff !important;
    text-align: center;
    margin-top: 6px;
    font-weight: 600;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page offset for fixed nav */
.page-body {
    padding-top: var(--nav-height);
}

/* ============================================================
   HERO SECTION — Home
   ============================================================ */
.hero-home {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f0fdff 0%, #f7fafb 60%, #f0f7d4 100%);
    overflow: hidden;
    position: relative;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(2, 190, 206, 0.10) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-home::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(169, 195, 35, 0.10) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.hero-home h1 {
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.18;
    margin-bottom: 18px;
}

.hero-home h1 .highlight {
    color: var(--primary);
}

.hero-home .lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-card-float {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    animation: floatAnim 3s ease-in-out infinite;
}

.hero-card-float:nth-child(2) {
    animation-delay: 1s;
}

.hero-card-float:nth-child(3) {
    animation-delay: 2s;
}

.hero-card-float.top-right {
    top: 10%;
    right: 5%;
}

.hero-card-float.bottom-left {
    bottom: 15%;
    left: 0%;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-vivo {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary-vivo:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 190, 206, 0.28);
}

.btn-outline-vivo {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline-vivo:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary-vivo {
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-secondary-vivo:hover {
    background: var(--secondary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px !important;
    font-size: 1rem !important;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ============================================================
   CARDS
   ============================================================ */
.vivo-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    height: 100%;
}

.vivo-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
    stroke: var(--primary);
}

.card-icon.secondary {
    background: var(--secondary-light);
}

.card-icon.secondary svg {
    color: var(--secondary-dark);
    stroke: var(--secondary-dark);
}

.vivo-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.vivo-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.vivo-card .card-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.vivo-card .card-link:hover {
    gap: 9px;
}

/* ============================================================
   SECTION SPACING
   ============================================================ */
.section-pad {
    padding: 72px 0;
}

.section-pad-sm {
    padding: 48px 0;
}

.bg-alt {
    background: var(--bg-alt);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-photo-wrap {
    position: relative;
    display: inline-block;
}

.about-photo {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 16px rgba(2, 190, 206, 0.28);
}

.about-badge span {
    font-size: 1.4rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
}

.about-stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-stat-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.about-stat strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    display: block;
}

.about-stat span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================================
   TRUST / ACREDITACIONES
   ============================================================ */
.trust-bar {
    background: var(--bg-alt);
    border-top: 1.5px solid var(--border);
    border-bottom: 1.5px solid var(--border);
    padding: 36px 0;
}

.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    min-height: 60px;
    transition: var(--transition);
}

.trust-logo:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ============================================================
   HERO — INNER PAGES
   ============================================================ */
.hero-inner {
    padding: 60px 0 48px;
    background: linear-gradient(135deg, #f0fdff 0%, #f7fafb 100%);
    border-bottom: 1.5px solid var(--border);
}

.hero-inner h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.hero-inner .lead {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 28px;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.step-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.step-num {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h5 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================================
   BENEFITS LIST
   ============================================================ */
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.benefit-check {
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: var(--secondary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.benefit-check svg {
    width: 14px;
    height: 14px;
    stroke: var(--secondary-dark);
}

.benefit-item h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.benefit-item p {
    font-size: 0.82rem;
    margin: 0;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--primary);
}

.faq-question {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    user-select: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition);
    flex-shrink: 0;
    stroke: var(--text-muted);
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    stroke: var(--primary);
}

.faq-answer {
    display: none;
    padding: 0 20px 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ============================================================
   TAGS / PILLS
   ============================================================ */
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 3px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 64px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 28px;
}

.btn-white-vivo {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-white-vivo:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    color: var(--primary-dark);
}

/* ============================================================
   SERVICES — EMPRESAS
   ============================================================ */
.service-block {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
    background: #fff;
    transition: var(--transition);
}

.service-block:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.service-block h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-block p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

/* Timeline for capacitación */
.timeline-item {
    display: flex;
    gap: 18px;
    position: relative;
    padding-bottom: 28px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 4px;
}

.timeline-line {
    width: 2px;
    background: var(--border);
    flex: 1;
    margin: 4px 0;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-content h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-vivo .form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.form-vivo .form-control,
.form-vivo .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text);
    padding: 10px 14px;
    transition: var(--transition);
    font-family: var(--font-main);
}

.form-vivo .form-control:focus,
.form-vivo .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 190, 206, 0.12);
    outline: none;
}

.form-vivo .form-control.is-invalid {
    border-color: #e05252;
}

.form-vivo .invalid-feedback {
    font-size: 0.78rem;
    color: #e05252;
}

.form-success {
    display: none;
    background: var(--secondary-light);
    border: 1.5px solid var(--secondary);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-top: 16px;
}

.form-error {
    background: #fdecec;
    border: 1.5px solid #e05252;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #b23a3a;
    margin-top: 16px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.contact-info-item h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.contact-info-item p {
    font-size: 0.875rem;
    margin: 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    margin-right: 8px;
    margin-bottom: 8px;
    text-decoration: none;
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.map-placeholder {
    border-radius: var(--radius);
    background: var(--primary-light);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.map-placeholder svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #1a2933;
    color: rgba(255, 255, 255, 0.75);
    padding: 56px 0 24px;
}

.footer-logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 260px;
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 10px;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    flex-shrink: 0;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 32px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }
}

@media (max-width: 767px) {
    .section-pad {
        padding: 52px 0;
    }

    .hero-home {
        padding: 52px 0 40px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-home h1 {
        font-size: 1.85rem;
    }

    .about-badge {
        right: 0;
        bottom: -20px;
    }

    .cta-section {
        padding: 48px 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .hero-card-float {
        display: none;
    }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-primary-vivo {
    color: var(--primary) !important;
}

.text-secondary-vivo {
    color: var(--secondary) !important;
}

.bg-primary-vivo {
    background: var(--primary) !important;
}

.mt-section {
    margin-top: 56px;
}

.mb-section {
    margin-bottom: 56px;
}
/* ============================================================
   WHATSAPP FLOTANTE + POPUP FORMULARIO
   ============================================================ */
.whatsapp-widget-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
}

.whatsapp-float-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    animation: waPulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-btn svg {
    width: 30px;
    height: 30px;
}

.whatsapp-bubble {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: var(--shadow-card);
    position: relative;
    cursor: pointer;
    opacity: 0;
    animation: waBubbleIn 0.5s ease forwards;
    animation-delay: 1s;
}

.whatsapp-bubble::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
}

.whatsapp-bubble-close {
    border: none;
    background: var(--border);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: var(--transition);
}

.whatsapp-bubble-close:hover {
    background: #e05252;
    color: #fff;
}

@keyframes waBubbleIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    }

    50% {
        box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 0 0 8px rgba(37, 211, 102, 0.15);
    }
}

.whatsapp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 32, 0.55);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.whatsapp-modal-overlay.active {
    display: flex;
}

.whatsapp-modal {
    background: #fff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 400px;
    padding: 28px 26px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: waModalIn 0.25s ease;
}

@keyframes waModalIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.whatsapp-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.whatsapp-modal-close:hover {
    background: #e05252;
    color: #fff;
}

.whatsapp-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.whatsapp-modal-icon {
    width: 44px;
    height: 44px;
    background: #25D366;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-modal-icon svg {
    width: 24px;
    height: 24px;
}

.whatsapp-modal-header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.whatsapp-modal-header p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.whatsapp-modal .form-vivo textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.btn-whatsapp-send {
    width: 100%;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-whatsapp-send:hover {
    background: #1eb757;
}

@media (max-width: 480px) {
    .whatsapp-widget-wrap {
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float-btn {
        width: 54px;
        height: 54px;
    }

    .whatsapp-bubble {
        font-size: 0.78rem;
        padding: 10px 14px;
    }
}
