@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Open+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --green: #8bc53e;
  --green-soft: #b2e968;
  --green-tint: #e8f3d8;
  --purple: #662d91;
  --purple-2: #662c91;
  --purple-mid: #8b4fb9;
  --purple-soft: #af85cf;
  --black: #000000;
  --text: #555555;
  --gray: #a4a4a4;
  --line: #eaeaea;
  --white: #ffffff;
  --mist: #f2fafe;
  --footer-bg: #f7f7f7;
  --shadow: 0 6px 38px 0 #dae0e5;
  --radius: 20px;
  --pill: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  color: var(--black);
}

h1 { font-size: 64px; line-height: 1.08; }
h2 { font-size: 48px; line-height: 1.25; }
h3 { font-size: 32px; line-height: 1.3; }
h5 { font-size: 26px; line-height: 1.2; }

p { font-size: 16px; line-height: 28px; }

.container {
  width: min(1170px, calc(100% - 40px));
  margin: 0 auto;
}

.accent { color: var(--green); }
.purple { color: var(--purple); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 15px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.3s ease;
  white-space: nowrap;
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover { background: var(--white); color: var(--green); }

.btn-purple-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-purple-outline:hover { background: var(--purple); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}

/* Top bar */
.topbar {
  background: var(--purple);
  color: var(--white);
  padding: 12px 0;
  font-size: 14px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-social { display: flex; gap: 10px; }
.topbar-social a {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--purple-mid);
  display: grid; place-items: center;
  color: var(--white);
  font-size: 13px;
  transition: 0.25s;
}
.topbar-social a:hover { background: var(--green); }
.topbar-note { opacity: 0.95; font-weight: 500; }

/* Header */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-name { font-family: "DM Serif Display", serif; font-size: 28px; line-height: 1; }
.brand-name .sen { color: var(--purple); }
.brand-name .care { color: var(--green); }
.brand-tag { display: block; font-size: 11px; color: var(--gray); letter-spacing: 1.4px; text-transform: uppercase; margin-top: 4px; font-family: "Open Sans", sans-serif; font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--black);
  padding: 8px 10px;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  color: var(--purple);
  display: grid; place-items: center;
  background: var(--white);
}
.cart-btn:hover { background: var(--purple); color: var(--white); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--green); color: #fff;
  min-width: 20px; height: 20px; border-radius: 50%;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  font-size: 22px; color: var(--purple);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 70px 0 40px;
  background: linear-gradient(180deg, #fbfbfb 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead {
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 30px;
  max-width: 520px;
}

.heart-frame {
  position: relative;
  width: min(520px, 100%);
  margin-left: auto;
  aspect-ratio: 1 / 0.95;
}
.heart-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: path("M256 28C230 4 186 4 160 32 134 4 90 4 64 28 24 62 20 126 64 176c36 40 80 78 96 92 16-14 60-52 96-92 44-50 40-114 0-148z");
  clip-path: url(#heartClip);
}
.heart-photo {
  width: 88%;
  height: 88%;
  margin: 6% auto 0;
  background-size: cover;
  background-position: center;
  clip-path: path("M140.5 16.2c-14.7-15.8-39.5-16.6-55.1-1.7-2.2 2.1-4.1 4.5-5.7 7.1-1.6-2.6-3.5-5-5.7-7.1C58.4-0.4 33.6.4 18.9 16.2-2.6 39.3-5 75.8 18.2 104.3c22.8 28 55.2 55.3 71.5 68.8 16.3-13.5 48.7-40.8 71.5-68.8C186.4 75.8 184 39.3 162.5 16.2z");
  transform: scale(1.08);
}
.heart-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Inner page banner */
.page-hero {
  padding: 70px 0 50px;
  background: linear-gradient(90deg, #f7faf4 0%, #f4eef9 100%);
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}
.crumb {
  display: inline-flex;
  background: var(--green);
  color: #fff;
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.page-hero h1 { font-size: 58px; margin-bottom: 16px; }
.page-hero p { max-width: 480px; }

/* Support cards */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head p {
  max-width: 720px;
  margin: 14px auto 0;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.soft-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 28px 32px;
  text-align: center;
  transition: 0.3s;
}
.soft-card:hover { transform: translateY(-6px); }
.icon-circle {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-tint);
  color: var(--purple);
  font-size: 28px;
}
.icon-circle.green { background: #eef8de; color: var(--green); }
.soft-card h3 { font-size: 28px; margin-bottom: 12px; }
.soft-card p { font-size: 16px; }

/* Welcome */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.welcome-copy p { margin: 16px 0; }
.welcome-cta { margin-top: 22px; }
.need-care {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.need-care span {
  display: block;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 13px;
}
.need-care strong {
  font-family: "DM Serif Display", serif;
  font-size: 30px;
  color: var(--green);
  font-weight: 400;
}
.photo-frame {
  position: relative;
}
.photo-frame img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  min-height: 420px;
  height: 480px;
}
.photo-frame::after {
  content: "";
  position: absolute;
  left: -16px; bottom: -16px;
  width: 42%; height: 42%;
  border-left: 6px solid var(--purple);
  border-bottom: 6px solid var(--purple);
  border-radius: 0 0 0 16px;
  pointer-events: none;
}
.photo-frame::before {
  content: "";
  position: absolute;
  right: -8px; top: 24px;
  width: 18px; height: 70px;
  background: var(--green);
  border-radius: 4px;
}

/* Stats */
.stats {
  padding: 20px 0 70px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat h4 {
  font-family: "Open Sans", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 6px;
}
.stat p { color: var(--purple); font-weight: 600; }

/* Services split */
.services-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.services-split img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 24px;
}
.service-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 22px;
}
.service-block h4 {
  font-size: 24px;
  margin: 10px 0 8px;
}
.service-block i { font-size: 32px; color: var(--purple); }
.service-block:nth-child(odd) i { color: var(--green); }

/* Testimonial */
.testimonial {
  background: #fafafa;
  text-align: center;
  padding: 90px 0;
}
.quote-mark {
  font-size: 64px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 18px;
}
.testimonial blockquote {
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-size: 24px;
  line-height: 38px;
  max-width: 820px;
  margin: 0 auto 22px;
  color: var(--black);
}
.testimonial .who strong { display: block; font-size: 20px; color: var(--black); }
.testimonial .who span { color: var(--green); font-weight: 600; }

/* Blogs */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.blog-card img { width: 100%; height: 230px; object-fit: cover; }
.blog-card .body { padding: 22px 22px 28px; }
.blog-card .meta { color: var(--purple); font-size: 14px; margin-bottom: 10px; }
.blog-card h3 { font-size: 26px; margin-bottom: 18px; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}
.team-card h4 { font-size: 22px; color: var(--purple); margin-bottom: 4px; }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 22px 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-q .plus {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--black); color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 0;
}
.faq-q .plus::before { content: "+"; font-size: 18px; line-height: 1; color: #fff; }
.faq-item.open .plus { background: var(--green); }
.faq-item.open .plus::before { content: "\2212"; }
.faq-a {
  display: none;
  padding: 0 24px 22px 74px;
  color: var(--text);
}
.faq-item.open .faq-a { display: block; }

/* CTA banner */
.cta-banner {
  padding: 40px 0 90px;
}
.cta-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 48px 40px;
  text-align: center;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url("../images/footer-bg.jpg");
  background-size: cover;
  background-position: center;
}

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  text-align: center;
  padding: 36px 22px;
}
.contact-card .icon-circle {
  background: var(--purple);
  color: var(--green);
}

.form-card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 42px 36px 36px;
  max-width: 920px;
  margin: 40px auto 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d5d5d5;
  padding: 10px 0;
  font-size: 16px;
  color: var(--black);
  background: transparent;
  outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field.error input, .field.error textarea, .field.error select { border-bottom-color: #d64545; }
.error-text { display: none; color: #d64545; font-size: 12px; margin-top: 6px; }
.field.error .error-text { display: block; }
.form-success {
  display: none;
  background: var(--green-tint);
  color: #2f5a0f;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
  font-weight: 600;
}
.form-success.show { display: block; }
.form-center { text-align: center; margin-top: 10px; }

/* Packages / cart */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.package-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.package-card h3 { font-size: 26px; margin: 8px 0 10px; }
.price {
  font-size: 28px;
  color: var(--green);
  font-weight: 700;
  margin: 8px 0 14px;
}
.price small { font-size: 14px; color: var(--text); font-weight: 500; }
.package-card ul { margin: 0 0 18px; }
.package-card li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 14px;
}
.package-card li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--green);
  position: absolute;
  left: 0;
}
.package-card .btn { margin-top: auto; width: 100%; }

.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: min(420px, 100%);
  height: 100vh;
  background: #fff;
  z-index: 80;
  box-shadow: -10px 0 40px rgba(0,0,0,0.12);
  transition: 0.35s;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-head {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-head h3 { font-size: 26px; }
.cart-close { border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--purple); }
.cart-items { flex: 1; overflow: auto; padding: 16px 22px; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item h4 { font-size: 16px; margin-bottom: 4px; }
.qty {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.qty button {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--purple); background: #fff; color: var(--purple); cursor: pointer;
}
.cart-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 14px; font-size: 18px; color: var(--black); }
.overlay {
  position: fixed; inset: 0; background: rgba(20,10,30,0.35);
  z-index: 70; display: none;
}
.overlay.show { display: block; }

.legal {
  max-width: 900px;
  margin: 0 auto;
}
.legal h2, .legal h3 { margin: 28px 0 12px; font-size: 28px; }
.legal p, .legal li { margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 16px; }
.legal li { list-style: disc; }

/* Footer */
.site-footer {
  background: #f4f4f4 url("../images/footer-bg.jpg") center / cover no-repeat;
  position: relative;
  padding: 80px 0 30px;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(247,247,247,0.92);
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 30px;
}
.footer-about p { margin: 16px 0 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
}
.footer-social a:hover { background: var(--purple); }
.footer-col h4 {
  font-size: 22px;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--purple-soft);
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
}
.footer-col a:hover { color: var(--green); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.insta-grid img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 6px;
}
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #e3e3e3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-legal a { display: inline; margin-right: 16px; color: var(--purple); font-weight: 600; font-size: 14px; }

/* Mobile nav */
.mobile-panel {
  display: none;
  background: #fff;
  padding: 10px 20px 20px;
}
.mobile-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  h1 { font-size: 48px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero-grid, .page-hero-grid, .welcome-grid, .services-split {
    grid-template-columns: 1fr;
  }
  .heart-frame { margin: 0 auto; }
  .services-split img { height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .card-row, .blog-grid, .contact-grid, .package-grid, .team-grid, .stats-row, .service-blocks, .form-row {
    grid-template-columns: 1fr;
  }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .service-blocks { grid-template-columns: 1fr; }
  h2 { font-size: 36px; }
  .page-hero h1 { font-size: 42px; }
  .photo-frame img { min-height: 280px; height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; text-align: center; }
  .nav-actions .btn { display: none; }
}

.heart-visual { width: min(520px, 100%); margin-left: auto; }
.heart-svg { width: 100%; height: auto; display: block; }
.empty-cart { color: var(--gray); padding: 20px 0; }
.linkish { border: 0; background: none; color: var(--purple); cursor: pointer; font-size: 13px; text-decoration: underline; }
.checkout-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: start; }
.order-summary { background: #fff; box-shadow: var(--shadow); border-radius: 20px; padding: 28px; }
.order-summary .cart-items { flex: none; padding: 0; overflow: visible; }
.order-summary h3 { margin-bottom: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 4px; }
.subscribe-panel { max-width: 640px; margin: 0 auto; text-align: center; }
.subscribe-panel .form-card { text-align: left; }
.muted { color: var(--gray); }

@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 22px; }
  .checkout-wrap { grid-template-columns: 1fr; }
}
