/* Sorig — Spa & Wellness | mysorig.com */

:root {
  --ink: #14241E;
  --green: #234138;
  --green-600: #2F5749;
  --sage: #6E8580;
  --sage-200: #AFC0BA;
  --cream: #FBFAF3;
  --cream-2: #F2F0E5;
  --gold: #B99A62;
  --line: rgba(35, 65, 56, 0.12);
  --shadow-sm: 0 1px 2px rgba(20, 36, 30, 0.06), 0 4px 12px rgba(20, 36, 30, 0.05);
  --shadow-lg: 0 24px 60px -12px rgba(20, 36, 30, 0.22);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --r: 16px;
}

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

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

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.9rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.4rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}

.lead { font-size: 1.1rem; color: rgba(20, 36, 30, 0.72); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-600); box-shadow: var(--shadow-lg); }
.btn-ghost { border-color: var(--line); color: var(--green); background: transparent; }
.btn-ghost:hover { background: rgba(35, 65, 56, 0.06); }
.btn-light { background: var(--cream); color: var(--green); }
.btn-outline-light { border-color: rgba(251, 250, 243, 0.35); color: var(--cream); }
.btn-outline-light:hover { background: rgba(251, 250, 243, 0.1); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 243, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: 0.01em; color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(20, 36, 30, 0.68);
  transition: color 0.16s ease;
}
.nav-links a:hover { color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 22px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--green); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(64px, 9vw, 108px) 0 clamp(72px, 10vw, 120px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 62vw;
  height: 120%;
  background: radial-gradient(circle at 50% 50%, rgba(110, 133, 128, 0.22), transparent 62%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 22px; color: var(--green); }
.hero h1 em { font-style: italic; color: var(--sage); }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-note { font-size: 0.85rem; color: rgba(20, 36, 30, 0.5); display: flex; align-items: center; gap: 8px; }
.hero-note svg { color: var(--sage); flex-shrink: 0; }

/* phone mock */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 292px;
  border-radius: 42px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg);
}
.phone-screen { border-radius: 33px; overflow: hidden; background: var(--cream); }
.phone-hero { position: relative; height: 208px; }
.phone-hero img { width: 100%; height: 100%; object-fit: cover; }
.phone-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 36, 30, 0.78), rgba(20, 36, 30, 0.05) 62%);
}
.phone-hero-txt { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: var(--cream); }
.phone-hero-txt strong { font-family: var(--display); font-size: 1.35rem; font-weight: 600; display: block; }
.phone-hero-txt span { font-size: 0.72rem; opacity: 0.82; }
.phone-body { padding: 16px 18px 22px; }
.phone-label { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 12px; }
.slot-row { display: flex; gap: 8px; margin-bottom: 16px; }
.slot {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(20, 36, 30, 0.6);
}
.slot.on { background: var(--green); border-color: var(--green); color: var(--cream); }
.phone-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.phone-item-ic {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--cream-2); color: var(--green);
  display: grid; place-items: center; flex-shrink: 0;
}
.phone-item p { font-size: 0.78rem; font-weight: 600; line-height: 1.3; }
.phone-item small { font-size: 0.68rem; color: rgba(20, 36, 30, 0.5); }
.phone-item b { margin-left: auto; font-size: 0.78rem; color: var(--green); }
.phone-cta {
  margin-top: 16px; padding: 12px; border-radius: 12px;
  background: var(--green); color: var(--cream);
  text-align: center; font-size: 0.8rem; font-weight: 600;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  font-weight: 600;
}
.float-card small { display: block; font-weight: 500; font-size: 0.68rem; color: rgba(20, 36, 30, 0.55); }
.float-card .dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.fc-1 { top: 12%; left: -6%; }
.fc-1 .dot { background: rgba(35, 65, 56, 0.1); color: var(--green); }
.fc-2 { bottom: 12%; right: -4%; }
.fc-2 .dot { background: rgba(185, 154, 98, 0.16); color: var(--gold); }

/* ---------- marquee / trust ---------- */
.trust { border-block: 1px solid var(--line); background: var(--cream-2); padding: 28px 0; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 48px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; font-weight: 500; color: rgba(20, 36, 30, 0.62); }
.trust-item svg { color: var(--sage); flex-shrink: 0; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 116px) 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { color: var(--green); margin-bottom: 16px; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  padding: 34px 30px 36px;
  border-radius: var(--r);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(35, 65, 56, 0.07); color: var(--green);
  display: grid; place-items: center; margin-bottom: 20px;
}
.feat h3 { color: var(--green); margin-bottom: 10px; }
.feat p { font-size: 0.93rem; color: rgba(20, 36, 30, 0.66); }

/* treatments */
.treatments { background: var(--cream-2); }
.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.treat {
  padding: 26px 24px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.treat h3 { font-size: 1.2rem; color: var(--green); margin-bottom: 6px; }
.treat p { font-size: 0.88rem; color: rgba(20, 36, 30, 0.62); }
.treat .tag {
  display: inline-block; margin-bottom: 12px;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.step { counter-increment: s; position: relative; padding-top: 26px; }
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 300;
  color: var(--sage-200);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.step h3 { color: var(--green); margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: rgba(20, 36, 30, 0.66); }

/* partners */
.partners { background: var(--green); color: var(--cream); }
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.partners h2 { color: var(--cream); margin-bottom: 16px; }
.partners .eyebrow { color: var(--sage-200); }
.partners p.lead { color: rgba(251, 250, 243, 0.74); margin-bottom: 30px; }
.partner-list { display: grid; gap: 14px; margin-bottom: 34px; }
.partner-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: rgba(251, 250, 243, 0.86); }
.partner-list svg { color: var(--sage-200); flex-shrink: 0; margin-top: 4px; }
.partner-panel {
  border-radius: var(--r);
  border: 1px solid rgba(251, 250, 243, 0.16);
  background: rgba(251, 250, 243, 0.05);
  padding: 30px;
}
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat { padding: 18px 0; }
.stat b { font-family: var(--display); font-size: 2.5rem; font-weight: 500; display: block; line-height: 1; margin-bottom: 6px; }
.stat span { font-size: 0.8rem; color: rgba(251, 250, 243, 0.6); }
.stat + .stat { }
.panel-divider { height: 1px; background: rgba(251, 250, 243, 0.14); margin: 8px 0 20px; }

/* download */
.download { text-align: center; }
.download-card {
  position: relative;
  border-radius: 26px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  padding: clamp(52px, 7vw, 84px) 32px;
  overflow: hidden;
}
.download-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(110, 133, 128, 0.2), transparent 60%);
}
.download-card > * { position: relative; }
.download-card img.mark { width: 62px; height: 62px; border-radius: 16px; margin: 0 auto 26px; box-shadow: var(--shadow-sm); }
.download-card h2 { color: var(--green); margin-bottom: 16px; }
.download-card .lead { margin: 0 auto 32px; }
.dl-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* footer */
.footer { background: var(--ink); color: rgba(251, 250, 243, 0.62); padding: 72px 0 32px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer .brand-name { color: var(--cream); }
.footer-about { max-width: 34ch; margin-top: 16px; font-size: 0.88rem; line-height: 1.6; }
.footer h4 { font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer a { transition: color 0.16s ease; }
.footer a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(251, 250, 243, 0.12);
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem;
}

/* ---------- legal pages ---------- */
.legal { padding: 64px 0 96px; }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--green); margin-bottom: 10px; }
.legal .updated { font-size: 0.85rem; color: rgba(20, 36, 30, 0.5); margin-bottom: 44px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 1.65rem; color: var(--green); margin: 44px 0 14px; }
.legal h3 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; color: var(--green); margin: 26px 0 8px; }
.legal p, .legal li { font-size: 0.97rem; color: rgba(20, 36, 30, 0.76); }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 18px 20px; display: grid; gap: 8px; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal-table-wrap { overflow-x: auto; margin-bottom: 22px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 460px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; color: var(--green); background: var(--cream-2); }
.callout {
  border-left: 3px solid var(--sage);
  background: var(--cream-2);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 22px;
}
.callout p:last-child { margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--sage); margin-bottom: 30px; }
.back-link:hover { color: var(--green); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .partners-grid { grid-template-columns: 1fr; gap: 56px; }
  .phone-stage { order: -1; }
  .feat-grid, .treat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero .lead, .section-head { max-width: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .feat-grid, .treat-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .phone { transform: none; }
  .hero-actions .btn { flex: 1; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
