:root {
  --marfil: #f5f0e8;
  --marfil-2: #ece5d8;
  --espresso: #3a2923;
  --espresso-2: #2a1d18;
  --espresso-soft: #5a463c;
  --nude: #d8c3b8;
  --nude-2: #e8d8cd;
  --gold: #c9a875;
  --gold-2: #b8956a;
  --line: rgba(58, 41, 35, 0.14);
  --line-light: rgba(245, 240, 232, 0.18);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden !important;
}

body {
  margin: 0;
  background: var(--marfil);
  color: var(--espresso);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden !important;
}

::selection {
  background: var(--gold);
  color: var(--marfil);
}

h1,
h2,
h3,
h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--espresso);
}
h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--gold-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--espresso-soft);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.9rem;
}
.text-gold {
  color: var(--gold-2) !important;
}
.text-muted-soft {
  color: var(--marfil) !important;
}
.lead-soft {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--espresso-soft);
  line-height: 1.6;
}

/* ---------- NAV ---------- */
#mainNav {
  padding: 1rem 0;
  transition:
    background 0.35s ease,
    padding 0.35s ease,
    box-shadow 0.35s ease;
  background: transparent;
}
#mainNav.scrolled {
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.55rem 0;
}

.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.12em;
  color: var(--espresso) !important;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  background: var(--marfil);
}

.brand-logo {
  width: 180px;
  height: auto;
}

.nav-link {
  color: var(--espresso-soft) !important;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem !important;
  position: relative;
}
.nav-link:hover,
.nav-link:focus {
  color: var(--espresso) !important;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.25rem;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition:
    width 0.3s ease,
    left 0.3s ease;
}
.nav-link:hover::after {
  width: 60%;
  left: 20%;
}
.navbar-toggler {
  color: var(--espresso);
  border-color: var(--line) !important;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- BUTTONS ---------- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--marfil) !important;
  border: none;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  padding: 0.95rem 1.8rem;
  border-radius: 0;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    letter-spacing 0.25s ease;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(58, 41, 35, 0.35);
  color: var(--marfil) !important;
  letter-spacing: 0.22em;
}
.btn-outline-dark {
  border: 1px solid var(--espresso);
  color: var(--espresso);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  padding: 0.95rem 1.8rem;
  border-radius: 0;
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--espresso);
  color: var(--marfil);
  border-color: var(--espresso);
}

/* champagne divider line */
.gold-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 0.6rem;
}

/* ----------------------------*/
.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--espresso-soft);
  max-width: 38rem;
  margin: 0 auto 2.4rem;
  font-weight: 300;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 50% at 85% 15%, rgba(216, 195, 184, 0.55), transparent 60%),
    radial-gradient(50% 50% at 10% 85%, rgba(201, 168, 117, 0.25), transparent 60%),
    linear-gradient(180deg, var(--marfil) 0%, var(--marfil-2) 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 168, 117, 0.08) 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(58, 41, 35, 0.04) 1px, transparent 1.5px),
    radial-gradient(circle at 40% 80%, rgba(216, 195, 184, 0.12) 1px, transparent 1.5px);
  background-size:
    80px 80px,
    100px 100px,
    120px 120px;
  opacity: 0.7;
}
.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 8rem 1rem 6rem;
}
.hero .title {
  font-size: clamp(2.8rem, 8.5vw, 6rem);
  line-height: 1.02;
  margin: 0 auto 1.4rem;
  max-width: 18ch;
  font-weight: 400;
}
.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--espresso-soft);
  max-width: 38rem;
  margin: 0 auto 2.4rem;
  font-weight: 300;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.hero-mark {
  margin-bottom: 1.6rem;
  color: var(--espresso-soft);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 1px solid var(--espresso-soft);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  opacity: 0.55;
}
.scroll-cue span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDown 1.6s infinite ease-in-out;
}
@keyframes scrollDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 6rem 0;
  background: var(--marfil);
}
.section-alt {
  background: var(--marfil-2);
}
.section-dark {
  background: var(--espresso);
  color: var(--marfil);
  border-top: 1px solid var(--espresso-2);
  border-bottom: 1px solid var(--espresso-2);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--marfil);
}
.section-dark h1 em,
.section-dark h2 em {
  color: var(--gold);
}
.section-dark .eyebrow {
  color: var(--nude);
}
.section-dark .text-muted-soft {
  color: var(--nude) !important;
}
.section-dark .lead-soft {
  color: var(--nude);
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}
.section-head .display-5 {
  margin-bottom: 0.6rem;
}
.section-head .eyebrow {
  justify-content: center;
}

/* ---------- SERVICE CARDS ---------- */
.svc-card {
  background: var(--nude);
  border: 1px solid transparent;
  border-radius: 0;
  padding: 2.2rem 1.6rem;
  text-align: center;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  position: relative;
  height: 100%;
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: auto 1.4rem 1.4rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: var(--nude-2);
}
.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--espresso);
  font-size: 1.3rem;
  background: var(--marfil);
  transition:
    background 0.35s ease,
    color 0.35s ease;
}
.svc-card:hover .svc-icon {
  background: var(--gold);
  color: var(--marfil);
}
.svc-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  margin-bottom: 0.6rem;
  color: var(--espresso);
}
.svc-card p {
  color: var(--espresso-soft);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.svc-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--espresso-2);
  padding-top: 1rem;
  width: 100%;
}

/* ---------- GALLERY ---------- */
.gallery-item {
  display: block;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--nude);
  transition: transform 0.5s ease;
}
.gallery-item i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--marfil);
  font-size: 1.6rem;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: rgba(58, 41, 35, 0.4);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(58, 41, 35, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item:hover {
  transform: scale(1.02);
}
.gallery-item:hover i,
.gallery-item:hover::after {
  opacity: 1;
}

.gi-1 {
  background: linear-gradient(135deg, #e8d4be 0%, #b8956a 100%);
}
.gi-2 {
  background: linear-gradient(135deg, #d8c3b8 0%, #8a6a5a 100%);
}
.gi-3 {
  background: linear-gradient(135deg, #f0e3d2 0%, #c9a875 100%);
}
.gi-4 {
  background: linear-gradient(135deg, #e8c8b4 0%, #a07a5e 100%);
}
.gi-5 {
  background: linear-gradient(135deg, #f5e8d6 0%, #b8956a 100%);
}
.gi-6 {
  background: linear-gradient(135deg, #d8b8a8 0%, #7a5a4a 100%);
}

/* ---------- ABOUT ---------- */
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: visible;
}
.about-photo-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(245, 240, 232, 0.5), transparent 55%),
    linear-gradient(135deg, #d8c3b8 0%, #a07a5e 60%, #5a463c 100%);
  overflow: hidden;
}
.about-photo-inner::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(245, 240, 232, 0.35);
}
.about-stamp {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--marfil);
  border: 1px solid var(--gold);
  color: var(--espresso);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.15;
  text-align: left;
  box-shadow: 0 18px 40px -16px rgba(58, 41, 35, 0.4);
}
.about-stamp i {
  color: var(--gold-2);
  font-size: 1.4rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
.about-list li {
  padding: 0.6rem 0;
  color: var(--espresso-soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.about-list li:last-child {
  border-bottom: none;
}
.about-list li i {
  color: var(--gold-2);
  width: 18px;
}

.about-list li p span {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--espresso);
}

/* ---------- CONTACT QUICK ---------- */
.contact-quick {
  display: grid;
  gap: 0.7rem;
}
.cq-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(245, 240, 232, 0.18);
  background: rgba(245, 240, 232, 0.04);
  color: var(--marfil) !important;
  text-decoration: none !important;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}
.cq-item:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 117, 0.08);
}
.cq-item i {
  color: var(--gold);
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}
.cq-item small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nude);
}
.cq-item span {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--marfil);
}

/* ---------- TURNOS FORM ---------- */
.turno-form {
  background: var(--marfil);
  border: 1px solid var(--line);
  padding: 2.2rem;
}
.turno-form .form-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--espresso-soft);
  margin-bottom: 0.45rem;
}
.turno-form .form-control,
.turno-form .form-select {
  background: var(--marfil);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--espresso);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.turno-form .form-control:focus,
.turno-form .form-select:focus {
  background: var(--marfil);
  border-color: var(--gold);
  color: var(--espresso);
  box-shadow: 0 0 0 0.15rem rgba(201, 168, 117, 0.25);
}
.turno-form .form-control::placeholder {
  color: #b5a99c;
}
.turno-form .form-check-input {
  background-color: transparent;
  border-color: var(--espresso-soft);
  border-radius: 0;
}
.turno-form .form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}
.turno-form .form-check-label {
  color: var(--espresso-soft);
  font-size: 0.9rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--espresso);
  color: var(--nude);
  padding: 4.5rem 0 1.5rem;
}
.footer .brand {
  color: var(--marfil) !important;
}
.footer .brand-mark {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.footer .brand-logo {
  filter: saturate(0) brightness(100);
}
.footer p {
  color: var(--nude);
}
.brand-lg {
  font-size: 2rem;
}

.footer-h {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  padding: 0.35rem 0;
  color: var(--nude);
  font-size: 0.92rem;
}
.footer-list a {
  color: var(--nude);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-list a:hover {
  color: var(--gold);
}

.footer-rule {
  border-color: rgba(245, 240, 232, 0.12);
  margin: 2.5rem 0 1.2rem;
}
.footer small {
  color: var(--nude);
  opacity: 0.7;
}

.socials {
  display: flex;
  gap: 0.6rem;
}
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: 50%;
  color: var(--nude);
  text-decoration: none;
  transition: all 0.25s;
}
.socials a:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- TURNSTILE GATE ---------- */
.turno-gate {
  background: var(--marfil);
  border: 1px solid var(--line);
  padding: 2.5rem 2rem;
  text-align: center;
}
.tg-icon {
  font-size: 1.8rem;
  color: var(--gold-2);
  margin-bottom: 0.8rem;
}
.tg-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--espresso);
  margin-bottom: 0.4rem;
}
.tg-text {
  color: var(--espresso-soft);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}
#turnstile-widget {
  display: flex;
  justify-content: center;
}
.tg-error {
  margin-top: 1rem;
  color: #8a3a3a;
  font-size: 0.9rem;
}

/* ---------- SUCCESS STATE ---------- */
.turno-success {
  background: var(--marfil);
  border: 1px solid var(--gold);
  padding: 3rem 2rem;
  text-align: center;
}
.turno-success .ts-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--marfil);
  font-size: 1.8rem;
}
.turno-success .ts-title {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: var(--espresso);
}
.turno-success .ts-text {
  color: var(--espresso-soft);
  max-width: 32rem;
  margin: 0 auto;
}
.turno-success strong {
  color: var(--gold-2);
}

/* ---------- GLIGHTBOX OVERRIDES ---------- */
.glightbox-clean .gslide-image {
  background: var(--marfil);
}
.glightbox-clean .gprev,
.glightbox-clean .gnext {
  color: var(--gold) !important;
}
.glightbox-clean .gclose {
  color: var(--marfil) !important;
  background: var(--espresso) !important;
  border: 1px solid var(--gold) !important;
}
.glightbox-clean .gdescription {
  background: rgba(58, 41, 35, 0.92) !important;
  color: var(--marfil) !important;
  font-family: var(--sans) !important;
}
.glightbox-clean .gdescription a,
.glightbox-clean .gdescription-title {
  color: var(--gold) !important;
  font-family: var(--serif) !important;
}

/* ---------- FLOAT WHATSAPP ---------- */
.float-wa {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--marfil);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(201, 168, 117, 0.55);
  z-index: 1030;
  transition: transform 0.25s;
}
.float-wa:hover {
  transform: scale(1.08);
  color: var(--marfil);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1199px) {
  .navbar-brand .brand-logo {
    width: 150px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--marfil);
    backdrop-filter: blur(14px);
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
  }
  .navbar-nav {
    gap: 0.25rem !important;
  }
  .nav-link {
    padding: 0.65rem 0 !important;
    color: var(--espresso) !important;
  }
  .nav-link::after {
    display: none;
  }
  .navbar-nav .btn {
    margin-top: 0.5rem;
  }
}
@media (max-width: 767.98px) {
  .section {
    padding: 4.5rem 0;
  }
  .turno-form {
    padding: 1.5rem;
  }
  .about-stamp {
    right: 0.5rem;
    bottom: -1.5rem;
    padding: 0.75rem 0.95rem;
    font-size: 0.88rem;
  }
  .float-wa {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
}
@media (max-width: 575.98px) {
  .navbar-brand .brand-logo {
    width: 120px;
  }
  .hero-content {
    padding: 7rem 1rem 5rem;
  }
  .gallery-item {
    aspect-ratio: 3/4;
  }
}
