/* =========================================================
   Body Care Balances — Coastal Wellness Design System
   ========================================================= */

:root {
  --ocean: #163a47;
  --ocean-mid: #1f5366;
  --ocean-soft: #2a6a80;
  --seafoam: #4a8b7a;
  --seafoam-light: #6aa894;
  --sand: #e8dcc4;
  --sand-deep: #d4c4a8;
  --cream: #f6f1e8;
  --ivory: #fbf8f3;
  --gold: #c4a36a;
  --gold-dark: #9d7d42;
  --charcoal: #2c2a27;
  --muted: #6b6560;
  --white: #ffffff;
  --line: #e4ddd2;
  --danger: #9b3d3d;
  --success: #2f6b56;
  --shadow: 0 18px 50px rgba(22, 58, 71, 0.12);
  --shadow-soft: 0 10px 28px rgba(22, 58, 71, 0.08);
  --radius: 18px;
  --header-h: 92px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean-mid); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold-dark); }
p { color: var(--muted); margin-bottom: 1rem; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--ocean);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Utilities ---------- */
.section { padding: 108px 0; }
.section-tight { padding: 80px 0; }
.bg-cream { background: var(--cream); }
.bg-ivory { background: var(--ivory); }
.bg-white { background: var(--white); }
.bg-ocean { background: var(--ocean); color: #fff; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  margin-bottom: 18px;
}
.section-lead {
  font-size: 1.08rem;
  max-width: 560px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 13px 28px;
  border: 1.5px solid transparent;
  transition: all .28s ease;
}
.btn-ocean {
  background: var(--ocean);
  color: #fff !important;
  border-color: var(--ocean);
}
.btn-ocean:hover {
  background: var(--ocean-mid);
  border-color: var(--ocean-mid);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 58, 71, 0.22);
}
.btn-gold {
  background: var(--gold);
  color: var(--ocean) !important;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #d4b57a;
  border-color: #d4b57a;
  color: var(--ocean) !important;
  transform: translateY(-2px);
}
.btn-outline-light-custom {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.7);
}
.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--ocean) !important;
  border-color: #fff;
}
.btn-outline-ocean {
  background: transparent;
  color: var(--ocean) !important;
  border: 1.5px solid var(--ocean);
}
.btn-outline-ocean:hover {
  background: var(--ocean);
  color: #fff !important;
}
.btn-sm-custom { padding: 10px 22px; font-size: 0.88rem; }

/* ---------- Topbar + Navbar ---------- */
.topbar {
  background: var(--ocean);
  color: rgba(255,255,255,.82);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 8px 0;
}
.topbar a { color: rgba(255,255,255,.88); }
.topbar a:hover { color: var(--gold); }
.topbar .divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.25);
  display: inline-block;
  margin: 0 16px;
}

.navbar {
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(228, 221, 210, 0.7);
}
.navbar.scrolled {
  box-shadow: 0 8px 24px rgba(22, 58, 71, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ocean) !important;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
}

.navbar-nav .nav-link {
  font-size: 0.92rem;
  font-weight: 450;
  color: var(--charcoal) !important;
  padding: 8px 14px !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--ocean) !important; font-weight: 500; }

.navbar-toggler {
  border: 1px solid var(--sand-deep);
  padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2822, 58, 71, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  background: var(--ocean) center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 32, 40, 0.78) 0%, rgba(14, 32, 40, 0.42) 52%, rgba(14, 32, 40, 0.18) 100%),
    linear-gradient(180deg, rgba(14, 32, 40, 0.18) 0%, rgba(14, 32, 40, 0.35) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 140px 0 110px; max-width: 720px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  font-weight: 500;
  margin-bottom: 22px;
  line-height: 1.05;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #f3e6c8;
}
.hero p.lead {
  color: rgba(255,255,255,.86);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}
.hero-stats span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ---------- Page banner ---------- */
.page-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background: var(--ocean) center/cover no-repeat;
  color: #fff;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,32,40,.82), rgba(14,32,40,.45));
}
.page-banner .inner { position: relative; z-index: 1; padding: 120px 0 70px; }
.page-banner h1 {
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-bottom: 10px;
}
.breadcrumb-custom {
  color: rgba(255,255,255,.72);
  font-size: 0.88rem;
}
.breadcrumb-custom a { color: var(--gold); }

/* ---------- About split ---------- */
.img-frame {
  position: relative;
}
.img-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.about-points { margin-top: 28px; }
.about-points li {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
  color: var(--charcoal);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.about-points { padding-left: 0; }
.dot-gold {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---------- Why choose ---------- */
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  height: 100%;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--sand-deep);
}
.why-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.why-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.why-card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.service-card__media {
  height: 220px;
  overflow: hidden;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__body h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.service-card__body p {
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 18px;
}
.service-card__body .btn { align-self: flex-start; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px 28px;
  border: 1px solid var(--line);
  height: 100%;
  position: relative;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 4.2rem;
  line-height: 0.5;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.quote-card p {
  color: var(--charcoal);
  font-size: 1.02rem;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.55;
}
.quote-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quote-person img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}
.quote-person strong {
  display: block;
  color: var(--ocean);
  font-weight: 560;
  font-size: 0.95rem;
}
.quote-person span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
}
.accordion-button {
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  color: var(--ocean);
  padding: 22px 8px;
  font-weight: 600;
}
.accordion-button:not(.collapsed) { color: var(--ocean-mid); }
.accordion-button::after {
  filter: invert(45%) sepia(30%) saturate(500%) hue-rotate(8deg);
}
.accordion-body {
  padding: 0 8px 22px;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  background: var(--ocean) center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,32,40,.86), rgba(14,32,40,.55));
}
.cta-band .inner { position: relative; z-index: 1; padding: 92px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.2rem); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 12px auto 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #102832;
  color: rgba(255,255,255,.72);
  padding: 72px 0 0;
  font-size: 0.94rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand p { color: rgba(255,255,255,.62); margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 48px;
  padding: 18px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
}

/* ---------- Forms ---------- */
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
}
.form-label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ocean);
  font-weight: 500;
  margin-bottom: 6px;
}
.form-control,
.form-select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 0.98rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--seafoam);
  box-shadow: 0 0 0 3px rgba(74, 139, 122, 0.18);
  background: #fff;
}
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(155, 61, 61, 0.12);
}
.invalid-msg {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}
.is-invalid + .invalid-msg,
.field-wrap.is-invalid .invalid-msg { display: block; }

.alert-success-custom {
  display: none;
  background: #e7f3ee;
  border: 1px solid #b7d8cb;
  color: var(--success);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.alert-success-custom.show { display: block; }
.alert-error-custom {
  display: none;
  background: #f8ecec;
  border: 1px solid #e0bcbc;
  color: var(--danger);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.alert-error-custom.show { display: block; }

.contact-info-card {
  background: var(--ocean);
  color: #fff;
  border-radius: 22px;
  padding: 36px 32px;
  height: 100%;
}
.contact-info-card h3 { color: #fff; margin-bottom: 8px; }
.contact-info-card p { color: rgba(255,255,255,.75); }
.info-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.info-row:last-child { border-bottom: none; }
.info-row strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 500;
}
.info-row a, .info-row span { color: #fff; }
.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.1rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Legal ---------- */
.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 32px;
  margin-bottom: 10px;
}
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 18px; }

/* ---------- Values / mission ---------- */
.value-tile {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line);
  height: 100%;
}
.value-tile h3 { font-size: 1.35rem; }

/* ---------- Subscribe visual ---------- */
.soft-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 40px 36px;
  box-shadow: var(--shadow-soft);
}

/* ---------- Toast ---------- */
.form-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ocean);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 1080;
  display: none;
  max-width: 320px;
}
.form-toast.show { display: block; animation: rise .35s ease; }
@keyframes rise {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------- Misc ---------- */
.divider-gold {
  width: 54px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0 20px;
}

@media (max-width: 991.98px) {
  .section { padding: 76px 0; }
  .img-frame img { height: 380px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 120px 0 80px; }
  .navbar-nav .nav-link::after { display: none; }
  .navbar-collapse {
    background: var(--ivory);
    padding: 12px 8px 18px;
    border-radius: 12px;
    margin-top: 10px;
  }
  .hero-stats { gap: 22px; }
}

@media (max-width: 575.98px) {
  .topbar { display: none; }
  .img-frame::after { display: none; }
  .form-panel, .soft-card { padding: 26px 18px; }
  .hero-stats { flex-wrap: wrap; }
}

.nav-brand img{
  width: 250px;
}