/* ==========================================================================
   IBIZOM — premium wellness demo
   ========================================================================== */

:root {
  --ivory: #f7f1e8;
  --ivory-soft: #fbf8f2;
  --beige: #d8c3a5;
  --sage: #7c8a6a;
  --brown: #6b4f3f;
  --terracotta: #b77a5d;
  --charcoal: #232323;
  --mist: #eee3d4;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(56, 38, 26, 0.12);
  --shadow-soft: 0 10px 26px rgba(56, 38, 26, 0.08);
  --heading: 'Cormorant Garamond', serif;
  --body: 'Manrope', sans-serif;
  --fast: 0.2s ease;
  --normal: 0.35s ease;
  --slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

[x-cloak] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

::selection {
  background: rgba(183, 122, 93, 0.25);
}

.font-heading {
  font-family: var(--heading);
}

.page-shell {
  min-height: 100vh;
}

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

.announcement {
  position: relative;
  z-index: 60;
  padding: 10px 16px;
  background: var(--brown);
  color: var(--ivory);
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

.site-header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 55;
  transition: top var(--normal), background var(--normal), box-shadow var(--normal), color var(--normal);
  color: var(--white);
}

.site-header.is-scrolled {
  top: 0;
  color: var(--charcoal);
  background: rgba(247, 241, 232, 0.94);
  box-shadow: 0 1px 12px rgba(35, 35, 35, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.wordmark strong {
  font-family: var(--heading);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0;
}

.wordmark span {
  font-size: 11px;
  opacity: 0.78;
}

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

.nav-link {
  border: 0;
  background: transparent;
  color: currentColor;
  padding: 8px 0;
  font-size: 14px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--normal);
}

.nav-link:hover::after {
  width: 100%;
}

.language-switch {
  display: flex;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.82;
}

.language-switch button {
  padding: 7px 8px;
  font-size: 12px;
  border-right: 1px solid currentColor;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  color: currentColor;
  font-weight: 800;
}

.language-switch button:last-child {
  border-right: 0;
}

.language-switch .active {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .language-switch .active {
  background: rgba(124, 138, 106, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: currentColor;
  align-items: center;
  justify-content: center;
}

.hamburger svg,
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  transition: transform var(--fast), background var(--fast), border-color var(--fast), color var(--fast);
}

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

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-primary:hover {
  background: #a5674f;
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
  border-color: rgba(107, 79, 63, 0.35);
  color: var(--brown);
  background: transparent;
}

.btn-plain {
  background: transparent;
  border-color: rgba(35, 35, 35, 0.14);
  color: var(--charcoal);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--brown);
  color: var(--ivory);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: transparent;
  color: var(--ivory);
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
  margin: 56px 0 32px;
}

.mobile-menu .nav-link {
  text-align: left;
  font-family: var(--heading);
  font-size: 34px;
  padding: 10px 0;
}

.mobile-menu-actions {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.mobile-language-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.mobile-language-switch button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: transparent;
  color: var(--ivory);
  font-weight: 800;
}

.mobile-language-switch button.active {
  background: rgba(255, 255, 255, 0.16);
}

.hero {
  min-height: 94vh;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(35, 35, 35, 0.72), rgba(35, 35, 35, 0.34) 55%, rgba(35, 35, 35, 0.48)),
    linear-gradient(0deg, rgba(107, 79, 63, 0.42), rgba(124, 138, 106, 0.14));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding-top: 116px;
  padding-bottom: 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.35;
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
}

.hero .eyebrow {
  color: var(--beige);
}

.hero h1 {
  margin: 18px 0;
  font-family: var(--heading);
  font-size: 76px;
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.trust-point {
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 13px;
  line-height: 1.45;
}

section {
  position: relative;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--ivory-soft);
}

.section-dark {
  background: var(--brown);
  color: var(--ivory);
}

.section-sage {
  background: var(--sage);
  color: var(--ivory);
}

.section-heading {
  margin: 12px 0 0;
  font-family: var(--heading);
  font-size: 50px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0;
}

.section-copy {
  color: rgba(35, 35, 35, 0.72);
  line-height: 1.75;
  font-size: 16px;
}

.section-dark .section-copy,
.section-sage .section-copy {
  color: rgba(255, 255, 255, 0.76);
}

.section-header {
  max-width: 700px;
  margin-bottom: 44px;
}

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

.section-header.center .eyebrow {
  justify-content: center;
}

.section-header.center .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
}

.intro-grid,
.booking-grid,
.location-grid,
.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: center;
}

.intro-visual {
  position: relative;
}

.intro-visual img,
.video-poster img,
.location-map,
.gallery-tile img {
  border-radius: 8px;
}

.intro-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.breath-lines {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(260px, 72%);
  padding: 18px;
  border-radius: 8px;
  background: rgba(247, 241, 232, 0.92);
  color: var(--brown);
  box-shadow: var(--shadow-soft);
}

.breath-lines span {
  display: block;
  height: 1px;
  background: var(--terracotta);
  margin: 10px 0;
  opacity: 0.55;
}

.highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.highlight {
  min-height: 96px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.highlight strong,
.service-card h3,
.offer-card h3,
.benefit h3 {
  display: block;
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

.highlight span,
.small-note {
  display: block;
  margin-top: 8px;
  color: rgba(35, 35, 35, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

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

.service-card,
.offer-card,
.review-card,
.feed-card {
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(107, 79, 63, 0.12);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-height: 254px;
  display: flex;
  flex-direction: column;
}

.service-card .service-label {
  width: fit-content;
  padding: 6px 10px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--brown);
  background: rgba(216, 195, 165, 0.36);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card p,
.offer-card p,
.benefit p,
.feed-card p,
.review-card p {
  color: rgba(35, 35, 35, 0.68);
  line-height: 1.65;
  font-size: 14px;
}

.service-card .btn {
  margin-top: auto;
  width: 100%;
}

.video-poster {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #1e1c19;
}

.video-poster img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  opacity: 0.78;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(0deg, rgba(35, 35, 35, 0.58), rgba(35, 35, 35, 0.2));
}

.play-mark {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.12);
}

.business-note {
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(216, 195, 165, 0.42);
  background: rgba(247, 241, 232, 0.08);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.benefit {
  min-height: 196px;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.benefit h3,
.benefit p {
  color: var(--ivory);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.offer-card {
  min-height: 250px;
}

.offer-card .note {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: rgba(124, 138, 106, 0.15);
  color: var(--sage);
  font-size: 11px;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 210px;
  background: var(--mist);
}

.gallery-tile:nth-child(1),
.gallery-tile:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tile:nth-child(2),
.gallery-tile:nth-child(3),
.gallery-tile:nth-child(5),
.gallery-tile:nth-child(6) {
  grid-column: span 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow);
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(35, 35, 35, 0.62);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.gallery-caption strong {
  display: block;
  font-size: 14px;
}

.gallery-caption span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.feed-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.capability-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 8px;
  background: var(--ivory-soft);
  border: 1px solid rgba(107, 79, 63, 0.12);
}

.capability-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(124, 138, 106, 0.13);
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
}

.feed-card {
  min-height: 190px;
}

.feed-card .eyebrow {
  color: var(--sage);
}

.feed-card .eyebrow::before {
  width: 18px;
}

.review-card {
  background: var(--ivory-soft);
  min-height: 166px;
}

.booking-panel {
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 800;
  color: var(--brown);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(107, 79, 63, 0.22);
  border-radius: 8px;
  background: var(--ivory-soft);
  color: var(--charcoal);
  padding: 12px 13px;
  outline: none;
  transition: border-color var(--fast), box-shadow var(--fast);
}

.field textarea {
  resize: vertical;
  min-height: 104px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(183, 122, 93, 0.16);
}

.demo-message {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(124, 138, 106, 0.15);
  color: var(--brown);
  line-height: 1.6;
  font-size: 14px;
}

.location-map {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49%, rgba(107, 79, 63, 0.16) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(107, 79, 63, 0.13) 50%, transparent 51%),
    var(--mist);
  background-size: 92px 92px;
  box-shadow: var(--shadow-soft);
}

.map-marker {
  position: absolute;
  top: 44%;
  left: 51%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 0 0 18px rgba(183, 122, 93, 0.18);
}

.map-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(247, 241, 232, 0.94);
}

.footer {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 54px 0 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 14px;
  text-transform: uppercase;
}

.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  font-size: 14px;
}

.demo-label {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(216, 195, 165, 0.14);
  color: var(--beige);
  font-size: 12px;
  font-weight: 800;
}

.mobile-action-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 54;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  background: var(--brown);
  box-shadow: 0 -8px 24px rgba(35, 35, 35, 0.18);
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mobile-action-bar a,
.mobile-action-bar button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

.presentation-callout {
  position: absolute;
  z-index: 8;
  right: max(18px, calc((100vw - 1120px) / 2));
  top: 28px;
  width: min(340px, calc(100% - 36px));
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(183, 122, 93, 0.42);
  background: rgba(247, 241, 232, 0.95);
  color: var(--brown);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  line-height: 1.55;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(35, 35, 35, 0.58);
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal {
  width: min(760px, 100%);
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 26px 12px;
}

.modal-body {
  padding: 0 26px 26px;
}

.modal-close {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(107, 79, 63, 0.18);
  background: transparent;
  color: var(--brown);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--slow), transform var(--slow);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .language-switch,
  .header-actions > .btn {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .trust-points,
  .benefit-grid,
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 820px) {
  .site-header {
    top: 42px;
  }

  .header-inner {
    height: 68px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero h1 {
    font-size: 48px;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    font-size: 38px;
  }

  .intro-grid,
  .booking-grid,
  .location-grid,
  .video-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .highlight-row,
  .feed-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-tile,
  .gallery-tile:nth-child(1),
  .gallery-tile:nth-child(2),
  .gallery-tile:nth-child(3),
  .gallery-tile:nth-child(4),
  .gallery-tile:nth-child(5),
  .gallery-tile:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .mobile-action-bar {
    display: grid;
  }
}

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

  .wordmark strong {
    font-size: 23px;
  }

  .wordmark span {
    font-size: 10px;
  }

  .hero-content {
    padding-top: 110px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 16px;
  }

  .trust-points,
  .service-grid,
  .benefit-grid,
  .offer-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .section-heading {
    font-size: 34px;
  }

  .booking-panel {
    padding: 20px;
  }

  .mobile-menu .nav-link {
    font-size: 28px;
  }
}
