/* Estilos Generales - Estética Lujo Silencioso / Alta Marroquinería */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fbfbfa; /* Fondo marfil suave / Lino crudo */
    color: #1c1917; /* Negro cálido apagado para el texto */
    font-family: 'Baskerville', 'Playfair Display', 'Georgia', serif;
    line-height: 1.6;
}

header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeae8;
    padding: 1.4rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #1c1917;
    font-family: 'Inter', sans-serif;
}

/* Botón solicitado con el texto exacto */
.btn-sucursal {
    background-color: #3f312b; /* Marrón Espresso Profundo */
    color: #ffffff;
    padding: 0.7rem 1.6rem;
    border-radius: 0px; /* Bordes rectos minimalistas de alta costura */
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-sucursal:hover {
    background-color: #5c473f;
}

/* Sección Hero / Portada */
.hero {
    background: linear-gradient(rgba(251, 251, 250, 0.75), rgba(251, 251, 250, 0.95)), 
                url('https://images.unsplash.com/photo-1479064555552-3ef4979f8908?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 8.5rem 1.5rem;
    border-bottom: 1px solid #eaeae8;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 400;
    color: #1c1917;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #6b6661;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
}

/* Sección Historia */
.historia {
    max-width: 750px;
    margin: 6rem auto;
    padding: 3.5rem;
    background-color: #ffffff;
    border: 1px solid #eaeae8;
    border-radius: 0px;
    text-align: center;
}

.historia h2 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #1c1917;
}

.historia p {
    color: #44403c;
    font-size: 0.95rem;
    text-align: justify;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.8;
}

/* Sección Catálogo */
.catalogo {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.catalogo h2 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 4rem;
    color: #1c1917;
    text-transform: uppercase;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.producto-card {
    background-color: #ffffff;
    border: 1px solid #eaeae8;
    border-radius: 0px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.producto-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(63, 49, 43, 0.05);
    border-color: #3f312b;
}

.producto-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f5f5f4;
}

.producto-info {
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

.producto-titulo {
    font-family: 'Baskerville', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #1c1917;
    margin-bottom: 0.5rem;
}

.producto-desc {
    font-size: 0.85rem;
    color: #6b6661;
    margin-bottom: 1.8rem;
    height: 60px;
    overflow: hidden;
    font-weight: 300;
}

.producto-precio {
    font-size: 1.2rem;
    font-weight: 500;
    color: #3f312b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f4;
    padding-top: 1.2rem;
}

/* Botón Tallar */
.btn-comprar {
    background-color: transparent;
    color: #1c1917;
    padding: 0.5rem 1.4rem;
    border-radius: 0px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #1c1917;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-comprar:hover {
    background-color: #3f312b;
    border-color: #3f312b;
    color: #ffffff;
}

/* Footer */
footer {
    background-color: #ffffff;
    color: #a8a29e;
    text-align: center;
    padding: 3.5rem;
    margin-top: 8rem;
    border-top: 1px solid #eaeae8;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   VENTANA MODAL PRIVADA / COMPRAS CORPORATIVAS DE ATELIER
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 25, 23, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #ffffff;
    border: 1px solid #3f312b;
    padding: 3.5rem;
    border-radius: 0px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 30px 60px rgba(63, 49, 43, 0.15);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.8rem;
    font-size: 1.5rem;
    color: #87807a;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #3f312b;
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-header h2 {
    color: #1c1917;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.modal-header p {
    color: #6b6661;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 1.8rem;
    font-family: 'Inter', sans-serif;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #3f312b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #eaeae8;
    background-color: #fafaf9;
    border-radius: 0px;
    font-size: 0.9rem;
    color: #1c1917;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #3f312b;
    background-color: #ffffff;
}

.btn-submit {
    width: 100%;
    background-color: #3f312b;
    color: #ffffff;
    padding: 0.9rem;
    border: none;
    border-radius: 0px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #1c1917;
}