@font-face {
  font-family: 'Arsenica';
  src: url('../fonts/Arsenica-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arsenica';
  src: url('../fonts/Arsenica-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f6f0e6;
  --lino: #ece3d4;
  --sand: #e3d6c1;
  --ink: #3d342a;
  --ink-soft: #6f6353;
  --gold: #b08a4f;
  --gold-deep: #8a6a37;
  --line: rgba(176, 138, 79, .30);
  --maxw: 900px;

  --font-title: 'Arsenica', 'Cormorant Garamond', Georgia, serif;
  /* Shavi / título */
  --font-head: 'Arsenica', 'Marcellus', Georgia, serif;
  /* cabeceras */
  --font-body: 'Cormorant', Georgia, serif;
  /* textos */
  --font-ui: 'Arsenica', 'Cormorant Garamond', Georgia, serif;
  /* nav, botones, etiquetas */
}

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

html {
  scroll-behavior: smooth
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body), serif;
  font-size: 1.18rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 26px;
  text-align: center;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 240, 230, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line)
}

nav .wrap {
  /* El menú es más ancho que el resto de la página para que quepan todos los enlaces en una línea */
  max-width: 1180px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
  gap: 16px
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-title), serif;
  font-size: 1.5rem;
  letter-spacing: .18em;
  text-transform: none;
  color: var(--gold-deep);
  text-decoration: none;
  flex-shrink: 0
}

.brand img {
  height: 36px;
  width: auto;
  display: block
}

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

.nav-links {
  display: flex;
  gap: 26px;
  font-family: var(--font-ui), serif;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase
}

.nav-links a {
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-ui), serif;
  font-size: .72rem;
  letter-spacing: .1em
}

.lang-switch button {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 5px 7px;
  font: inherit;
  letter-spacing: inherit;
  transition: color .2s, border-color .2s, background .2s;
}

.lang-switch button:hover {
  color: var(--gold-deep)
}

.lang-switch button[aria-pressed="true"] {
  color: var(--gold-deep);
  border-color: var(--line);
  background: rgba(176, 138, 79, .08);
}

/* Botón hamburguesa: tres rayas (la del medio es el span, las otras sus ::before/::after) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 1.5px;
  background: var(--gold-deep);
  transition: transform .25s, opacity .2s
}

.nav-toggle span {
  top: 50%
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0
}

.nav-toggle span::before {
  top: -6px
}

.nav-toggle span::after {
  top: 6px
}

/* Abierto: las rayas forman una X */
nav.open .nav-toggle span {
  background: transparent
}

nav.open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg)
}

nav.open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg)
}

/* Pantallas estrechas: los enlaces pasan a un desplegable bajo la barra */
@media(max-width:1000px) {
  .nav-toggle {
    display: block
  }

  .nav-right {
    gap: 10px
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 0 14px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(61, 52, 42, .08)
  }

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

  .nav-links a {
    padding: 12px 0;
    font-size: .9rem
  }
}

/* Móvil: barra más compacta para que quepan logo, idiomas y botón de menú */
@media(max-width:480px) {
  nav .wrap {
    padding: 0 12px;
    gap: 8px
  }

  .brand {
    font-size: 1.2rem;
    gap: 8px
  }

  .brand img {
    height: 30px
  }

  .nav-right {
    gap: 4px
  }

  .lang-switch button {
    padding: 5px 4px
  }
}

/* HERO */
header.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(246, 240, 230, .25), rgba(246, 240, 230, .55)), url('../img/ganesha.jpeg') center 100%/cover no-repeat;
}

.hero-inner {
  background: rgba(246, 240, 230, .72);
  backdrop-filter: blur(3px);
  padding: 48px 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  max-width: 640px;
  margin: 0 24px
}

.hero-logo {
  display: block;
  height: 120px;
  width: auto;
  margin: 0 auto 18px
}

.hero h1 {
  font-family: var(--font-title), serif;
  font-weight: 400;
  font-size: 4rem;
  letter-spacing: .14em;
  text-transform: none;
  color: var(--gold-deep);
  line-height: 1;
  text-shadow: 0 0 24px rgba(176, 138, 79, .4)
}

@media(max-width:640px) {
  .hero-logo {
    height: 92px
  }
}

.hero .tag {
  display: block;
  line-height: 1.75;
  font-family: var(--font-ui), serif;
  color: var(--ink-soft);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .90rem;
  margin-top: 18px;
  text-shadow: none;
}

.quote {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.25rem;
  margin-top: 26px
}

.wrap .quote {
  display: block;
  padding-left: 2em;
  padding-right: 2em;
  text-align: center;
}

.quote small {
  display: block;
  margin-top: 6px;
  font-style: normal;
  letter-spacing: .12em;
  font-size: .72rem;
  text-transform: uppercase;
}

.cta {
  display: inline-block;
  margin-top: 30px;
  font-family: var(--font-ui), serif;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 15px 38px;
  background: var(--gold-deep);
  color: var(--cream);
  text-decoration: none;
  border-radius: 50px;
  transition: background .25s
}

.cta:hover {
  background: var(--ink)
}

@media(max-width:640px) {
  .hero h1 {
    font-size: 2.6rem
  }

  .hero-inner {
    padding: 34px 26px
  }
}

/* SECCIONES */
section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line)
}

section:nth-of-type(even) {
  background: var(--lino)
}

.eyebrow {
  font-family: var(--font-ui), serif;
  color: var(--gold);
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: .72rem;
  text-align: center;
  margin-bottom: 14px
}

h2 {
  font-family: var(--font-head), serif;
  text-align: center;
  font-weight: 400;
  font-size: 2.3rem;
  letter-spacing: .04em;
  margin-bottom: 38px;
  color: var(--ink);
  /* Glow dorado muy suave (prueba) */
  text-shadow: 0 0 22px rgba(176, 138, 79, .35)
}

p {
  margin-bottom: 20px
}

.lead {
  font-size: 1.28rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 660px;
  margin: 0 auto 22px;
  font-style: italic
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center
}

@media(max-width:720px) {
  .two {
    grid-template-columns: 1fr;
    gap: 28px
  }
}

.two img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(61, 52, 42, .18)
}

/* LUGAR + carousel (cala full-width) */
.lugar {
  position: relative;
  padding: 0;
  border: none
}

.carousel {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
  background: var(--sand)
}

.carousel-track {
  position: absolute;
  inset: 0
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(rgba(61, 52, 42, .28), rgba(61, 52, 42, .42));
}

.carousel-content {
  position: relative;
  z-index: 3;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.carousel-content .box {
  background: rgba(246, 240, 230, .86);
  padding: 40px 42px;
  border-radius: 4px;
  max-width: 560px;
  margin: 220px 22px;
}

.lugar h2 {
  margin-bottom: 18px
}

.lugar p {
  margin-bottom: 0;
  color: var(--ink)
}

.maps-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px
}

.maps-links a {
  font-family: var(--font-ui), serif;
  font-size: .82rem;
  letter-spacing: .1em;
  padding: 14px 30px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  text-decoration: none;
  color: var(--gold-deep);
  transition: all .25s
}

.maps-links a:hover {
  background: var(--gold-deep);
  color: var(--cream);
  border-color: var(--gold-deep)
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dots button {
  appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
  border: 1px solid rgba(246, 240, 230, .7);
  background: transparent;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.carousel-dots button[aria-current="true"] {
  background: var(--cream);
  transform: scale(1.15);
}

.carousel-dots button:hover,
.carousel-dots button:focus-visible {
  background: rgba(246, 240, 230, .55);
  outline: none;
}

@media(max-width:640px) {

  .carousel,
  .carousel-content {
    min-height: 52vh
  }

  .carousel-content .box {
    padding: 32px 26px
  }
}

@media(prefers-reduced-motion:reduce) {
  .carousel-slide {
    transition: none
  }
}

/* TARIFAS */
.tarifas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 6px
}

.tarifa {
  background: var(--lino);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0
}

section:nth-of-type(even) .tarifa {
  background: #fbf7ef
}

.tarifa:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(61, 52, 42, .14)
}

.tarifa h3 {
  font-family: var(--font-head), serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--gold-deep);
  margin-bottom: 8px
}

.tarifa .dur {
  font-family: var(--font-body), serif;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px
}

.tarifa .precio {
  font-family: var(--font-body), serif;
  font-size: 2.6rem;
  color: var(--ink);
  line-height: 1
}

.tarifa .precio span {
  font-size: 1rem;
  color: var(--ink-soft)
}

.tarifa p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-top: 18px;
  margin-bottom: 0
}

.tarifas-nota {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
  margin-top: 30px;
  font-style: italic
}

/* TESTIMONIOS — carrusel en columnas (3 en escritorio, 2 en tablet, 1 en móvil) */
.testimonios {
  --cols: 3;
  --gap: 24px;
  margin-top: 6px
}

@media(max-width:820px) {
  .testimonios {
    --cols: 2
  }
}

@media(max-width:560px) {
  .testimonios {
    --cols: 1
  }
}

.testimonios-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  text-align: left
}

.testimonios-track::-webkit-scrollbar {
  display: none
}

.testimonios-track:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px
}

.testimonio {
  scroll-snap-align: start;
  margin: 0;
  background: #fbf7ef;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 26px 26px;
  display: flex;
  flex-direction: column
}

.testimonio blockquote {
  margin: 0 0 18px;
  flex: 1;
  font-size: 1.08rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--ink)
}

.testimonio blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-head), serif;
  font-size: 3rem;
  line-height: .6;
  margin-bottom: 8px;
  color: var(--gold);
  font-style: normal
}

.testimonio figcaption {
  font-family: var(--font-ui), serif;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep)
}

.testimonio figcaption a {
  color: inherit;
  text-decoration: none
}

.testimonio figcaption a:hover {
  text-decoration: underline
}

/* Tarjeta de vídeo: botón que carga el vídeo al pulsarlo */
.testimonio-video {
  padding: 14px
}

.video-facade {
  flex: 1;
  min-height: 360px;
  width: 100%;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(rgba(61, 52, 42, .35), rgba(61, 52, 42, .6)), url('../img/logo.png') center 35% / 45% no-repeat, var(--sand);
  color: var(--cream);
  font-family: var(--font-ui), serif;
  font-size: 1rem;
  letter-spacing: .06em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 24px
}

.video-facade .play {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid var(--cream);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  padding-left: 4px;
  transition: background .2s
}

.video-facade:hover .play,
.video-facade:focus-visible .play {
  background: rgba(246, 240, 230, .2)
}

.testimonio-video video {
  width: 100%;
  max-height: 560px;
  flex: 1;
  border-radius: 10px;
  background: #000
}

.testimonios-btn {
  width: 44px;
  height: 44px;
  margin: 22px 6px 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-deep);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, opacity .2s
}

.testimonios-btn:hover:not(:disabled),
.testimonios-btn:focus-visible {
  background: rgba(176, 138, 79, .12);
  outline: none
}

.testimonios-btn:disabled {
  opacity: .35;
  cursor: default
}

/* CONTACTO */
.contacto {
  text-align: center;
  min-height: 20em;
}

/* Fondo Sri Yantra: ahora sin usar. Para recuperarlo, añade class="sri-yantra" a una <section> */
.sri-yantra {
  position: relative;
  overflow: hidden;           /* evita que el yantra desborde */
  isolation: isolate;         /* mantiene el blend dentro de la sección */
}

.sri-yantra::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/sri-yantra-claro.png") center / min(100%, 600px) no-repeat;
  opacity: .9;
  pointer-events: none;
}

.btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px
}

.btn2 {
  font-family: var(--font-ui), serif;
  font-size: .82rem;
  letter-spacing: .1em;
  padding: 14px 30px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  text-decoration: none;
  color: var(--gold-deep);
  transition: all .25s
}

.btn2:hover {
  background: var(--gold-deep);
  color: var(--cream);
  border-color: var(--gold-deep)
}

footer {
  padding: 46px 0;
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--font-body), serif;
  font-size: .78rem;
  letter-spacing: .05em;
  background: var(--sand)
}

footer a {
  color: var(--gold-deep);
  text-decoration: none
}
