/* ============================================================
   RELIEF EASE — styles.css
   Mobile-first, responsive. Brand palette from the logo.
   ============================================================ */

:root {
  /* Brand palette (extracted from logo) */
  --navy:        #1B2E40;
  --navy-2:      #283C50;
  --navy-deep:   #16263A;
  --navy-light:  #3C5064;
  --emerald:     #4E9C3A;
  --emerald-2:   #5BAE44;
  --green-leaf:  #78A050;
  --green-sage:  #8CB464;
  --green-tint:  #E5F0DA;
  --gold:        #C9A961;

  --white:       #FFFFFF;
  --soft:        #F3F7F5;
  --mist:        #EAF1ED;
  --border:      #E2E8E4;

  --text:        #1B2E40;
  --text-body:   #44566A;
  --text-muted:  #7A8A99;
  --inv:         #FFFFFF;
  --inv-muted:   #B7C7D4;

  --wa:          #25D366;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 9999px;

  --font-head: "Newsreader", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --shadow-sm: 0 4px 16px rgba(27,46,64,.08);
  --shadow-md: 0 8px 30px rgba(27,46,64,.10);
  --shadow-lg: 0 12px 40px rgba(78,156,58,.18);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; color: var(--text); line-height: 1.15; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__head--inverse h2, .section__head--inverse { color: var(--inv); }
.section__head--inverse .section__lead { color: var(--inv-muted); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--emerald); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow--green { color: var(--green-sage); }

.section__title { font-size: clamp(28px, 5vw, 46px); }
.section__lead { font-size: clamp(16px, 2.4vw, 18px); color: var(--text-body); margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: var(--r-sm); border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
}
.btn .ico { flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--wa    { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn--wa:hover { background: #20bd5a; }
.btn--dark  { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-deep); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }

.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__logo { border-radius: 50%; width: 52px; height: 52px; }
.brand__name { font-family: var(--font-head); font-size: 24px; font-weight: 600; color: var(--navy); }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > a { font-size: 14px; color: var(--text-body); transition: color .2s; }
.nav__links > a:hover { color: var(--navy); }
.nav__cta { color: #fff; }
.nav__cta:hover { color: #fff; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__video, .hero__overlay {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center;
}
.hero__video { z-index: 0; background: var(--navy-deep); }
.hero__overlay {
  z-index: 1;
  background: linear-gradient(115deg, rgba(22,38,58,.92) 0%, rgba(27,46,64,.78) 45%, rgba(40,60,80,.55) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 900px; padding: 70px 22px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  margin-bottom: 26px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-sage); }
.hero__title { font-size: clamp(38px, 8vw, 74px); line-height: 1.04; color: #fff; font-weight: 500; }
.hero__sub { font-size: clamp(16px, 3vw, 20px); color: var(--inv-muted); margin-top: 22px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* ---------- Benefits ---------- */
.benefits { background: var(--soft); }
.benefits__grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
.benefit {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 24px; text-align: center; transition: transform .25s, box-shadow .25s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit__icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-tint); color: var(--emerald);
}
.benefit h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.benefit p { font-size: 14px; color: var(--text-muted); }

/* ---------- Story ---------- */
.story { background: var(--navy); color: #fff; }
.story__row { display: grid; gap: 28px; align-items: center; margin-bottom: 56px; }
.story__row:last-child { margin-bottom: 0; }
.story__step { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--green-sage); margin-bottom: 14px; }
.story__text h3 { font-size: clamp(24px, 4vw, 34px); color: #fff; margin-bottom: 14px; }
.story__text p { color: var(--inv-muted); font-size: 16px; }
.story__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.story__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- Gallery ---------- */
.gallery { background: #fff; }
.gallery__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.gallery__item { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); }
.gallery__item img { width: 100%; height: auto; object-fit: contain; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 18px 14px;
  color: #fff; font-weight: 600; font-size: 14px;
  background: linear-gradient(to top, rgba(27,46,64,.85), transparent);
}

.gallery__video {
  position: relative; margin-top: 28px; width: 100%; border: 0; padding: 0;
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer; display: block;
  background: var(--navy);
}
.gallery__video video { width: 100%; height: 320px; object-fit: cover; opacity: .7; }
.gallery__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.5); color: #fff;
}
.gallery__vlabel { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: #fff; font-weight: 600; white-space: nowrap; }

/* ---------- Packages ---------- */
.packages { background: var(--soft); }
.packages__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.pack {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .25s, box-shadow .25s; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; height: 100%;
}
.pack:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pack--featured { border: 2px solid var(--emerald); box-shadow: var(--shadow-lg); }
.pack__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--emerald); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.pack__img {
  background: linear-gradient(200deg, var(--mist), var(--soft));
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.pack__img img { width: 150px; height: 150px; object-fit: contain; }
.pack__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pack__name { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--navy); }
.pack__detail { font-family: var(--font-head); font-size: 20px; color: var(--navy-deep); line-height: 1.3; }
.pack__sub { font-size: 13px; color: var(--text-muted); }
.pack__price { margin: 8px 0; }
.pack__price span {
  display: inline-block; background: var(--green-tint); color: var(--emerald);
  font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: var(--r-sm);
}
.pack__price--green span { background: var(--emerald); color: #fff; }
.pack__body .btn { margin-top: auto; }

/* ---------- Trust ---------- */
.trust { background: var(--navy); }
.trust__inner { display: flex; flex-direction: column; gap: 40px; }
.trust__head { text-align: center; max-width: 820px; margin: 0 auto; }
.trust__title { font-size: clamp(26px, 4.5vw, 36px); color: #fff; margin: 16px 0; }
.trust__sub { color: var(--inv-muted); font-size: 17px; }
.trust__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; }
.trust__badge { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.trust__bicon {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--green-sage);
}
.trust__badge span { font-size: 14px; font-weight: 600; color: var(--inv-muted); }

/* ---------- Contact ---------- */
.contact { background: var(--mist); }
.contact__cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
.contact__card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 40px 32px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.contact__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact__icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact__icon--wa { background: var(--green-tint); color: var(--wa); }
.contact__icon--em { background: var(--mist); color: var(--navy); }
.contact__label { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--text-muted); }
.contact__value { font-family: var(--font-head); font-size: clamp(22px, 4vw, 28px); color: var(--navy); }
.contact__card .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--inv-muted); padding: 40px 0 0; }
.footer__inner { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 30px; align-items: start; }
.brand--footer { display: flex; align-items: center; gap: 14px; }
.brand--footer .brand__name { color: #fff; font-size: 28px; }
.brand--footer .brand__logo { width: 64px; height: 64px; }
.footer__blurb { font-size: 14px; margin: 2px 0 8px 0; max-width: 380px; }
.footer__social { display: flex; gap: 12px; margin-top: 2px; }
.social {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: .2s;
}
.social:hover { background: var(--emerald); border-color: var(--emerald); transform: translateY(-2px); }
.footer__col h4 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #fff; margin-bottom: 14px; }
.footer__col a, .footer__col span { display: block; font-size: 15px; color: var(--inv-muted); margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid #2E4760; padding: 22px 0; }
.footer__bottom-inner { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; font-size: 13px; }

/* ---------- Floating WhatsApp button ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5);
  animation: fabPulse 2.6s ease-in-out infinite;
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.5); }
  50% { box-shadow: 0 8px 28px rgba(37,211,102,.8); }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — tablets & up
   ============================================================ */
@media (min-width: 640px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .packages__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__cards { grid-template-columns: repeat(2, 1fr); }
  .trust__badges { grid-template-columns: repeat(4, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; }
  .gallery__video video { height: 380px; }
  .brand--footer .brand__logo { width: 56px; height: 56px; }
  .brand--footer .brand__name { font-size: 24px; }
}

@media (min-width: 900px) {
  .section { padding: 100px 0; }
  .benefits__grid { grid-template-columns: repeat(5, 1fr); }
  .packages__grid { grid-template-columns: repeat(4, 1fr); }
  .story__row { grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 72px; }
  .story__row--reverse .story__text { order: 2; }
  .container { padding: 0 64px; }
  .hero__content { padding: 90px 64px; }
  .hero__video, .hero__overlay { object-position: right 25%; }
  .gallery__video video { height: 440px; }
  .pack__img img { width: 170px; height: 170px; }
}

/* Mobile nav: collapse links into a dropdown */
@media (max-width: 899px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 22px 18px; box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links > a { padding: 12px 0; border-bottom: 1px solid var(--mist); }
  .nav__cta { margin-top: 10px; border-bottom: 0 !important; }
  .nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
