/* Variables y reset */
:root {
    --color-primary: #FF6A00;
    --color-primary-dark: #cc5500;
    --color-dark: #000000;
    --color-dark-light: #111111;
    --color-text: #ffffff;
    --color-text-secondary: #aaaaaa;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    opacity: 0;
    transition: all 0.8s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: var(--color-text);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 106, 0, 0.3);
}

/* Header y navegación - solo con animación de hormigas */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    overflow: hidden;
}

header.sticky {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para destacar la navegación */
    padding: 10px 15px;
    border-radius: 5px;
}

/* Fondo para el header */
.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(20,10,0,0.8) 100%);
}

/* Efectos luminosos para el header */
.header-light {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(255, 106, 0, 0.3) 10%, 
        rgba(255, 106, 0, 0.5) 20%,
        rgba(255, 106, 0, 0.7) 30%,
        rgba(255, 106, 0, 0.5) 40%,
        rgba(255, 106, 0, 0.3) 50%,
        rgba(255, 106, 0, 0.5) 60%,
        rgba(255, 106, 0, 0.7) 70%,
        rgba(255, 106, 0, 0.5) 80%,
        rgba(255, 106, 0, 0.3) 90%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.4);
    animation: trailPulse 3s infinite;
}

/* Destellos para el header */
.header-flare {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FF6A00;
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px 2px rgba(255, 106, 0, 0.8);
    animation: headerFlare 2s infinite alternate;
}

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

/* Estilos de hormigas robóticas */
.robotic-ant {
    position: absolute;
    width: 60px;
    height: 30px;
    z-index: 1;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.robotic-ant:hover {
    transform: scale(1.2);
    z-index: 100;
    filter: drop-shadow(0 0 5px var(--color-primary));
}

/* Posiciones y animaciones específicas para cada hormiga */
.ant1 {
    top: 10px;
    animation: walkAcrossScreen1 15s linear infinite;
}

.ant2 {
    top: 25px;
    animation: walkAcrossScreen2 20s linear infinite;
}

.ant3 {
    top: 8px;
    animation: walkAcrossScreen3 18s linear infinite;
}

.ant4 {
    top: 35px;
    animation: walkAcrossScreen4 22s linear infinite;
    transform: scale(0.85);
}

.ant5 {
    top: 15px;
    animation: walkAcrossScreen5 17s linear infinite;
    transform: scale(0.9);
}

/* Cabeza de la hormiga */
.ant-head {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-primary);
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px 8px 2px 2px;
    top: 0;
    left: 0;
    transform: rotate(-15deg);
    overflow: visible;
}

/* Ojos de la hormiga */
.ant-eye {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: pulseEye 2s infinite;
}

.ant-eye.left {
    top: 4px;
    left: 3px;
}

.ant-eye.right {
    top: 4px;
    right: 3px;
}

/* Antenas */
.ant-antenna {
    position: absolute;
    width: 8px;
    height: 2px;
    background-color: var(--color-primary);
    top: -4px;
    animation: moveAntenna 3s infinite;
    transition: all 0.3s ease;
}

.robotic-ant:hover .ant-antenna {
    background-color: #ff8c00;
    animation: moveAntennaFast 1s infinite;
    height: 3px;
    box-shadow: 0 0 5px var(--color-primary);
}

.ant-antenna.left {
    left: 3px;
    transform-origin: bottom left;
}

.ant-antenna.right {
    right: 3px;
    transform-origin: bottom right;
}

/* Cuerpo de la hormiga */
.ant-body {
    position: absolute;
    left: 12px;
    top: 5px;
    display: flex;
}

.ant-segment {
    width: 15px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    margin-right: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.robotic-ant:hover .ant-segment {
    border-color: #ff8c00;
    background-color: rgba(20, 20, 20, 0.9);
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.7);
}

.ant-segment::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 50%;
    top: 4px;
    left: 5px;
    animation: pulseEye 1.5s infinite;
}

/* Patas de la hormiga */
.ant-legs {
    position: absolute;
    width: 40px;
    height: 25px;
    top: 5px;
    left: 5px;
}

.leg {
    position: absolute;
    width: 12px;
    height: 1px;
    background-color: var(--color-primary);
    transform-origin: left center;
    transition: all 0.3s ease;
}

.robotic-ant:hover .leg {
    background-color: #ff8c00;
    height: 2px;
    animation-duration: 0.5s !important;
    box-shadow: 0 0 4px rgba(255, 106, 0, 0.8);
}

/* Posiciones de las patas */
.leg1 {
    top: 5px;
    left: 8px;
    transform: rotate(-30deg);
    animation: moveLeg 0.5s infinite;
}

.leg2 {
    top: 10px;
    left: 20px;
    transform: rotate(-10deg);
    animation: moveLeg 0.5s infinite 0.1s;
}

.leg3 {
    top: 15px;
    left: 32px;
    transform: rotate(10deg);
    animation: moveLeg 0.5s infinite 0.2s;
}

.leg4 {
    top: 5px;
    left: 8px;
    transform: rotate(30deg);
    animation: moveLeg 0.5s infinite 0.15s;
}

.leg5 {
    top: 10px;
    left: 20px;
    transform: rotate(10deg);
    animation: moveLeg 0.5s infinite 0.25s;
}

.leg6 {
    top: 15px;
    left: 32px;
    transform: rotate(-10deg);
    animation: moveLeg 0.5s infinite 0.3s;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo span {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark);
}

/* Contenedor de hormigas robóticas en el hero */
.robo-ants-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.robo-ants-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    filter: url(#glow);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--color-text-secondary);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 1.1s;
}

/* Servicios */
.services {
    background-color: var(--color-dark-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.8s ease;
    opacity: 0;
}

.service-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.service-card:hover {
    background-color: rgba(255, 106, 0, 0.1);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Proceso */
.process {
    background-color: var(--color-dark-light);
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--color-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even).visible {
    transform: translateX(0);
}

.timeline-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    right: -40px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -40px;
}

.timeline-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* Contacto */
.contact {
    background-color: var(--color-dark-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    opacity: 0;
    transition: all 0.8s ease;
}

.form-group.visible {
    opacity: 1;
    transform: translateX(0);
}

.form-input {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-main);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

.submit-btn {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: all 0.8s ease;
}

.submit-btn.visible {
    opacity: 1;
    transform: translateX(0);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

/* Footer */
footer {
    background-color: var(--color-dark);
    padding: 50px 0 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    margin: 0 10px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-5px);
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.copyright {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animaciones de hormigas robóticas */
@keyframes walkAcrossScreen1 {
    0% {
        transform: translateX(-100px) rotate(5deg);
    }
    30% {
        transform: translateX(30%) rotate(-2deg);
    }
    60% {
        transform: translateX(65%) rotate(3deg);
    }
    100% {
        transform: translateX(calc(100% + 100px)) rotate(-5deg);
    }
}

@keyframes walkAcrossScreen2 {
    0% {
        transform: translateX(-100px) rotate(-3deg);
    }
    40% {
        transform: translateX(45%) rotate(4deg);
    }
    70% {
        transform: translateX(75%) rotate(-2deg);
    }
    100% {
        transform: translateX(calc(100% + 100px)) rotate(3deg);
    }
}

@keyframes walkAcrossScreen3 {
    0% {
        transform: translateX(calc(100% + 100px)) rotate(5deg);
    }
    30% {
        transform: translateX(70%) rotate(-3deg);
    }
    70% {
        transform: translateX(30%) rotate(4deg);
    }
    100% {
        transform: translateX(-100px) rotate(-4deg);
    }
}

@keyframes walkAcrossScreen4 {
    0% {
        transform: translateX(-100px) scale(0.85) rotate(-2deg);
    }
    30% {
        transform: translateX(30%) scale(0.85) rotate(3deg);
    }
    70% {
        transform: translateX(70%) scale(0.85) rotate(-4deg);
    }
    100% {
        transform: translateX(calc(100% + 100px)) scale(0.85) rotate(2deg);
    }
}

@keyframes walkAcrossScreen5 {
    0% {
        transform: translateX(calc(50% - 30px)) scale(0.9) rotate(0deg);
    }
    25% {
        transform: translateX(calc(75% - 30px)) scale(0.9) rotate(3deg);
    }
    50% {
        transform: translateX(calc(100% + 100px)) scale(0.9) rotate(0deg);
    }
    51% {
        transform: translateX(-100px) scale(0.9) rotate(0deg);
    }
    75% {
        transform: translateX(calc(25% - 30px)) scale(0.9) rotate(-3deg);
    }
    100% {
        transform: translateX(calc(50% - 30px)) scale(0.9) rotate(0deg);
    }
}

@keyframes moveLeg {
    0%, 100% { 
        transform: rotate(0deg); 
    }
    50% { 
        transform: rotate(30deg); 
    }
}

@keyframes moveAntenna {
    0%, 100% { 
        transform: rotate(0deg); 
    }
    25% { 
        transform: rotate(-15deg); 
    }
    75% { 
        transform: rotate(15deg); 
    }
}

@keyframes pulseEye {
    0%, 100% {
        box-shadow: 0 0 2px 1px var(--color-primary);
    }
    50% {
        box-shadow: 0 0 8px 2px var(--color-primary);
    }
}

@keyframes moveAntennaFast {
    0% { 
        transform: rotate(-20deg); 
    }
    25% { 
        transform: rotate(20deg); 
    }
    50% { 
        transform: rotate(-10deg); 
    }
    75% { 
        transform: rotate(10deg); 
    }
    100% { 
        transform: rotate(-20deg); 
    }
}

@keyframes trailPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Clases para efectos de desplazamiento */
.slide-hidden {
    opacity: 0;
}

.slide-from-left {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: -5px 0 15px rgba(255, 106, 0, 0);
}

.slide-from-left.visible {
    box-shadow: -5px 0 15px rgba(255, 106, 0, 0.2);
}

.slide-from-right {
    transform: translateX(100px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 5px 0 15px rgba(255, 106, 0, 0);
}

.slide-from-right.visible {
    box-shadow: 5px 0 15px rgba(255, 106, 0, 0.2);
}

.slide-visible {
    transform: translateX(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .slide-from-left, .slide-from-right {
        transform: translateX(0);
        transform: translateY(50px);
    }
    
    .slide-from-left.visible, .slide-from-right.visible {
        transform: translateY(0);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }
    
    /* Ajustes de hormigas robóticas para móviles */
    .robotic-ant {
        width: 40px;
        height: 20px;
        transform-origin: center;
        transform: scale(0.7);
    }
    
    .ant1 {
        top: 5px;
    }
    
    .ant2 {
        top: 18px;
    }
    
    .ant3 {
        top: 3px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--color-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-content::after {
        left: -40px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-content::after {
        left: -40px;
    }
    
    /* Mejoras adicionales para móviles */
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline-item::before {
        left: 15px;
    }
    
    .timeline-content {
        margin-left: 40px;
    }
}

/* Mejoras para tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Optimizaciones de rendimiento y accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modo oscuro adicional para mejor contraste */
@media (prefers-color-scheme: dark) {
    :root {
        --color-text-secondary: #cccccc;
    }
}

/* ==========================================
   ESTILOS PARA SECCIONES NUEVAS DE ABOUT
   ========================================== */

/* Títulos de subsección */
.subsection-title {
    font-size: 2rem;
    text-align: center;
    margin: 60px 0 40px;
    color: var(--color-text);
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
}

/* Sección Metodología */
.methodology-section {
    margin: 80px 0;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.method-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 15px;
    border: 1px solid rgba(255, 106, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 106, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.3);
}

.method-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
    display: block;
}

.method-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.method-item p {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Sección Tecnologías */
.tech-section {
    margin: 80px 0;
    padding: 50px 30px;
    background: rgba(15, 15, 15, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(255, 106, 0, 0.1);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.tech-category h4 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-category h4 i {
    font-size: 1.3rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    background: rgba(255, 106, 0, 0.1);
    color: var(--color-text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 106, 0, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 106, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
}

/* Sección Garantías */
.guarantees-section {
    margin: 80px 0;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.guarantee-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(25, 25, 25, 0.9);
    border-radius: 15px;
    border: 2px solid rgba(255, 106, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.guarantee-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 106, 0, 0.2);
}

.guarantee-item i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
}

.guarantee-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.guarantee-item p {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Sección Testimonios */
.testimonials-brief {
    margin: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(30, 30, 30, 0.9);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.2);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsivo para nuevas secciones */
@media (max-width: 768px) {
    .methodology-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-section {
        padding: 30px 20px;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .method-number {
        font-size: 2.5rem;
    }
}

/* Mejoras para impresión */
@media print {
    .header-bg,
    .orange-lights-container,
    .hamburger {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
