/* Variables de color */
:root {
    --bg-cream: #F9F8F6;
    --bg-lightgrey: #EAE9E4;
    --sage-green: #88a3a5;
    --text-dark: #1A1A1A;
    --text-grey: #666666;
    --border-color: #DCDCDC;
    --number-color: #D3D0C7;
    --white: #FFFFFF;
}
/* --sage-green: #678065;verde
--sage-green: #a99475ff; beige 
--sage-green: #88a3a5; celeste pastel*/

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background-color: var(--white); line-height: 1.6; }
h1, h2, h3, .logo, .number, .serif { font-family: 'Playfair Display', serif; }

/* --- MARKETING: Promo Bar --- */
.promo-bar {
    background-color: var(--sage-green);
    color: var(--white);
    text-align: center;
    padding: 8px 20px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.promo-bar a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

/* --- HEADER --- */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; background-color: var(--bg-cream);
    border-bottom: 1px solid var(--border-color);
    position: sticky; top: 0; z-index: 100;
}
.logo { font-size: 1.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
nav ul { display: flex; list-style: none; gap: 40px; }
nav ul li a { text-decoration: none; color: var(--text-grey); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
nav ul li a:hover { color: var(--text-dark); }
.btn-black { background-color: var(--text-dark); color: var(--white); text-decoration: none; padding: 12px 30px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; transition: background-color 0.3s; border-radius: 3px; }
.btn-black:hover { background-color: #000; }

/* --- HERO SECTION --- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.hero-left { background-color: var(--bg-cream); padding: 80px; display: flex; flex-direction: column; justify-content: center; }
.location { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: var(--text-grey); margin-bottom: 40px; display: flex; align-items: center; gap: 10px; }
.location::before { content: ""; display: block; width: 30px; height: 1px; background-color: var(--text-grey); }
.hero-left h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 30px; font-weight: 400; }
.hero-left h1 em { color: var(--sage-green); font-style: italic; }
.hero-left p { color: var(--text-grey); font-size: 1rem; max-width: 450px; margin-bottom: 50px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 20px; }
.btn-outline { background-color: transparent; color: var(--text-dark); border: 1px solid var(--text-dark); text-decoration: none; padding: 12px 30px; font-size: 0.9rem; font-weight: 500; transition: all 0.3s; border-radius: 3px; }
.btn-outline:hover { background-color: var(--text-dark); color: var(--white); }

/* Hero Images (Instagram Vibe) */
.hero-right { display: grid; grid-template-rows: 1fr; }
.img-box {
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end; padding: 30px;
    position: relative;
}
.img-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%);
}
.img-box span {
    position: relative; color: var(--white); font-size: 0.75rem;
    letter-spacing: 3px; text-transform: uppercase; z-index: 2;
}
.img-1 { background-image: url("./studioblancoynegro.png"); }

/* --- SERVICES GRID --- */
.services-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.service-col { padding: 50px 30px; border-right: 1px solid var(--border-color); }
.service-col:last-child { border-right: none; }
.number { font-size: 2.5rem; color: var(--number-color); margin-bottom: 15px; font-weight: 400; }
.service-col h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.service-col p { font-size: 0.85rem; color: var(--text-grey); line-height: 1.6; }

/* --- PHILOSOPHY SECTION --- */
.philosophy { display: grid; grid-template-columns: 1fr 1fr; background-color: var(--sage-green); color: var(--white); }
.phil-left { padding: 80px; border-right: 1px solid rgba(255, 255, 255, 0.2); }
.phil-subtitle { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 20px; display: block; }
.phil-left h2 { font-size: 3rem; font-weight: 400; margin-bottom: 25px; line-height: 1.2; }
.phil-left p { font-size: 0.9rem; margin-bottom: 40px; max-width: 400px; color: rgba(255, 255, 255, 0.9); }
.btn-white { background-color: var(--white); color: var(--sage-green); text-decoration: none; padding: 12px 30px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; display: inline-block; transition: opacity 0.3s; border-radius: 3px; }
.btn-white:hover { opacity: 0.9; }

.phil-right { padding: 80px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.phil-right p { font-size: 0.95rem; display: flex; align-items: center; }
.phil-right p::before { content: "•"; margin-right: 15px; font-size: 1.2rem; }

/* --- MARKETING: INSTAGRAM FEED --- */
.instagram-section { padding: 80px 40px; background-color: var(--white); text-align: center; }
.instagram-section h2 { font-size: 2.2rem; margin-bottom: 10px; }
.instagram-section p { color: var(--text-grey); margin-bottom: 40px; font-size: 0.9rem; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 40px; }
.ig-post { aspect-ratio: 1 / 1; overflow: hidden; display: block; position: relative; }
.ig-post video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ig-post:hover img { transform: scale(1.05); }
.ig-post::after {
    content: '♡'; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); color: white; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; opacity: 0; transition: opacity 0.3s ease;
}
.ig-post:hover::after { opacity: 1; }

/* --- MARKETING: MAPA Y UBICACIÓN --- */
.location-section { display: grid; grid-template-columns: 1fr 2fr; background-color: var(--bg-cream); border-top: 1px solid var(--border-color); }
.loc-info { padding: 60px 40px; display: flex; flex-direction: column; justify-content: center; }
.loc-info h3 { font-size: 1.5rem; margin-bottom: 15px; }
.loc-info p { font-size: 0.9rem; color: var(--text-grey); margin-bottom: 20px; line-height: 1.8; }
.loc-info div {display: grid;place-items: center;grid-template-columns:1fr 1fr;height: 2rem; border: 1px solid red;}
.map-container { width: 100%; height: 100%; min-height: 350px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* --- FOOTER --- */
footer { background-color: var(--text-dark); color: var(--white); padding: 30px 40px; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-size: 1.2rem; font-weight: 600; }
.footer-address { font-size: 0.75rem; letter-spacing: 1px; color: #999; }

/* Responsividad */
@media (max-width: 1024px) {
    .hero, .philosophy, .location-section { grid-template-columns: 1fr; }
    .hero-right { min-height: 500px; }
    .services-row { grid-template-columns: 1fr 1fr; }
    .ig-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .services-row { grid-template-columns: 1fr; }
    nav ul { display: none; }
    .hero-left h1 { font-size: 3rem; }
    .hero-left { padding: 40px 20px; }
    footer { flex-direction: column; gap: 15px; text-align: center; }
}
