/*
=============================================
CONSTRUCCIONES SORINANO - ESTILOS PRINCIPALES
=============================================
Diseñado por: Castillo Web Design
https://castilloweb.netlify.app/

COLORES PRINCIPALES:
- Negro: #0a0a0a
- Gris oscuro: #1a1a1a, #2a2a2a
- Blanco: #ffffff
- Dorado: #c9a227, #d4af37
- Gris claro: #888, #ccc
=============================================
*/

/* ============================================
   VARIABLES CSS - TEMA CLARO
   ============================================ */
:root {
    /* Colores - TEMA CLARO */
    --color-black: #1a1a1a;
    --color-dark: #2a2a2a;
    --color-dark-light: #333333;
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-light-gray: #f0f0f0;
    --color-orange: #e55c00;
    --color-orange-light: #ff6b1a;
    --color-orange-dark: #cc5200;
    --color-gray: #666666;
    --color-gray-light: #999999;
    --color-gray-dark: #444444;
    
    /* Tipografía */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.15);
    --shadow-orange: 0 5px 30px rgba(229, 92, 0, 0.25);
    
    /* Bordes */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 50%;
    
    /* Contenedor */
    --container-max: 1400px;
    --container-padding: 2rem;
}

/* ============================================
   RESET Y BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   UTILIDADES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-gold {
    color: var(--color-orange);
}

.text-center {
    text-align: center;
}

/* Sección Tag */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: 50px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--color-orange);
}

/* Título de Sección */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

/* Descripción de Sección */
.section-description {
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

/* Header de Sección */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(229, 92, 0, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

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

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 90px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--color-dark);
}

.logo-text strong {
    color: var(--color-orange);
    font-size: 1.3rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-orange);
    transition: width var(--transition-normal);
}

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

.nav-cta {
    background: var(--color-orange);
    color: var(--color-white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--radius-sm);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-orange-light);
    transform: translateY(-2px);
}

/* Menú Toggle (Móvil) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-dark);
    transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   SECCIÓN HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
}

/* Logo de fondo en Hero */
.hero-logo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 700px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-logo-image {
    width: 100%;
    height: auto;
    opacity: 0.15;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(248, 249, 250, 0.8) 70%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-xxl) var(--container-padding);
    max-width: 1000px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(229, 92, 0, 0.1);
    border: 1px solid var(--color-orange);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-orange);
    margin-bottom: var(--spacing-md);
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--color-dark);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

/* Estadísticas Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-orange);
    display: block;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(0, 0, 0, 0.15);
}

/* Indicador de Scroll */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--color-gray);
    border-radius: 10px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-orange);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

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

@keyframes scroll {
    0%, 100% { opacity: 1; top: 6px; }
    50% { opacity: 0; top: 15px; }
}

/* ============================================
   SECCIÓN SOBRE NOSOTROS
   ============================================ */
.about {
    padding: var(--spacing-xxl) 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--color-white);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-orange);
    color: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-orange);
}

.exp-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    padding-left: var(--spacing-md);
}

.about-text {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.about-features {
    margin: var(--spacing-lg) 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(229, 92, 0, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-orange);
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* ============================================
   SECCIÓN SERVICIOS
   ============================================ */
.services {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: var(--color-light);
    overflow: hidden;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imagenes/construccion5.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.08;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-orange-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(229, 92, 0, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.service-icon svg {
    width: 35px;
    height: 35px;
    color: var(--color-orange);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--color-orange);
}

.service-card:hover .service-icon svg {
    color: var(--color-white);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-description {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-orange);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-normal);
}

.service-link:hover svg {
    transform: translateX(5px);
}

/* ============================================
   SECCIÓN ¿POR QUÉ ELEGIRNOS?
   ============================================ */
.why-us {
    padding: var(--spacing-xxl) 0;
    background: var(--color-white);
}

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

.why-us-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--color-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.why-us-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-orange);
    box-shadow: var(--shadow-lg);
    background: var(--color-white);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.why-us-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-white);
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-us-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.why-us-card p {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.7;
}

/* ============================================
   SECCIÓN TESTIMONIOS
   ============================================ */
.testimonials {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: var(--color-dark);
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imagenes/construccion6.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
}

.testimonials .section-tag {
    color: var(--color-orange);
}

.testimonials .section-tag::before {
    background: var(--color-orange);
}

.testimonials .section-title {
    color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-orange);
}

.testimonial-stars {
    color: var(--color-orange);
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-white);
    font-size: 1rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--color-orange);
}

/* Responsive para nuevas secciones */
@media (max-width: 992px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SECCIÓN GALERÍA
   ============================================ */
.gallery {
    padding: var(--spacing-xxl) 0;
    background: var(--color-white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gray);
    background: transparent;
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-white);
    background: var(--color-orange);
    border-color: var(--color-orange);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-light);
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95), transparent);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--color-white);
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--color-orange);
}

/* Ocultar items filtrados */
.gallery-item.hidden {
    display: none;
}

/* ============================================
   MODAL DE GALERÍA
   ============================================ */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-orange);
    color: var(--color-white);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 10;
}

.modal-nav:hover {
    background: var(--color-orange);
}

.modal-nav svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.modal-prev {
    left: 2rem;
}

.modal-next {
    right: 2rem;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.modal-info {
    margin-top: 1.5rem;
}

.modal-info h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.modal-info p {
    color: var(--color-orange);
}

/* ============================================
   SECCIÓN CTA
   ============================================ */
.cta {
    position: relative;
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
    background: var(--color-dark);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(229, 92, 0, 0.2) 100%
    );
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   SECCIÓN CONTACTO
   ============================================ */
.contact {
    padding: var(--spacing-xxl) 0;
    background: var(--color-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateX(10px);
    border-left: 3px solid var(--color-orange);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(229, 92, 0, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-orange);
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.contact-details p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-orange);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.contact-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-normal);
}

.contact-link:hover svg {
    transform: translateX(5px);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--color-white);
}

.footer-logo-text strong {
    color: var(--color-orange);
    font-size: 1.4rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--color-orange);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--color-orange);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--color-orange);
    margin-top: 2px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
    color: var(--color-orange);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer-credit a:hover {
    color: var(--color-orange-light);
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 40px rgba(37, 211, 102, 0.6);
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

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

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .about-grid {
        gap: var(--spacing-lg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 992px) {
    /* Navegación */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right var(--transition-normal);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
        padding: 1rem 0;
        color: var(--color-dark);
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        height: 450px;
        margin-bottom: var(--spacing-lg);
    }
    
    .about-content {
        padding-left: 0;
    }
    
    /* Contacto */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
    }
    
    /* Hero */
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Servicios */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Galería */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    /* Modal */
    .modal-nav {
        width: 40px;
        height: 40px;
    }
    
    .modal-prev {
        left: 0.5rem;
    }
    
    .modal-next {
        right: 0.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* WhatsApp */
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Títulos */
    .section-tag {
        padding-left: 40px;
    }
    
    .section-tag::before {
        width: 30px;
    }
    
    /* About Images */
    .about-images {
        height: 350px;
    }
    
    .about-img-main {
        width: 80%;
        height: 70%;
    }
    
    .about-img-secondary {
        width: 60%;
        height: 50%;
    }
    
    .about-experience-badge {
        padding: 1rem 1.5rem;
    }
    
    .exp-number {
        font-size: 2.5rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 2rem;
    }
    
    /* Contact Cards */
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
}

/* ============================================
   MEJORAS DE ACCESIBILIDAD
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --color-gray: #aaaaaa;
        --color-gray-light: #dddddd;
    }
}

/* ============================================
   PLACEHOLDERS PARA IMÁGENES
   ============================================ */
.about-img-main img,
.about-img-secondary img,
.gallery-item img {
    background: linear-gradient(
        135deg,
        #e9ecef 0%,
        #dee2e6 100%
    );
}

/* Placeholder Icon cuando no hay imagen */
.gallery-item img[src=""],
.gallery-item img:not([src]),
.about-img-main img[src=""],
.about-img-secondary img[src=""] {
    position: relative;
}

.gallery-item img::before,
.about-img-main img::before,
.about-img-secondary img::before {
    content: '🏗️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0.3;
}
