/* ===================================
   VARIABLES Y COLORES
   =================================== */
:root {
    --color-primary-orange: #ff7f00;
    --color-primary-dark: #003049;
    --color-secondary-gold: #fcbf49;
    --color-light-bg: #eae2b7;
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    --color-gray-light: #f8f9fa;
    --color-gray-medium: #e9ecef;
    --color-gray-dark: #495057;
    
    --transition-smooth: all 0.3s ease-in-out;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   RESET Y ESTILOS BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-primary-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar-custom {
    background: #f2f4f6 !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    padding: 0.6rem 0;
    transition: var(--transition-smooth);
}

.navbar-custom .navbar-brand {
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: var(--color-primary-dark) !important;
}

.navbar-custom .logo-image {
    height: 36px;
    width: auto;
    margin-right: 0.2rem;
    vertical-align: middle;
}

.navbar-custom .nav-link {
    color: var(--color-primary-dark) !important;
    font-weight: 500;
    margin-left: 1.25rem;
    position: relative;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-orange);
    transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link:active::after {
    width: 100%;
}

.navbar-custom .nav-link:hover {
    color: var(--color-primary-orange) !important;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #004b6f 100%);
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    padding-bottom: 2rem;
    
    /* Pattern estilo VS Code - lineas de código */
    background-image: 
        /* Líneas horizontales sutiles (como líneas de código) */
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 30px
        ),
        /* Líneas verticales sutiles (como columnas de caracteres) */
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.01) 0px,
            rgba(255, 255, 255, 0.01) 1px,
            transparent 1px,
            transparent 20px
        ),
        /* Puntos muy sutiles (como caracteres/tokens) */
        radial-gradient(
            circle,
            rgba(255, 165, 0, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(135deg, var(--color-primary-dark) 0%, #004b6f 100%);
    background-size: 
        100% 100%,
        100% 100%,
        40px 40px,
        100% 100%;
    background-position: 
        0 0,
        0 0,
        0 0,
        0 0;
}

/* Background animated shapes */
.hero-bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary-orange);
    top: -100px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary-gold);
    bottom: -50px;
    left: 5%;
    animation: float 15s infinite ease-in-out reverse;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--color-light-bg);
    top: 50%;
    right: 10%;
    animation: float 25s infinite ease-in-out;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-30px) translateX(-20px);
    }
}

/* Hero content */
.hero-content {
    color: var(--color-white);
}

/* Badge */
.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid #4D6E80;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

/* Hero Title */
.hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
    letter-spacing: -1px;
}

.text-primary-orange {
    color: var(--color-primary-orange);
}

.text-gold {
    color: var(--color-secondary-gold);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    max-width: 500px;
}

/* Stats */
.stats-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 1.5rem 0 0.5rem 0;
}

.hero-stats {
    margin: 0 0 !important;
    gap: 1rem !important;
}

.stat-item {
    padding: 0.75rem 0.85rem;
    background: transparent;
    border: none;
    border-radius: 12px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary-orange), var(--color-secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.15rem;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* CTAs Buttons */
.cta-buttons {
    margin-top: 1rem;
    gap: 1rem !important;
}

.btn-primary-orange {
    background: linear-gradient(135deg, var(--color-primary-orange), #ff9933);
    border: none;
    color: var(--color-white);
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    border-radius: 99px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.btn-primary-orange:hover {
    background: linear-gradient(135deg, #ff6b00, var(--color-primary-orange));
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 127, 0, 0.4);
    text-decoration: none;
}

.btn-primary-orange:active {
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 1px solid #4D6E80;
    color: var(--color-white);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    font-size: 1rem;
}

.btn-outline-primary:hover {
    border: #4D6E80;
    background: #4D6E80 !important;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.btn-icon {
    font-size: .9rem;
}

/* Hero Visual Right Side */
.hero-visual {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-box {
    position: absolute;
    width: 220px;
    height: 200px;
    background: #1A3842;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-visual-box::before {
    content: "\f121";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 3rem;
    color: #485F67;
}

/* Hero Cards */
.hero-card {
    position: absolute;
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 0.75rem;
    width: 160px;
    transition: var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-card:hover {
    background: rgba(255, 127, 0, 0.2);
    border-color: var(--color-primary-orange);
    transform: translateY(-8px);
}

.hero-card-1 {
    top: 30px;
    right: 190px;
    width: 60px;
    height: 50px;
    padding: 0.75rem;
    background: var(--color-primary-orange);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(255, 127, 0, 0.3);
    animation: none;
}

.hero-card-2 {
    bottom: 40px;
    left: 180px;
    width: 60px;
    height: 50px;
    padding: 0.75rem;
    background: var(--color-secondary-gold);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(252, 191, 73, 0.2);
    animation: none;
}

.hero-card-3 {
    display: none;
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
    display: block;
    color: var(--color-white);
}

.card-text {
    display: none !important;
}

.hero-card-3 .card-text {
    display: none !important;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-icon {
    font-size: 1.5rem;
    color: var(--color-primary-orange);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.35rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-visual {
        height: 250px;
        margin-top: 1.5rem;
    }

    .hero-visual-box {
        width: 250px;
        height: 300px;
    }

    .hero-card {
        width: 150px;
        padding: 1rem;
        font-size: 0.85rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary-orange,
    .btn-outline-primary {
        width: 100%;
        justify-content: center;
    }

    .navbar-custom .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-content {
        margin-top: 60px;
    }

    .badge-custom {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .scroll-indicator {
        bottom: 15px;
    }

    .hero-visual {
        display: none;
    }
}

/* ===================================
   UTILITIES
   =================================== */
.z-3 {
    z-index: 3;
}

.position-relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

/* Smooth scrolling */
a[href^="#"] {
    text-decoration: none;
    color: inherit;
}

/* Focus states para accesibilidad */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-primary-orange);
    outline-offset: 2px;
}

/* ===================================
   ANIMATE.CSS CUSTOM DELAYS
   =================================== */
.animate__animated {
    animation-duration: 0.8s;
}

/* Respeta la preferencia del usuario por reducir movimiento */
/* ===================================
   SERVICIOS SECTION
   =================================== */

.services-grid {
    margin-left: 150px;
    margin-right: 150px;
}

@media (max-width: 992px) {
    .services-grid {
        margin-left: 0;
        margin-right: 0;
    }
}

.servicios-section {
    background-color: #eae2b7;
    padding: 4rem 0;
}

.badge-custom-servicios {
    display: inline-block;
    background-color: #fcbf49;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-text-servicios {
    color: #000;
    font-weight: 600;
}

.servicios-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.servicios-subtitle {
    font-size: 0.95rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 1rem 0.6rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0.5px solid transparent;
}

.service-card.animate__animated {
    animation-duration: 0.8s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 127, 0, 0.15);
    border: 0.5px solid var(--color-primary-orange);
}

.service-icon {
    width: 45px;
    height: 45px;
    background-color: var(--color-primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    color: #fff;
}

.service-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.service-description {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Servicios */
@media (max-width: 768px) {
    .servicios-section {
        padding: 3rem 0;
    }

    .servicios-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-description {
        font-size: 0.85rem;
    }
}

/* ===================================
   TECNOLOGÍAS SUBSECTION (dentro de Servicios)
   =================================== */

.tecnologias-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.tecnologias-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.tech-badge {
    display: inline-block;
    background: #ffffff;
    color: var(--color-primary-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    transition: var(--transition-smooth);
    cursor: default;
}

.tech-badge:hover {
    background: var(--color-primary-orange);
    color: #ffffff;
    border-color: var(--color-primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 127, 0, 0.2);
}

.tecnologias-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #d0a54a, transparent);
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .tecnologias-section {
        padding: 2rem 0;
    }

    .tech-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .tecnologias-divider {
        margin-top: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   NOSOTROS SECTION
   =================================== */

.nosotros-section {
    background: #ffffff;
    padding: 5rem 0;
}

.badge-custom-nosotros {
    display: inline-block;
    background-color: #eae2b7;
    color: #003049;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-text-nosotros {
    color: #003049;
    font-weight: 600;
}

.nosotros-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.nosotros-description {
    font-size: 0.6rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: justify;
}

/* Nosotros Items Grid */
.nosotros-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: left;
    transition: var(--transition-smooth);
    border: none;
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    align-items: center;
}

.nosotros-item:hover {
    background: transparent;
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.nosotros-item-icon {
    width: 35px;
    height: 35px;
    background: var(--color-primary-orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    margin: 0;
    flex-shrink: 0;
    margin-top: 1px;
}

.nosotros-item-content {
    flex: 1;
}

.nosotros-item-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.15rem;
    line-height: 1;
    margin: 0 0 0.15rem 0;
}

.nosotros-item-text {
    font-size: 0.7rem;
    color: #888;
    margin: 0;
    line-height: 1.3;
}

/* Nosotros Card Right */
.nosotros-card {
    background: linear-gradient(135deg, #073549 0%, #0d4a63 100%);
    border-radius: 20px;
    padding: 2rem;
    color: #ffffff;
    box-shadow: 0 15px 50px rgba(7, 53, 73, 0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 127, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.nosotros-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-orange), var(--color-secondary-gold), transparent);
}

.nosotros-card-header {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nosotros-card-highlight-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    margin: 0 0 1.5rem 0 !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid rgba(255, 127, 0, 0.3);
}

.nosotros-list-highlight {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary-orange), var(--color-secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    flex-shrink: 0;
    white-space: nowrap;
}

.nosotros-highlight {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary-orange), var(--color-secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    flex-shrink: 0;
}

.nosotros-card-content {
    flex: 1;
}

.nosotros-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    margin: 0;
}

.nosotros-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nosotros-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    font-size: 0.75rem;
    line-height: 1.4;
    transition: var(--transition-smooth);
    padding-left: 0.5rem;
}

.nosotros-card-list li:hover {
    transform: translateX(4px);
}

.nosotros-card-list li:last-child {
    margin-bottom: 0;
}

.nosotros-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgba(255, 127, 0, 0.3), rgba(252, 191, 73, 0.2));
    border-radius: 50%;
    color: var(--color-primary-orange);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 127, 0, 0.4);
}

/* Responsive Nosotros */
@media (max-width: 992px) {
    .nosotros-section {
        padding: 3rem 0;
    }

    .nosotros-card {
        margin-top: 2rem;
    }

    .nosotros-title {
        font-size: clamp(1.3rem, 3vw, 2rem);
    }
}

@media (max-width: 768px) {
    .nosotros-section {
        padding: 1.5rem 0;
    }

    .nosotros-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .nosotros-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        text-align: justify;
    }

    .nosotros-item {
        gap: 0.6rem;
    }

    .nosotros-item-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .nosotros-item-title {
        font-size: 0.75rem;
    }

    .nosotros-item-text {
        font-size: 0.7rem;
    }

    .nosotros-card {
        padding: 1.2rem;
        margin-top: 1.5rem;
    }

    .nosotros-highlight {
        font-size: 2.2rem;
    }

    .nosotros-card-title {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .nosotros-card-list li {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        gap: 0.5rem;
    }
}

/* ===================================
   CONTACTO SECTION
   =================================== */

.contacto-section {
    background: #003049;
    padding: 2.5rem 0;
}

.contacto-content {
    margin-left: 150px;
    margin-right: 150px;
}

.badge-custom-contacto {
    display: inline-block;
    background-color: #ff7f00;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-text-contacto {
    color: #ffffff;
    font-weight: 600;
}

.contacto-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contacto-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Form Title */
.contacto-form-title {
    font-size: .9rem;
    font-weight: 500;
    color: black;
    line-height: 1.2;
}

/* Form Styles */
.contacto-form {
    background: white;
    padding: 1.2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.4rem;
}

.contacto-input {
    font-size: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    transition: var(--transition-smooth);
    background: #ffffff;
}

.contacto-input:focus {
    border-color: var(--color-primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
    background: #ffffff;
}

.contacto-input::placeholder {
    color: #aaa;
    font-size: 0.7rem;
}

.btn-contacto-submit {
    background: linear-gradient(135deg, var(--color-primary-orange), #ff9933);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius:99px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.8rem;
}

.btn-contacto-submit:hover {
    background: linear-gradient(135deg, #ff6b00, var(--color-primary-orange));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 127, 0, 0.4);
    color: #ffffff;
}

/* Info Section */
.contacto-info {
    border-radius: 16px;
    color: #ffffff;
}

.contacto-info-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.contacto-info-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contacto-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.contacto-item-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contacto-item-content {
    flex: 1;
}

.contacto-item-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary-orange);
    margin: 0 0 0.25rem 0;
}

.contacto-item-value {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contacto-item-subtext {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

/* Horario de Atención Card */
.contacto-horario {
    background: #1A3842;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    Border: 1px solid #4D6E80 
}

.contacto-horario-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.4rem 0;
}

.contacto-horario-text {
    font-size: 0.75rem;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.contacto-horario-subtext {
    font-size: 0.75rem;
    color: #ffffff;
    margin: 0;
}

/* Responsive Contacto */
@media (max-width: 992px) {
    .contacto-section {
        padding: 2rem 0;
    }

    .contacto-content {
        margin-left: 0;
        margin-right: 0;
    }

    .contacto-form {
        margin-bottom: 2rem;
    }
    

    .contacto-title {
        font-size: 1.3rem;
    }

    .contacto-subtitle {
        font-size: 0.75rem;
    }

    .contacto-form,
    .contacto-info {
        padding: 1rem;
    }

    .form-label {
        font-size: 0.65rem;
    }

    .contacto-input {
        font-size: 0.7rem;
        padding: 0.5rem 0.6rem;
    }

    .btn-contacto-submit {
        font-size: 0.75rem;
        padding: 0.55rem 1rem;
    }

    .contacto-info-title {
        font-size: 0.85rem;
    }

    .contacto-info-text {
        font-size: 0.7rem;
    }

    .contacto-item {
        gap: 0.55rem;
    }

    .contacto-item-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .contacto-item-label {
        font-size: 0.65rem;
    }

    .contacto-item-value {
        font-size: 0.7rem;
    }

    .contacto-horario {
        padding: 0.9rem;
    }

    .contacto-horario-title {
        font-size: 0.7rem;
    }

    .contacto-horario-text,
    .contacto-horario-subtext {
        font-size: 0.6rem;
    }

    .contacto-horario-text,
    .contacto-horario-subtext {
        font-size: 0.75rem;
    }
}

/* ===================================
   FOOTER SECTION
   =================================== */

.footer-section {
    background: #ffffff;
    color: var(--color-primary-dark);
    padding: 2rem 0 .8rem 0;
    border-top: 1px solid rgba(255, 127, 0, 0.2);
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 100px;
    margin-right: 100px;
}

.footer-logo .logo-image {
    height: 32px;
    width: auto;
    vertical-align: middle;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-primary-orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #ffffff;
    font-size: 1.1rem;
}

.footer-description {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
    margin-left: 100px;
    margin-right: 100px;
    max-width: 320px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-left: 100px;
    margin-right: 100px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 127, 0, 0.15);
    border: 1px solid rgba(255, 127, 0, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-orange);
    font-size: 1rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--color-primary-orange);
    color: #ffffff;
    border-color: var(--color-primary-orange);
    transform: translateY(-3px);
}

/* Footer Columns */
.footer-column {
    margin-bottom: 0.5rem;
}

.footer-column-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.4rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-primary-orange);
    transform: translateX(4px);
    display: inline-block;
}

/* Divider */
.footer-divider {
    border: none;
    border-top: 1px solid #4D6E80;
    margin: 2rem 0 1.5rem 0;
}

/* Bottom Row */
.footer-copyright {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    margin-left: 100px;
    margin-right: 100px;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    color: var(--color-primary-orange);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 2rem 0 1rem 0;
    }

    .footer-logo {
        font-size: 1.1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .footer-social {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-description {
        font-size: 0.8rem;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .footer-column-title {
        font-size: 0.95rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom-links {
        gap: 1rem;
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .footer-copyright {
        margin-bottom: 1rem;
        margin-left: 0;
        margin-right: 0;
    }
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */

.scroll-to-top-btn {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary-orange), #ff9933);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, #ff6b00, var(--color-primary-orange));
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 127, 0, 0.4);
}

.scroll-to-top-btn:active {
    transform: translateY(-2px);
}

.scroll-to-top-btn.show {
    bottom: 30px;
    animation: slideUpIn 0.3s ease;
}

@keyframes slideUpIn {
    from {
        bottom: -60px;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes slideUpOut {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: -60px;
        opacity: 0;
    }
}

.scroll-to-top-btn.hide {
    animation: slideUpOut 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        right: 20px;
    }

    .scroll-to-top-btn.show {
        bottom: 20px;
    }
}
/* ===================================
   ENHANCED ANIMATIONS & EFFECTS
   =================================== */

/* Pulse Animation para elementos */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 127, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 127, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 127, 0, 0);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Glow Animation */
@keyframes glow {
    0% {
        text-shadow: 0 0 5px rgba(255, 127, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 127, 0, 0.8),
                     0 0 30px rgba(255, 127, 0, 0.5);
    }
    100% {
        text-shadow: 0 0 5px rgba(255, 127, 0, 0.3);
    }
}

/* Shimmer Animation para textos */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Enhanced Card Hover Animation */
.card-service:hover {
    animation: float 0.6s ease-in-out;
    box-shadow: 0 20px 40px rgba(255, 127, 0, 0.2) !important;
}

/* Animated underline on hover */
.nav-link {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary-orange), #ff9933);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Badge Animation */
.badge-custom {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button Enhanced Hover */
.btn-cta {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::before {
    width: 300px;
    height: 300px;
}

/* Icon Spin Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.icon-animate:hover {
    animation: spin 0.8s linear;
}

/* Stats Counter Animation Enhancement */
/* Animación removida para evitar conflictos */

/* Form Input Animation */
.form-control:focus {
    border-color: var(--color-primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 127, 0, 0.25);
    animation: inputGlow 0.3s ease;
}

@keyframes inputGlow {
    from {
        box-shadow: 0 0 0 0 rgba(255, 127, 0, 0.5);
    }
    to {
        box-shadow: 0 0 0 0.2rem rgba(255, 127, 0, 0.25);
    }
}

/* Service Icon Bounce */
.service-icon {
    animation: iconBounce 0.8s ease-in-out;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(0);
    }
}

/* Section Title Animation */
.section-title {
    animation: titleSlide 0.6s ease-out;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   ADVANCED HOVER EFFECTS
   =================================== */

/* Efecto de card con perspectiva 3D */
.card-service {
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.card-service:hover {
    transform: translateY(-10px) rotateX(5deg);
}

/* Efecto en botones CTA mejorado */
.btn-cta {
    letter-spacing: 0.5px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 127, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-cta:hover {
    box-shadow: 0 12px 30px rgba(255, 127, 0, 0.4);
    letter-spacing: 1px;
    transform: translateY(-3px);
}

/* Efecto en inputs mejorado */
.form-control {
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--color-primary-orange);
    background-color: rgba(255, 127, 0, 0.02);
    box-shadow: 0 0 0 0.2rem rgba(255, 127, 0, 0.15);
}

/* Efecto en labels */
label {
    transition: color 0.3s ease;
    font-weight: 500;
    color: #333;
}

.form-control:focus ~ label,
.form-control:valid ~ label {
    color: var(--color-primary-orange);
}

/* ===================================
   TEXT EFFECTS & ANIMATIONS
   =================================== */

/* Gradient text animation */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-text {
    background: linear-gradient(
        90deg,
        var(--color-primary-orange),
        #ff9933,
        var(--color-primary-orange)
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Underline animation */
@keyframes underlineExpand {
    from {
        width: 0;
        left: 0;
    }
    to {
        width: 100%;
        left: 0;
    }
}

.underline-animate {
    position: relative;
    display: inline-block;
}

.underline-animate::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary-orange);
    transition: width 0.4s ease;
}

.underline-animate:hover::after {
    width: 100%;
}

/* ===================================
   ICON ANIMATIONS
   =================================== */

/* Icon Float */
@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.icon-float {
    animation: iconFloat 2s ease-in-out infinite;
}

/* Icon Rotate */
@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.icon-rotate:hover {
    animation: iconRotate 0.8s linear;
}

/* Icon Pulse */
@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

/* ===================================
   LOADING & PROGRESS ANIMATIONS
   =================================== */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   SCROLL TRIGGER ANIMATIONS
   =================================== */

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

/* Delay variations */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ===================================
   SKELETON LOADING
   =================================== */

@keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 80%);
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}