/* =====================================================
   MASAYA – REFUGIO DE BIENESTAR
   Estilo oscuro premium inspirado en el logo:
   negro carbón, dorado champán, bronce cálido y marfil.
===================================================== */

:root {
  --color-bg: #121212;
  --color-bg-soft: #1a1a1a;
  --color-surface: #202020;
  --color-surface-light: #2a2a2a;
  --color-white: #f7f2ea;
  --color-ivory: #efe4cf;
  --color-gold: #d8b06a;
  --color-gold-light: #f1df9b;
  --color-bronze: #b9864a;
  --color-bronze-dark: #8b6338;
  --color-text: #f3eadc;
  --color-muted: #d7c4a8;
  --color-dark-text: #141414;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.36);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --header-height: 78px;
  --font-main: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
}

.section-kicker,
.eyebrow {
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.section-text h2,
.contact-content h2 {
  font-family: var(--font-main);
  color: var(--color-gold-light);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-heading p,
.section-text p,
.contact-content p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-bronze));
  color: var(--color-dark-text);
  box-shadow: 0 12px 24px rgba(185, 134, 74, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold), var(--color-bronze-dark));
  color: #111;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-ivory);
  border: 1px solid rgba(216, 176, 106, 0.24);
}

.btn-secondary:hover {
  background: rgba(216, 176, 106, 0.12);
  box-shadow: var(--shadow-card);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 176, 106, 0.16);
}

.navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(241, 223, 155, 0.35);
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: var(--font-main);
  font-size: 1.5rem;
  color: var(--color-gold-light);
}

.logo-text small {
  color: var(--color-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--color-ivory);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--color-gold-light);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216, 176, 106, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-gold-light);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(12, 12, 12, 0.94), rgba(25, 25, 25, 0.82)),
    url("img/masaya-1.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -160px;
  bottom: -160px;
  background: rgba(216, 176, 106, 0.10);
  filter: blur(8px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  left: -120px;
  top: 120px;
  background: rgba(185, 134, 74, 0.10);
  filter: blur(8px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(241, 223, 155, 0.08), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(185, 134, 74, 0.10), transparent 32%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 48px 0;
}

.hero h1 {
  font-family: var(--font-main);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  color: var(--color-gold-light);
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}

.hero h2 {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-text {
  max-width: 620px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: var(--color-muted);
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.about-section,
.gallery-section,
.location-section {
  background: var(--color-bg);
}

.video-section {
  background: linear-gradient(180deg, #171717, #101010);
}

.treatments-section {
  background: linear-gradient(180deg, #141414, #1b1b1b);
}

.two-column {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.section-text p + p {
  margin-top: 18px;
}

.about-card {
  position: relative;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #232323, #1a1a1a);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(216, 176, 106, 0.12);
}

.about-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-bronze));
  color: #111;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.about-card h3 {
  font-family: var(--font-main);
  font-size: 1.8rem;
  color: var(--color-gold-light);
  margin-bottom: 14px;
}

.about-card p {
  color: var(--color-muted);
}

.video-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 10px;
  border-radius: calc(var(--radius-lg) + 8px);
  background: linear-gradient(145deg, #232323, #1a1a1a);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(216, 176, 106, 0.14);
}

.video-wrapper video {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: #000;
}

.video-note {
  max-width: 760px;
  margin: 14px auto 0;
  text-align: center;
  color: rgba(215, 196, 168, 0.72);
  font-size: 0.92rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #232323, #1a1a1a);
  border: 1px solid rgba(216, 176, 106, 0.12);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(241, 223, 155, 0.32);
}

.service-card h3 {
  font-family: var(--font-main);
  font-size: 1.55rem;
  color: var(--color-gold-light);
  margin-bottom: 14px;
}

.service-card p {
  color: var(--color-muted);
  margin-bottom: 24px;
}

.service-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 176, 106, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--color-gold);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 270px;
  gap: 22px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: var(--color-surface);
  border: 1px solid rgba(216, 176, 106, 0.12);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.06);
}

.contact-section {
  background: linear-gradient(180deg, #141414, #1a1a1a);
}

.contact-box {
  border-radius: var(--radius-lg);
  padding: 64px;
  background: linear-gradient(145deg, #232323, #1a1a1a);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(216, 176, 106, 0.12);
}

.contact-content {
  max-width: 760px;
}

.contact-list {
  margin: 28px 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.contact-list a {
  color: var(--color-gold-light);
  font-weight: 700;
}

.contact-list a:hover {
  color: var(--color-gold);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.map-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: var(--color-surface);
  border: 1px solid rgba(216, 176, 106, 0.12);
}

.map-wrapper iframe {
  width: 100%;
  min-height: 460px;
}

.footer {
  background: #0c0c0c;
  color: rgba(255, 242, 220, 0.88);
  padding-top: 60px;
  border-top: 1px solid rgba(216, 176, 106, 0.12);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 42px;
}

.footer-brand h2 {
  font-family: var(--font-main);
  font-size: 2rem;
  margin-bottom: 6px;
  color: var(--color-gold-light);
}

.footer-brand p,
.footer-contact p,
.footer-links a {
  color: rgba(255, 242, 220, 0.72);
}

.footer-contact a,
.footer-links a {
  transition: color 0.25s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--color-gold-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 242, 220, 0.10);
  text-align: center;
  padding: 20px;
  color: rgba(255, 242, 220, 0.62);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .service-card,
  .gallery-item,
  .btn {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.88rem;
  }
}

@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:first-child {
    grid-row: auto;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .section {
    padding: 78px 0;
  }

  .logo img {
    width: 46px;
    height: 46px;
  }

  .logo-text strong {
    font-size: 1.32rem;
  }

  .logo-text small {
    font-size: 0.62rem;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    padding: 26px 20px 32px;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    gap: 18px;
    border-bottom: 1px solid rgba(216, 176, 106, 0.14);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 92svh;
  }

  .hero-buttons,
  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .contact-box {
    padding: 42px 24px;
  }

  .map-wrapper iframe {
    min-height: 360px;
  }

  .video-wrapper {
    max-width: 100%;
  }

  .video-wrapper video {
    max-height: 360px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 68px 0;
  }

  .hero-content {
    padding: 34px 0;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 4.6rem);
  }

  .hero h2 {
    font-size: 1.65rem;
  }

  .hero-text {
    font-size: 1.03rem;
  }

  .section-heading h2,
  .section-text h2,
  .contact-content h2 {
    font-size: 2rem;
  }

  .service-card,
  .about-card {
    padding: 26px;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .video-wrapper {
    padding: 7px;
    border-radius: 22px;
  }

  .video-wrapper video {
    max-height: 300px;
    border-radius: 18px;
  }

  .footer {
    padding-top: 44px;
  }
}

@media (max-width: 380px) {
  .logo-text small {
    display: none;
  }

  .hero h1 {
    font-size: 3.45rem;
  }
}



.footer-bottom {
  text-align: center;
  padding: 22px 20px 26px;
  border-top: 1px solid rgba(216, 176, 106, 0.18);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p + p {
  margin-top: 8px;
}

.developer-credit {
  display: block;
  font-size: 0.86rem;
  color: #d8b06a;
  opacity: 1;
}

.developer-credit strong {
  color: #f1df9b;
  font-weight: 700;
}