/* =====================
   VARIABLES & RESET
======================== */
:root {
    --gold: #C9A84C;
    --gold-light: #e8c96a;
    --black: #080808;
    --dark: #111111;
    --white: #ffffff;
    --cream: #f5f2ec;
    --muted: rgba(255,255,255,0.55);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--black); color: var(--white); -webkit-font-smoothing: antialiased; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* =====================
   HEADER
======================== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 0;
    background: rgba(8,8,8,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,168,76,0.15);
}
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo-img { height: 44px; width: auto; object-fit: contain; }
nav { display: flex; align-items: center; gap: 2px; }
nav a { padding: 8px 10px; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 12px; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; white-space: nowrap; }
nav a:hover, nav a.active { color: var(--gold); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; text-decoration: none; border-radius: 3px; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; border: none; transition: all 0.25s ease; white-space: nowrap; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold)); background-size: 200%; color: var(--black); }
.btn-gold:hover { background-position: 100%; box-shadow: 0 4px 20px rgba(201,168,76,0.4); transform: translateY(-1px); }
.btn-wp { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-wp:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 14px 28px; font-size: 13px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); }

/* =====================
   HERO 1
======================== */
.hero1 { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 72px; }
.hero1-bg { position: absolute; inset: 0; background-image: url('img/foto_portada_hero.png'); background-size: cover; background-position: center top; z-index: 0; }
.hero1-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,8,8,0.75) 0%, rgba(8,8,8,0.55) 40%, rgba(8,8,8,0.1) 75%, rgba(8,8,8,0.0) 100%); z-index: 1; }
.hero1-grid { position: relative; z-index: 2; width: 100%; }
.hero1-content { padding: 80px 0; max-width: 580px; }
.hero1-content h1 { font-family: var(--font-heading); font-size: clamp(30px,4vw,54px); font-weight: 700; line-height: 1.1; text-transform: uppercase; margin-bottom: 20px; }
.hero1-content h1 span { color: var(--gold); display: block; }
.hero1-sub { font-size: 16px; color: rgba(255,255,255,0.85); border-left: 2px solid var(--gold); padding-left: 16px; margin-bottom: 16px; line-height: 1.6; }
.hero1-line { width: 48px; height: 1px; background: var(--gold); margin: 20px 0; }
.hero1-body { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.hero1-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero1-note { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

.hero1-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: calc(100vh - 72px); }
.hero1-photo { display: flex; align-items: flex-end; justify-content: center; }
.hero1-photo img { width: 100%; max-width: 520px; height: auto; object-fit: cover; object-position: top; display: block; filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6)); }

@media (max-width: 768px) {
    .hero1-grid { grid-template-columns: 1fr; }
    .hero1-photo { display: none; }
}

/* =====================
   HERO 2 — ÁREAS DE NEGOCIO
======================== */
.hero2 { position: relative; padding: 80px 0; background-image: url('img/splash-cream_sin_logo.png'); background-size: cover; background-position: center; color: var(--black); }
.hero2-inner { position: relative; display: flex; align-items: center; gap: 40px; }
.hero2-logo { flex-shrink: 0; opacity: 0.15; width: 140px; filter: blur(1px); pointer-events: none; }
.hero2-main { flex: 1; }
.hero2-header { text-align: center; margin-bottom: 48px; }
.hero2-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.hero2-line-anim { width: 0; height: 2px; background: var(--gold); margin: 8px auto 20px; animation: lineGrow 0.8s ease forwards 0.3s; }
@keyframes lineGrow { to { width: 60px; } }
.hero2-header h2 { font-family: var(--font-heading); font-size: clamp(26px,3.5vw,42px); font-weight: 700; color: #1a1a1a; margin-bottom: 12px; }
.hero2-header p { font-size: 15px; color: rgba(0,0,0,0.55); }

.hero2-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.hero2-card { background: rgba(245,238,225,0.92); padding: 32px 24px; border-radius: 3px; border: 1px solid rgba(160,120,48,0.2); border-bottom: 3px solid transparent; opacity: 0; transform: translateY(20px); animation: cardIn 0.5s ease forwards; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.hero2-card:nth-child(1) { animation-delay: 0.5s; }
.hero2-card:nth-child(2) { animation-delay: 0.7s; }
.hero2-card:nth-child(3) { animation-delay: 0.9s; }
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }
.hero2-card:hover { border-bottom-color: var(--gold); box-shadow: 0 12px 40px rgba(0,0,0,0.12); transform: translateY(-4px); }
.card-icon { color: #a07830; margin-bottom: 4px; }
.hero2-card h3 { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: #1a1a1a; line-height: 1.3; }
.hero2-card p { font-size: 13px; color: rgba(0,0,0,0.6); line-height: 1.7; flex: 1; }
.card-link { font-size: 12px; font-weight: 600; color: #a07830; text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.card-link:hover { color: var(--gold); }
.hero2-footer { text-align: center; margin-top: 40px; font-size: 13px; color: rgba(0,0,0,0.45); line-height: 1.7; }
.hero2-footer strong { color: rgba(0,0,0,0.7); }

/* =====================
   HERO 3
======================== */
.hero3-banner { background-image: url('img/splash-gold.png'); background-size: cover; background-position: center; padding: 40px 0; text-align: center; border-top: 1px solid rgba(201,168,76,0.2); border-bottom: 1px solid rgba(201,168,76,0.2); position: relative; overflow: hidden; }
.hero3-banner::before { content: ''; position: absolute; inset: 0; background: rgba(8,8,8,0.62); }
.hero3-banner > * { position: relative; z-index: 1; }
.hero3-banner p { font-size: clamp(14px,1.5vw,18px); color: var(--gold); margin-bottom: 8px; font-style: italic; }
.hero3-banner h3 { font-family: var(--font-heading); font-size: clamp(18px,2.5vw,30px); color: var(--white); }
.banner-logo { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); opacity: 0.07; width: 90px; z-index: 1; }

.hero3-cols { display: flex; min-height: 620px; }
.col-img { flex: 0 0 11%; background-size: cover; background-position: center; }
.col-img-izq { background-image: url('img/hero3izq.png'); }
.col-img-dch { background-image: url('img/hero3dch.png'); }
.col-white { flex: 1; background-image: url('img/splash-cream_sin_logo.png'); background-size: cover; background-position: center; color: #1a1a1a; padding: 44px 32px; display: flex; flex-direction: column; gap: 14px; }
.col-dark { flex: 1; position: relative; color: var(--white); padding: 44px 32px; display: flex; flex-direction: column; gap: 14px; background-image: url('img/hero3central.png'); background-size: cover; background-position: center; }
.col-dark::before { content: ''; position: absolute; inset: 0; background: rgba(8,8,8,0.50); z-index: 0; }
.col-dark > * { position: relative; z-index: 1; }
.col-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.col-white .col-title { color: #1a1a1a; }
.col-dark .col-title { color: var(--white); }
.col-title-line { width: 32px; height: 2px; background: var(--gold); margin: 4px 0 8px; }
.col-body { font-size: 13px; line-height: 1.7; }
.col-white .col-body { color: rgba(0,0,0,0.65); }
.col-dark .col-body { color: rgba(255,255,255,0.85); }
.col-subtitle { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.col-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.col-list li { font-size: 13px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.col-white .col-list li { color: rgba(0,0,0,0.7); }
.col-dark .col-list li { color: rgba(255,255,255,0.85); }
/* Círculo dorado con tick — columnas crema */
.col-white .col-list li::before { content: ''; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; min-width: 18px; border-radius: 50%; background: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 12px; margin-top: 1px; flex-shrink: 0; }
/* Círculo dorado con tick dorado — columna central */
.col-dark .col-list li::before { content: ''; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; min-width: 18px; border-radius: 50%; border: 1.5px solid var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='%23C9A84C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 12px; margin-top: 1px; flex-shrink: 0; }
.col-btns { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.col-btns .btn { justify-content: center; font-size: 11px; padding: 10px 16px; }
.col-white .btn-wp { border: 1px solid rgba(0,0,0,0.2); color: #333; background: transparent; }
.col-white .btn-wp:hover { background: rgba(0,0,0,0.06); }

/* =====================
   HERO 4 — HABLEMOS
======================== */
.hero4 { position: relative; padding: 80px 0 0; background-image: url('img/splash-gold.png'); background-size: cover; background-position: center; }
.hero4::before { content: ''; position: absolute; inset: 0; background: rgba(8,8,8,0.60); z-index: 0; }
.hero4-content { position: relative; z-index: 1; text-align: center; padding-bottom: 60px; }
.hero4-content h2 { font-family: var(--font-heading); font-size: clamp(28px,3vw,48px); font-weight: 700; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.hero4-content p { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.hero4-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero4-valores { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(201,168,76,0.2); margin-top: 60px; }
.valor { padding: 24px 20px; border-right: 1px solid rgba(201,168,76,0.1); display: flex; flex-direction: row; align-items: flex-start; gap: 14px; text-align: left; }
.valor:last-child { border-right: none; }
.valor-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.valor-text strong { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.valor-text span { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* =====================
   FOOTER
======================== */
.footer { background: var(--black); padding: 24px 0; border-top: 1px solid rgba(201,168,76,0.15); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-logo { height: 52px; width: auto; opacity: 0.9; }
.footer p { font-size: 12px; color: var(--muted); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--gold); transition: opacity 0.2s; }
.footer-social a:hover { opacity: 0.7; }

/* =====================
   PÁGINAS INTERIORES
======================== */
.page-hero { position: relative; min-height: 70vh; display: flex; align-items: center; padding-top: 72px; background-size: cover; background-position: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.7) 60%, rgba(8,8,8,0.3) 100%); }
.page-hero.text-right::before { background: linear-gradient(to left, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.75) 40%, rgba(8,8,8,0.1) 70%, rgba(8,8,8,0.0) 100%); }
.page-hero.text-right .page-hero-content { margin-left: auto; margin-right: 0; }
.page-hero-content { position: relative; z-index: 1; max-width: 600px; padding: 60px 0; }
.page-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.page-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.page-hero-content h1 { font-family: var(--font-heading); font-size: clamp(30px,4vw,54px); font-weight: 700; text-transform: uppercase; line-height: 1.1; margin-bottom: 16px; }
.page-hero-content h1 span { color: var(--gold); }
.page-hero-content p { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 28px; }
.page-section { padding: 80px 0; }
.page-section.cream { background-image: url('img/splash-cream_sin_logo.png'); background-size: cover; background-position: center; color: #1a1a1a; }
.page-section.dark { background-image: url('img/splash-gold.png'); background-size: cover; background-position: center; position: relative; }
.page-section.dark::before { content: ''; position: absolute; inset: 0; background: rgba(8,8,8,0.72); }
.page-section.dark > .container { position: relative; z-index: 1; }
.page-section h2 { font-family: var(--font-heading); font-size: clamp(24px,3vw,38px); font-weight: 700; margin-bottom: 24px; }
.page-section.cream h2 { color: #1a1a1a; }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.section-line { width: 40px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.list-gold { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.list-gold li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; }
.list-gold li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.highlight-box { background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2); border-radius: 3px; padding: 24px; margin: 20px 0; }
.highlight-box strong { color: var(--gold); font-size: 14px; display: block; margin-bottom: 8px; }
.highlight-box p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.chart-box { background: rgba(8,8,8,0.6); border: 1px solid rgba(201,168,76,0.2); border-radius: 4px; padding: 24px; }
.chart-title { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.proceso-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 32px; }
.proceso-item { text-align: center; padding: 24px 16px; border: 1px solid rgba(201,168,76,0.15); border-radius: 3px; }
.proceso-num { font-family: var(--font-heading); font-size: 36px; color: var(--gold); opacity: 0.4; line-height: 1; margin-bottom: 8px; }
.proceso-item h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.proceso-item p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.sobre-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.sobre-img { width: 100%; border-radius: 3px; display: block; }
.sobre-text p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 16px; }
.contacto-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,76,0.2); border-radius: 3px; color: var(--white); font-family: var(--font-body); font-size: 14px; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { height: 120px; resize: vertical; }
.form-group select option { background: var(--dark); }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; }
.contact-item a:hover { color: var(--gold); }

/* =====================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
    .hero2-inner { flex-direction: column; }
    .hero2-logo { display: none; }
    .hero2-cards { grid-template-columns: 1fr; max-width: 480px; margin: auto; }
    .hero4-valores { grid-template-columns: repeat(2,1fr); }
    .proceso-grid { grid-template-columns: repeat(2,1fr); }
    .section-grid, .sobre-grid, .contacto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Header */
    .menu-toggle { display: flex; }
    nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(8,8,8,0.98); flex-direction: column; padding: 16px; border-bottom: 1px solid rgba(201,168,76,0.2); gap: 0; }
    nav.open { display: flex; }
    nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; }
    .nav-cta { display: none; }

    /* Hero 1 */
    .hero1-grid { grid-template-columns: 1fr; }
    .hero1-photo { display: none; }
    .hero1-btns { flex-direction: column; }
    .hero1-content { padding: 60px 0 40px; }
    .hero1-content h1 { font-size: clamp(28px, 8vw, 42px); }

    /* Hero 2 */
    .hero2 { padding: 60px 0; }
    .hero2-inner { flex-direction: column; gap: 0; }
    .hero2-logo { display: none; }
    .hero2-main { width: 100%; }
    .hero2-cards { grid-template-columns: 1fr; max-width: 100%; }

    /* Hero 3 */
    .hero3-cols { flex-direction: column; }
    .col-img { display: none; }
    .col-white, .col-dark { padding: 36px 24px; }

    /* Hero 4 */
    .hero4-valores { grid-template-columns: 1fr 1fr; }
    .valor { padding: 16px 12px; gap: 10px; }
    .valor-icon svg { width: 24px; height: 24px; }
    .valor-text strong { font-size: 11px; }
    .valor-text span { font-size: 11px; }

    /* Proceso grid */
    .proceso-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

    /* Páginas interiores */
    .section-grid { grid-template-columns: 1fr; gap: 32px; }
    .sobre-grid { grid-template-columns: 1fr; gap: 32px; }
    .contacto-grid { grid-template-columns: 1fr; gap: 40px; }

    /* Grids de 3 columnas en páginas interiores */
    .page-section > .container > div[style*="repeat(3"] { display: grid; grid-template-columns: 1fr !important; }
    .page-section > .container > div[style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }

    /* Footer */
    .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
    .banner-logo { display: none; }

    /* General padding */
    .page-section { padding: 60px 0; }
    .container { width: 92%; }
}

@media (max-width: 480px) {
    .hero4-valores { grid-template-columns: 1fr; }
    .proceso-grid { grid-template-columns: 1fr; }
    .valor { flex-direction: row; align-items: flex-start; }
}