:root {
    --primary-color: #1b3a2a;
    --secondary-color: #2c5940;
    --gold-accent: #cca43b;
    --gold-hover: #b38f32;
    --bg-light: #f7f9f8;
    --bg-white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.15);
    --radius-md: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-main); line-height: 1.6; background-color: var(--bg-white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--primary-color); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

.container { width: 90%; max-width: 1280px; margin: 0 auto; }
.section-padding { padding: 100px 0; }

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); }
.text-white { color: var(--bg-white); }
.text-gold { color: var(--gold-accent) !important; }
.text-light-gray { color: #d1dcd6; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.section-title { font-size: 2.8rem; margin-bottom: 15px; position: relative; }
.subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px auto; }
.bg-dark .subtitle { color: #e0e0e0; }

.title-separator { width: 80px; height: 3px; background-color: var(--gold-accent); margin-bottom: 30px; border-radius: 2px; }
.title-separator.center { margin: 0 auto 30px auto; }
.bg-gold { background-color: var(--gold-accent); }

.btn-primary { display: inline-block; background-color: var(--gold-accent); color: var(--bg-white); padding: 15px 35px; border-radius: 50px; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(204, 164, 59, 0.4); }
.btn-primary:hover { background-color: var(--gold-hover); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(204, 164, 59, 0.6); }
.btn-primary i { margin-left: 10px; font-size: 1.2rem; }

.img-fluid { max-width: 100%; height: auto; display: block; }
.rounded-shadow { border-radius: var(--radius-lg); box-shadow: var(--shadow-strong); }
.glass-effect { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

/* Navegación */
header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    padding: 15px 0; 
    background-color: var(--primary-color); 
    transition: all 0.4s ease; 
}
header.scrolled { 
    background-color: rgba(255, 255, 255, 0.98); 
    box-shadow: 0 2px 20px rgba(0,0,0,0.1); 
    padding: 10px 0; 
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* Control del color del texto del logo al hacer scroll */
.logo { color: var(--bg-white); }
header.scrolled .logo { color: var(--primary-color); }

.nav-links { display: flex; gap: 30px; }
.nav-links li a { color: var(--bg-white); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
header.scrolled .nav-links li a { color: var(--text-main); }
.nav-links li a:hover { color: var(--gold-accent); }

.hamburger { display: none; font-size: 1.8rem; color: var(--bg-white); cursor: pointer; }
header.scrolled .hamburger { color: var(--primary-color); }

/* Hero Section: Fondo actualizado con minúscula */
.hero { height: 100vh; min-height: 600px; background: url('../img/interior2.jpeg') no-repeat center center; background-size: cover; background-attachment: fixed; position: relative; display: flex; align-items: center; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to right, rgba(27, 58, 42, 0.85), rgba(27, 58, 42, 0.4)); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-content h1 { font-size: 4.5rem; color: var(--bg-white); line-height: 1.1; margin-bottom: 25px; }
.hero-content p { font-size: 1.4rem; color: #e0e0e0; margin-bottom: 40px; font-weight: 300; max-width: 600px; }

.fade-in-up { animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; transform: translateY(30px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Nosotros */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 20px; }
.about-image-wrapper { position: relative; }
.about-image-wrapper img { width: 100%; max-height: 600px; object-fit: cover; object-position: center; }

/* Servicios */
.services-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 50px; }
.service-card { overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.service-card:hover { transform: translateY(-15px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.card-img-top { height: 250px; overflow: hidden; position: relative; }
.img-cover { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .img-cover { transform: scale(1.05); }
.object-top { object-position: top center; }
.card-body { padding: 35px 30px; }
.card-body h3 { font-size: 1.6rem; margin-bottom: 15px; }
.card-body p { color: var(--text-muted); font-size: 1rem; margin-bottom: 25px; min-height: 80px; }
.card-body hr { border: none; border-top: 1px solid rgba(0,0,0,0.1); margin-bottom: 20px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 10px; font-size: 0.95rem; color: var(--primary-color); }
.price-grid strong { color: var(--gold-accent); font-size: 1.1rem; }

/* Regalos */
.gifts-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 50px; align-items: start; }
.gift-item { display: flex; flex-direction: column; align-items: center; width: 100%; }
.gift-wrapper { position: relative; width: 100%; aspect-ratio: 1.6 / 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-strong); background-color: var(--bg-white); }
.gift-wrapper img.normal { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.gift-wrapper img.rotated { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; object-fit: contain; transform: rotate(90deg); }
.gift-item h4 { color: var(--gold-accent); font-family: var(--font-body); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-card { padding: 50px 40px; }
.contact-list { margin-bottom: 30px; }
.contact-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; font-size: 1.1rem; color: var(--text-muted); }
.contact-list i { color: var(--gold-accent); font-size: 1.5rem; margin-top: 4px; }
.exterior-img-container img { width: 100%; height: 250px; object-fit: cover; object-position: center; }
.contact-map { min-height: 400px; overflow: hidden; }

/* Footer */
footer { background-color: #12261b; color: var(--bg-white); padding: 60px 0 20px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
.footer-logo h3 { color: var(--bg-white); font-size: 2rem; margin-bottom: 10px; }
.footer-logo p { color: #a0aab2; font-size: 1.1rem; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; background-color: rgba(255,255,255,0.1); border-radius: 50%; font-size: 1.2rem; color: var(--gold-accent); }
.footer-social a:hover { background-color: var(--gold-accent); color: var(--primary-color); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); color: #8c9b93; font-size: 0.95rem; }

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrapper img { max-height: 500px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--bg-white); padding: 20px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .nav-links li a { color: var(--primary-color); text-shadow: none; }
    .hamburger { display: block; color: var(--bg-white); }
    header.scrolled .hamburger { color: var(--primary-color); }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.2rem; }
    .section-title { font-size: 2.3rem; }
    .contact-info-card { padding: 30px 20px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-social { justify-content: center; }
}