/* ═══════════════════════════════════
   CASA DE AMOR — Shared Styles
═══════════════════════════════════ */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
}

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

:root {
  --black:   #160f0a;
  --black2:  #0f0906;
  --cream:   #f2ebe0;
  --terra:   #c4603a;
  --terra-d: #9e4928;
  --terra-l: #e8a882;
  --mid:     #7a6e65;
  --line:    rgba(242,235,224,0.1);
  --sans:    'DM Sans', sans-serif;
  --display: 'Bebas Neue', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV (always dark) ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--line);
  padding: 0 48px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  height: 100%;
  align-items: center;
}
.nav-links li {
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(242,235,224,0.72);
  text-decoration: none;
  transition: color 0.2s;
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.active {
  color: var(--cream);
  border-bottom-color: var(--terra);
}
.nav-cta {
  background: var(--terra);
  color: white;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 22px;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--terra-d); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: 76px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--display);
  font-size: 44px;
  letter-spacing: 2px;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--terra); }
.mobile-nav .nav-cta {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 2px;
  padding: 14px 36px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: #b35127; color: white; border: 2px solid #b35127; }
.btn-primary:hover { background: #8c3d1c; border-color: #8c3d1c; }
.btn-ghost { background: transparent; color: var(--cream); border: 2px solid rgba(242,235,224,0.3); }
.btn-ghost:hover { background: rgba(242,235,224,0.06); border-color: rgba(242,235,224,0.6); }
.btn-ghost-terra { background: transparent; color: var(--terra-l); border: 2px solid rgba(196,96,58,0.4); }
.btn-ghost-terra:hover { background: rgba(196,96,58,0.08); border-color: var(--terra); }

/* ── TEXT LINK ── */
.text-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terra);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}
.text-link:hover { gap: 10px; color: var(--terra-l); }

/* ── EYEBROW ── */
.eyebrow {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--terra);
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.eyebrow-plain {
  background: none;
  color: var(--terra-l);
  padding: 0;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  margin-top: 76px;
  position: relative;
  height: 380px;
  overflow: hidden;
}
.page-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: brightness(0.55);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,15,10,0.85) 0%, rgba(22,15,10,0.2) 70%);
  display: flex;
  align-items: flex-end;
  padding: 52px 64px;
}
.page-hero-title {
  font-family: var(--display);
  font-size: clamp(52px, 6vw, 80px);
  line-height: 0.92;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream);
}


/* ── SECTION ── */
.section { padding: 96px 64px; }
.section-sm { padding: 64px 64px; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-title {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 0.95;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}
.section-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(242,235,224,0.88);
  max-width: 460px;
  margin-bottom: 28px;
}

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--line); }

/* ── QUOTE BAND ── */
.quote-band {
  background: var(--terra-d);
  padding: 72px 64px;
  text-align: center;
}
.quote-mark {
  font-family: var(--display);
  font-size: 80px;
  line-height: 0.5;
  color: rgba(255,255,255,0.2);
  margin-bottom: 8px;
}
.quote-text {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: 0.5px;
  color: white;
  max-width: 760px;
  margin: 0 auto 16px;
  line-height: 1.1;
}
.quote-attr {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  letter-spacing: 1px;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 64px 64px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 48px;
}
.footer-logo img { height: 56px; width: auto; margin-bottom: 16px; display: block; }
.footer-brand p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(242,235,224,0.85);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-col .footer-heading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terra-l);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(242,235,224,0.88);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cream); }
.footer-detail {
  font-size: 14px;
  font-weight: 400;
  color: rgba(242,235,224,0.88);
  line-height: 1.8;
}
.footer-detail strong { color: var(--cream); font-weight: 600; }
.footer-detail a { color: var(--terra-l); text-decoration: none; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(242,235,224,0.55); }
.footer-bottom a { color: var(--terra); text-decoration: none; }
.creator-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(196,96,58,0.28);
  background: rgba(196,96,58,0.06);
  color: rgba(242,235,224,0.65);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}
.creator-credit::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--terra);
  box-shadow: 0 0 0 4px rgba(196,96,58,0.14);
}
.creator-credit strong {
  color: var(--terra-l);
  font-weight: 600;
}
.creator-credit:hover {
  background: rgba(196,96,58,0.12);
  border-color: rgba(196,96,58,0.55);
  color: var(--cream);
  transform: translateY(-1px);
}

/* ── MOBILE FAB ── */
.fab-wrap {
  position: fixed;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  right: max(20px, calc(env(safe-area-inset-right) + 16px));
  z-index: 900;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
@media (max-width: 768px) {
  .fab-wrap { display: flex; }
}
.fab-main {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--terra);
  border: none; color: white;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.fab-main:active { background: var(--terra-d); }
.fab-main-icon {
  transition: transform 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}
.fab-wrap.open .fab-main-icon { opacity: 0.6; transform: scale(0.85); }

.fab-actions {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px;
}
.fab-item {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; border: none;
  background: none; cursor: pointer; padding: 0;
  opacity: 0; transform: translateY(10px) scale(0.95);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.fab-wrap.open .fab-item { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.fab-wrap.open .fab-item:nth-child(3) { transition-delay: 0s; }
.fab-wrap.open .fab-item:nth-child(2) { transition-delay: 0.05s; }
.fab-wrap.open .fab-item:nth-child(1) { transition-delay: 0.1s; }

.fab-item-label {
  background: rgba(15,9,6,0.92);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(242,235,224,0.12);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.fab-item-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--black2);
  border: 1px solid rgba(242,235,224,0.18);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  transition: background 0.2s, border-color 0.2s;
}
.fab-item:active .fab-item-btn,
.fab-item:hover .fab-item-btn {
  background: var(--terra);
  border-color: var(--terra);
}
.fab-item-book .fab-item-btn {
  background: var(--terra);
  border-color: var(--terra);
}
.fab-item-book:active .fab-item-btn { background: var(--terra-d); border-color: var(--terra-d); }

/* ── BOOKING MODAL ── */
.booking-modal {
  position: fixed; inset: 0; z-index: 1200;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(15,9,6,0.78);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.booking-modal.open { display: flex; }
.booking-dialog {
  width: min(1080px, 100%);
  height: min(860px, calc(100dvh - 48px));
  background: var(--black);
  border: 1px solid rgba(196,96,58,0.35);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  overflow: hidden; position: relative;
}
.booking-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 36px; height: 36px;
  background: rgba(22,15,10,0.85);
  border: 1px solid rgba(242,235,224,0.22);
  color: var(--cream); font-size: 20px; line-height: 1;
  cursor: pointer; backdrop-filter: blur(6px);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.booking-close:hover { border-color: var(--terra); background: rgba(196,96,58,0.85); color: white; }
.booking-modal-frame { width: 100%; height: 100%; }
.booking-modal-frame iframe { width: 100%; height: 100%; border: none; display: block; }
body.booking-open { overflow: hidden; }
@media (max-width: 480px) {
  .booking-modal { padding: 0; }
  .booking-dialog { width: 100%; height: 100dvh; border: none; }
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal.visible { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  .section { padding: 72px 24px; }
  .section-sm { padding: 48px 24px; }
  footer { padding: 48px 24px 24px; }
  .page-hero-overlay { padding: 36px 24px; }
  .quote-band { padding: 56px 24px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero { height: 260px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  nav { padding: 0 16px; }
  .section { padding: 56px 16px; }
  .section-sm { padding: 40px 16px; }
  .page-hero { height: 220px; }
  .page-hero-overlay { padding: 24px 16px; }
  .page-hero-title { font-size: 42px; line-height: 0.95; }
  .section-title { font-size: 30px; }
  .section-body { max-width: 100%; font-size: 15px; }
  .quote-band { padding: 40px 16px; }
  footer { padding: 40px 16px 24px; }
  .mobile-nav a { font-size: 34px; }
  .mobile-nav .nav-cta { font-size: 22px; padding: 12px 28px; }
  .btn { font-size: 13px; padding: 12px 20px; }
  .eyebrow { font-size: 18px; letter-spacing: 2px; }
}
