/* ============================================================
   global.css — 100% Carbon Neutral®
   Premium Design System | Eco-Tech Aesthetic
   ============================================================ */

/* ===== DESIGN TOKENS (HSL) ===== */
:root {
    /* Brand Colors (ClimeCo Style) */
    --brand-primary-h: 170;
    --brand-primary-s: 100%;
    --brand-primary-l: 35%; /* #00b294 - Teal */
    
    --brand-secondary-h: 214;
    --brand-secondary-s: 61%;
    --brand-secondary-l: 15%; /* Azul más oscuro y profundo */

    /* Palette Generation */
    --green-50:  hsl(var(--brand-primary-h), 80%, 97%);
    --green-100: hsl(var(--brand-primary-h), 80%, 93%);
    --green-300: hsl(var(--brand-primary-h), 80%, 60%);
    --green-400: hsl(var(--brand-primary-h), 84%, 50%);
    --green-500: hsl(var(--brand-primary-h), var(--brand-primary-s), var(--brand-primary-l));
    --green-600: hsl(var(--brand-primary-h), var(--brand-primary-s), 30%);
    --green-700: hsl(var(--brand-primary-h), var(--brand-primary-s), 20%);
    
    --brand-accent: var(--accent);
    
    --blue-900:  hsl(var(--brand-secondary-h), var(--brand-secondary-s), var(--brand-secondary-l));
    --blue-800:  hsl(var(--brand-secondary-h), var(--brand-secondary-s), 15%);
    --blue-700:  hsl(var(--brand-secondary-h), var(--brand-secondary-s), 25%);

    --accent: #00e676;
    --gold: #fbbf24;
    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-600: #475569;
    --slate-900: #0f172a;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(13, 59, 30, 0.15);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
}

body { 
    font-family: 'Inter', sans-serif; 
    color: var(--slate-900); 
    background: var(--white); 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; 
    overflow-x: hidden; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--blue-900);
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

/* ===== UTILITIES ===== */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

.section { padding: 100px 0; }
.section--alt { background: var(--slate-50); }

.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--green-500);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 178, 148, 0.2);
}

.btn--primary:hover {
    background: var(--blue-900);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 65, 113, 0.25);
}

.btn--secondary {
    background: var(--blue-900);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(27, 65, 113, 0.15);
}

.btn--secondary:hover {
    background: var(--green-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 178, 148, 0.25);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--green-500);
    color: var(--green-500);
}

.hero .btn--outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.hero .btn--outline:hover {
    background: var(--white);
    color: var(--blue-900);
    border-color: var(--white);
}

.btn--outline:hover {
    background: var(--green-500);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header__utility {
    background: rgba(15, 23, 42, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-base);
}
.header.scrolled .header__utility {
    background: rgba(15, 23, 42, 0.6);
}
.header__utility-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}
.header__utility-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}
.header__utility-link:hover {
    color: var(--accent);
}
.header__utility-link i {
    width: 14px;
    height: 14px;
}
.utility-sep {
    color: rgba(255, 255, 255, 0.25);
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    padding: 10px 0;
}

.header.scrolled {
    background: rgba(27, 65, 113, 0.9); /* Usando el azul marino de ClimeCo */
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header__logo {
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}

.header__logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.2));
}

.header__logo-img {
    height: 48px;
    width: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--white) !important;
    opacity: 0.8;
    position: relative;
    padding: 8px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-400);
    transition: var(--transition-base);
}

.nav__link:hover {
    opacity: 1;
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.header__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-size: 24px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    z-index: 1002;
    transition: var(--transition-fast);
}

.header__toggle:hover {
    color: var(--green-400);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--blue-900);
    color: var(--white);
    overflow: hidden;
    padding-top: 100px;
}

.hero * {
    color: var(--white);
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    background: url('recursos/images/hero_home.png') no-repeat center center;
    background-size: cover;
    opacity: 0.8;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 2;
    opacity: 0.15;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--green-500);
    top: -100px;
    right: -100px;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--brand-accent);
    bottom: -100px;
    left: -100px;
}

.hero__content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green-400);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.hero__title {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero__title span {
    background: linear-gradient(135deg, var(--green-400), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    max-width: 700px;
}

.hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--blue-800);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stats-bar__item {
    text-align: center;
}

.stats-bar__number {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--green-500);
    line-height: 1;
    margin-bottom: 12px;
}

.stats-bar__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--slate-100);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--green-100);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    background: var(--green-50);
    color: var(--green-600);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.feature-card__title {
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-card__text {
    color: var(--slate-600);
    font-size: 15px;
}

.feature-card__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--green-600) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
    text-decoration: none;
    padding: 0;
    margin-top: 16px;
}

.feature-card__link:hover {
    color: var(--green-700) !important;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid var(--slate-100);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card--featured {
    background: var(--blue-900);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: var(--shadow-premium);
}

.service-card--featured .service-card__title { color: var(--white); }
.service-card--featured .service-card__text { color: rgba(255,255,255,0.7); }

.service-card__title {
    font-size: 24px;
    margin-bottom: 16px;
}

/* ===== TIMELINE ===== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--slate-100);
}

.timeline__item {
    display: flex;
    gap: 32px;
    margin-bottom: 60px;
    position: relative;
}

.timeline__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-500);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    z-index: 2;
}

.timeline__content {
    padding-top: 10px;
}

.timeline__title {
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline__text {
    color: var(--slate-600);
    font-size: 15px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--blue-900);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.footer__title {
    color: var(--green-400);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer__links a {
    display: block;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
    font-size: 14px;
}

.footer__links a:hover { color: var(--white); }

.footer__bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== BADGES & UTILS ===== */
.badge-item {
    background: var(--green-50);
    color: var(--green-600);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green-100);
    transition: var(--transition-base);
}

.badge-item:hover {
    background: var(--green-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Responsive Overrides */
@media (max-width: 1200px) {
    .features-grid, .services-grid, .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .features-grid, .services-grid, .footer__grid, .stats-bar__grid { grid-template-columns: 1fr; }
    .hero__ctas { flex-direction: column; }
    .btn { width: 100%; }
    .hero__badges { grid-template-columns: 1fr !important; }
    .agents-grid { grid-template-columns: 1fr; }
}

/* ===== AGENTS SECTION ===== */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 80px;
    margin: 60px 0;
}

.agent-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.agent-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--green-600);
}

.agent-item__country {
    font-weight: 700;
    font-size: 18px;
    color: var(--blue-900);
    margin-bottom: 4px;
}

.agent-item__cities {
    font-size: 14px;
    color: var(--slate-600);
}

.info-box {
    background: var(--slate-50);
    border-left: 4px solid var(--green-500);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    font-style: italic;
    color: var(--slate-600);
    margin-bottom: 48px;
}

/* ===== INTERACTIVOS Y UX (NUEVOS) ===== */

/* Dropdown Navigation */
.dropdown {
    position: relative;
}

.dropdown__menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(27, 65, 113, 0.96); /* ClimeCo Style Azul */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 178, 148, 0.2);
    border-radius: 12px;
    padding: 8px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown__menu a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.2s;
    text-align: left;
}

.dropdown__menu a:hover {
    background: rgba(0, 178, 148, 0.15);
    color: var(--green-400) !important;
}

/* Profile Selector Section (Enrutamiento) */
.profile-selection {
    padding: 60px 0;
    background: var(--slate-50);
    position: relative;
    z-index: 10;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.profile-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--green-100);
}

.profile-card__content h3 {
    font-size: 24px;
    color: var(--blue-900);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-card__content p {
    color: var(--slate-600);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.profile-card__features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.profile-card__features li {
    font-size: 14px;
    color: var(--slate-600);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-card__features li i {
    color: var(--green-500);
    flex-shrink: 0;
}

/* Tabs Component (Pestañas de Servicios) */
.tabs-container {
    margin-top: 48px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--slate-100);
    padding-bottom: 16px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--slate-600);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--green-500);
}

.tab-btn.active {
    color: var(--green-500);
    border-bottom-color: var(--green-500);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.tab-panel.active {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel__info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--blue-900);
}

.tab-panel__info p {
    color: var(--slate-600);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.tab-panel__list {
    margin-bottom: 40px;
}

.tab-panel__list h4 {
    font-size: 15px;
    color: var(--blue-900);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-panel__list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.tab-panel__list li {
    font-size: 14.5px;
    color: var(--slate-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-panel__list li i {
    color: var(--green-500);
}

.tab-panel__visual {
    background: var(--slate-50);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.tab-panel__visual-icon {
    width: 80px;
    height: 80px;
    background: var(--green-50);
    color: var(--green-600);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* Accordion Component (Timeline del Proceso) */
.accordion-process {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
}

.accordion-item {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-base);
}

.accordion-item:hover {
    border-color: var(--green-100);
}

.accordion-item.active {
    border-color: var(--green-300);
    box-shadow: var(--shadow-md);
}

.accordion-header {
    width: 100%;
    padding: 24px 32px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.accordion-header__title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.accordion-header__number {
    width: 40px;
    height: 40px;
    background: var(--slate-100);
    color: var(--slate-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    transition: var(--transition-base);
}

.accordion-item.active .accordion-header__number {
    background: var(--green-500);
    color: var(--white);
}

.accordion-header__text {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-900);
}

.accordion-header__chevron {
    color: var(--slate-600);
    transition: transform var(--transition-base);
}

.accordion-item.active .accordion-header__chevron {
    transform: rotate(180deg);
    color: var(--green-500);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 32px;
}

.accordion-item.active .accordion-content {
    max-height: 400px; /* Suficiente para el detalle técnico */
    padding: 0 32px 32px 92px; /* Alineado con el texto de la cabecera */
}

.accordion-content__body p {
    color: var(--slate-600);
    font-size: 15px;
    line-height: 1.7;
}

.accordion-content__technical {
    margin-top: 16px;
    padding: 16px 20px;
    background: var(--slate-50);
    border-radius: 12px;
    border-left: 3px solid var(--green-500);
    font-size: 13.5px;
    color: var(--slate-600);
}

/* Lead Capture Form Section (CTA Final Integrado) */
.form-lead-card {
    background: var(--white);
    border-radius: 30px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0;
    text-align: left;
}

.form-lead-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 8px;
}

.form-lead-card__sub {
    font-size: 14.5px;
    color: var(--slate-600);
    margin-bottom: 32px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-900);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--slate-100);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-fast);
    background: var(--slate-50);
    color: var(--slate-900);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--green-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 178, 148, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    background: var(--green-500);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 8px 24px rgba(0, 178, 148, 0.2);
}

.form-submit:hover {
    background: var(--blue-900);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(27, 65, 113, 0.3);
}

/* Responsive Overrides para nuevos componentes */
@media (max-width: 1200px) {
    .header__toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .header__nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: rgba(27, 65, 113, 0.98); /* ClimeCo Style Azul */
        backdrop-filter: blur(20px);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 100px 30px 40px;
        display: flex !important;
        flex-direction: column;
        z-index: 1001;
        overflow-y: auto;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
    .header__nav.active {
        transform: translateX(0);
    }
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 24px;
    }
    .nav__link {
        font-size: 16px;
        width: 100%;
        padding: 10px 0;
    }
    .dropdown__menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        padding-left: 20px !important;
        display: none;
        width: 100%;
        margin-top: 10px;
        box-shadow: none;
    }
    .dropdown.active .dropdown__menu {
        display: block !important;
    }
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .tab-panel.active {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .accordion-item.active .accordion-content {
        padding: 0 24px 24px 24px;
    }
    .tab-panel__list ul {
        grid-template-columns: 1fr;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .form-lead-card {
        padding: 32px 24px;
    }
}


/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 400px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: cookieFadeIn 0.5s ease-out forwards;
}

@keyframes cookieFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-banner__title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-banner__text {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.6;
}

.cookie-banner__text a {
    color: var(--green-600);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
}

.cookie-banner__btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition-base);
}

.cookie-banner__btn--accept {
    background: var(--green-500);
    color: var(--white);
}

.cookie-banner__btn--accept:hover {
    background: var(--blue-900);
    transform: translateY(-1px);
}

.cookie-banner__btn--reject {
    background: var(--slate-100);
    color: var(--slate-700);
}

.cookie-banner__btn--reject:hover {
    background: var(--slate-200);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* ===== HERO PAGE AND BREADCRUMB INTEGRATION ===== */
.hero-page {
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 160px 0 60px !important;
    box-sizing: border-box;
}

.hero-page .breadcrumb {
    padding: 0 0 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75) !important;
}

.hero-page .breadcrumb a {
    color: var(--green-400) !important;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.hero-page .breadcrumb a:hover {
    color: var(--white) !important;
    text-decoration: underline;
}

.hero-page .breadcrumb span {
    margin: 0 8px;
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.75) !important;
}

/* ===== LOGO CAROUSEL (CASOS DE ÉXITO) ===== */
.logo-carousel {
    padding: 60px 0;
    overflow: hidden;
    position: relative;
    background: var(--white);
    border-radius: 24px;
    margin-bottom: 40px;
    border: 1px solid var(--green-50);
}

.logo-carousel::before,
.logo-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.logo-carousel__track {
    display: flex;
    gap: 144px;
    width: max-content;
    animation: scroll-logos 40s linear infinite;
    align-items: center;
}

.logo-carousel__item {
    flex-shrink: 0;
}

.logo-carousel__img {
    height: 216px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-base);
}

.logo-carousel__img:hover {
    transform: scale(1.05);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

/* ===== FOOTER SOCIALS ===== */
.footer__icon-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer__icon-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition-base);
}

.footer__icon-links a:hover {
    background: var(--green-500);
    border-color: var(--green-500);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 178, 148, 0.25);
}

.footer__icon-links a svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor;
    transition: var(--transition-base);
}

/* ===== STICKY SUB-NAVIGATION ===== */
.sub-nav {
    position: sticky;
    top: 115px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
    transition: var(--transition-base);
}
.sub-nav__list {
    display: flex;
    justify-content: center;
    gap: 24px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 20px;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.sub-nav__list::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.sub-nav__list {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.sub-nav__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-600);
    text-decoration: none;
    transition: 0.3s;
    padding: 6px 0;
    position: relative;
}
.sub-nav__link:hover, .sub-nav__link.active {
    color: var(--green-500);
}
.sub-nav__link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--green-500);
}
@media (max-width: 900px) {
    .sub-nav {
        top: 90px;
        padding: 10px 0;
    }
    .sub-nav__list {
        justify-content: flex-start;
        gap: 16px;
    }
}

/* ===== SCROLL MARGIN FOR STICKY HEADERS ===== */
section[id] {
    scroll-margin-top: 180px;
}
@media (max-width: 900px) {
    section[id] {
        scroll-margin-top: 140px;
    }
}
