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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0d1117 0%, #1a1f2e 50%, #0d1117 100%);
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(79, 140, 201, 0.3);
    border-bottom: 1px solid rgba(167, 209, 255, 0.2);
    transition: transform 0.4s ease-in-out, background 0.3s ease;
}

.header-hidden {
    transform: translateY(-100%);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #ffffff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    gap: 6px;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #c0c0c0;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #ffffff;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1117 0%, #1a1f2e 50%, #2d3748 100%);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(167, 209, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(196, 181, 253, 0.1) 0%, transparent 50%);
    animation: pulse-lunar 8s ease-in-out infinite;
}

@keyframes pulse-lunar {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 100;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 20px rgba(255,255,255,0.1);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: #a0a0a0;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.cta-button {
    display: inline-flex;
    padding: 1rem 3rem;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #ffffff;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-weight: 300;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #ffffff;
    color: #0a0a0a;
    box-shadow: 0 0 30px rgba(255,255,255,0.3);
}

.forge-animation {
    width: 120px;
    height: 120px;
    margin-top: 10px;
    opacity: 0.9;
}

.anvil-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hammer-group {
    transform-origin: 50px 40px;
    animation: hammer-hit 1.2s infinite ease-in-out;
}

.spark {
    opacity: 0;
    animation: spark-fly 1.2s infinite ease-out;
}

.spark-2 {
    animation-delay: 0.1s;
}

@keyframes hammer-hit {
    0% { transform: rotate(0deg); }
    35% { transform: rotate(-45deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

@keyframes spark-fly {
    0%, 45% { opacity: 0; transform: translate(0, 0); }
    50% { opacity: 1; }
    80% { opacity: 0; transform: translate(-15px, -10px); }
    100% { opacity: 0; }
}

section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    font-weight: 100;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    text-align: center;
    color: #ffffff;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@keyframes goldPulse {
    0% { box-shadow: 0 0 5px rgba(167, 209, 255, 0.2); }
    50% { box-shadow: 0 0 20px rgba(167, 209, 255, 0.5), 0 0 10px rgba(124, 156, 191, 0.3); }
    100% { box-shadow: 0 0 5px rgba(167, 209, 255, 0.2); }
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-5px); }
}

.servicio-card {
    background: linear-gradient(135deg, #1a1a1a, #222);
    padding: 2rem;
    border: 1px solid #a7d1ff;
    transition: all 0.4s ease;
    animation: goldPulse 3s infinite;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.servicio-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: #a7d1ff;
    transition: all 0.3s ease;
}

.servicio-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(167, 209, 255, 0.3));
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(167, 209, 255, 0.6));
}

.servicio-card:hover .servicio-icon svg {
    animation: icon-bounce 0.6s ease;
}

.servicio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 30px rgba(167, 209, 255, 0.6);
    background: #252525;
}

.servicio-card h3 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #a7d1ff;
}

.servicio-card p {
    color: #c0c0c0;
    font-weight: 300;
    line-height: 1.8;
}

.sobre-nosotros-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sobre-nosotros-content p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 2;
    color: #c0c0c0;
    margin-bottom: 1.5rem;
}

.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contacto-info {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    border: 1px solid #404040;
}

.expert-profile {
    border-bottom: 1px solid #404040;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.expert-badge {
    display: inline-block;
    background: #a7d1ff;
    color: #000;
    padding: 0.2rem 0.8rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(167, 209, 255, 0.4);
}

.expert-profile h3 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: #fff;
    letter-spacing: 1px;
}

.expert-title {
    color: #a0a0a0;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: bold;
}

.expert-desc {
    color: #c0c0c0;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    border-left: 3px solid #a7d1ff;
    padding-left: 1rem;
}

.contacto-info h3 {
    color: #a7d1ff;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.info-item strong {
    color: #a7d1ff;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.info-item span {
    color: #c0c0c0;
    font-size: 1rem;
    line-height: 1.6;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(167, 209, 255, 0.1);
    border: 1px solid #a7d1ff;
    color: #a7d1ff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-maps:hover {
    background: #a7d1ff;
    color: #0d1117;
}

.contacto-botones {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    border: 1px solid #404040;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-botones h3 {
    color: #a7d1ff;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.contacto-descripcion {
    color: #c0c0c0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-whatsapp,
.btn-llamar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-llamar {
    background: linear-gradient(135deg, #4f8cc9, #6ba3d8);
    color: #ffffff;
}

.btn-llamar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 140, 201, 0.4);
}

.contact-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #404040;
}

.contact-logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 10px rgba(167, 209, 255, 0.3));
}

.slogan {
    color: #a7d1ff;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-align: center;
    font-style: italic;
}

footer {
    background: #0a0a0a;
    padding: 2rem;
    text-align: center;
    color: #808080;
    border-top: 1px solid #404040;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    animation: float-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    color: #ffffff;
}

@keyframes float-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.estadisticas-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 4rem 2rem;
    margin: 0;
    border-top: 1px solid #a7d1ff;
    border-bottom: 1px solid #a7d1ff;
}

.estadisticas-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(167, 209, 255, 0.5));
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 100;
    color: #a7d1ff;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #c0c0c0;
    letter-spacing: 2px;
    font-weight: 300;
}

/* SECCIÓN PROCESO DE TRABAJO */
.proceso-section {
    background: #0a0a0a;
    padding: 6rem 2rem;
}

.proceso-subtitle {
    text-align: center;
    color: #a0a0a0;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: -2rem;
    margin-bottom: 4rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #a7d1ff, transparent);
    z-index: 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 2px solid #a7d1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(167, 209, 255, 0.3);
}

.timeline-content {
    flex: 1;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    border: 1px solid #404040;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #a7d1ff;
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(167, 209, 255, 0.2);
}

.timeline-item:nth-child(even) .timeline-content:hover {
    transform: translateX(-10px);
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #a7d1ff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #c0c0c0;
    font-weight: 300;
    line-height: 1.8;
}

/* BOTÓN FLOTANTE DE WHATSAPP */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid #a7d1ff;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

.destacado-section {
    margin: 4rem 0;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-align: center;
    color: #a7d1ff;
    margin-bottom: 3rem;
}

.categorias-grid-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.categoria-btn {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 1px solid #a7d1ff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

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

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

.categoria-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(79, 140, 201, 0.5);
    background: linear-gradient(135deg, #2d2d2d, #3a3a3a);
}

.categoria-btn-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.categoria-btn h4 {
    color: #a7d1ff;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.categoria-btn p {
    color: #c0c0c0;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.ver-galeria {
    color: #a7d1ff;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.categoria-btn:hover .ver-galeria {
    transform: translateX(5px);
}

.galeria-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.galeria-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.galeria-modal-content {
    background: linear-gradient(135deg, #1a1f2e, #2d3748);
    border: 2px solid rgba(167, 209, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(79, 140, 201, 0.5);
}

.galeria-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(167, 209, 255, 0.2);
    border: 1px solid #a7d1ff;
    color: #a7d1ff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10001;
}

.galeria-modal-close:hover {
    background: #a7d1ff;
    color: #0d1117;
    transform: rotate(90deg);
}

.galeria-modal-content h3 {
    color: #a7d1ff;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    text-align: center;
}

.galeria-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.galeria-modal-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(167, 209, 255, 0.2);
    transition: all 0.3s ease;
}

.galeria-modal-item:hover {
    border-color: #a7d1ff;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(79, 140, 201, 0.4);
}

.galeria-modal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-radius: 4px;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 20001;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    height: 650px;
    margin: 0 auto;
    perspective: 1200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    width: 500px;
    height: 600px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #000;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #404040;
    opacity: 0; 
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.carousel-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    justify-content: center;
}

.carousel-item.active:hover .overlay {
    opacity: 1;
}

.carousel-item .overlay span {
    color: #fff;
    border: 1px solid #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.carousel-item.active {
    opacity: 1;
    z-index: 10;
    transform: translateX(0) scale(1);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
    border-color: #a0a0a0;
}

.carousel-item.prev {
    opacity: 0.8;
    z-index: 5;
    transform: translateX(-90%) scale(0.85) rotateY(15deg);
    filter: brightness(0.6);
}

.carousel-item.next {
    opacity: 0.8;
    z-index: 5;
    transform: translateX(90%) scale(0.85) rotateY(-15deg);
    filter: brightness(0.6);
}

.carousel-item.hide-left {
    transform: translateX(-200%) scale(0.7);
    opacity: 0;
    z-index: 1;
}

.carousel-item.hide-right {
    transform: translateX(200%) scale(0.7);
    opacity: 0;
    z-index: 1;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.nav-btn:hover {
    background: #fff;
    color: #000;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* ================================== */
/* MEDIA QUERIES PARA MÓVIL */
/* ================================== */

@media (max-width: 768px) {
    /* HEADER Y NAVEGACIÓN MÓVIL */
    header { 
        padding: 0.8rem 0; 
    }
    
    nav { 
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .logo-container img {
        width: 40px !important;
        height: 40px !important;
    }
    
    /* Mostrar menú hamburguesa */
    .menu-toggle {
        display: flex;
    }
    
    /* Menú móvil */
    nav ul {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.6);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(167, 209, 255, 0.1);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    /* HERO MÓVIL */
    .hero { 
        margin-top: 70px; 
        padding: 2rem 1rem; 
        height: auto; 
        min-height: 80vh; 
    }
    
    .hero h1 { 
        font-size: 2rem; 
        letter-spacing: 3px; 
        margin-bottom: 0.8rem;
    }
    
    .hero p { 
        font-size: 0.9rem; 
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .forge-animation {
        width: 100px;
        height: 100px;
    }
    
    /* SECCIONES GENERALES */
    section {
        padding: 3rem 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
        margin-bottom: 2rem;
    }
    
    /* SERVICIOS MÓVIL */
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .servicio-card {
        padding: 1.5rem;
    }
    
    .servicio-icon {
        width: 60px;
        height: 60px;
    }
    
    /* ESTADÍSTICAS MÓVIL */
    .estadisticas-section { 
        padding: 3rem 1rem; 
    }
    
    .estadisticas-container { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    
    .stat-item { 
        padding: 1.5rem; 
    }
    
    .stat-icon { 
        font-size: 2.5rem; 
    }
    
    .stat-number { 
        font-size: 3rem; 
    }
    
    .stat-label { 
        font-size: 0.8rem; 
    }
    
    /* PROCESO MÓVIL */
    .proceso-section { 
        padding: 4rem 1rem; 
    }
    
    .timeline::before { 
        left: 20px; 
    }
    
    .timeline-item { 
        flex-direction: column !important; 
        text-align: left !important; 
        margin-left: 50px;
        margin-bottom: 3rem;
    }
    
    .timeline-icon { 
        width: 60px; 
        height: 60px; 
        font-size: 1.5rem; 
        position: absolute; 
        left: -50px; 
        top: 0; 
    }
    
    .timeline-content { 
        padding: 1.5rem; 
    }
    
    .timeline-content:hover { 
        transform: translateX(0) !important; 
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
    }
    
    /* CATEGORÍAS MÓVIL */
    .section-subtitle {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .categorias-grid-buttons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .categoria-btn {
        padding: 2rem 1.5rem;
    }
    
    .categoria-btn-icon {
        font-size: 3rem;
    }
    
    .categoria-btn h4 {
        font-size: 1.1rem;
    }
    
    /* CARRUSEL MÓVIL */
    .carousel-container { 
        height: 450px;
        padding: 0 10px;
    }
    
    .carousel-item { 
        width: 280px; 
        height: 400px; 
    }
    
    .carousel-item .overlay { 
        display: none !important; 
    }
    
    .carousel-item.prev {
        transform: translateX(-70%) scale(0.75) rotateY(10deg);
    }
    
    .carousel-item.next {
        transform: translateX(70%) scale(0.75) rotateY(-10deg);
    }
    
    .nav-btn { 
        width: 45px; 
        height: 45px; 
        background: rgba(0,0,0,0.7);
        font-size: 1.3rem;
    }
    
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    /* MODAL DE GALERÍA MÓVIL */
    .galeria-modal-content {
        max-width: 95%;
        max-height: 95vh;
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .galeria-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .galeria-modal-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        letter-spacing: 2px;
    }
    
    .galeria-modal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .galeria-modal-item {
        height: 250px;
    }
    
    /* MODAL DE IMAGEN GRANDE */
    .modal-overlay img {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    /* CONTACTO MÓVIL */
    .contacto-container { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    
    .contacto-info,
    .contacto-botones {
        padding: 1.5rem;
    }
    
    .expert-profile h3 { 
        font-size: 1.5rem; 
    }
    
    .expert-desc {
        font-size: 0.9rem;
    }
    
    .contacto-botones h3 {
        font-size: 1.3rem;
    }
    
    .btn-whatsapp,
    .btn-llamar {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        gap: 0.8rem;
    }
    
    .btn-whatsapp svg,
    .btn-llamar svg {
        width: 20px;
        height: 20px;
    }
    
    /* WHATSAPP FLOTANTE MÓVIL */
    .whatsapp-float { 
        width: 60px; 
        height: 60px; 
        bottom: 20px; 
        right: 20px; 
    }
    
    .whatsapp-float svg { 
        width: 30px; 
        height: 30px; 
    }
    
    /* SOBRE NOSOTROS */
    .sobre-nosotros-content p {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    /* Optimizar animaciones en móvil */
    .servicio-card {
        animation: none;
    }
    
    .servicio-card:active {
        transform: scale(0.98);
    }
    
    /* Desactivar parallax en móvil para mejor rendimiento */
    .hero::before {
        animation: none;
        opacity: 0.7;
    }
}

/* AJUSTES PARA PANTALLAS MUY PEQUEÑAS */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .hero p {
        font-size: 0.85rem;
    }
    
    .carousel-item {
        width: 240px;
        height: 350px;
    }
    
    .categoria-btn-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

a, button, .carousel-item, .galeria-item {
    touch-action: manipulation; /* Evita el zoom doble tap del navegador */
    -webkit-tap-highlight-color: transparent; /* Quita el cuadro azul al tocar */
}