
:root {
  --bg: #f6f0e5;
  --surface: #fffdf8;
  --ink: #17211c;
  --muted: #5d665f;
  --green: #527b0f;
  --green-dark: #25402f;
  --green-soft: #dce8be;
  --beige: #e8dece;
  --line: rgba(23, 33, 28, 0.12);
  --radius: 22px;
  --shadow: 0 18px 45px rgba(22, 33, 28, 0.10);
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-cream { background: #efe7d8; }
.section-dark { background: var(--green-dark); color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,248,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23,33,28,0.08);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display:flex; flex-direction:column; line-height:1.05; }
.brand-text strong { font-size: 17px; }
.brand-text span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }
.main-nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.main-nav a { font-size: 14px; color: var(--muted); font-weight: 600; }
.main-nav a:hover { color: var(--ink); }

.btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 800; font-size: 14px; border:1px solid transparent; transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.38); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline-dark { border-color: rgba(23,33,28,.24); color: var(--ink); }
.btn-light { background: white; color: var(--green-dark); }

.hero { position: relative; min-height: 88vh; color: #fff; display: flex; align-items: center; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { background-position: center 48%; background-size: cover; background-repeat: no-repeat; }
.hero-overlay { background: linear-gradient(90deg, rgba(12,19,16,.74), rgba(12,19,16,.36) 55%, rgba(12,19,16,.28)); }
.hero-content { position: relative; z-index: 2; padding: 100px 0; }
.eyebrow, .section-kicker { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; }
.eyebrow { color: var(--green-soft); }
.section-kicker { color: var(--green); }
.hero h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0;
}
.hero h1 { max-width: 720px; font-size: clamp(54px, 8vw, 92px); }
.hero-copy { max-width: 650px; font-size: 18px; color: rgba(255,255,255,.86); margin: 24px 0 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.intro-grid, .celebrations-grid, .contact-grid, .menu-box {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px; align-items: center;
}
.intro-copy h2, .menu-text h2, .celebration-copy h2, .contact h2, .section-heading h2 { font-size: clamp(36px, 5vw, 60px); }
.intro-copy p, .menu-text p, .celebration-copy p, .contact-lead, .section-heading p { color: var(--muted); font-size: 17px; }
.card-photo { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #ddd; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-photo.tall { height: 520px; }
.intro-visual { height: 420px; }

.section-heading { margin-bottom: 44px; }
.center { text-align: center; margin-left:auto; margin-right:auto; }
.narrow { max-width: 780px; }

.salones-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.salon-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(23,33,28,.05);
}
.salon-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}
.salon-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.salon-card-body { padding: 24px; }
.tag {
  display:inline-flex; padding: 7px 12px; border-radius: 999px; background: #eef4df; color: var(--green); font-weight: 800; font-size: 12px;
}
.salon-card h3 { font-size: 30px; margin: 14px 0 8px; }
.salon-card p { margin: 0; color: var(--muted); }

.menu-box {
  background: var(--surface); border-radius: 28px; padding: 22px; box-shadow: var(--shadow);
}
.menu-logo-panel {
  min-height: 420px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f4f7e8, #e4ebcf);
  border: 1px solid rgba(82,123,15,.12);
  overflow: hidden;
}
.menu-logo-panel img {
  width: min(68%, 330px);
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(37,64,47,.10));
}
.icon-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.icon-list li { position: relative; padding-left: 28px; font-weight: 600; }
.icon-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }

.celebration-copy p { color: rgba(255,255,255,.78); }
.pill-row { display:flex; gap:10px; flex-wrap:wrap; margin: 26px 0 30px; }
.pill-row span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.14); }

.contact-list { margin: 30px 0; }
.contact-list > div { display:grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 14px 0; border-bottom:1px solid var(--line); }
.contact-list span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-actions { display:flex; gap: 12px; flex-wrap: wrap; }
.map-card { background: linear-gradient(145deg, #f2f6e8, #e6ebdb); border-radius: 24px; padding: 1px; box-shadow: var(--shadow); }
.map-card-inner { background: #fcfdf8; border-radius: 24px; padding: 30px; height: 100%; }
.map-logo { width: 96px; height: 96px; object-fit: contain; margin-bottom: 18px; }
.map-card h3 { font-size: 30px; margin-bottom: 16px; }
code { background: #eef2e6; padding: 2px 8px; border-radius: 8px; }

.site-footer { background: #101813; color:#fff; padding: 40px 0 94px; }
.footer-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.footer-brand-wrap { display:flex; gap: 14px; align-items:center; }
.footer-logo { width: 48px; height: 48px; object-fit: contain; }
.footer-brand-wrap p, .footer-meta p { margin: 4px 0; color: rgba(255,255,255,.74); }

.mobile-actions { display:none; position:fixed; left:12px; right:12px; bottom:12px; z-index:60; border-radius:999px; overflow:hidden; box-shadow:0 14px 40px rgba(0,0,0,.28); }
.mobile-actions a { flex:1; padding:15px 10px; text-align:center; font-weight:800; font-size:13px; }
.mobile-actions a:first-child { background:#fff; color:var(--green-dark); }
.mobile-actions a:last-child { background:var(--green); color:#fff; }

.menu-toggle {
  display:none; margin-left:auto; width:44px; height:44px; border-radius:50%; border:1px solid rgba(23,33,28,.12); background:transparent; padding:0;
}
.menu-toggle span { width:18px; height:2px; background:var(--ink); display:block; margin:4px auto; }
.desktop-only { display:inline-flex; }

@media (max-width: 980px) {
  .desktop-only { display:none; }
  .menu-toggle { display:block; }
  .main-nav {
    position:absolute; top:76px; left:0; right:0; display:none; flex-direction:column; align-items:stretch; gap:0;
    background: rgba(255,253,248,0.98); margin:0; padding:10px 20px 18px; border-top:1px solid rgba(23,33,28,.08);
  }
  .main-nav.open { display:flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(23,33,28,.08); }

  .intro-grid, .celebrations-grid, .contact-grid, .menu-box { grid-template-columns: 1fr; }
  .salones-cards { grid-template-columns: 1fr; }
  .container { width: min(100% - 28px, var(--container)); }
  .hero { min-height: 760px; }
  .hero-content { padding: 84px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-actions { display:flex; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .nav-wrap { min-height: 70px; }
  .main-nav { top: 70px; }
  .brand-text span { display:none; }
  .hero h1 { font-size: clamp(46px, 15vw, 66px); }
  .hero-copy { font-size: 16px; }
  .hero-actions, .contact-actions { flex-direction: column; }
  .btn { width:100%; }
  .salon-card h3 { font-size: 26px; }
  .menu-box { padding: 16px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Ajuste final: las fotos nunca dejan franjas vacías */
.card-photo { position: relative; }
.card-photo > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
