/* =========================================================
   Healing Oasis — static rebuild
   Hand-written CSS. Tokens extracted from the original site.
   ========================================================= */

:root {
  /* palette */
  --color-accent: #FFC99A;          /* brand peach */
  --color-accent-strong: #f0ad77;
  --color-accent-soft: #fff3e8;     /* very light peach wash */
  --color-cream: #fffaf5;
  --color-text: hsl(202 24% 9%);    /* near-black blue-grey */
  --color-muted: #6b7280;
  --color-border: #e9e5e1;
  --color-bg: #ffffff;
  --color-wa: #25d366;
  --color-wa-dark: #075e54;

  /* radii (from the original theme) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 24px;

  /* typography & layout */
  --font: "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 76px;
  --shadow-sm: 0 4px 14px rgba(31, 41, 55, 0.06);
  --shadow-md: 0 14px 40px rgba(31, 41, 55, 0.10);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* anchored sections clear the sticky header */
:where(#home, #services, #why-us, #contact) { scroll-margin-top: var(--header-h); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-text); color: #fff; padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.8rem 1.6rem;
  font-weight: 500; font-size: 1rem;
  border: none; border-radius: 999px; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--color-accent-strong); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--lg { padding: 1rem 2.2rem; font-size: 1.1rem; }

.link-muted {
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.link-muted:hover { color: var(--color-text); }

/* ---------- header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.header__logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.75rem; }
.nav__list a {
  font-weight: 500; color: var(--color-text);
  padding: 0.25rem 0; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--color-accent);
  transition: width 0.2s ease;
}
.nav__list a:hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle__bar {
  width: 26px; height: 2px; background: var(--color-text);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--color-accent-soft), transparent 60%),
    linear-gradient(180deg, var(--color-cream), #fff);
}
.hero__inner {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
}
.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.5px; margin-bottom: 2rem;
}
.hero__media img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
}

/* ---------- generic section ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.section__subtitle { margin-top: 0.9rem; color: var(--color-muted); font-size: 1.05rem; }
.section__cta { text-align: center; margin-top: 2.5rem; }
.price { color: var(--color-accent-strong); font-weight: 700; }

/* ---------- services ---------- */
.services { background: var(--color-bg); }
.services__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.service-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__img { width: 100%; height: 200px; object-fit: cover; }
.service-card__body { padding: 1.4rem; }
.service-card__title { font-size: 1.3rem; }
.service-card__meta {
  color: var(--color-accent-strong); font-weight: 500; font-size: 0.9rem;
  margin-bottom: 1rem;
}
.service-list { display: flex; flex-direction: column; gap: 0.9rem; }
.service-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name price" "desc desc";
  gap: 0.15rem 0.75rem;
  padding-bottom: 0.9rem; border-bottom: 1px dashed var(--color-border);
}
.service-list li:last-child { border-bottom: none; padding-bottom: 0; }
.service-list__name { grid-area: name; font-weight: 500; }
.service-list__desc { grid-area: desc; color: var(--color-muted); font-size: 0.92rem; }
.service-list .price { grid-area: price; }

/* ---------- carousel (scroll-snap) ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.carousel__track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel__btn {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--color-border); background: #fff;
  font-size: 1.5rem; line-height: 1; color: var(--color-text);
  cursor: pointer; box-shadow: var(--shadow-sm); z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.carousel__btn:hover { background: var(--color-accent-soft); }
.carousel__btn:active { transform: translateY(-50%) scale(0.94); }
.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }
.carousel__btn[hidden] { display: none; }

.product-card {
  width: 240px; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 1rem; text-align: center; box-shadow: var(--shadow-sm);
}
.product-card img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 0.9rem; }
.product-card h3 { font-size: 1.05rem; }
.product-card p { color: var(--color-muted); font-size: 0.9rem; margin: 0.35rem 0 0.6rem; }

/* ---------- promo ---------- */
.promo { background: var(--color-accent-soft); }
.promo__inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
}
.promo__media { position: relative; }
.promo__media img:first-child { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.promo__badge { position: absolute; top: -18px; right: -10px; width: 110px; height: auto; box-shadow: none !important; }
.promo__copy p { margin-top: 1rem; font-size: 1.05rem; }
.promo__value { font-size: 1.25rem; }
.promo__value strong { color: var(--color-accent-strong); font-size: 1.6rem; }
.promo__actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.75rem; flex-wrap: wrap; }

/* ---------- why us ---------- */
.advantages {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.advantage {
  text-align: center; padding: 1.5rem;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.advantage img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 1.25rem; }
.advantage h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.advantage p { color: var(--color-muted); }

/* ---------- testimonials ---------- */
.testimonials { background: var(--color-cream); }
.carousel--testimonials .testimonial {
  width: min(560px, 86vw);
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial blockquote { font-size: 1.05rem; }
.testimonial__author { margin-top: 1.25rem; font-weight: 700; }

/* ---------- gallery ---------- */
.gallery__grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}
.gallery__grid img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease;
}
.gallery__grid img:hover { transform: scale(1.03); }

/* ---------- contact ---------- */
.contact { background: var(--color-accent-soft); }
.contact__phone { font-size: 1.6rem; font-weight: 700; margin-top: 0.5rem; }
.contact__phone a:hover { color: var(--color-accent-strong); }
.contact__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.contact__item {
  text-align: center; background: #fff; padding: 2rem 1.5rem;
  border-radius: var(--radius-lg); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.contact__item img { width: 40px; height: 40px; margin: 0 auto 1rem; }
.contact__item h3 { margin-bottom: 0.5rem; }
.contact__item a, .contact__item p { color: var(--color-muted); }
.contact__item a:hover { color: var(--color-text); }
.contact__map { margin-top: 1.5rem; }
.contact__map iframe {
  display: block; width: 100%; height: 28rem; border: 0;
  border-radius: var(--radius-lg);
}
@media (max-width: 860px) {
  .contact__map iframe { height: auto; aspect-ratio: 1 / 1; }
}

/* ---------- footer ---------- */
.footer { background: var(--color-text); color: #e7eaee; padding-block: 3rem 1.5rem; }
.footer__inner {
  display: grid; gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr; align-items: start;
}
.footer__brand img { height: 48px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer__brand p { color: #aeb6c1; max-width: 32ch; }
.footer__nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a:hover, .footer__social a:hover { color: var(--color-accent); }
.footer__social { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__copy { text-align: center; color: #8a93a0; font-size: 0.85rem; margin-top: 2.5rem; }

/* ---------- floating WhatsApp ---------- */
.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.5rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: scale(0);
  transition: transform 0.25s ease, background 0.2s ease;
}
.whatsapp-fab.is-visible { transform: scale(1); }
.whatsapp-fab:hover { background: var(--color-wa-dark); transform: scale(1.08); }
.whatsapp-fab img { width: 28px; height: 28px; filter: brightness(0) invert(1); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 0.5rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform 0.28s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--color-border); }
  .nav__list a { display: block; padding: 0.9rem 0; }
  .nav__cta { margin-top: 1rem; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__media { order: 1; }
  .hero__media img { max-width: 420px; margin-inline: auto; }

  .promo__inner { grid-template-columns: 1fr; }
  .promo__media { order: 2; }
  .contact__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .carousel__btn--prev { left: 0; }
  .carousel__btn--next { right: 0; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .carousel__track { scroll-behavior: auto; }
}
