:root {
  --primary-color: #8baece;
  --secondary-color: #d0b170;
  --secondary-foreground: #2d240f;
  --secondary-foreground-muted: #4b3f21;
}

body {
  font-family: "Work Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 300;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
main .section-title {
  font-family: "Capriola", "Work Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600 !important;
  color: var(--secondary-color);
  line-height: 1.34;
}

main p,
main li {
  font-size: 1.08rem;
}

.hero-text-content h1,
.hero-text-content h2,
.hero-text-content h3,
.hero-text-content .hero-title-badge,
.hero-text-content .hero-subtitle-badge {
  color: #ffffff;
  transform: none;
}

.hero-text-content h1,
.hero-text-content h2,
.hero-text-content h3 {
  line-height: 1.34;
}

.main-nav-link {
  position: relative;
}

.main-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 0.18rem;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav-link.is-active::after {
  transform: scaleX(1);
}

.intro-image-frame {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #e4e4e7;
}

.intro-image-frame.is-circle {
  border-radius: 9999px !important;
}

.intro-image-frame.is-square {
  border-radius: 0 !important;
}

.entry-button {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  box-shadow: 0 18px 35px -18px rgba(73, 100, 125, 0.62);
  border-color: var(--primary-color) !important;
  background: var(--primary-color) !important;
  color: #111827;
  transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  animation: entryButtonIn 0.65s ease forwards;
  animation-delay: var(--entry-delay, 0s);
}

.entry-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--secondary-color);
  transform: translateX(-102%);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 0;
}

.entry-button > span {
  position: relative;
  z-index: 1;
}

.entry-button:hover::before,
.entry-button:focus-visible::before {
  transform: translateX(0);
}

.entry-button:hover,
.entry-button:focus-visible {
  color: #111827;
  box-shadow: 0 22px 38px -20px rgba(75, 63, 33, 0.48);
}

@keyframes entryButtonIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rounded,
.rounded-sm,
.rounded-md,
.rounded-lg,
.rounded-xl,
.rounded-2xl,
.rounded-3xl,
.rounded-full {
  border-radius: 0 !important;
}

.slide {
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0s linear 1.5s;
}

.slide.active {
  opacity: 1;
  z-index: 20;
  pointer-events: auto;
  transition: opacity 1.5s ease-in-out;
}

.slide.active .hero-text-content {
  animation: blurFadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title-badge {
  display: inline;
  font-weight: 600;
  color: #111827;
  background: var(--primary-color);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 4px 7px;
}

.hero-subtitle-badge,
.hero-subtitle-badge p,
.hero-subtitle-badge div,
.hero-subtitle-badge span {
  display: inline;
  font-weight: 600;
  color: #111827;
  background: var(--secondary-color);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 4px 7px;
  line-height: 1.4;
}

#parallax-section h2,
#parallax-section .scroll-line {
  font-family: "Work Sans", "Avenir Next", "Segoe UI", sans-serif !important;
  font-weight: 300 !important;
  color: #ffffff !important;
}

#parallax-section h2 {
  transform: none !important;
}

#parallax-section h2 {
  font-size: clamp(4.2rem, 13vw, 16rem) !important;
  line-height: 0.82 !important;
}

@keyframes blurFadeIn {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

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

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

.section-title {
  position: relative;
  display: inline-block;
  padding-top: 0.08em;
  padding-bottom: 0.45rem;
  overflow: visible;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  height: 0.28rem;
  border-radius: 0;
  background: var(--primary-color);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}

.reveal.is-visible .section-title::after,
.section-title.is-visible::after {
  transform: translateX(0);
}

.accordion-item {
  border-color: #e4e4e7 !important;
  background-color: #fff !important;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.accordion-item.is-open {
  background-color: #fff !important;
  border-color: #d4d4d8 !important;
}

.accordion-trigger span:last-child {
  transition: transform 0.3s ease;
  display: inline-block;
}

.accordion-item.is-open .accordion-trigger span:last-child {
  transform: rotate(180deg);
}

.accordion-content {
  transition: all 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.accordion-item.is-open .accordion-content {
  max-height: 1000px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

.offerings-surface {
  background: var(--secondary-color);
  border-radius: 0;
}

.offerings-accordion .accordion-item {
  border-color: rgba(139, 174, 206, 0.85) !important;
  background-color: rgba(139, 174, 206, 0.85) !important;
}

.offerings-accordion .accordion-item.is-open {
  border-color: rgba(139, 174, 206, 1) !important;
  background-color: rgba(139, 174, 206, 0.68) !important;
}

.offerings-accordion .accordion-trigger {
  color: #1f2937;
}

.faq-accordion .accordion-item {
  border-color: rgba(208, 177, 112, 0.95) !important;
  background-color: rgba(208, 177, 112, 0.7) !important;
}

.faq-accordion .accordion-item.is-open {
  border-color: rgba(208, 177, 112, 1) !important;
  background-color: rgba(208, 177, 112, 0.9) !important;
}

.faq-accordion .accordion-trigger,
.faq-accordion .accordion-content {
  color: #1f2937;
}

.reviews-surface {
  background: rgba(139, 174, 206, 0.5);
}

.reviews-carousel {
  min-height: 280px;
}

.reviews-track {
  position: relative;
  min-height: 240px;
}

.review-card {
  display: none;
  text-align: center;
  align-items: center;
}

.review-card.is-active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-avatar-wrap {
  width: 124px;
  height: 124px;
  border-radius: 9999px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.75);
}

.review-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.75);
  color: #1f2937;
  font-size: 1.4rem;
}

.review-quote {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  color: #1f2937;
}

.review-quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: rgba(45, 36, 15, 0.6);
}

.review-quote-text {
  margin: 0.25rem 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.review-author {
  margin-top: 0.25rem;
  padding-left: 1rem;
  color: #1f2937;
}

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  border: 1px solid rgba(31, 41, 55, 0.2);
  font-size: 1.5rem;
  line-height: 1;
}

.reviews-prev {
  left: 0.25rem;
}

.reviews-next {
  right: 0.25rem;
}

@media (max-width: 768px) {
  .intro-media-mobile {
    float: right;
    width: 50vw;
    max-width: 220px;
    margin: 0.2rem 0 0.8rem 0.9rem;
  }

  .intro-copy::after {
    content: "";
    display: block;
    clear: both;
  }

  .reviews-carousel {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
  }

  .reviews-track {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 0;
  }

  .reviews-nav {
    position: static;
    transform: none;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 0.5rem;
  }

  .review-avatar-wrap {
    width: 140px;
    height: 140px;
  }

  .reviews-prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .reviews-next {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }

  main p,
  main li {
    font-size: 1.12rem;
  }

  main h1,
  main h2,
  main h3,
  main .section-title {
    font-size: clamp(1.75rem, 6.6vw, 2.35rem) !important;
  }
}

.footer-surface {
  background: var(--secondary-color);
  border-top: 1px solid rgba(45, 36, 0, 0.25);
  color: var(--secondary-foreground);
}

.footer-muted {
  color: var(--secondary-foreground-muted);
}

.footer-link {
  color: var(--secondary-foreground);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #111827;
}

.gallery-tiles-row {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-auto-columns: minmax(36vw, 1fr);
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}

.gallery-tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  scroll-snap-align: start;
}

.gallery-zoom-trigger {
  display: block;
  position: relative;
  cursor: zoom-in;
}

.gallery-zoom-trigger img {
  transition: transform 0.32s ease;
}

.gallery-zoom-trigger:hover img,
.gallery-zoom-trigger:focus-visible img {
  transform: scale(1.06);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(17, 24, 39, 0.86);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.gallery-lightbox.hidden {
  display: none;
}

.gallery-lightbox-image {
  max-height: 90vh;
  max-width: min(94vw, 1100px);
  width: auto;
  height: auto;
}

.gallery-lightbox-close {
  position: fixed;
  top: 0.9rem;
  right: 1rem;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
}

.gallery-mobile-hint {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #52525b;
}

.gallery-hint-arrow {
  display: inline-block;
  animation: galleryArrowHint 1.25s ease-in-out infinite;
}

@keyframes galleryArrowHint {
  0% {
    transform: translateX(0);
    opacity: 0.55;
  }
  50% {
    transform: translateX(7px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 0.55;
  }
}

.gallery-tiles-row::-webkit-scrollbar {
  height: 6px;
}

.gallery-tiles-row::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 0;
}

@media (min-width: 768px) {
  .gallery-tiles-row {
    grid-auto-columns: minmax(18rem, 1fr);
  }
}

.typography-parallax {
  overflow: hidden;
}

.scroll-line {
  transition: transform 0.1s ease-out;
  white-space: nowrap;
  will-change: transform;
}

.whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.65);
  animation: whatsappFabIn 0.95s cubic-bezier(0.2, 0.9, 0.2, 1) 0.2s both;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 34px -14px rgba(37, 211, 102, 0.8);
}

@keyframes whatsappFabIn {
  0% {
    opacity: 0;
    transform: translate3d(42px, 68px, 0) scale(0.4) rotate(-16deg);
  }
  55% {
    opacity: 1;
    transform: translate3d(-4px, -5px, 0) scale(1.06) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-button {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .gallery-hint-arrow,
  .whatsapp-fab {
    animation: none;
  }
  .gallery-zoom-trigger img {
    transition: none;
  }
}
