/* Reset y variables CSS */
:root {
    --bg-primary: #0D1D1B;
    --bg-secondary: #112826;
    --text-primary: #FFFFFF;
    --text-secondary: #A5BCB6;
    --accent-primary: #1CB68F;
    --accent-secondary: #0D8B6B;
    --border-color: #112826;
    --shadow: rgba(13, 29, 27, 0.3);
    --shadow-lg: rgba(13, 29, 27, 0.5);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    background-image: 
        linear-gradient(rgba(13, 29, 27, 0.4), rgba(13, 29, 27, 0.4)),
        url('Images/GREENFONT.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: visible;
        max-width: 100%;
    }
}


/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-logo-image {
        animation: none !important;
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    position: relative;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 639px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        overflow-x: visible;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
    line-height: 1;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #0D1D1B;
    border: 2px solid var(--accent-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(28, 182, 143, 0.6), 0 0 20px rgba(28, 182, 143, 0.3);
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(28, 182, 143, 0.5), 0 0 20px rgba(28, 182, 143, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Color y tamaño del icono de WhatsApp */
.btn-primary .btn-icon {
    fill: white !important;
    width: 1.75rem !important;
    height: 1.75rem !important;
}

/* Botones redondeados de WhatsApp */
.btn-whatsapp {
    border-radius: 25px;
    padding: 0.3rem 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    background-color: #25D366;
    border: 2px solid #25D366;
    color: white;
    transition: var(--transition);
    margin-left: 0.3rem;
    font-weight: 600;
    font-size: 0.5rem;
    white-space: nowrap;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp .btn-icon {
    width: 1rem !important;
    height: 1rem !important;
    fill: white !important;
    flex-shrink: 0;
}

/* Botón de diagnóstico - más visible con fondo sólido */
.btn-diagnostic {
    background-color: var(--accent-primary) !important;
    border: 2px solid var(--accent-primary) !important;
    color: white !important;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
    border-radius: 2rem;
}

.btn-diagnostic:hover {
    background-color: var(--accent-secondary) !important;
    border-color: var(--accent-secondary) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(28, 182, 143, 0.4), 0 0 20px rgba(28, 182, 143, 0.2);
}

/* Alinear botón de WhatsApp en el menú de navegación */
.nav-menu .btn-whatsapp {
    align-self: center;
    flex-shrink: 0;
    margin-top: -2px;
    margin-bottom: -2px;
    vertical-align: middle;
    line-height: 1;
}

/* Diseño del Encabezado - Estructura de 3 Zonas */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: transparent;
    transition: var(--transition);
    backdrop-filter: blur(0px);
    min-height: 64px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.navbar .container {
    padding: 0;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    border: none;
    border-bottom: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

@media (min-width: 1024px) {
    .navbar .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

.navbar.scrolled {
    background-color: rgba(17, 40, 38, 0.9);
    backdrop-filter: blur(10px);
}

.header-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0.5rem 1rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: none;
    border-bottom: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

@media (min-width: 1024px) {
    .header-layout {
        padding: 0.5rem 0;
        padding-left: 3rem;
    }
}

/* Sección del Logo - Zona Izquierda */
.header-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: auto;
    margin-left: 0;
    transform: none;
    position: relative;
}


@media (min-width: 1024px) {
    .header-logo {
        flex: 0 0 auto;
        justify-content: flex-start;
        margin-left: -3rem;
        transform: translateX(-2rem);
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    margin-left: 0;
    transform: none;
    cursor: pointer;
    border-radius: 0.5rem;
    padding: 0.25rem;
    max-width: 100%;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .logo {
        margin-left: -2rem;
        transform: translateX(-1.5rem);
    }
}

.logo:hover {
    transform: translateY(-1px);
    background-color: rgba(28, 182, 143, 0.1);
    box-shadow: 0 2px 8px rgba(28, 182, 143, 0.2);
}

@media (min-width: 1024px) {
    .logo:hover {
        transform: translateY(-1px) translateX(-1.5rem);
    }
}

.logo:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    background-color: rgba(28, 182, 143, 0.1);
}

.logo-badge {
    width: 2rem;
    height: 2rem;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--text-primary);
}

/* Menú de Navegación - Zona Central */
.header-nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
    border-radius: 0.25rem;
}

.nav-link:hover {
    color: var(--accent-primary);
    background-color: rgba(28, 182, 143, 0.1);
    transform: translateY(-1px);
}

/* Sección CTA - Zona Derecha */
.header-cta {
    flex: 0 0 auto;
    margin-left: auto;
}

.btn-whatsapp {
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #25D366;
    border: 2px solid #25D366;
    color: white;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    text-decoration: none;
}

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

.btn-whatsapp .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* Toggle del Menú Móvil */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: var(--transition);
    z-index: 1001;
    position: relative;
}

.mobile-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 1.5rem;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
    border-radius: 1px;
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Superposición del Menú Móvil */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 29, 27, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    height: 100%;
    overflow-y: auto;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.25rem;
    transition: var(--transition);
    padding: 1rem 2rem;
    white-space: nowrap;
    border-radius: 0.5rem;
    text-align: center;
    min-width: 200px;
}

.mobile-nav-link:hover {
    color: var(--accent-primary);
    background-color: rgba(28, 182, 143, 0.1);
    transform: translateY(-2px);
}

.mobile-cta {
    border-radius: 2rem;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #25D366;
    border: 2px solid #25D366;
    color: white;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    text-decoration: none;
    margin-top: 1rem;
}

.mobile-cta:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Diseño Responsive */

/* Escritorio Grande (≥ 1200px) */
@media (min-width: 1200px) {
    .header-layout {
        min-height: 72px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .btn-whatsapp {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
    
    .header-nav {
        gap: 2rem;
    }
}

/* Escritorio (≥ 1024px) */
@media (min-width: 1024px) {
    .header-nav {
        display: flex;
    }
    
    .header-cta {
        display: block;
    }
    
    .mobile-toggle {
        display: none;
    }
    
    .mobile-menu,
    .mobile-menu.active {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Tablet y Móvil (< 1024px) */
@media (max-width: 1023px) {
    .header-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex !important;
        flex: 0 0 auto;
        width: 2.5rem;
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: flex !important;
    }
    
    .header-layout {
        justify-content: center;
        padding: 0.5rem 1rem;
        padding-right: 3.5rem;
        position: relative;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .header-logo {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        max-width: calc(100% - 4rem);
        width: auto;
    }
    
    .logo {
        margin-left: 0;
        transform: none;
    }
}

/* Móvil (< 768px) */
@media (max-width: 768px) {
    .header-layout {
        min-height: 60px;
        padding: 0.25rem 0.75rem;
        padding-right: 3rem;
        justify-content: center;
        position: relative;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .header-logo {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        max-width: calc(100% - 3.5rem);
        width: auto;
    }
    
    .logo {
        margin-left: 0;
        transform: none;
    }
    
    .mobile-toggle {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-badge {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }
    
    .mobile-menu-content {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .mobile-nav-link {
        font-size: 1.125rem;
        padding: 0.875rem 1.5rem;
        min-width: 180px;
    }
    
    .mobile-cta {
        font-size: 0.875rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Sección Hero */
.hero {
    padding: 6rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(28, 182, 143, 0.05) 100%);
    width: 100%;
    max-width: 100vw;
    overflow-x: visible;
    box-sizing: border-box;
}

.hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 0 0.5rem;
    box-sizing: border-box;
    overflow-x: visible;
}

@media (max-width: 1023px) {
    .hero .container {
        padding: 0 1rem;
        overflow-x: visible;
    }
}

@media (max-width: 768px) {
    .hero .container {
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
        overflow-x: visible;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    justify-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    transform: translateX(-7rem);
}

@media (max-width: 1023px) {
    .hero-content {
        transform: none;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        justify-items: center;
        margin: 0 auto;
        transform: none;
        width: 100%;
        padding: 0;
        overflow-x: visible;
        box-sizing: border-box;
    }
    
    .hero-logo {
        justify-content: center;
    }
    
    .hero-text {
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        justify-content: center;
    }
}


.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

@media (max-width: 768px) {
    .hero-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    border-radius: 1rem;
    padding: 0.5rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-logo-link {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: fit-content;
        max-width: 100%;
    }
}

.hero-logo-link:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(28, 182, 143, 0.3);
    background-color: rgba(28, 182, 143, 0.1);
}

.hero-logo-link:hover .hero-logo-image {
    animation: wiggle 0.5s ease-in-out infinite;
}

.hero-logo-link:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
    background-color: rgba(28, 182, 143, 0.1);
}

.hero-logo-image {
    max-width: 100%;
    height: auto;
    width: auto;
    max-height: 3000px;
    min-height: 300px;
    object-fit: contain;
    animation: wiggle 3s ease-in-out infinite;
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-logo-image {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        width: auto;
        height: auto;
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(2deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-2deg);
    }
}


.hero-text {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-text {
        text-align: center;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: var(--transition);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}


/* Estilos de las líneas de texto del Hero */
.hero-line-1 {
    color: var(--text-primary);
    font-size: 1em;
    font-weight: 600;
    white-space: nowrap;
}

.hero-line-2 {
    color: var(--accent-primary);
    font-size: 1.1em;
    font-weight: 700;
    white-space: nowrap;
}

.hero-line-3 {
    color: var(--text-primary);
    font-size: 1em;
    font-weight: 600;
    white-space: nowrap;
}

/* Ajustes móviles para diseño horizontal */
@media (max-width: 639px) {
    .hero-title {
        font-size: 2rem;
        gap: 0.25rem;
        flex-wrap: wrap;
    }
    
    .hero-line-1, .hero-line-3 {
        font-size: 0.9em;
    }
    
    .hero-line-2 {
        font-size: 1em;
    }
    
    .hero-logo-image {
        max-width: 350px;
        min-height: 250px;
    }
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
        gap: 0.75rem;
    }
    
    .hero-line-1, .hero-line-3 {
        font-size: 1.1em;
    }
    
    .hero-line-2 {
        font-size: 1.3em;
    }
    
    .hero-logo-image {
        max-width: 500px;
        min-height: 300px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
        gap: 1rem;
    }
    
    .hero-line-1, .hero-line-3 {
        font-size: 1.2em;
    }
    
    .hero-line-2 {
        font-size: 1.4em;
    }
    
    .btn-diagnostic {
        font-size: 1.5rem;
        padding: 1.5rem 3rem;
    }
    
    .hero-logo-image {
        min-height: 400px;
        max-width: 600px;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    max-width: 3xl;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.bullet {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.bullet-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .hero-cta {
        justify-content: center;
    }
}

.hero-trust {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Estilos de Sección */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.section-title:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.5rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    max-width: 3xl;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Sección de Servicios */
.services {
    padding: 5rem 0;
    background-color: rgba(17, 40, 38, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        gap: 3rem;
    }
}

.service-card {
    background-color: rgba(17, 40, 38, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px var(--shadow-lg),
        0 0 0 4px rgba(28, 182, 143, 0.3),
        0 0 20px rgba(28, 182, 143, 0.4),
        0 0 40px rgba(28, 182, 143, 0.2);
    border-color: var(--accent-primary);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
    text-align: left;
    width: 100%;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.btn-service {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    width: auto;
    margin-top: auto;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(28, 182, 143, 0.5), 0 0 20px rgba(28, 182, 143, 0.2);
}

/* Sección de Casos */
.cases {
    padding: 5rem 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-card {
    background-color: rgba(17, 40, 38, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow-lg);
    border-color: var(--accent-primary);
}

.case-result {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.case-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sección de Clientes */
.clients {
    padding: 5rem 0;
    background-color: rgba(17, 40, 38, 0.3);
}

.clients-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.client-card {
    background-color: rgba(17, 40, 38, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(28, 182, 143, 0.2);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(28, 182, 143, 0.3);
    border-color: rgba(28, 182, 143, 0.4);
}

.client-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: rgba(28, 182, 143, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.client-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent-primary);
}

.client-card:hover .client-icon {
    background-color: rgba(28, 182, 143, 0.2);
    transform: scale(1.1);
}

.client-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.client-address {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

/* Sección de Tecnología */
.technology {
    padding: 5rem 0;
    background-color: rgba(17, 40, 38, 0.6);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.tech-item {
    text-align: center;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: var(--transition);
}

.tech-item:hover {
    background-color: rgba(28, 182, 143, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(28, 182, 143, 0.3);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.tech-name {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Enlaces de Tecnología */
.tech-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.tech-link:hover {
    transform: translateY(-2px);
}

.tech-link:hover .tech-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(28, 182, 143, 0.4));
}

.tech-link:hover .tech-name {
    color: var(--accent-primary);
}

/* Sección de Precios */
.pricing {
    padding: 5rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-grid-single {
    display: flex;
    justify-content: center;
    grid-template-columns: 1fr !important;
    max-width: 500px;
    margin: 3rem auto 0;
}

.pricing-card-main {
    border: 2px solid var(--accent-primary);
    transform: none;
}

.pricing-card-main:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px var(--shadow-lg),
        0 0 0 4px rgba(28, 182, 143, 0.3),
        0 0 20px rgba(28, 182, 143, 0.4),
        0 0 40px rgba(28, 182, 143, 0.2);
}

.pricing-card {
    background-color: rgba(17, 40, 38, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.pricing-card-popular {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(21, 194, 107, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.pricing-features .check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* Sección Por Qué Elegirnos */
.why-choose {
    padding: 5rem 0;
    background-color: rgba(17, 40, 38, 0.5);
    position: relative;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(28, 182, 143, 0.05) 0%, rgba(13, 29, 27, 0.1) 100%);
    pointer-events: none;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.why-choose-text {
    z-index: 2;
    position: relative;
}

.why-choose-description,
.why-choose-details,
.why-choose-commitment {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.why-choose-description {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

.why-choose-commitment {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.why-choose-commitment strong {
    color: var(--accent-primary);
    font-weight: 700;
}

.why-choose-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.medical-icons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.medical-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(17, 40, 38, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    transition: var(--transition);
}

.medical-icon:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(28, 182, 143, 0.2);
}

.medical-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.medical-icon span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .medical-icons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .medical-icon {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .medical-icon:hover {
        transform: translateY(-5px);
    }
}

/* Sección Acerca de */
.about {
    padding: 5rem 0;
    background-color: rgba(17, 40, 38, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .about-values {
        flex-direction: row;
        gap: 2rem;
    }
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.value-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.value-text {
    font-weight: 600;
    color: var(--text-primary);
}

.about-image {
    display: flex;
    justify-content: center;
}

.team-card {
    background: linear-gradient(135deg, rgba(21, 194, 107, 0.1), rgba(0, 191, 165, 0.1));
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 20rem;
}

.team-icon {
    width: 4rem;
    height: 4rem;
    color: var(--accent-primary);
    margin: 0 auto 1rem;
}

.team-icon svg {
    width: 100%;
    height: 100%;
}

.team-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-description {
    color: var(--text-secondary);
}

/* Sección de Preguntas Frecuentes */
.faq {
    padding: 5rem 0;
    background-color: rgba(17, 40, 38, 0.3);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(17, 40, 38, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(28, 182, 143, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(28, 182, 143, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    text-align: left;
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(17, 40, 38, 0.9);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sección CTA Final */
.final-cta {
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 4xl;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.cta-title:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3.5rem;
    }
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

/* Pie de Página */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-content {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-item span,
.contact-item a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-primary);
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-newsletter {
    text-align: center;
    padding: 2rem 1rem;
    background-color: rgba(17, 40, 38, 0.3);
    border-radius: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.newsletter-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.newsletter-subtitle {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.footer-copyright p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
}

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

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 1rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 28rem;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

.modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    padding-right: 3rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
    width: 100%;
}

.form-group textarea {
    padding-right: 3rem;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(28, 182, 143, 0.1);
}

.form-group input.error,
.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231CB68F'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 4rem;
}

.input-wrapper select ~ .validation-icon {
    right: 2.5rem;
}

.form-group select option {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.5rem;
}

.form-group textarea {
    min-height: 4rem;
}

/* Iconos de validación */
.validation-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    flex-shrink: 0;
}

.input-wrapper textarea ~ .validation-icon {
    top: 1rem;
    transform: translateY(0);
}

.validation-icon.valid {
    opacity: 1;
    background-color: #10b981;
    color: white;
}

.validation-icon.invalid {
    opacity: 1;
    background-color: #ef4444;
    color: white;
}

.validation-icon svg {
    width: 0.875rem;
    height: 0.875rem;
    stroke-width: 3;
}

.form-actions {
    display: flex;
    gap: 1rem;
}

.form-actions .btn {
    flex: 1;
}

/* Estilos de Modal de Servicio */
.service-modal {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Modal de Éxito */
.success-modal-content {
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce 0.6s ease-out 0.2s both;
}

.success-icon svg {
    width: 3rem;
    height: 3rem;
    color: white;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.success-message {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

.success-modal-content .btn {
    margin-top: 0.5rem;
    animation: fadeInUp 0.5s ease-out 0.5s both;
}

@keyframes modalSlideIn {
    0% {
        transform: scale(0.7) translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes iconBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-body {
    padding: 0;
}

.service-description,
.service-characteristics,
.service-benefits {
    margin-bottom: 2rem;
}

.service-description h4,
.service-characteristics h4,
.service-benefits h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 0.5rem;
}

.service-description p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-characteristics ul,
.service-benefits ul {
    list-style: none;
    padding: 0;
}

.service-characteristics li,
.service-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}

.service-characteristics li::before {
    content: '';
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231CB68F'%3E%3Cpath d='M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.service-benefits li::before {
    content: '';
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231CB68F'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Clases Utilitarias */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

/* Estilos de foco para accesibilidad */
.btn:focus,
.nav-link:focus,
.modal-close:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Soporte para modo de alto contraste */
@media (prefers-contrast: high) {
    :root {
        --text-secondary: #ffffff;
        --border-color: #ffffff;
    }
}

/* Reglas generales para evitar desbordes en móviles - solo contenedores */
@media (max-width: 768px) {
    /* Solo prevenir desbordes horizontales en contenedores principales */
    .footer,
    section {
        overflow-x: hidden;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .footer-content,
    .footer-main,
    .section-header,
    .cta-content {
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Hero sin overflow hidden para que el texto no se corte */
    .hero {
        overflow-x: visible !important;
    }
    
    .hero .container {
        overflow-x: visible !important;
    }
    
    .hero-content {
        overflow-x: visible !important;
    }
}


/* Sincronizado con FTP */
