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

body {
    font-family: 'Montserrat', sans-serif;
    color: #2c2c2c;
    background-color: #ffffff;
    line-height: 1.6;
}

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

/* BANNER SUPERIOR REPARADO - NO SE CORTA LA CASITA */
.banner-container {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    width: 100%;
    max-width: 600px; /* Tamaño máximo adaptado para ordenadores */
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.main-logo {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain; /* Evita recortes y deformaciones */
    display: block;
}

/* SECCIÓN INTRODUCCIÓN */
.intro {
    text-align: center;
    padding: 50px 0;
    background-color: #2c2c2c;
    color: #ffffff;
}

.intro h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.tagline {
    font-size: 1.2rem;
    color: #bfa15f; /* Tono ocre/dorado corporativo */
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s;
    font-size: 1rem;
}

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

.btn-call {
    background-color: #bfa15f;
    color: #ffffff;
}

.btn-call:hover {
    background-color: #a38547;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #1ebd54;
}

/* SECCIONES DE PROYECTOS */
.project-section {
    padding: 60px 0;
}

.project-section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.project-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #bfa15f;
}

.project-section p {
    margin-bottom: 30px;
    color: #555;
    max-width: 800px;
}

.bg-light {
    background-color: #f9f9f9;
}

/* GALERÍAS EN CUADRÍCULA */
.gallery-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.gallery-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

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

.gallery-item span {
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #eee;
}

/* ELEMENTO DESTACADO (RESULTADO FINAL COCINA) */
.gallery-item-large {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 2px solid #bfa15f;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.gallery-item-large img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.gallery-item-large span {
    display: block;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    background: #2c2c2c;
    color: #ffffff;
}

/* PIE DE PÁGINA */
footer {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 4px solid #bfa15f;
}

footer p {
    margin: 5px 0;
}

/* AJUSTES RESPONSIVOS PARA MÓVILES */
@media (max-width: 768px) {
    .intro h1 { font-size: 1.6rem; }
    .tagline { font-size: 1rem; }
    .project-section h2 { font-size: 1.4rem; }
    .gallery-item-large img { height: 280px; }
    .gallery-item img { height: 200px; }
    .btn { width: 100%; text-align: center; }
}
