/* ============================================================
   DANIELASH — Identidad visual
   Paleta: blush pink cálido + rose gold metálico + marrón profundo
   Tipografía: "Fraunces" (display, con carácter) + "Jost" (cuerpo, geométrica limpia)
   ============================================================ */

:root {
  --blush:        #f4e4e0;
  --blush-deep:   #ecd2cc;
  --rose-gold:    #b8756f;
  --rose-gold-lt: #cf9a8f;
  --espresso:     #3a2a26;
  --espresso-70:  rgba(58, 42, 38, 0.7);
  --cream:        #fbf6f3;
  --line:         rgba(58, 42, 38, 0.14);
  --ok:           #6c8a63;
  --warn:         #b8756f;

  --serif: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max-w: 1180px;
  --radius: 2px;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  color: var(--espresso);
}

.section-label {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--rose-gold);
  margin: 0 0 10px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 620px;
}

.section-intro {
  max-width: 480px;
  color: var(--espresso-70);
  margin-top: 14px;
  font-size: 16px;
}

button, .btn {
  font-family: var(--sans);
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--espresso);
  color: var(--cream);
}
.btn-primary:hover { background: var(--rose-gold); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--espresso);
}
.btn-outline:hover { background: var(--espresso); color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--espresso);
  padding: 8px 0;
  border-bottom: 1px solid var(--espresso);
  border-radius: 0;
}

/* ---------------- Header ---------------- */

header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 246, 243, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 34px; width: 34px; border-radius: 50%; object-fit: cover; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  color: var(--espresso);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--rose-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle { display: none; }

/* ---------------- Hero ---------------- */

.hero {
  padding: 168px 0 96px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  color: var(--rose-gold);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-gold);
}

.hero p.lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--espresso-70);
  max-width: 440px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-figure {
  position: relative;
}
.hero-figure .frame {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.hero-figure .frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 16px 20px;
  max-width: 220px;
  box-shadow: 0 12px 30px rgba(58,42,38,0.08);
}
.hero-badge strong {
  font-family: var(--serif);
  display: block;
  font-size: 24px;
  color: var(--rose-gold);
}
.hero-badge span {
  font-size: 13px;
  color: var(--espresso-70);
}

/* ---------------- Sections generic ---------------- */

section { padding: 96px 0; }
section.alt { background: var(--blush); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

/* ---------------- Services ---------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--cream);
  padding: 40px 34px;
}

.service-card .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--rose-gold-lt);
  font-size: 15px;
}

.service-card h3 {
  font-size: 22px;
  margin-top: 18px;
}

.service-card p {
  color: var(--espresso-70);
  font-size: 15px;
  margin-top: 12px;
}

.service-card .dur {
  margin-top: 20px;
  font-size: 13px;
  color: var(--rose-gold);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ---------------- Gallery ---------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 1;
  background: var(--blush-deep);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .cap { opacity: 1; }

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--espresso-70);
  font-size: 14px;
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 12, 10, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: #fff; background: none; font-size: 28px; line-height: 1;
}
.lightbox-cap {
  position: absolute; bottom: 30px; left: 0; right: 0;
  text-align: center; color: #f4e4e0; font-size: 14px;
}

/* ---------------- Booking ---------------- */

.booking-box {
  background: var(--cream);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.booking-col { padding: 44px; }
.booking-col + .booking-col { border-left: 1px solid var(--line); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--espresso-70);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  border-radius: var(--radius);
  color: var(--espresso);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--rose-gold-lt);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 80px; }

.slots {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 6px;
}
.slot-btn {
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 14px;
  color: var(--espresso);
  border-radius: 2px;
}
.slot-btn:hover { border-color: var(--rose-gold); }
.slot-btn.selected {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}
.slot-btn:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

.booking-note {
  font-size: 13px;
  color: var(--espresso-70);
  margin-top: 16px;
}

.booking-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 12px 14px;
  display: none;
}
.booking-status.show { display: block; }
.booking-status.ok { background: #e9f0e6; color: #47603f; }
.booking-status.err { background: #f6e6e3; color: #8c3d33; }

/* ---------------- Contact / footer ---------------- */

.contact-band {
  background: var(--espresso);
  color: var(--cream);
  padding: 80px 0;
}
.contact-band .section-label { color: var(--rose-gold-lt); }
.contact-band h2 { color: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.contact-links {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.contact-links .btn-outline {
  border-color: rgba(251,246,243,0.4);
  color: var(--cream);
}
.contact-links .btn-outline:hover { background: var(--cream); color: var(--espresso); }

footer.site-footer {
  padding: 36px 0;
  font-size: 13px;
  color: var(--espresso-70);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,0.4);
  text-decoration: none;
}
.wa-float svg { width: 28px; height: 28px; }

/* ---------------- Mobile ---------------- */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; background: none; padding: 6px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero { padding: 130px 0 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-box { grid-template-columns: 1fr; }
  .booking-col + .booking-col { border-left: none; border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
}
