:root {
  --gold: #c6aa7f;
  --gold-2: #d9bc90;
  --text: #111;
  --muted: #5b5b5b;
  --bg: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
}

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

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  position: relative;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}

.brand .brand-mark {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 22px;
}

.brand .brand-accent {
  color: var(--gold);
}

.nav-left {
  width: 90px; /* spacer so the centered brand feels centered */
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  margin: 4px 0;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

.nav-links a:hover {
  border-bottom-color: rgba(198, 170, 127, 0.7);
}

@media (max-width: 820px) {
  .brand {
    position: static;
    transform: none;
  }

  .nav-left {
    width: auto;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 74px;
    width: min(320px, calc(100% - 20px));
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 12px;
    border-bottom: 0;
  }

  .nav-links a:hover {
    background: rgba(198, 170, 127, 0.12);
  }

  .nav-links.is-open {
    display: flex;
  }
}

/* Footer */
.footer {
  margin-top: auto;
  background: var(--gold);
  color: #111;
}

.footer-inner {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer small {
  opacity: 0.9;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.35);
  color: #111;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.6);
}

/* ── WhatsApp flotante ── */
.wsp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wsp__button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #25d366;   /* verde oficial de WhatsApp */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transition: background-color 0.2s, transform 0.2s;
}

.wsp:hover .wsp__button {
  background-color: #1ebe57;
  transform: scale(1.08);
}

.wsp__tooltip {
  background: #111;
  color: #fff;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.wsp--visible {
  pointer-events: auto;
  animation: pop-in 0.6s cubic-bezier(0.2, 1, 0.2, 1) 0.3s both;
}
.wsp:hover .wsp__tooltip {
  opacity: 1;
}
/* Animación de entrada del botón WhatsApp */
@keyframes wsp-entrada {
  0%   { opacity: 0; transform: translateY(20px) scale(0.8); }
  70%  { transform: translateY(-4px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.wsp {
  animation: wsp-entrada 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 3s; /* aparece 1 segundo después de cargar la página */
}


