/* ==========================================================================
   Solara Wellness — desert spa retreat
   ========================================================================== */

:root {
  /* surfaces */
  --page:        #F7F1EB;
  --panel:       #FBF6F0;
  --card:        #FCFAF8;
  --chip:        #FCF9F5;

  /* ink */
  --ink:         #4E382C;
  --ink-2:       #6B6869;
  --ink-3:       #8E8783;

  /* accent */
  --accent:      #C5653A;
  --accent-2:    #CE7A48;
  --accent-deep: #B25A2E;
  --accent-wash: #F6EAE0;

  --line:        rgba(94, 62, 42, 0.10);
  --line-soft:   rgba(94, 62, 42, 0.06);

  --shadow-card: 0 2px 14px rgba(120, 82, 56, 0.05);
  --shadow-nav:  0 6px 26px rgba(120, 82, 56, 0.07);
  --shadow-btn:  0 8px 20px rgba(170, 88, 44, 0.22);

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "DM Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --shell:  1440px;
  --gutter: 22px;
  --inset:  40px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-2);
  background: var(--page);
  background-image:
    radial-gradient(115% 70% at 72% -6%, #FEF9F3 0%, rgba(254, 249, 243, 0) 58%),
    radial-gradient(90% 60% at 8% 4%, #FBF6F1 0%, rgba(251, 246, 241, 0) 62%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); color: var(--ink); font-weight: 600; }

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none;
        stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.wrap  { padding: 0 var(--inset); }

/* --------------------------------------------------------------- nav ---- */

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 74px;
  margin-top: 20px;
  padding: 0 34px;
  background: #FCF9F4;
  border-radius: 18px;
  box-shadow: var(--shadow-nav);
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand svg { width: 34px; height: 34px; color: var(--accent-2); stroke-width: 1.5; }
.brand-name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--ink);
}
.brand-sub {
  display: block;
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--ink-3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: 42px;
}
.nav-links a {
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  padding-bottom: 3px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.is-active { color: var(--accent); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1.5px;
  background: var(--accent);
}

.nav .btn { margin-left: auto; }

/* ----------------------------------------------------------- buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 53px;
  padding: 0 26px;
  border: 0;
  border-radius: 11px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(180deg, #CB6C3D 0%, #C05F32 100%);
  color: #FDF6F0;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(170, 88, 44, 0.3); }
.btn-primary .icon { width: 19px; height: 19px; }

.btn-lg { height: 62px; padding: 0 32px; font-size: 13px; }

.btn-light {
  height: 41px;
  padding: 0 24px;
  background: #FDF8F3;
  color: var(--accent-deep);
  font-size: 11.5px;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 10px rgba(120, 60, 30, 0.12);
}
.btn-light:hover { background: #fff; transform: translateY(-1px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}
.link-arrow .icon { width: 15px; height: 15px; transition: transform 0.2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------- eyebrow ---- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .rule { width: 34px; height: 1.5px; background: var(--accent); }

/* ------------------------------------------------------------- hero ---- */

.hero { position: relative; }

.hero-photo {
  position: absolute;
  top: 6px;
  right: 0;
  bottom: 0;
  width: 66%;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.25) 16%, rgba(0,0,0,0.85) 33%, #000 46%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.25) 16%, rgba(0,0,0,0.85) 33%, #000 46%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 74px;
  padding-bottom: 96px;
  max-width: 700px;
}

.hero h1 {
  font-size: 86px;
  line-height: 0.99;
  letter-spacing: -0.012em;
  margin-bottom: 30px;
}

.lede {
  margin: 0;
  max-width: 445px;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

.chips {
  display: flex;
  gap: 30px;
  margin: 52px 0 44px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chip-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--chip);
  box-shadow: var(--shadow-card);
  color: var(--accent-2);
}
.chip-tile .icon { width: 22px; height: 22px; }
.chip span {
  font-size: 14.5px;
  line-height: 1.32;
  color: var(--ink-2);
}

.cta-row { display: flex; align-items: center; gap: 34px; }

/* --------------------------------------------------------- panel/exp ---- */

.panel {
  background: linear-gradient(180deg, #FCF8F2 0%, #FAF4EC 100%);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 38px 0 34px;
}

.exp-grid {
  display: grid;
  grid-template-columns: 358fr 282fr 600fr;
  column-gap: 42px;
  align-items: start;
}

/* fact card */
.facts {
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 8px 26px;
}
.fact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
}
.fact + .fact { border-top: 1px solid var(--line-soft); }
.fact-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
}
.fact-ico .icon { width: 17px; height: 17px; }
.fact dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.fact dd { margin: 5px 0 0; font-size: 13.5px; white-space: nowrap; color: var(--ink-3); }
.fact dd.caps { font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase; }

/* middle column */
.exp-copy h2 {
  font-size: 40px;
  line-height: 1.12;
  margin-bottom: 22px;
}
.exp-copy p {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}
.eyebrow-plain {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
}

/* included card */
.included {
  display: grid;
  grid-template-columns: 1fr 232px;
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.included-body { padding: 28px 30px 30px; }
.included h3 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.included li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6.5px 0;
  font-size: 14px;
  white-space: nowrap;
  color: var(--ink-2);
}
.included li .icon { flex: none; width: 17px; height: 17px; color: var(--accent-2); }

.included-media { position: relative; }
.included-media img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.24);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.play:hover { background: rgba(255, 253, 250, 0.4); transform: scale(1.05); }
.play .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 2px; }

/* ---------------------------------------------------------- promo bar --- */

.promo {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 82px;
  margin: 22px 0 34px;
  padding: 0 34px;
  border-radius: var(--r-md);
  background: linear-gradient(96deg, #C77A4C 0%, #C06E40 48%, #BB6539 100%);
  color: #FDF6EF;
}
.promo-lead { display: flex; align-items: center; gap: 16px; }
.promo-lead .icon { width: 27px; height: 27px; stroke-width: 1.4; opacity: 0.92; }
.promo-lead p { margin: 0; font-size: 15.5px; font-weight: 500; }

.countdown { display: flex; gap: 12px; margin: 0 auto; }
.cd-cell {
  width: 74px;
  padding: 8px 0 7px;
  border-radius: var(--r-sm);
  background: rgba(255, 250, 245, 0.19);
  text-align: center;
}
.cd-cell b {
  display: block;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.cd-cell span {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 246, 238, 0.78);
}

/* ============================================================== about === */

.about-hero { position: relative; padding-bottom: 30px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
}
.about-copy h1 {
  font-size: 62px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.about-copy .lede { max-width: 515px; }
.about-copy .chips { gap: 26px; margin: 46px 0 0; }

.about-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(122, 84, 58, 0.1);
  margin-right: calc(-1 * var(--inset));
}
.about-photo img { width: 100%; height: 372px; object-fit: cover; object-position: center 55%; }

/* philosophy */
.philosophy {
  background: var(--panel);
  border-radius: var(--r-lg);
  padding: 46px 46px 50px;
  margin-top: 46px;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr 1fr;
  align-items: start;
}
.philosophy-intro { padding-right: 60px; }
.philosophy-intro h2 { font-size: 42px; margin-bottom: 20px; }
.philosophy-intro p { margin: 0; font-size: 14.5px; line-height: 1.78; color: var(--ink-2); }

.pillar {
  padding: 4px 16px 0;
  border-left: 1px solid var(--line);
  text-align: center;
}
.pillar .icon { width: 34px; height: 34px; color: var(--accent-2); stroke-width: 1.4; margin: 0 auto 16px; }
.pillar h3 {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  white-space: nowrap;
  margin-bottom: 10px;
}
.pillar p { margin: 0; font-size: 13.5px; line-height: 1.72; color: var(--ink-2); }

/* stats */
.sanctuary {
  position: relative;
  margin-top: 22px;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 46px 46px 50px;
  text-align: center;
}
.sanctuary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/stats_band.webp") center 58% / cover no-repeat;
  opacity: 0.9;
}
.sanctuary::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 74% at 50% 44%, rgba(252, 248, 242, 0.9) 0%, rgba(252, 248, 242, 0) 100%),
    linear-gradient(180deg, rgba(252, 247, 241, 0.78) 0%, rgba(250, 244, 237, 0.58) 100%);
}
.sanctuary > * { position: relative; z-index: 1; }
.sanctuary h2 { font-size: 48px; margin-bottom: 34px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 20px; }
.stat + .stat { border-left: 1px solid rgba(140, 96, 62, 0.22); }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.1;
}
.stat span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* about cta bar */
.cta-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 84px;
  margin: 22px 0 34px;
  padding: 14px 34px;
  border-radius: var(--r-md);
  background: linear-gradient(96deg, #C77A4C 0%, #C06E40 48%, #BB6539 100%);
  color: #FDF6EF;
}
.cta-bar > .icon { flex: none; width: 27px; height: 27px; stroke-width: 1.4; opacity: 0.92; }
.cta-bar h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; color: inherit; }
.cta-bar p { margin: 5px 0 0; font-size: 13px; color: rgba(255, 245, 237, 0.86); }
.cta-bar .btn-light { margin-left: auto; }
.cta-bar .link-arrow { color: #FDF6EF; }

/* =================================================== accommodations ===== */

.rooms-hero { position: relative; overflow: hidden; }
.rooms-hero .hero-photo { top: 0; width: 61%; }
.rooms-hero .hero-photo img {
  object-position: 58% 58%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.18) 14%, rgba(0,0,0,0.8) 32%, #000 46%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.18) 14%, rgba(0,0,0,0.8) 32%, #000 46%);
}
.rooms-hero .hero-inner { padding-top: 66px; padding-bottom: 74px; }
.rooms-hero h1 { font-size: 72px; letter-spacing: -0.015em; }
.rooms-hero h1 .light { display: block; font-weight: 500; }
.rooms-hero .eyebrow { letter-spacing: 0.19em; }

.rooms {
  background: linear-gradient(180deg, #FBF6F0 0%, #FAF4ED 100%);
  padding: 44px 0 8px;
}
.rooms-head {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 34px;
}
.rooms-head h2 { font-size: 44px; line-height: 1.1; }
.rooms-head .blurb {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 380px;
}
.carousel-nav { display: flex; gap: 14px; align-self: center; }
.circ-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.circ-btn:hover { background: var(--card); color: var(--accent); border-color: rgba(197,101,58,0.4); }

.room-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 68px) / 3);
  gap: 34px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.room-track::-webkit-scrollbar { display: none; }

.room {
  display: grid;
  grid-template-columns: 172px 1fr;
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  scroll-snap-align: start;
}
.room img { width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: 22px 22px 20px; display: flex; flex-direction: column; }
.room-body h3 { font-size: 23px; line-height: 1.15; margin-bottom: 11px; white-space: nowrap; }
.room-body p { margin: 0 0 15px; font-size: 13px; line-height: 1.62; color: var(--ink-2); }
.room-spec {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  color: var(--ink-2);
  padding: 3px 0;
}
.room-spec .icon { width: 17px; height: 17px; color: var(--accent-2); flex: none; }
.room-body .link-arrow { margin-top: 16px; font-size: 11.5px; }

/* ----------------------------------------------------------- responsive - */

@media (max-width: 1180px) {
  :root { --inset: 26px; }
  .nav-links { gap: 26px; margin-left: 24px; }
  .hero h1 { font-size: 68px; }
  .about-copy h1, .rooms-hero h1 { font-size: 54px; }
  .exp-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .included { grid-column: 1 / -1; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .philosophy-intro { grid-column: 1 / -1; padding-right: 0; }
  .pillar:nth-child(2), .pillar:nth-child(4) { border-left: 0; }
  .room-track { grid-auto-columns: calc((100% - 34px) / 2); }
}

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; height: auto; padding: 16px 18px; gap: 14px; }
  .brand svg { width: 26px; height: 26px; }
  .brand-name { font-size: 19px; letter-spacing: 0.13em; }
  .brand-sub { font-size: 8px; letter-spacing: 0.3em; }
  .nav-links {
    margin-left: 0;
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
  }
  .nav-links a { font-size: 14px; }
  .nav .btn { margin-left: auto; height: 42px; padding: 0 16px; font-size: 10.5px; gap: 8px; }
  .nav .btn .icon { width: 16px; height: 16px; }
  .hero-photo { position: relative; width: auto; height: 300px; margin: 0 0 -20px; top: 0; border-radius: var(--r-md); }
  .hero-photo img { -webkit-mask-image: none; mask-image: none; }
  .hero-inner { max-width: none; padding-top: 40px; padding-bottom: 48px; }
  .hero h1, .about-copy h1, .rooms-hero h1 { font-size: 46px; }
  .chips { flex-wrap: wrap; gap: 20px 26px; }
  .exp-grid, .about-grid, .stats, .rooms-head { grid-template-columns: 1fr; row-gap: 30px; }
  .included { grid-template-columns: 1fr; }
  .included-media { height: 220px; }
  .about-photo { margin-right: 0; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(140,96,62,.2); padding-top: 18px; margin-top: 18px; }
  .promo, .cta-bar { flex-wrap: wrap; height: auto; padding: 22px; gap: 20px; }
  .countdown { margin: 0; }
  .room-track { grid-auto-columns: 86%; }
  .carousel-nav { align-self: start; }
}
