*{
    box-sizing: border-box;
    margin: 0px;
}
:root {
    /* Colors */
    /* Primary colors */
    --color-orange: #F37021;
    --color-dark-gray: #1E1E1E;

    /* Neutral colors */
    --color-light-gray: #7A7A7A;
    --color-bg-light: #F9F9F9;
    --color-white: #FFFFFF;
    --color-global-bg: #F5F6F8;
    --color-text-main: #1E1E1E;
    --color-text-muted: #6B6B6B;
    --color-card-dark: #1E1E1E;
    --color-text-white: #FFFFFF;
     /* Fonts */
    --font-primary:               "Poppins", sans-serif;

    /* Spaces & dimentions */ 
    /* Global */ 
    --none:                         0px;
    --space-5xs:                    1px;
    --space-4xs:                    2px;
    --space-3xs:                    4px;
    --space-2xs:                    8px;
    --space-xs:                     12px;
    --space-sm:                     16px;
    --space-md:                     20px;
    --space-lg:                     24px;
    --space-xl:                     28px;
    --space-2xl:                    32px;
    --space-3xl:                    36px;
    --space-4xl:                    40px;
    --space-5xl:                    44px;
    --space-6xl:                    48px;
    --space-7xl:                    52px;
    --space-8xl:                    56px;

    --font-size-general:          20px;
    --altura_header: 80px;
}

/* ===== HEADER STYLES ===== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Topbar - estático */
.header__topbar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: var(--space-sm) var(--space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header__topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 0 0  130px;
}

.header__contact {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 14px;
}

.header__contact-label {
    font-weight: 500;
    color: var(--color-dark-gray);
}

.header__contact-link {
    color: var(--color-dark-gray);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header__contact-link:hover {
    color: var(--color-orange);
}

.header__socials {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.header__socials-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--color-dark-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.header__socials-link:hover {
    color: var(--color-orange);
    transform: scale(1.1);
}

.header__main {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__main.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-bottom-color: rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header__main-content {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.header__logo-container {
    flex-shrink: 0;
    padding-left: 130px;
}

.header__logo-link {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.header__logo-link:hover {
    opacity: 0.8;
}

.header__logo-img {
    height: 60px;
    width: auto;
}

.header__nav {
    flex: 1;
    display: flex;
    justify-content: right;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
    padding: 0 30spx 0 0;
}

.header__menu-item {
    position: relative;
    display: flex;
    align-items: center;
}

.header__menu-link {
    color: var(--color-dark-gray);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    padding: var(--space-xs) 0;
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width 0.3s ease;
}

.header__menu-link:hover::after {
    width: 100%;
}

.header__menu-link:hover {
    color: var(--color-orange);
}

.header__menu-item--dropdown > .header__menu-link::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    bottom: 1px;
    left: 50%;
    transform: translateX(-30%);
    background-color: var(--color-orange);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header__menu-item--dropdown:hover > .header__menu-link::after {
    opacity: 1;
}

.header__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    list-style: none;
    margin: var(--space-sd) 0 0 0;
    padding: var(--space-md);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    
}

.header__menu-item--dropdown:hover .header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    
}

.header__submenu-item {
    margin: 0;
    padding: 0;
}

.header__submenu-link {
    display: block;
    padding: var(--space-xs) var(--space-2xs);
    color: var(--color-dark-gray);
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.header__submenu-link:hover {
    background-color: rgba(243, 112, 33, 0.1);
    color: var(--color-orange);
    padding-left: var(--space-lg);
}

/* Botón CTA */
.header__actions {
    flex-shrink: 0;
}

.header__hamburger {
    display: none;
}

.header__mobile-nav,
.header__mobile-overlay {
    display: none;
}

.header__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs) var(--space-lg);
    background-color: var(--color-orange);
    color: var(--color-white);
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header__cta-button:hover {
    background-color: #E85D15;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
}

/* ===== ESTADO STICKY ===== */
/* Solo posicionamiento, sin cambios de color */

/* Responsive */
@media (max-width: 768px) {
    .header__main-content {
        gap: var(--space-md);
    }

    .header__menu {
        gap: var(--space-md);
    }

    .header__menu-link {
        font-size: 13px;
    }

    .header__topbar-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .header__cta-button {
        font-size: 13px;
        padding: var(--space-3xs) var(--space-md);
    }
}

/* Global typography and utilities */
html, body {
    height: 100%;
    font-family: var(--font-primary);
    background: var(--color-bg-light);
    color: var(--color-dark-gray);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background-color: var(--color-dark-gray);
    font-family: var(--font-primary);
    padding: 80px 0;
    width: 100%;
}

.footer__contact-section {
    width: 900px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 32px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    left: 42%;
}

.footer__header {
    margin-bottom: 60px;
}

.footer__main-title {
    font-family: var(--font-primary);
    color: var(--color-white);
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}

.footer__divider-line {
    background-color: var(--color-orange);
    width: 35px;
    height: 3px;
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.footer__subtitle {
    color: var(--color-white);
    font-size: 16px;
    margin: 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4);
    gap: 40px;
    text-align: left;
    margin-bottom: 60px;
    width: 100%;          
    max-width: 900px;     
}

.footer__info-card {
    display: flex;
    flex-direction: column;
}

.footer__icon-box {
    color: var(--color-orange);
    font-size: 24px;
    margin-bottom: 15px;
}

.footer__card-title {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.footer__card-text {
    color: var(--color-white);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer__contact-link {
    color: var(--color-orange);
    text-decoration: none;
    transition: opacity 0.2s ease;
    display: block;
    margin-bottom: 4px;
}

.footer__contact-link:hover {
    text-decoration: underline;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.footer-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
@media (min-width: 1201px) {
  .header__logo-container {
    padding-left: 0px;
  }

  .footer__contact-section {
    left: 42%;
    transform: translateX(-50%);
    width: 1200px;
  }

  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* ============================================
   ESCRITORIOS MEDIOS: 1024px – 1200px
   ============================================ */
@media (min-width: 1024px) and (max-width: 1200px) {
  .header__logo-container {
    padding-left: 60px;
  }

  .header__menu {
    gap: var(--space-md);
  }

  .header__menu-link {
    font-size: 15px;
  }

  /* Footer */
  .footer__contact-section {
    left: 50%;
    transform: translateX(-50%);
    width: 860px;
  }

  .footer__grid {
    gap: 40px;
  }

  .footer__main-title {
    font-size: 36px;
  }
}

/* ============================================
   TABLETS: 768px – 1023px
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Header topbar */
  .header__topbar-content {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .header__contact {
    font-size: 13px;
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Header main */
  .header__logo-container {
    padding-left: 24px;
  }

  .header__main-content {
    gap: var(--space-md);
    padding: 0 16px;
  }

  .header__menu {
    gap: var(--space-sm);
  }

  .header__menu-link {
    font-size: 14px;
  }

  .header__cta-button {
    font-size: 13px;
    padding: var(--space-xs) var(--space-md);
  }

  /* Footer */
  .footer {
    padding: 64px 0;
  }

  .footer__contact-section {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 40px;
  }

  .footer__main-title {
    font-size: 32px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  .footer-inner {
    padding: 20px 40px 0;
  }
}

/* ============================================
   MÓVILES GRANDES: 480px – 767px
   ============================================ */
@media (min-width: 480px) and (max-width: 767px) {
  /* Header topbar — oculto en móvil */
  .header__topbar {
    display: none;
  }

  /* Header main */
  .header__main {
    padding: var(--space-md) var(--space-lg);
  }

  .header__logo-container {
    padding-left: 0;
  }

  .header__main-content {
    justify-content: space-between;
    padding: 0 16px;
    gap: 0;
  }

  /* Ocultar nav y mostrar hamburguesa */
  .header__nav {
    display: none;
  }

  .header__actions {
    display: none;
  }

  /* Hamburger — agrégalo al HTML si no existe */
  .header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }

  .header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark-gray);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Footer */
  .footer {
    padding: 56px 0;
  }

  .footer__contact-section {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 24px;
  }

  .footer__main-title {
    font-size: 28px;
    letter-spacing: -0.3px;
  }

  .footer__subtitle {
    font-size: 14px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .footer__card-title {
    font-size: 14px;
  }

  .footer__card-text {
    font-size: 13px;
  }

  .footer-inner {
    padding: 20px 24px 0;
  }

  .footer-inner p {
    font-size: 13px;
  }
}

/* ============================================
   MÓVILES PEQUEÑOS: < 480px
   ============================================ */
@media (max-width: 479px) {
  /* Header topbar — oculto */
  .header__topbar {
    display: none;
  }

  /* Header main */
  .header__main {
    padding: var(--space-sm) var(--space-md);
  }

  .header__logo-container {
    padding-left: 0;
  }

  .header__main-content {
    justify-content: space-between;
    padding: 0 8px;
  }

  .header__logo-img {
    height: 32px;
  }

  /* Ocultar nav desktop */
  .header__nav {
    display: none;
  }

  .header__actions {
    display: none;
  }

  /* Hamburger */
  .header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }

  .header__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-dark-gray);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Footer */
  .footer {
    padding: 48px 0;
  }

  .footer__contact-section {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 16px;
  }

  .footer__header {
    margin-bottom: 40px;
  }

  .footer__main-title {
    font-size: 24px;
    letter-spacing: -0.3px;
  }

  .footer__subtitle {
    font-size: 13px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 100%;
  }

  .footer__info-card {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer__info-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .footer__card-title {
    font-size: 14px;
  }

  .footer__card-text {
    font-size: 13px;
  }

  .footer-inner {
    padding: 20px 16px 0;
    margin-top: 0;
  }

  .footer-inner p {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
    .header__topbar { display: none; }
    .header__main { 
         position: relative;
         z-index: 250;
         padding: 14px 20px;
         background-color: rgba(255, 255, 255, 0.98);
    }
    .header__main-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }
    .header__logo-container { padding-left: 0; }
    .header__logo-img { height: 34px; }
    .header__nav { display: none; }

    /* Hamburguesa */
    .header__hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        position: relative;
        z-index: 300;
    }

    .header__hamburger-bar {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--color-dark-gray);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .header__hamburger.is-open .header__hamburger-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header__hamburger.is-open .header__hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .header__hamburger.is-open .header__hamburger-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Overlay */
    .header__mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 198;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;

    }

    .header__mobile-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    /* Panel */
    .header__mobile-nav {
        position: fixed;
        top: 60px; 
        left: 0;
        width: 100%;          
        height: auto;          
        max-height: 0;         
        overflow: hidden;
        background-color: var(--color-white);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 199;
        padding: 0 24px;
        display: flex;
        flex-direction: column;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    padding 0.4s ease;
    }

    .header__mobile-nav.is-open {
        max-height: 100vh;     
        padding: 24px 24px 32px;
        right:auto;          
        }

    .header__mobile-link {
        display: block;
        padding: 13px 0;
        font-family: var(--font-primary);
        font-size: 15px;
        font-weight: 500;
        color: var(--color-dark-gray);
        text-decoration: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .header__mobile-link--sub {
        font-size: 13px;
        font-weight: 400;
        color: var(--color-light-gray);
        padding: 9px 0 9px 8px;
    }

    .header__mobile-link:hover,
    .header__mobile-link--sub:hover {
        color: var(--color-orange);
        padding-left: 12px;
    }

    .header__mobile-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 16px;
        padding: 12px 20px;
        background-color: var(--color-orange);
        color: var(--color-white);
        font-weight: 600;
        font-size: 14px;
        border-radius: 6px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .header__mobile-cta:hover { background-color: #E85D15; }
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 240;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
    background-color: #20bd5a;
    transform: scale(1.06);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 3px;
}

.whatsapp-float__icon {
    display: block;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .whatsapp-float__icon {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 479px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
}