:root {
  --verde-oliva: #3A3D2A;
  --verde-claro: #6A7556;
  --latte: #E7DDD1;
  --arena: #F2EBE1;
  --madera: #A8774E;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--verde-oliva);
  background-color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

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

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  color: var(--verde-oliva);
}

.section-intro {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 19px;
  line-height: 30px;
  color: var(--verde-oliva);
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.text-latte {
  color: var(--latte);
}

.text-arena {
  color: var(--arena);
}

/* Buttons */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 64px;
  min-width: 331px;
  padding: 17px 36px;
  background-color: var(--verde-oliva);
  color: var(--latte);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.btn-whatsapp--light {
  background-color: var(--verde-claro);
  color: var(--white);
}

.btn-whatsapp__icon {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}

/* Hero (Frame 1) */
.hero {
  position: relative;
  min-height: 728px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 42px;
  padding-bottom: 80px;
}

.hero__logo {
  width: 260px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 82px;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 64px;
  line-height: 72px;
  color: var(--verde-oliva);
  max-width: 600px;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 20px;
  line-height: 30px;
  color: var(--verde-oliva);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero__subtitle p + p {
  margin-top: 4px;
}

/* Split Section (Frame 2 & Tu momento MACOA) */
.split-section {
  background-color: var(--arena);
  background-image: url('../img/split-bg.png');
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: auto;
  padding: 80px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 96px;
  align-items: center;
}

.split-grid--reverse {
  grid-template-columns: 480px 1fr;
  gap: 80px;
}

.split-text .section-title {
  margin-bottom: 24px;
}

.split-text p + p {
  margin-top: 20px;
}

.split-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-image--organic {
  height: 478px;
  border-radius: 90px 40px 120px 40px;
}

/* Olive Banner (Frame 3, 10, 14) */
.olive-banner {
  position: relative;
  background-color: var(--verde-oliva);
  padding: 80px 0;
  overflow: hidden;
}

.olive-banner__decor {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 262px;
  height: 509px;
  pointer-events: none;
  opacity: 0.9;
}

.olive-banner__decor--left {
  left: -60px;
}

.olive-banner__decor--right {
  right: -60px;
}

.olive-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.olive-banner__inner--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1248px;
}

.olive-banner__inner--center {
  text-align: center;
}

.olive-banner .section-title {
  color: var(--white);
  margin-bottom: 16px;
}

.olive-banner .section-intro {
  color: var(--white);
}

/* Detail / Hygiene Section (Frame 4) */
.detail-section {
  background-color: var(--arena);
  padding: 80px 0;
}

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

.detail-text .section-title {
  margin-bottom: 24px;
}

.detail-quote {
  margin-top: 32px;
  padding-left: 22px;
  border-left: 2px solid var(--madera);
  font-size: 16px;
  line-height: 24px;
  color: var(--verde-oliva);
}

.detail-gallery {
  display: grid;
  grid-template-columns: 352px 320px;
  gap: 32px;
}

.detail-gallery__tall {
  height: 668px;
  border-radius: 10px;
  background-color: var(--arena);
  overflow: hidden;
}

.video-preview {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-preview__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 61, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-preview__play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--latte);
  color: var(--verde-oliva);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.video-preview:hover img {
  transform: scale(1.03);
}

.video-preview:hover .video-preview__overlay,
.video-preview:focus-visible .video-preview__overlay {
  opacity: 1;
}

.video-preview:hover .video-preview__play {
  transform: scale(1);
}

/* Video Lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-lightbox.is-open {
  display: flex;
}

.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 15, 0.85);
}

.video-lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-lightbox__video {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 10px;
  background: #000;
}

.video-lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--latte);
  color: var(--verde-oliva);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-gallery__stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.detail-gallery__small {
  height: 318px;
  border-radius: 10px;
  overflow: hidden;
}

.detail-gallery__small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Protocols Banner (Frame 5) */
.protocols-banner {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.protocols-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.protocols-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.protocols-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(106, 117, 86, 0.86);
}

.protocols-banner__inner {
  position: relative;
  z-index: 1;
}

.protocols-banner .section-intro {
  color: var(--white);
  margin-bottom: 16px;
}

.protocols-banner .section-title {
  color: var(--white);
}

/* Services Section (Frame 6) */
.services-section {
  padding: 80px 0;
  background-color: var(--arena);
}

.services-header {
  max-width: 960px;
  margin: 0 auto 64px;
  text-align: center;
}

.services-header .section-title {
  margin-bottom: 24px;
}

.services-header .section-intro p + p {
  margin-top: 16px;
}

.services-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1156px;
  margin: 0 auto;
}

.service-card {
  background-color: #fff8ed;
  border-radius: 19px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.service-card--featured {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  border-radius: 10px;
  min-height: 368px;
}

.service-card__photo {
  width: 180px;
  height: 320px;
  border-radius: 20px 40px 40px 40px;
  overflow: hidden;
}

.service-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card__icon-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.service-card__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.service-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: var(--verde-oliva);
  margin-bottom: 8px;
}

.service-card__subtitle {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--verde-oliva);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--verde-oliva);
  margin-bottom: 16px;
}

.service-card__meta {
  font-size: 16px;
  line-height: 24px;
  color: var(--verde-oliva);
  margin-bottom: 24px;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 40px;
  padding: 0 16px;
  background-color: var(--verde-claro);
  color: var(--latte);
  border-radius: 5px;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
}

.btn-availability {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--verde-oliva);
  padding: 10px 16px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.btn-availability:hover {
  background-color: rgba(58, 61, 42, 0.08);
}

/* More Services Gallery (Frame 7) */
.more-services {
  background-color: var(--verde-claro);
  padding: 80px 0;
}

.more-services .section-title {
  color: var(--arena);
  margin-bottom: 24px;
}

.more-services .section-intro {
  color: var(--latte);
  max-width: 960px;
  margin: 0 auto 48px;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 16px 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, font-weight 0.2s ease;
}

.tab-btn.is-active {
  border-bottom-color: var(--latte);
  font-weight: 700;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1156px;
  margin: 0 auto 32px;
}

.option-card {
  background-color: var(--arena);
  border-radius: 19px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.option-card__img {
  height: 104px;
  width: 100%;
  object-fit: cover;
}

.option-card__body {
  padding: 20px 24px 24px;
  text-align: center;
}

.option-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: var(--verde-oliva);
  margin-bottom: 16px;
}

.option-card__prices {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.option-card__price-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.option-card__price-label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  color: var(--verde-oliva);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--latte);
  font-size: 16px;
}

.pagination__btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination__btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Design & Technique Gallery (Frame 9) */
.design-gallery {
  background-color: #fff8ed;
  padding: 80px 0;
}

.design-gallery .section-title {
  margin-bottom: 24px;
}

.design-gallery .section-intro {
  max-width: 960px;
  margin: 0 auto 48px;
}

.design-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.design-tab-btn {
  padding: 12px 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--verde-claro);
  border-bottom: 2px solid var(--verde-claro);
}

.design-tab-btn.is-active {
  font-weight: 800;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1170px;
  margin: 0 auto;
}

.photo-grid__item {
  aspect-ratio: 1 / 0.93;
  overflow: hidden;
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Before Your Visit (Frame 11) */
.before-visit {
  padding: 80px 0;
  background-color: var(--arena);
}

.before-visit .section-title {
  margin-bottom: 24px;
}

.before-visit .section-intro {
  max-width: 960px;
  margin: 0 auto 56px;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.info-card {
  background-color: #fff8ed;
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.info-card--centered {
  max-width: 604px;
  margin: 0 auto;
}

.info-card__icon-wrap {
  position: relative;
  width: 67px;
  height: 67px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card__icon-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.info-card__icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.info-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: var(--verde-oliva);
  margin-bottom: 12px;
}

.info-card__text {
  font-size: 16px;
  line-height: 24px;
  color: var(--verde-oliva);
}

.info-card__text p + p {
  margin-top: 8px;
}

/* FAQ (Frame 12) */
.faq-section {
  background-color: var(--verde-claro);
  padding: 80px 0;
}

.faq-section .section-title {
  color: var(--latte);
  margin-bottom: 48px;
}

.faq-list {
  max-width: 804px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  background-color: rgba(231, 221, 209, 0.9);
  border-radius: 20px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 30px 24px 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: var(--verde-oliva);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 32px;
  font-size: 16px;
  line-height: 24px;
  color: var(--verde-oliva);
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 32px 24px;
}

/* Conoce MACOA (Frame 13) */
.contact-box {
  border: 3px solid var(--verde-claro);
  border-radius: 10px;
  padding: 32px;
}

.contact-box .section-title {
  margin-bottom: 16px;
}

.contact-box__intro {
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.contact-label {
  font-size: 20px;
  line-height: 30px;
  color: var(--verde-oliva);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 20px;
  line-height: 30px;
  color: var(--verde-oliva);
}

/* Footer */
.footer {
  background-color: var(--verde-claro);
  padding: 38px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 14px;
  line-height: 22px;
  color: var(--arena);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.footer__social-link:hover {
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 1200px) {
  .container {
    padding: 0 40px;
  }

  .split-grid,
  .split-grid--reverse,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .services-grid-2,
  .services-grid-3,
  .options-grid,
  .info-cards-grid {
    grid-template-columns: 1fr;
  }

  .olive-banner__inner--row {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .hero__title {
    font-size: 44px;
    line-height: 52px;
  }

  .section-title {
    font-size: 32px;
    line-height: 40px;
  }

  .service-card--featured {
    grid-template-columns: 1fr;
  }

  .service-card__photo {
    width: 100%;
    height: 240px;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .btn-whatsapp {
    min-width: 100%;
  }
}
