/* --- PALETA DE COLORES PREMIUM & ARQUITECTURA DE LUZ --- */
:root {
    --bg-main: #fbfbf9;          /* Fondo crema suave, orgánico */
    --bg-dark: #111827;          /* Carbón profundo para contrastes */
    --gold-accent: #c29b53;      /* Dorado/Ocre sofisticado para simular luz solar y acabados premium */
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --text-light: #f3f4f6;
    --border-color: #e5e7eb;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* --- MENÚ SUPERIOR (NAVBAR) --- */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(251, 251, 249, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-logo span {
    color: var(--gold-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold-accent);
}

.nav-main-btn {
    background: var(--bg-dark);
    color: white;
    border: none;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-main-btn:hover {
    background: var(--gold-accent);
    box-shadow: 0 4px 15px rgba(194, 155, 83, 0.3);
}

/* --- CONTENEDOR GENERAL --- */
.main-wrapper {
    padding-top: 85px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HELPER STYLES FOR HEADERS --- */
.section-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-accent);
    margin-bottom: 10px;
    font-weight: 600;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

.accent-line {
    width: 65px;
    height: 3px;
    background: var(--gold-accent);
    margin: 20px auto 0 auto;
}

/* --- SECCIÓN 1: HERO --- */
.hero-section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    background: linear-gradient(rgba(251, 251, 249, 0.85), rgba(251, 251, 249, 0.95)), 
                url('http://googleusercontent.com/image_collection/image_retrieval/16270286947623502242');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-inner {
    max-width: 850px;
}

.architecture-tag {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--gold-accent);
    display: block;
    margin-bottom: 25px;
    font-weight: 600;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.main-title span {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-dark);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 300;
}

.invitation-box {
    background: rgba(194, 155, 83, 0.08);
    border-left: 3px solid var(--gold-accent);
    padding: 20px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.explore-btn {
    background: var(--gold-accent);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.explore-btn:hover {
    background: var(--bg-dark);
}

.link-btn-alt {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition);
}

.link-btn-alt:hover {
    color: var(--gold-accent);
}

/* --- SECCIÓN 2: HISTORIA --- */
.history-section {
    padding: 100px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0 auto;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-node {
    position: relative;
    margin-bottom: 50px;
}

.timeline-node:last-child {
    margin-bottom: 0;
}

.node-year {
    position: absolute;
    left: -40px;
    top: 0;
    background: var(--gold-accent);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 5px 12px;
    border-radius: 2px;
    z-index: 2;
}

.node-content {
    background: var(--bg-main);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--bg-dark);
}

.node-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.node-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- SECCIÓN 3: CATÁLOGO DE ARTÍCULOS --- */
.catalog-section {
    padding: 100px 0;
}

.showroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.showroom-card {
    background: white;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.showroom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.card-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
}

.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-action-btn {
    background: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.showroom-card:hover .card-action-btn {
    background: var(--gold-accent);
    color: white;
    border-color: var(--gold-accent);
}

/* --- SECCIÓN 4: BUZÓN DE MENSAJES --- */
.message-section {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
}

.message-section .section-subtitle {
    color: var(--gold-accent);
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.info-side h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.info-side p {
    color: #9ca3af;
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.contact-bullets {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bullet-item {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bullet-item i {
    color: var(--gold-accent);
}

.message-box-card {
    background: white;
    padding: 40px;
    color: var(--text-dark);
    border-top: 4px solid var(--gold-accent);
}

.message-box-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background: #f9fafb;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    background: white;
}

.form-submit-btn {
    width: 100%;
    background: var(--bg-dark);
    color: white;
    border: none;
    padding: 15px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit-btn:hover {
    background: var(--gold-accent);
}

.success-message {
    display: none;
    margin-top: 20px;
    background: #ecfdf5;
    color: #065f46;
    padding: 15px;
    border-left: 4px solid #10b981;
    font-size: 0.9rem;
}

/* --- MODAL DE AUTENTICACIÓN --- */
.clean-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
}

.modal-wrapper-inner {
    background: white;
    max-width: 460px;
    margin: 10% auto;
    padding: 45px 40px;
    border-top: 4px solid var(--gold-accent);
    position: relative;
    text-align: center;
    color: var(--text-dark);
}

.modal-lock-icon {
    font-size: 2.5rem;
    color: var(--gold-accent);
    margin-bottom: 15px;
}

.modal-wrapper-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-wrapper-inner p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.modal-input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.modal-input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    font-family: inherit;
}

.modal-submit-btn {
    width: 100%;
    background: var(--bg-dark);
    color: white;
    border: none;
    padding: 15px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-submit-btn:hover {
    background: var(--gold-accent);
}

.close-icon {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-icon:hover {
    color: var(--text-dark);
}

/* --- FOOTER --- */
.main-footer {
    background: #0b0f19;
    color: #9ca3af;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.85rem;
    border-top: 1px solid #1f2937;
}

.main-footer strong {
    color: white;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .two-column-layout { grid-template-columns: 1fr; gap: 50px; }
    .main-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .nav-links a { display: none; }
    .top-navbar { padding: 15px 5%; }
}