/* Revive Wellness — static rebuild
   Tokens named after Elementor Site Settings → Global Colors so the mapping
   to the original design is obvious. */

@import url('../fonts/fonts.css');

:root {
  /* Global Colors panel */
  --peach:      #F3B698; /* Global Color 1 */
  --brown:      #614330; /* Global Color 2 — primary / CTAs */
  --brown-dark: #372922; /* Global Color 3 — headings */
  --ink:        #000000; /* Global Color 4 */
  --rose:       #BE9090; /* Global Color 5 */
  --grey-bg:    #E5E7E8; /* Global Color 6 */
  --cream:      #EAE9E9; /* Global Color 7 — hero panels */
  --white:      #FFFFFF; /* Global Color 8 */
  --footer-bg:  #FFE8DA; /* Global Color 9 */

  /* Derived — not in the panel, needed for text/hover/surfaces */
  --body-text:  #423a36;
  --muted-text: #6b615c;
  --hairline:   #e7ded8;
  --brown-hover:#4c3626;
  /* Same peach hue, darkened so small text on white/cream clears 4.5:1
     (raw --peach is ~1.8:1 on white — fine as a fill/border, not as text). */
  --accent-text:#a85830;

  --serif: 'Trajan', Georgia, 'Times New Roman', serif;
  --sans:  'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shell: 1220px;
  --gutter: 24px;
  --radius: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--brown);
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 400;
}
h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brown); color: var(--white);
  padding: .75em 1.25em; z-index: 1000;
}
.skip-link:focus { left: var(--gutter); top: var(--gutter); }

/* Two-tone ring so the indicator reads on light surfaces (white page bg,
   cream hero panels) and dark ones (brown CTA banners/testimonial) alike —
   whichever ring has contrast against the surface underneath is the one
   that shows. */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--brown);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .85rem;
  letter-spacing: .02em; text-transform: uppercase;
  padding: .95em 1.7em; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 14px; height: 14px; flex: none; }
.btn-primary { background: var(--brown); color: var(--white); }
.btn-primary:hover { background: var(--brown-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--white); }
.btn-white { background: var(--white); color: var(--brown); }
.btn-white:hover { background: var(--brown); color: var(--white); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn:disabled:hover { background: var(--brown); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .85rem; }
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; }
.mainnav { display: flex; align-items: center; gap: 1.9rem; }
.mainnav ul { display: flex; align-items: center; gap: 1.9rem; }
.mainnav a {
  font-size: .92rem; font-weight: 500; color: var(--body-text);
  padding: .3em 0; border-bottom: 2px solid transparent;
}
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--brown); border-color: var(--peach); }
.has-dropdown { position: relative; }
.has-dropdown > a { display: flex; align-items: center; gap: .35em; }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(55,41,34,.12);
  padding: .5rem; min-width: 230px;
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .16s ease, translate .16s ease, visibility .16s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; translate: 0 0; }
.dropdown li a { display: block; padding: .85em .9em; border-radius: 8px; border: none; font-size: .88rem; }
.dropdown li a:hover { background: var(--cream); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none; background: none; border: none;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  cursor: pointer; color: var(--brown);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .mainnav { position: fixed; inset: 68px 0 0 0; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 1.5rem var(--gutter);
    overflow-y: auto; transform: translateX(100%); transition: transform .25s ease;
    border-top: 1px solid var(--hairline);
  }
  .mainnav.is-open { transform: translateX(0); }
  .mainnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .mainnav ul li { border-bottom: 1px solid var(--hairline); }
  .mainnav a { display: block; padding: .9em 0; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; translate: 0; transform: none;
    box-shadow: none; border: none; padding-left: 1rem; display: none;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .header-cta .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .mainnav__cta { display: block; margin-top: 1rem; }
  .mainnav__cta a { color: var(--white); background: var(--brown); text-align: center; padding: .9em; border-radius: 999px; }
}
@media (min-width: 901px) { .mainnav__cta { display: none; } }

/* ---------- Hero banner ---------- */
.hero {
  background: var(--cream); border-radius: var(--radius);
  margin: 1.5rem auto 0; max-width: calc(var(--shell) + var(--gutter) * 2);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.hero-copy .breadcrumb { font-size: .8rem; color: var(--accent-text); font-weight: 600; margin-bottom: .8em; letter-spacing: .04em; text-transform: uppercase; }
.hero-copy .eyebrow { color: var(--brown); font-weight: 600; }
.hero-copy h1 { margin-bottom: .4em; }
.hero-copy p.lede { color: var(--muted-text); max-width: 46ch; }
.hero-media img { border-radius: calc(var(--radius) - 6px); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-media.cutout img { object-fit: contain; aspect-ratio: auto; border-radius: 0; max-height: 420px; margin-inline: auto; }
.hero.hero-compact { grid-template-columns: 1.1fr .9fr; }
.hero.no-media { grid-template-columns: 1fr; padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.hero.no-media .hero-copy { max-width: 640px; }
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; text-align: left; margin-top: 1rem; border-radius: var(--radius-sm); }
  .hero-media { order: -1; }
}

/* ---------- Sections ---------- */
section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--muted-text); }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 6/5; object-fit: cover; }
.split.reverse .split-media { order: 2; }
.split-copy .kicker { color: var(--brown); font-weight: 700; letter-spacing: .03em; font-size: .8rem; text-transform: uppercase; margin-bottom: .6em; }
@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
}

.intro-text { max-width: 820px; margin: 0 auto; text-align: center; color: var(--muted-text); font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; background: var(--white);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 20px 44px rgba(55,41,34,.1); transform: translateY(-3px); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-body h3 { margin-bottom: 0; }
.card-body p { color: var(--muted-text); font-size: .93rem; margin-bottom: 0; flex: 1; }
.card-link { color: var(--brown); font-weight: 600; font-size: .85rem; text-transform: uppercase; display: inline-flex; align-items: center; gap: .4em; margin-top: .3em; }
.card-link svg { width: 12px; height: 12px; }

/* plain (no border) card variant for the services hub grid */
.tile { display: flex; flex-direction: column; gap: .9rem; }
.tile img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.tile .kicker { color: var(--accent-text); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.tile p { color: var(--muted-text); font-size: .93rem; }

@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--brown); color: var(--white); border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem); display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-banner h2, .cta-banner h3 { color: var(--white); margin-bottom: .3em; }
.cta-banner p { color: rgba(255,255,255,.82); margin-bottom: 0; max-width: 46ch; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--brown); color: var(--white); border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem); display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.testimonial img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.testimonial .quote-mark { font-family: Georgia, serif; font-size: 3.5rem; color: var(--peach); line-height: 0; margin-left: auto; }
.testimonial blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); max-width: 30ch; }
.testimonial figcaption { margin-top: .6em; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-size: .85rem; color: var(--peach); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); margin-bottom: 1em; }
.team-card h3 { margin-bottom: .1em; }
.team-card p { color: var(--muted-text); margin-bottom: 0; }
@media (max-width: 780px) { .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* ---------- Tabs (Vision/Mission/Values) ---------- */
.tabs-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.tabs-heading::after { content: ""; flex: 1; height: 2px; background: var(--peach); }
.tabs-heading h2 { margin: 0; white-space: nowrap; }
.tablist { display: flex; gap: 1.8rem; border-bottom: 1px solid var(--hairline); margin-bottom: 1.4rem; }
.tablist button {
  background: none; border: none; font-family: var(--serif); font-size: 1.1rem;
  color: var(--muted-text); padding: 0 0 .8em; cursor: pointer; border-bottom: 2px solid transparent;
}
.tablist button[aria-selected="true"] { color: var(--brown); border-color: var(--brown); }
.tabpanel { border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 1.4rem 1.6rem; color: var(--muted-text); }
.tabpanel[hidden] { display: none; }

/* ---------- Packages ---------- */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.package {
  border: 1px solid var(--peach); border-radius: var(--radius); padding: 1.8rem 1.4rem;
  text-align: center;
}
.package h3 { margin-bottom: .2em; }
.package .meta { font-size: .82rem; color: var(--muted-text); margin-bottom: .6em; }
.package .price { font-family: var(--serif); font-size: 1.7rem; color: var(--brown); margin-bottom: .6em; }
.package p.desc { font-size: .88rem; color: var(--muted-text); margin-bottom: 0; }
@media (max-width: 980px) { .package-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .package-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.accordion { border: 1px solid var(--hairline); border-radius: var(--radius-sm); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--hairline); }
.accordion-item:last-child { border-bottom: none; }
.accordion-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; text-align: left; font-family: var(--sans); font-weight: 600;
  font-size: .96rem; color: var(--brown-dark); padding: 1.1rem 1.4rem; cursor: pointer;
}
.accordion-item button svg { flex: none; width: 16px; height: 16px; transition: transform .2s ease; color: var(--brown); }
.accordion-item[data-open="true"] button svg { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-item[data-open="true"] .accordion-panel { max-height: 600px; }
.accordion-panel div { padding: 0 1.4rem 1.2rem; color: var(--muted-text); font-size: .93rem; }

/* ---------- Partners ---------- */
.partner-row { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; }
.partner-row img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: opacity .2s ease, filter .2s ease; }
.partner-row img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.product-card { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.product-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.sale-badge {
  position: absolute; top: .8rem; left: .8rem; background: var(--peach); color: var(--brown-dark);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; padding: .3em .7em; border-radius: 999px;
}
.product-body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-body .cat { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-text); }
.product-body h3 { font-size: 1rem; margin-bottom: 0; }
.price-row { display: flex; align-items: baseline; gap: .5em; margin: .2em 0 .7em; }
.price-row .now { font-weight: 700; color: var(--brown); }
.price-row .was { text-decoration: line-through; color: var(--muted-text); font-size: .85rem; }
.product-body .btn { margin-top: auto; justify-content: center; }
@media (max-width: 980px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr 1fr; gap: .9rem; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 1em; }
.blog-card .cat { color: var(--accent-text); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.blog-card h3 { margin: .4em 0 .4em; font-size: 1.15rem; }
.blog-card p { color: var(--muted-text); font-size: .92rem; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body h2 { margin-top: 1.4em; }
.post-body p, .post-body li { color: var(--body-text); }
.post-body ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: .4em; }
.post-hero img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/8; object-fit: cover; margin-bottom: 2rem; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; }
.contact-card { background: var(--footer-bg); border-radius: var(--radius); padding: 2rem; }
.contact-item { margin-bottom: 1.6rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item .icon { color: var(--peach); margin-bottom: .5em; }
.contact-item .icon svg { width: 30px; height: 30px; }
.map-link svg { width: 15px; height: 15px; flex: none; }
.has-dropdown > a svg { width: 12px; height: 12px; flex: none; }
.contact-item h3 { font-size: 1rem; margin-bottom: .2em; }
.contact-item p { margin-bottom: 0; color: var(--muted-text); }
.contact-item a { color: var(--muted-text); }
.map-link { display: inline-flex; align-items: center; gap: .4em; font-size: .8rem; font-weight: 600; background: var(--white); padding: .5em 1em; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.08); margin-bottom: 1rem; }
.map-embed {
  background: var(--cream); border-radius: var(--radius); aspect-ratio: 16/8;
  display: flex; align-items: flex-start; padding: 1.4rem;
}
form.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4em; color: var(--brown-dark); }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: .85em 1em; font-family: var(--sans); font-size: .95rem; background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brown); }
.contact-form button { justify-self: flex-start; }
.form-status { font-size: .88rem; }
.form-status[data-state="success"] { color: #2e7d32; }
.form-status[data-state="error"] { color: #b3261e; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal-body { max-width: 780px; margin: 0 auto; }
.legal-body h2 { margin-top: 1.6em; font-size: 1.25rem; }
.legal-body p, .legal-body li { color: var(--body-text); }
.legal-body ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: .5em; }
.legal-body .updated { color: var(--muted-text); font-size: .88rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); margin-top: 3rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr .9fr .9fr 1fr; gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-col h3 { font-size: 1rem; color: var(--brown); margin-bottom: 1em; }
.footer-col p, .footer-col a { color: var(--body-text); font-size: .92rem; }
.footer-col ul li { margin-bottom: .6em; }
.footer-col ul li a:hover { color: var(--brown); }
.footer-social { display: flex; gap: .7rem; margin-top: 1rem; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brown); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(97,67,48,.15); padding: 1.2rem var(--gutter); text-align: center; font-size: .82rem; color: var(--muted-text); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Utility ---------- */
.bg-cream { background: var(--cream); }
.bg-footer { background: var(--footer-bg); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
/* Visually hidden but present for screen readers / heading hierarchy —
   doesn't change how any page looks. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

a, button, input[type="submit"] { touch-action: manipulation; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
