/* ===== Dayana Athelier 18 — Paleta negro y dorado ===== */

:root {
  /* Dorados */
  --gold: #c6a15b;
  --gold-dark: #8a7448;
  --gold-light: #e0c58a;

  /* Superficies oscuras */
  --bg-0: #121212;   /* footer, lo más profundo */
  --bg-1: #1a1a1a;   /* fondo base */
  --bg-2: #212121;   /* secciones alternas */
  --bg-3: #2e2e2e;   /* tarjetas y bordes suaves */

  /* Texto */
  --ivory: #f5f2ec;
  --text: #f5f2ec;
  --text-soft: #a9a49a;
  --text-dim: #8f8a7e;

  --line: rgba(198, 161, 91, 0.18);
  --line-soft: rgba(245, 242, 236, 0.09);

  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --radius: 2px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--bg-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

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

::selection { background: var(--gold); color: #14120e; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 16px;
}

.section-sub {
  max-width: 560px;
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 48px;
}

.section-head { text-align: center; margin: 0 auto; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

.section-pad { padding: 110px 0; }
.bg-alt { background: var(--bg-2); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: #14120e;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(198, 161, 91, .28);
}

.btn-outline {
  background: transparent;
  border-color: rgba(245, 242, 236, .35);
  color: var(--ivory);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #14120e; }

.btn-wsp { background: #25d366; color: #08240f; }
.btn-wsp:hover {
  background: #37e07a;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, .3);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img { height: 46px; width: auto; transition: var(--transition); }
.header.scrolled .logo img { height: 38px; }

.nav-desktop { display: flex; gap: 34px; align-items: center; }
.nav-desktop a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: var(--transition);
  position: relative;
}
.nav-desktop a:hover { color: var(--gold-light); }
.nav-desktop a::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold);
  transition: var(--transition);
}
.nav-desktop a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header .btn-wsp { padding: 12px 22px; font-size: .74rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  width: 26px; height: 2px; background: var(--ivory);
  transition: var(--transition);
}

.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 340px; height: 100vh;
  background: var(--bg-0);
  border-left: 1px solid var(--line);
  z-index: 1050;
  padding: 100px 36px 40px;
  transition: right .5s cubic-bezier(.4,0,.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,.6);
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ivory);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); padding-left: 6px; }
.mobile-nav .btn { margin-top: 30px; width: 100%; justify-content: center; }
.mobile-nav .btn:hover { padding-left: 34px; }

.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  z-index: 1040; opacity: 0; visibility: hidden; transition: var(--transition);
}
.overlay.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-0);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 20%;
  transform: scale(1.05);
  filter: saturate(.85);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(18,18,18,.92) 0%, rgba(18,18,18,.72) 42%, rgba(18,18,18,.4) 100%),
    linear-gradient(180deg, rgba(18,18,18,.6) 0%, transparent 30%, rgba(18,18,18,.9) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.hero-eyebrow::before { content:''; width: 34px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  font-size: 1.05rem;
  max-width: 520px;
  color: var(--text-soft);
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-dim); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero-scroll .line { width: 1px; height: 40px; background: rgba(245,242,236,.18); overflow: hidden; }
.hero-scroll .line::after {
  content:''; display:block; width:100%; height: 40%; background: var(--gold);
  animation: scrollLine 1.8s infinite;
}
@keyframes scrollLine { 0% { transform: translateY(-100%);} 100% { transform: translateY(250%);} }

/* ---------- Franja de confianza ---------- */
.trust-strip {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px;
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-soft);
}
.trust-strip span { color: var(--gold); margin-right: 9px; }

/* ---------- Servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.service-card {
  background: var(--bg-1);
  padding: 46px 34px;
  transition: var(--transition);
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.service-card:hover {
  background: var(--bg-2);
  z-index: 2;
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: 'Playfair Display', serif;
  font-size: .8rem; color: var(--gold); letter-spacing: .1em;
  margin-bottom: 18px; display: block;
}
.service-card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.service-card p { color: var(--text-soft); font-size: .92rem; }

/* ---------- Portafolio ---------- */
.gallery { column-count: 3; column-gap: 14px; }
.gallery figure {
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  break-inside: avoid;
  background: var(--bg-2);
}
.gallery img {
  width: 100%;
  transition: transform .6s ease, opacity .4s ease;
  cursor: zoom-in;
}
.gallery figure:hover img { transform: scale(1.07); opacity: .82; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(0deg, rgba(18,18,18,.92), transparent);
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0; transform: translateY(8px);
  transition: var(--transition);
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; background: rgba(10,10,9,.96);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-height: 88vh; max-width: 100%;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.lightbox-close {
  position: absolute; top: 26px; right: 32px;
  color: var(--gold); font-size: 2.2rem; cursor: pointer; line-height: 1;
  transition: var(--transition);
}
.lightbox-close:hover { color: var(--gold-light); transform: rotate(90deg); }

/* ---------- Sobre nosotros ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.about-media .frame {
  position: absolute; top: -22px; left: -22px; right: 22px; bottom: 22px;
  border: 1px solid var(--gold);
  z-index: 0;
}
.about-text .section-sub { margin-bottom: 28px; }
.about-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 34px; }
.about-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: .95rem; color: var(--text-soft);
}
.about-list li .ico {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: #14120e;
  display: flex; align-items: center; justify-content: center;
  font-size: .74rem; font-weight: 700;
}

/* ---------- Reservas ---------- */
.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-1);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.booking-info {
  background: linear-gradient(150deg, #1f1a12 0%, var(--bg-0) 100%);
  border-right: 1px solid var(--line);
  padding: 60px 50px;
  display: flex; flex-direction: column; justify-content: center;
}
.booking-info h2 { font-size: 2rem; margin-bottom: 18px; }
.booking-info p { color: var(--text-soft); margin-bottom: 26px; }
.booking-info-item { margin-bottom: 20px; font-size: .92rem; color: var(--text-soft); }
.booking-info-item b {
  display: block; color: var(--gold);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 4px; font-weight: 600;
}

.booking-form { padding: 60px 50px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 22px; }
.field label {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  padding: 10px 2px;
  font-family: inherit; font-size: .95rem;
  color: var(--ivory);
  transition: var(--transition);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
}
.field select option { background: var(--bg-2); color: var(--ivory); }
.field input[type="date"], .field input[type="time"] { color-scheme: dark; }
.field textarea { resize: vertical; min-height: 80px; }
.booking-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .78rem; color: var(--text-dim); margin-top: 14px; text-align: center; }

/* ---------- Ubicación / Contacto ---------- */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
  padding-top: 100px;
  padding-bottom: 100px;
}
.location-inner { width: 100%; }
.location-info .section-sub { margin-bottom: 30px; }
.contact-item {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-item .ico {
  flex: none; width: 42px; height: 42px;
  border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-item b {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px; font-weight: 600;
}
.contact-item a, .contact-item span { font-size: .98rem; color: var(--text-soft); }
.contact-item a:hover { color: var(--gold-light); }

.social-row { display: flex; gap: 14px; margin-top: 30px; }
.social-row a {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  color: var(--text-soft);
  transition: var(--transition);
}
.social-row a:hover {
  background: var(--gold); border-color: var(--gold);
  color: #14120e; transform: translateY(-3px);
}

.map-wrap {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
}
.map-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(92%) hue-rotate(180deg) saturate(.55) contrast(.92);
}

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  background: linear-gradient(120deg, var(--bg-0) 0%, #241d12 55%, var(--bg-0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 110px 0;
}
.cta-final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 20px; }
.cta-final p { color: var(--text-soft); max-width: 480px; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-0); padding: 70px 0 26px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 46px; border-bottom: 1px solid var(--line-soft);
}
.footer-brand img { height: 44px; margin-bottom: 18px; }
.footer-brand p { color: var(--text-dim); font-size: .88rem; max-width: 270px; }
.footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 20px; color: var(--gold); font-weight: 600;
}
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-size: .9rem; color: var(--text-soft); transition: var(--transition); }
.footer ul a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .78rem; color: var(--text-dim);
}

/* ---------- WhatsApp flotante ---------- */
.wsp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wsp-float { animation: none; }
  .hero-scroll .line::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-desktop, .header-cta .btn-wsp.desktop-only { display: none; }
  .burger { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .location { grid-template-columns: 1fr; }
  .about-media { order: -1; margin-bottom: 10px; }
  .location { gap: 40px; padding-top: 80px; padding-bottom: 80px; }
  .map-wrap { min-height: 360px; }
  .booking-wrap { grid-template-columns: 1fr; }
  .booking-info { padding: 50px 34px; border-right: none; border-bottom: 1px solid var(--line); }
  .booking-form { padding: 50px 34px; }
}

@media (max-width: 680px) {
  .section-pad { padding: 76px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery { column-count: 2; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-media .frame { display: none; }
  .about { gap: 44px; }
}

@media (max-width: 420px) {
  .gallery { column-count: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
