:root {
  --cream: #f8f4fa;
  --cream-2: #ede2f0;
  --blush: #b48fd1;
  --blush-dark: #7e56a8;
  --ink: #2c2237;
  --ink-soft: #5c5268;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--serif); font-weight: 500; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blush-dark);
  margin: 0 0 .8em;
}
.center { text-align: center; }
.intro-inner .center, .center { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background .25s ease, color .25s ease;
}
.btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-primary:hover { background: transparent; color: #fff; }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(250, 245, 239, 0.95);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-word {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: .04em;
}
.site-header:not(.scrolled) .logo,
.site-header:not(.scrolled) .main-nav a {
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, opacity .2s ease;
}
.main-nav a:hover { border-color: currentColor; }
.main-nav a.nav-cta {
  border: 1px solid currentColor;
  padding: 8px 18px;
}

.nav-item-dropdown {
  position: relative;
}
.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dropdown-arrow-btn {
  background: none;
  border: none;
  padding: 4px;
  margin: 0;
  cursor: pointer;
  color: inherit;
  display: flex;
}
.dropdown-arrow {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-top: -3px;
}
.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown.is-open .dropdown-arrow {
  transform: rotate(225deg);
  margin-top: 3px;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  background: var(--cream);
  box-shadow: 0 14px 34px rgba(60,30,80,.18);
  border-radius: 6px;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 4px);
}
.dropdown-menu a {
  display: block;
  padding: 11px 24px;
  color: var(--ink);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: none;
  border-bottom: none;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--cream-2); }
.site-header:not(.scrolled) .dropdown-menu a { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: currentColor;
}
.site-header:not(.scrolled) .nav-toggle { color: #fff; }
.site-header.scrolled .nav-toggle { color: var(--ink); }

/* HERO */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,17,38,.6) 0%, rgba(26,17,38,.12) 55%, rgba(26,17,38,.28) 100%);
}
.hero-content {
  position: relative;
  color: #fff;
  padding-bottom: 90px;
  max-width: 720px;
}

/* Homepage hero: photo block on top, text always in a solid block below (never overlaid) */
.hero-home {
  aspect-ratio: auto;
  overflow: visible;
  display: block;
}
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.hero-home .hero-content {
  position: static;
  max-width: none;
  background: var(--ink);
  padding: 56px 24px 64px;
  text-align: center;
}
.hero-home .hero-content .hero-text {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero .eyebrow { color: #e6d4f0; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-bottom: .3em;
}
.hero-text {
  font-size: 1.05rem;
  color: #ede4f2;
  max-width: 560px;
}

/* SESIONES / GALLERY */
.sesiones {
  padding: 40px 0 110px;
}
.sesiones h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 50px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  display: block;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,17,38,.55) 0%, rgba(26,17,38,0) 45%);
}
.gallery-label {
  position: absolute;
  left: 22px; bottom: 18px;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: .03em;
  z-index: 1;
}

/* SESSION SUBPAGES */
.session-hero .hero-content { max-width: none; padding-bottom: 50px; }
.session-hero .eyebrow { margin: 0; }

.dialogue {
  padding: 90px 0 60px;
  text-align: center;
}
.dialogue-inner {
  max-width: 760px;
  margin: 0 auto;
}
.dialogue p {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.mosaic-grid {
  column-count: 3;
  column-gap: 4px;
}
.mosaic-grid img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 4px;
  break-inside: avoid;
}

.session-info {
  background: var(--cream-2);
  padding: 100px 0;
}
.session-info-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.session-info h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.session-info p {
  color: var(--ink-soft);
  text-align: left;
}

/* ABOUT */
.about {
  background: var(--cream-2);
  padding: 100px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-img img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.about-text h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.about-text p { color: var(--ink-soft); }

/* TESTIMONIALS */
.testimonials {
  padding: 110px 0;
}
.testimonials h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 60px;
}
.testimonial-box {
  position: relative;
  max-width: 760px;
  margin: 50px auto 0;
  background: var(--cream-2);
  border-radius: 6px;
  padding: 60px 48px 48px;
  text-align: center;
  min-height: 280px;
}
.testimonial-quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--blush);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.testimonial-slides {
  position: relative;
}
.testimonial-slide {
  margin: 0;
  padding: 0 10px;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 1s ease;
}
.testimonial-slide.is-active {
  opacity: 1;
  position: relative;
}
.testimonial-slide p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 22px;
}
.testimonial-stars {
  color: var(--blush-dark);
  letter-spacing: 4px;
  margin-bottom: 14px;
  font-size: 1.1rem;
}
.testimonial-slide cite {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: normal;
  color: var(--ink);
}
.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.testimonial-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blush);
  opacity: .35;
}
.testimonial-dots span.is-active { opacity: 1; }

/* CTA */
.cta {
  background: var(--ink);
  color: #f3ede4;
  padding: 110px 0;
}
.cta .eyebrow { color: var(--blush); }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-text {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: #cabfd4;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.contact-card {
  border: 1px solid rgba(255,255,255,.25);
  padding: 28px 20px;
  text-align: center;
  transition: border-color .2s ease, background .2s ease;
}
.contact-card:hover {
  border-color: var(--blush);
  background: rgba(255,255,255,.04);
}
.contact-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 10px;
}
.contact-value {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
}

/* FOOTER */
.site-footer {
  background: #1c1626;
  color: #b3a6bd;
  padding: 50px 0;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3ecf6;
  margin-bottom: 14px;
}
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { font-size: .8rem; margin-top: 10px; color: #8a7d99; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 46px; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a,
  .site-header.scrolled .main-nav a,
  .site-header:not(.scrolled) .main-nav.open a { color: var(--ink); }
  .nav-toggle { display: flex; }
  .nav-item-dropdown {
    position: static;
    width: 100%;
  }
  .dropdown-trigger { width: 100%; justify-content: space-between; }
  .dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: none;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 0 0 18px;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-item-dropdown.is-open .dropdown-menu { max-height: 400px; padding-top: 14px; }
  .dropdown-menu a {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    color: var(--ink);
    white-space: normal;
  }
  .gallery-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic-grid { column-count: 2; }
  .hero-content { padding-bottom: 60px; }
  .hero-media { aspect-ratio: auto; height: 35vh; }
  .hero-home .hero-content {
    text-align: left;
    padding: 32px 24px 40px;
  }
  .hero-home .hero-content .hero-text {
    max-width: none;
    margin: 0 0 20px;
  }
}
