/* =============================================
   1. VARIABLES GLOBALES Y RESET
   ============================================= */
:root {
    --gold: #b59449;
    --dark-gold: #8a6d2d;
    --dark: #1a1a1a;
    --cream: #f9f7f2;
    --white: #ffffff;
    --text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
    color: var(--dark);
    line-height: 1.6;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* =============================================
   2. CLASES REUTILIZABLES (Contenedores y Botones)
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex; 
    justify-content: space-between;
    align-items: center;
}

.bg-cream {
    background-color: var(--cream) !important;
}

/* Botones Globales */
.btn-outline, .btn-hero-dark, .btn-quote, .btn-hero {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: 0.3s;
    text-align: center;
}

.btn-outline, .btn-hero-dark {
    box-sizing: border-box;
    height: 50px; 
    padding: 0 30px; 
}

.btn-outline {
    border: 2px solid var(--dark);
    color: var(--dark);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--dark);
    color: var(--white);
}

.btn-hero-dark {
    background-color: var(--dark);
    color: var(--white);
    border: 2px solid var(--dark);
}

.btn-hero-dark:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* =============================================
   3. HEADER / MENÚ
   ============================================= */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-header .logo img {
    height: 50px; 
    display: block;
}

.main-header .nav-menu ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-header .nav-menu a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.main-header .nav-menu a:hover:not(.btn-quote) {
    color: var(--gold);
}

.btn-quote {
    background-color: var(--gold);
    color: var(--white);
    padding: 10px 20px;
}

.btn-quote:hover {
    background-color: var(--dark-gold);
}

/* =============================================
   4. HERO SLIDER
   ============================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh; 
    overflow: hidden;
    background-color: var(--dark);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}

.slide.active .slide-bg {
    animation: kenBurnsZoom 20s linear infinite alternate;
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 3;
}

.slide-content {
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    height: 100%;
    color: var(--white);
    z-index: 4;
    text-shadow: var(--text-shadow);
    padding: 0 50px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0;
    line-height: 1.1;
}

.slide.active .slide-content h1 {
    animation: slideInUp 0.8s ease-out 0.5s forwards;
}

.gold-text {
    color: var(--gold);
}

.slide-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0;
}

.slide.active .slide-content p {
    animation: slideInUp 0.8s ease-out 0.8s forwards;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-hero {
    border: 2px solid var(--gold);
    color: var(--white);
    padding: 15px 40px;
    opacity: 0;
}

.slide.active .slide-content .btn-hero {
    animation: fadeIn 0.8s ease-out 1.1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.btn-hero:hover {
    background-color: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(181, 148, 73, 0.4);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active, .dot:hover {
    background-color: var(--gold);
    transform: scale(1.2);
}

/* =============================================
   5. THE POWER OF TWO (Blindado contra imágenes gigantes)
   ============================================= */
.power-of-two {
    background-color: var(--white);
    padding: 100px 0;
}

.dual-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%; 
}

/* FLEX-SHRINK: 0 IMPIDE QUE SE APLASTEN */
.dual-text {
    width: 45%; 
    flex-shrink: 0; 
}

.dual-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.dual-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.dual-image {
    width: 50%; 
    flex-shrink: 0; 
    position: relative;
    aspect-ratio: 16 / 10; 
    overflow: hidden; 
    border-radius: 8px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}

.dual-image img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    display: block;
}

/* =============================================
   6. SERVICIOS Y TARJETAS (Who We Serve & What We Do)
   ============================================= */
.who-we-serve, .what-we-do, .testimonials {
    padding: 100px 0;
    background-color: var(--white); 
}

/* Forzamos al header de sección a centrarse correctamente */
.section-header.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    width: 100%; 
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
    width: 100%;
}

.service-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff; /* Blanco forzado */
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06); 
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--gold);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.service-link-text {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.service-card:hover .service-link-text {
    color: var(--dark-gold);
}

/* =============================================
   7. TESTIMONIALES (Google Reviews)
   ============================================= */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px; 
    margin-bottom: 50px;
}

.review-card {
    background-color: #ffffff; 
    padding: 45px 35px; 
    border-radius: 12px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.06); 
    position: relative; 
    display: flex;
    flex-direction: column;
}

.stars {
    color: #fbbc04; 
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    color: #444; 
    line-height: 1.8; 
    font-size: 0.95rem; 
    margin-bottom: 30px;
    flex-grow: 1; 
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.review-date {
    font-size: 0.8rem;
    color: #888;
}

.google-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 25px;
    opacity: 0.8;
}

.review-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; 
}

/* =============================================
   8. FOOTER (Arreglo del tamaño del Logo)
   ============================================= */
/* =============================================
   8. FOOTER (DISEÑO PREMIUM Y BALANCEADO)
   ============================================= */
/* =============================================
   8. FOOTER (COMPACTO Y HORIZONTAL)
   ============================================= */
.main-footer {
    background-color: var(--cream);
    padding: 50px 0 20px; /* Redujimos el padding superior a 50px para ahorrar espacio */
    color: var(--dark);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.main-footer .container {
    display: flex;
    flex-direction: column;
}

.footer-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Alinea todo al medio verticalmente */
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

/* Columna 1: Brand */
.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    width: 100%;
    max-width: 180px; /* Logo más pequeño para que no robe tanto espacio */
    height: auto;
    display: block;
    margin-bottom: 5px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Columna 2: Menú Horizontal */
.footer-horizontal-menu {
    flex: 2;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.footer-horizontal-menu ul {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-horizontal-menu a {
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-horizontal-menu a:hover,
.footer-contact-compact a:hover {
    color: var(--gold);
}

/* Columna 3: Contacto Compacto */
.footer-contact-compact {
    flex: 1;
    min-width: 200px;
    text-align: right; /* Alineado a la derecha para equilibrar */
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.footer-contact-compact a {
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Footer Bottom (Copyright y Créditos) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #777;
    flex-wrap: wrap;
    gap: 15px;
}

/* Estilo para tu enlace de Reno Tech Systems */
.designer-credits a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.designer-credits a:hover {
    color: var(--gold);
}

/* --- Responsive para Móviles --- */
@media (max-width: 992px) {
    .footer-row-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-brand, .footer-horizontal-menu, .footer-contact-compact {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .footer-logo {
        margin: 0 auto 10px;
    }

    .footer-horizontal-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
/* =============================================
   9. MEDIA QUERIES (Móviles y Tablets)
   ============================================= */
@media (max-width: 992px) {
    .dual-layout { flex-direction: column; text-align: center; }
    .dual-text, .dual-image { width: 100%; padding-right: 0; }
    .dual-image { max-width: 800px; }
    
    /* En tablets, centramos el footer */
    .footer-grid { flex-direction: column; align-items: center; text-align: center; }
    .footer-contact { text-align: center; }
}

@media (max-width: 768px) {
    /* HEADER BONUS FIX: Permite que el menú se deslice lateralmente en móvil sin aplastarse */
    .main-header .container { padding: 0 15px; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .main-header .logo img { height: 45px; margin-bottom: 5px; }
    .main-header .nav-menu { width: 100%; overflow-x: auto; white-space: nowrap; padding-bottom: 10px; text-align: center;}
    .main-header .nav-menu::-webkit-scrollbar { display: none; } /* Oculta la barra de scroll */
    .main-header .nav-menu ul { justify-content: flex-start; gap: 15px; }
    .main-header .nav-menu a:not(.btn-quote) { font-size: 0.8rem; }
    .btn-quote { padding: 8px 15px; font-size: 0.8rem; }

    .hero-slider { height: 70vh; }
    .slide-content { padding: 0 20px; align-items: center; text-align: center; }
    .slide-content h1 { font-size: 2.2rem; }
    .slide-content p { font-size: 1rem; }

    .power-of-two, .who-we-serve, .what-we-do, .testimonials { padding: 60px 0; }
    .dual-text h2, .section-header h2 { font-size: 2.2rem; }

    .services-grid, .reviews-grid { grid-template-columns: 1fr !important; gap: 30px; }
    
    .review-actions { flex-direction: column; width: 100%; align-items: center; }
    .review-actions a { width: 100%; max-width: 300px; }

    /* FOOTER FIX MÓVIL: Todo centrado matemáticamente */
    .footer-grid { flex-direction: column; text-align: center; gap: 30px; }
    .footer-info, .footer-contact { width: 100%; text-align: center; }
    .footer-logo { margin: 0 auto 15px auto !important; } /* Esto es lo que centra la imagen perfectamente */
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .main-footer .container { display: block !important; } 
}

/* =============================================
   10. PÁGINA: ABOUT US & EQUIPO
   ============================================= */

/* Cabecera más pequeña para páginas internas */
.page-hero {
    position: relative;
    width: 100%;
    height: 40vh; /* La mitad de tamaño que la del home */
    background-color: var(--dark);
    /* Puedes poner una imagen de fondo aquí si lo deseas */
    background-image: url('../img/hero/commercial-scale.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    position: relative;
    z-index: 4;
    flex-direction: column;
    text-align: center;
    color: var(--white);
}

.hero-inner h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: var(--text-shadow);
}

.hero-inner p {
    font-size: 1.2rem;
    text-shadow: var(--text-shadow);
}

/* Sección del Equipo */
.team-section {
    padding: 100px 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    /* Las tarjetas de equipo suelen verse mejor un poco más estrechas */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: stretch;
}

.team-card {
    background-color: var(--cream);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

/* Tratamiento Exclusivo para "El Presidente" */
.president-card {
    background-color: var(--dark); /* Fondo negro elegante */
    color: var(--white);
    border: 2px solid var(--gold); /* Borde dorado */
    box-shadow: 0 10px 30px rgba(181, 148, 73, 0.2); /* Sombra dorada */
    transform: scale(1.02); /* Ligeramente más grande por defecto */
}

.president-card:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 15px 40px rgba(181, 148, 73, 0.4);
}

.president-card h3 {
    color: var(--white) !important;
}

.president-card .team-email {
    color: #ccc;
}

.president-card .team-email:hover {
    color: var(--white);
}

/* Fotos del Equipo */
.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1; /* Cuadrado perfecto */
    background-color: #e0dcd3; /* Color grisáceo/crema si no hay foto */
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder temporal para iniciales */
.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0,0,0,0.1);
    font-family: 'Playfair Display', serif;
}

.president-card .photo-placeholder {
    color: rgba(255,255,255,0.1); /* Letras claras en la tarjeta oscura */
}

/* Info del equipo */
.team-info {
    padding: 30px 20px;
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.team-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #666;
}

/* Resaltar "El Presidente" */
.president-card .team-title {
    font-size: 1rem;
    font-weight: 800;
}

.team-email {
    font-size: 0.9rem;
    color: var(--gold);
    transition: 0.3s;
}

.team-email:hover {
    color: var(--dark-gold);
    text-decoration: underline;
}

/* --- Actualiza los Media Queries (Copia esto al final de tus @media queries existentes si lo deseas) --- */
@media (max-width: 768px) {
    .page-hero { height: 30vh; }
    .hero-inner h1 { font-size: 2.5rem; }
    .president-card { transform: scale(1); } /* En móvil no lo hacemos más grande para que no se desborde */
    .president-card:hover { transform: translateY(-5px); }
}

/* =============================================
   11. PÁGINA: SERVICES (Detalles)
   ============================================= */

/* Espaciado para cada bloque de servicio */
.service-detail {
    padding: 100px 0;
}

/* La magia del Zig-Zag: Invierte el orden de la fila */
.reverse-layout {
    flex-direction: row-reverse;
}

/* Ajustes para la lista de servicios con checks */
.service-list {
    margin-top: 20px;
}

.service-list li {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Reparación para móviles: Cuando la pantalla es pequeña, 
   queremos que la imagen SIEMPRE quede arriba del texto, 
   sin importar si es reverse-layout o no. */
@media (max-width: 992px) {
    .reverse-layout {
        flex-direction: column; /* Anulamos el row-reverse en tablet/móvil */
    }
    
    /* Usamos 'order' para forzar que la imagen suba arriba del texto en móviles */
    .service-detail .dual-image {
        order: -1; 
        margin-bottom: 30px;
    }
}

/* =============================================
   12. PÁGINA: PROJECTS (Galería Premium)
   ============================================= */
.portfolio-section {
    padding: 100px 0;
}

/* Filtros */
.project-filters-container {
    justify-content: center;
    margin-bottom: 50px;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    background-color: var(--white);
    padding: 15px 25px;
    border-radius: 50px; /* Estilo de pastilla/píldora corporativa */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.filter-btn {
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
}

.filter-btn:hover, .filter-btn.active {
    color: var(--gold);
    background-color: rgba(181, 148, 73, 0.1); /* Fondo dorado muy sutil */
}

/* La Cuadrícula (Native Grid) */
.portfolio-grid {
    display: grid;
    /* Columnas automáticas, mínimo 350px de ancho */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* Tarjeta del Proyecto (Premium UI) */
.project-card {
    background-color: transparent;
    overflow: hidden;
    position: relative; /* Crucial para el overlay */
    transition: all 0.4s ease-in-out;
}

/* Efecto hover general de la tarjeta */
.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    aspect-ratio: 1 / 1; /* Cuadrado perfecto corporativo. Puedes usar 16/10 si prefieres rectangular */
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease; /* Efecto zoom lento premium */
}

/* Overlay sutil que aparece en hover */
.project-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(26, 26, 26, 0.4); /* Fondo oscuro translúcido */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* El icono 'Plus' en el overlay */
.icon-plus {
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
}

/* Disparador de efectos en Hover de la tarjeta */
.project-card:hover .project-image img {
    transform: scale(1.1); /* Zoom sutil */
}

.project-card:hover .project-overlay {
    opacity: 1; /* Aparece el overlay */
}

/* Información del proyecto debajo de la imagen */
.project-info {
    padding: 20px 10px;
}

.project-info h3 {
    font-size: 1.3rem;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif; /* sans-serif corporativo para la galería */
    font-weight: 700;
    margin-bottom: 5px;
}

.project-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsividad */
@media (max-width: 768px) {
    .portfolio-section { padding: 60px 0; }
    .project-filters { padding: 10px; border-radius: 10px; }
    .filter-btn { font-size: 0.8rem; padding: 6px 10px; }
    .portfolio-grid { grid-template-columns: 1fr; } /* Una sola columna en móvil */
}
/* =============================================
   13. PÁGINA: CONTACT US
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Mitad info, mitad formulario */
    gap: 60px;
    align-items: start;
}

/* --- Información de Contacto --- */
.contact-info-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-info-box p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

.info-item strong {
    color: var(--dark);
    font-size: 1.1rem;
}

.info-item a {
    color: var(--gold);
    font-weight: 600;
}

.info-item a:hover {
    color: var(--dark-gold);
    text-decoration: underline;
}

/* El mapa de Google */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* --- Formulario de Contacto --- */
.contact-form-box {
    background-color: var(--cream);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form-box h3 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background-color: var(--white);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 5px rgba(181, 148, 73, 0.3);
}

/* Responsividad para la página de Contacto */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* En tablets y móviles, se apilan */
    }
    .contact-form-box {
        padding: 30px 20px;
    }
}