/* ===== Propuesta 3 — Premium (oscuro por defecto, con tema claro) ===== */
:root {
  --bg: #0d0f14;
  --surface: #14171e;
  --text: #ece7db;
  --text-muted: #9a9aa5;
  --border: rgba(201,169,97,0.25);
  --gold: #c9a961;
  --gold-light: #ddc48a;
  --whatsapp: #25d366;
  --hero-text: #ece7db;
  --hero-text-muted: #d5d1c4;
  --radius: 4px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

[data-theme="light"] {
  --bg: #f8f4ea;
  --surface: #ffffff;
  --text: #201d17;
  --text-muted: #6b6558;
  --border: rgba(163,128,63,0.3);
  --gold: #9c7a37;
  --gold-light: #7d611f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--text); }

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}
.eyebrow.center { text-align: center; }

.section-title { font-size: 2.4rem; margin-bottom: 18px; }
.section-title.center { text-align: center; }

.rule { width: 60px; height: 1px; background: var(--gold); margin: 0 0 36px; }
.rule.center { margin: 0 auto 50px; }

.section { padding: 110px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  font-weight: 500;
  font-size: 0.85rem;
  font-family: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-gold { background: var(--gold); color: #16181c; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline-light { border-color: color-mix(in srgb, var(--text) 40%, transparent); color: var(--text); background: transparent; }
.btn-outline-light:hover { border-color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1fb455; }
.btn-block { width: 100%; }

/* Icon buttons */
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn, .theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent; color: var(--text);
  cursor: pointer; transition: all 0.2s ease; flex-shrink: 0;
}
.icon-btn:hover, .theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.whatsapp-icon-btn { color: var(--whatsapp); }
.whatsapp-icon-btn:hover { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.icon-moon { display: block; }
.icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: block; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 28px; }
.brand-plate { display: inline-flex; background: #fff; padding: 6px 12px; border-radius: 3px; }
.brand-plate img { height: 44px; width: auto; display: block; }
.brand-plate.small img { height: 34px; }

.main-nav { display: flex; gap: 32px; margin-left: auto; margin-right: 6px; }
.main-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--gold-light); }

.nav-cta { white-space: nowrap; padding: 11px 24px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(35%) brightness(0.65); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,15,20,0.96) 10%, rgba(13,15,20,0.72) 50%, rgba(13,15,20,0.35) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 620px; padding-top: 60px; padding-bottom: 60px; }
.hero-inner h1 { font-size: 4rem; line-height: 1.08; margin-bottom: 22px; color: var(--hero-text); }
.hero-inner .eyebrow { color: var(--gold); }
.hero-lead { color: var(--hero-text-muted); font-size: 1.15rem; max-width: 480px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero .btn-outline-light { border-color: rgba(236,231,219,0.4); color: var(--hero-text); }
.hero .btn-outline-light:hover { border-color: var(--hero-text); background: rgba(255,255,255,0.05); }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1; width: 1px; height: 60px; background: rgba(236,231,219,0.25); }
.hero-scroll span { position: absolute; top: 0; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: scrollDown 2s infinite; }
@keyframes scrollDown { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* Areas */
.areas { background: var(--surface); }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.area-card { background: var(--surface); padding: 48px 36px; text-align: center; }
.area-index { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); display: inline-block; margin-bottom: 18px; border: 1px solid var(--border); width: 46px; height: 46px; line-height: 44px; border-radius: 50%; }
.area-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.area-sub { color: var(--gold); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.area-card p:last-child { color: var(--text-muted); font-size: 0.96rem; }

/* About */
.about-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 70px; align-items: center; }
.about-text p { color: var(--text-muted); margin-bottom: 18px; }
.pull-quote { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold-light); border-left: 2px solid var(--gold); padding-left: 22px; margin-top: 28px; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; object-position: top; filter: grayscale(15%); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); }

/* Testimonials */
.testimonials { background: var(--surface); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.testimonial-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 40px; position: relative; }
.quote-mark { position: absolute; top: 10px; left: 24px; font-family: var(--serif); font-size: 4rem; color: var(--gold); opacity: 0.35; line-height: 1; }
.testimonial-card p { font-family: var(--serif); font-size: 1.3rem; font-style: italic; margin-bottom: 20px; color: var(--text); position: relative; z-index: 1; }
.testimonial-card cite { font-style: normal; color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* Contact */
.contact-card { max-width: 780px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 56px; text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 40px; text-align: left; }
.contact-item { border-top: 1px solid var(--border); padding-top: 14px; }
.contact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }
.contact-item p { margin-top: 6px; color: var(--text-muted); }
.contact-item a:hover { color: var(--gold-light); }
.contact-cta-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; color: var(--text-muted); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5,5,7,0.65);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--surface); color: var(--text);
  width: 100%; max-width: 480px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
  max-height: 90vh; overflow-y: auto;
}
.modal h3 { font-size: 1.8rem; margin-bottom: 8px; }
.modal-sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 24px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent; color: var(--text);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }

.consulta-form { display: flex; flex-direction: column; gap: 16px; }
.consulta-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; color: var(--text-muted); }
.consulta-form input, .consulta-form select, .consulta-form textarea {
  font-family: var(--sans); font-size: 0.96rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 11px 14px; resize: vertical; text-transform: none; letter-spacing: normal;
}
.consulta-form input:focus, .consulta-form select:focus, .consulta-form textarea:focus {
  outline: none; border-color: var(--gold);
}
.consulta-form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.consulta-note { font-size: 0.85rem; color: var(--gold); min-height: 1.2em; text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { order: -1; max-width: 340px; margin: 0 auto; }
  .areas-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-inner h1 { font-size: 3rem; }
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 280px; background: var(--surface); flex-direction: column; padding: 100px 32px; gap: 26px; transition: right 0.3s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.4); border-left: 1px solid var(--border); }
  .main-nav.open { right: 0; }
  .main-nav a { font-size: 1rem; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 76px 0; }
  .hero { min-height: 100vh; }
  .hero-inner h1 { font-size: 2.4rem; }
  .section-title { font-size: 1.8rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 36px 24px; }
  .header-actions { gap: 6px; }
  .modal { padding: 28px 22px; }
}
