/* ============================================================
   Rydz Wellness Group — styles
   Palette derived from the brand logo: sage/teal, warm gold,
   coral, dusty rose on warm cream.
   ============================================================ */

:root {
  --teal:        #3d6b63;
  --teal-deep:   #2c4f49;
  --sage:        #7fa89f;
  --sage-soft:   #d9e6e1;
  --gold:        #c89b4a;
  --gold-soft:   #ead9b6;
  --coral:       #d88a72;
  --rose:        #d9a7a0;
  --cream:       #faf6ef;
  --cream-deep:  #f1e9dc;
  --ink:         #2b322f;
  --ink-soft:    #586460;
  --white:       #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1160px;
  --radius: 18px;
  --radius-lg: 30px;
  --shadow: 0 22px 60px -28px rgba(43, 50, 47, 0.45);
  --shadow-soft: 0 14px 40px -24px rgba(43, 50, 47, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

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

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

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: var(--gold-soft); }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tint { background: var(--cream-deep); }
.section__head { max-width: 640px; margin-bottom: 3.2rem; }
.section__sub { color: var(--ink-soft); font-size: 1.1rem; margin-top: 0.6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 12px 26px -14px var(--teal); }
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--teal); border-color: rgba(61,107,99,0.35); }
.btn--ghost:hover { background: var(--white); transform: translateY(-2px); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 700; color: var(--teal); margin-top: 0.4rem;
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
  padding: 0.6rem 0;
}
.nav--scrolled {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(43,50,47,0.07);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { height: 52px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-weight: 600; font-size: 0.95rem; color: var(--ink); transition: color 0.2s; }
.nav__links a:hover { color: var(--teal); }
.nav__cta {
  background: var(--teal); color: var(--white) !important;
  padding: 0.6rem 1.25rem; border-radius: 999px;
  transition: background 0.25s, transform 0.25s var(--ease);
}
.nav__cta:hover { background: var(--teal-deep); transform: translateY(-2px); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 9rem 0 5rem; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 70% at 82% 18%, rgba(216,138,114,0.18), transparent 60%),
    radial-gradient(55% 65% at 12% 85%, rgba(127,168,159,0.22), transparent 60%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center;
}
.hero__lede { font-size: 1.22rem; color: var(--ink-soft); max-width: 30rem; margin: 1.4rem 0 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(43,50,47,0.12);
}
.hero__badges li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero__portrait { position: relative; justify-self: center; }
.hero__portrait-frame {
  width: min(420px, 80vw); aspect-ratio: 1 / 1.05;
  border-radius: 280px 280px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  border: 8px solid var(--white);
}
.hero__portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__portrait::before {
  content: ""; position: absolute; inset: -18px -18px auto auto;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--gold));
  opacity: 0.5; z-index: -1;
}
.hero__portrait-tag {
  position: absolute; bottom: 18px; left: -16px;
  background: var(--white); padding: 0.7rem 1.2rem; border-radius: 14px;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
}
.hero__portrait-tag strong { font-family: var(--serif); font-size: 1.1rem; color: var(--teal); }
.hero__portrait-tag span { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Trust strip ---------- */
.strip { background: var(--teal); color: var(--white); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 2rem 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.strip__item:last-child { border-right: none; }
.strip__num { display: block; font-family: var(--serif); font-size: 1.7rem; }
.strip__label { display: block; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--sage-soft); margin-top: 0.2rem; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.about__media { position: relative; }
.about__photo {
  width: 100%; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 90px;
  box-shadow: var(--shadow); aspect-ratio: 1/1.1; object-fit: cover;
}
.about__quote {
  position: absolute; right: -22px; bottom: -26px; max-width: 270px;
  background: var(--teal); color: var(--white);
  padding: 1.4rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow); font-family: var(--serif); font-style: italic;
  font-size: 1.02rem; line-height: 1.45;
}
.about__copy p { color: var(--ink-soft); margin-top: 1.1rem; }
.about__copy h2 { margin-bottom: 0.4rem; }
.about__copy .link-arrow { margin-top: 1.5rem; }

/* ---------- Approach cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); padding: 2rem 1.6rem; border-radius: var(--radius);
  box-shadow: var(--shadow-soft); border: 1px solid rgba(43,50,47,0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem; color: var(--teal);
  background: var(--sage-soft); margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Services ---------- */
.svc {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3.5rem; align-items: center;
  padding: 2.5rem 0;
}
.svc + .svc { border-top: 1px solid rgba(43,50,47,0.08); margin-top: 1rem; }
.svc--reverse .svc__media { order: 2; }
.svc__media {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-soft); padding: 1.5rem;
}
.svc__media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: contain; width: 100%; }
.svc--reverse .svc__media img { object-fit: cover; }
.svc__body h3 { font-size: 1.75rem; color: var(--teal); margin-bottom: 0.8rem; }
.svc__body p { color: var(--ink-soft); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.tags li {
  font-size: 0.85rem; font-weight: 600; color: var(--teal);
  background: var(--sage-soft); padding: 0.4rem 0.9rem; border-radius: 999px;
}

/* ---------- Logistics (dark) ---------- */
.section--dark { background: var(--teal-deep); color: var(--cream); }
.section--dark h2 { color: var(--white); }
.logistics__head { max-width: 640px; margin-bottom: 3rem; }
.logistics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.logistics__item {
  padding: 1.8rem 1.5rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
}
.logistics__item h3 { color: var(--gold-soft); font-size: 1.15rem; margin-bottom: 0.5rem; }
.logistics__item p { color: rgba(250,246,239,0.82); font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact__copy p { color: var(--ink-soft); margin-top: 0.8rem; }
.contact__details { list-style: none; margin-top: 2rem; display: grid; gap: 1.4rem; }
.contact__details li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact__label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--gold); }
.contact__details a { color: var(--teal); font-weight: 700; }

.contact__form {
  background: var(--white); padding: 2.2rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid rgba(43,50,47,0.05);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.field .muted { color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 0.85rem 1rem; border: 1.5px solid var(--cream-deep);
  border-radius: 12px; background: var(--cream); transition: border 0.2s, background 0.2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); background: var(--white); }
.form__note { margin-top: 1rem; font-size: 0.92rem; font-weight: 600; min-height: 1.2em; }
.form__note.ok { color: var(--teal); }
.form__note.err { color: var(--coral); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 3.5rem 0 1.8rem; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer__brand img { height: 64px; width: auto; background: var(--white); padding: 8px 12px; border-radius: 12px; margin-bottom: 1rem; }
.footer__brand p { font-family: var(--serif); font-style: italic; color: rgba(250,246,239,0.7); max-width: 22rem; }
.footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav a { color: rgba(250,246,239,0.78); font-weight: 600; transition: color 0.2s; }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__meta { display: flex; flex-direction: column; gap: 0.5rem; color: rgba(250,246,239,0.78); }
.footer__meta a { color: var(--gold-soft); font-weight: 700; }
.footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem; color: rgba(250,246,239,0.6);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner, .about__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero { padding-top: 8rem; }
  .hero__portrait { margin-top: 1rem; }
  .about__quote { position: static; max-width: none; margin-top: 1.5rem; }
  .cards, .logistics__grid { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc--reverse .svc__media { grid-template-columns: 1fr; }
  .svc--reverse .svc__media { order: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }

  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem 2.4rem; background: var(--cream);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,0.4);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .nav__links a { font-size: 1.2rem; }
  .nav--open .nav__links { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 110; }
}

@media (max-width: 560px) {
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .strip__item:nth-child(2) { border-right: none; }
  .strip__item:nth-child(1), .strip__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .cards, .logistics__grid, .footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
