/* ==========================================================================
   ESTILOS PRINCIPALES - ADMINISTRADORES ASOCIADOS S.A.C.
   Estética Corporativa Premium 2026 / Minimalista / Tecnológica
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES Y ROOT DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Paleta de Colores Oficial */
    --primary: #147D9D;
    --primary-dark: #08617A;
    --primary-light: #29A1C6;
    --primary-subtle: rgba(20, 125, 157, 0.08);
    --dark: #222222;
    --dark-soft: #303030;
    --gray: #707070;
    --light-gray: #F5F7F8;
    --white: #FFFFFF;
    --border-color: #E2E8F0;

    /* Sombras Elevadas */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 16px 36px rgba(20, 125, 157, 0.12);
    --shadow-hover: 0 20px 40px rgba(8, 97, 122, 0.16);

    /* Tipografías */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Bordes y Transiciones */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Dimensiones de Contenedor */
    --container-max: 1280px;
    --header-height: 84px;
    --header-height-scrolled: 70px;
}

/* --------------------------------------------------------------------------
   2. RESET MODERNO Y ESTILOS BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--dark-soft);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

p {
    max-width: 75ch;
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: min(90%, var(--container-max));
    margin-inline: auto;
}

.section-padding {
    padding-block: 100px;
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--dark-soft);
    color: var(--white);
}

.bg-primary {
    background-color: var(--primary);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   3. BOTONES Y COMPONENTES REUTILIZABLES
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(20, 125, 157, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary:hover .icon-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: var(--light-gray);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #1EBE57;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-block {
    width: 100%;
}

.icon-arrow {
    transition: transform 0.3s ease;
}

/* Badges y Subtítulos de Sección */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background-color: var(--primary-subtle);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-title-wrapper {
    margin-bottom: 3.5rem;
}

.section-title-wrapper.center {
    text-align: center;
}

.section-title-wrapper.center p {
    margin-inline: auto;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray);
}

/* --------------------------------------------------------------------------
   4. HEADER Y NAVBAR STICKY
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    height: var(--header-height-scrolled);
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

.header-container {
    width: min(92%, var(--container-max));
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo-img {
    height: 52px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.brand-logo-img.mobile {
    height: 40px;
    max-width: 220px;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
    background-color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.desktop-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-soft);
    position: relative;
    padding-block: 0.5rem;
}

.desktop-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.desktop-nav .nav-link:hover {
    color: var(--primary);
}

.desktop-nav .nav-link:hover::after,
.desktop-nav .nav-link.active::after {
    width: 100%;
}

.desktop-nav .nav-link.active {
    color: var(--primary-dark);
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Menú Móvil */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: clamp(280px, 80vw, 360px);
    height: 100vh;
    background-color: var(--white);
    z-index: 1002;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-block: 2rem;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    color: var(--dark);
}

.mobile-nav-list a i {
    width: 24px;
    color: var(--primary);
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
    background-color: var(--primary-subtle);
    color: var(--primary-dark);
}

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   5. HERO SLIDER (INDEX.PHP)
   -------------------------------------------------------------------------- */
.hero-slider-section {
    position: relative;
    padding-top: 0;
    width: 100%;
    height: 100vh;
    min-height: 580px;
    background-color: var(--dark-soft);
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 7s ease-out;
}

.swiper-slide-active .hero-bg-img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(8, 97, 122, 0.72) 0%,
        rgba(20, 125, 157, 0.82) 45%,
        rgba(15, 23, 42, 0.92) 100%
    );
    z-index: 1;
}

.hero-content-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 70px;
}

.hero-caption {
    max-width: 840px;
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    margin-inline: auto;
}

.hero-title {
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-align: center;
}

.hero-description {
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.25rem;
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-inline: auto;
}

/* Swiper Pagination & Navigation Custom */
.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: var(--transition);
}

.hero-swiper .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 6px;
    background: var(--white);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--white);
    transition: var(--transition);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: 900;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   6. SECCIÓN ESTADÍSTICAS (ANIMATED COUNTERS)
   -------------------------------------------------------------------------- */
.stats-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-card-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-inline: 1rem;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray);
}

/* --------------------------------------------------------------------------
   7. PRESENTACIÓN DE EMPRESA (ABOUT SECTION)
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-block: 1.75rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.highlight-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   8. SERVICIOS DESTACADOS (CARDS)
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--primary);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::after {
    width: 100%;
}

.service-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img-container img {
    transform: scale(1.05);
}

.service-icon-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.service-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card-text {
    font-size: 0.925rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   9. NUESTRA GESTIÓN (4 CATEGORÍAS)
   -------------------------------------------------------------------------- */
.gestion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gestion-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

.gestion-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.gestion-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-subtle), var(--light-gray));
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.gestion-card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.gestion-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gestion-list li {
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gestion-list li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   10. ADMINISTRACIÓN DIGITAL (MOCKUP 50/50)
   -------------------------------------------------------------------------- */
.digital-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.digital-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-block: 1.75rem;
}

.digital-check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
}

.digital-check-item i {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.digital-mockup-wrapper {
    position: relative;
    text-align: center;
}

.digital-mockup-img {
    width: 100%;
    max-width: 540px;
    margin-inline: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   11. SOCIOS ESTRATÉGICOS (SLIDER MARQUEE)
   -------------------------------------------------------------------------- */
.partners-slider-section {
    padding-block: 60px;
    border-block: 1px solid var(--border-color);
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    padding: 1.25rem 2rem;
    background-color: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--gray);
    letter-spacing: -0.02em;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--primary-dark);
    border-color: var(--primary-light);
}

/* --------------------------------------------------------------------------
   12. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion {
    max-width: 860px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.35rem 1.75rem;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.faq-toggle-icon {
    width: 32px;
    height: 32px;
    background-color: var(--light-gray);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    background-color: var(--primary);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding-inline: 1.75rem;
}

.faq-answer-content {
    padding-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--gray);
}

/* --------------------------------------------------------------------------
   13. CTA FINAL
   -------------------------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner h2 {
    color: var(--white);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-inline: auto;
    margin-bottom: 2.25rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   14. FORMULARIO DE CONTACTO (CONTACTO.PHP)
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
}

.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-subtle);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.contact-card-detail h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.contact-card-detail p,
.contact-card-detail a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 0;
}

.contact-card-detail a:hover {
    color: var(--primary);
}

.contact-form-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.15rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #FAFAFA;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: var(--gray);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Alertas Toast de Respuesta */
.form-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
}

.form-alert.success {
    display: block;
    background-color: #DEF7EC;
    color: #03543F;
    border: 1px solid #84E1BC;
}

.form-alert.error {
    display: block;
    background-color: #FDE8E8;
    color: #9B1C1C;
    border: 1px solid #F8B4B4;
}

/* --------------------------------------------------------------------------
   15. HEROS INTERIORES (NOSOTROS, SERVICIOS, GESTIÓN, TECNOLOGÍA)
   -------------------------------------------------------------------------- */
.inner-page-hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--dark-soft) 0%, #152228 100%);
    color: var(--white);
    overflow: hidden;
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(20, 125, 157, 0.25) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
}

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

.inner-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   16. FOOTER Y BOTÓN WHATSAPP
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: #18191B;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-desc {
    margin-block: 1.25rem;
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-slogan {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.65rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

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

.footer-links a:hover i {
    transform: translateX(4px);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.9rem;
}

.contact-info-list li i {
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-sep {
    color: rgba(255, 255, 255, 0.3);
}

/* Widget WhatsApp Flotante */
.whatsapp-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 6px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.whatsapp-badge {
    display: flex;
    flex-direction: column;
    padding-right: 1.25rem;
    padding-left: 0.25rem;
}

.badge-sub {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1;
    opacity: 0.9;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Botón Back to Top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 46px;
    height: 46px;
    background-color: var(--dark-soft);
    color: var(--white);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}
