/* ==========================================================================
   Heal Primary Health — style.css
   Brand: deep pine + healing teal + warm sand, Fraunces display / Inter text
   ========================================================================== */

:root {
  --pine: #0a3b33;
  --pine-2: #0e4a40;
  --teal: #0f8a72;
  --teal-dark: #0b6b59;
  --teal-soft: #d9efe8;
  --mint: #e9f6f1;
  --mint-2: #f4fbf8;
  --sand: #fbf8f2;
  --sand-2: #f3ede1;
  --gold: #e9b44c;
  --gold-soft: #fdf3dd;
  --ink: #14231f;
  --muted: #5c6d67;
  --line: #dbe9e3;
  --white: #ffffff;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 6px 18px rgba(10, 59, 51, 0.08);
  --shadow-md: 0 14px 40px rgba(10, 59, 51, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 59, 51, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

/* ---------- base ---------- */

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-display { font-family: var(--font-display); letter-spacing: -0.01em; }

a { text-decoration: none; transition: color .2s ease; }

img { max-width: 100%; }

::selection { background: var(--teal); color: #fff; }

.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }

.bg-mint { background: var(--mint); }
.bg-mint-2 { background: var(--mint-2); }
.bg-sand { background: var(--sand); }
.bg-pine { background: var(--pine); }

/* eyebrow + titles */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal);
  background: var(--teal-soft); border-radius: 999px; padding: .45rem 1.1rem;
}
.eyebrow i { font-size: .95rem; }
.eyebrow.on-dark { background: rgba(255,255,255,.12); color: #bfe8db; }

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 600; line-height: 1.15; margin: 1.1rem 0 .9rem; }
.section-title em { font-style: italic; color: var(--teal); }
.section-lead { color: var(--muted); font-size: 1.06rem; max-width: 46rem; }

.title-rule { width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--gold)); }

/* ---------- buttons ---------- */

.btn-heal {
  --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.7rem;
  background: var(--teal); color: #fff; border: none; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(15, 138, 114, .28);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  display: inline-flex; align-items: center; gap: .55rem;
}
.btn-heal:hover, .btn-heal:focus { background: var(--teal-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15,138,114,.34); }

.btn-ghost {
  background: transparent; color: var(--pine); border: 2px solid rgba(10,59,51,.22);
  border-radius: 999px; padding: .72rem 1.6rem; font-weight: 600; font-size: .98rem;
  display: inline-flex; align-items: center; gap: .55rem; transition: all .22s ease;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-3px); }

.btn-sand {
  background: var(--gold); color: var(--pine); border: none; border-radius: 999px;
  padding: .8rem 1.7rem; font-weight: 700; display: inline-flex; align-items: center; gap: .55rem;
  transition: all .22s ease; box-shadow: 0 10px 24px rgba(233,180,76,.35);
}
.btn-sand:hover { background: #f0c26a; color: var(--pine); transform: translateY(-3px); }

.btn-line-light {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45);
  border-radius: 999px; padding: .72rem 1.6rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .55rem; transition: all .22s ease;
}
.btn-line-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn-card {
  background: var(--mint); color: var(--teal-dark); border: none; border-radius: 999px;
  padding: .55rem 1.25rem; font-weight: 700; font-size: .88rem;
  display: inline-flex; align-items: center; gap: .5rem; transition: all .22s ease;
}
.btn-card:hover { background: var(--teal); color: #fff; transform: translateX(4px); }

/* ---------- navbar ---------- */

.navbar-h {
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; padding: .9rem 0; transition: all .3s ease;
}
.navbar-h.scrolled { background: rgba(255,255,255,.97); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); padding: .55rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 46px; height: 46px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: var(--pine); line-height: 1.05; display: block; }
.brand-tag { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 700; }

.navbar-h .nav-link {
  color: var(--ink); font-weight: 600; font-size: .95rem; margin: 0 .35rem;
  position: relative; padding: .45rem .55rem !important;
}
.navbar-h .nav-link::after {
  content: ""; position: absolute; left: .55rem; right: .55rem; bottom: .1rem; height: 3px;
  border-radius: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.navbar-h .nav-link:hover { color: var(--teal-dark); }
.navbar-h .nav-link:hover::after, .navbar-h .nav-link.active::after { transform: scaleX(1); }
.navbar-h .nav-link.active { color: var(--teal-dark); }

.navbar-toggler { border: 1px solid var(--line); border-radius: 12px; padding: .5rem .7rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- hero ---------- */

.hero { position: relative; padding: 118px 0 90px; background:
  radial-gradient(52rem 30rem at 88% -10%, rgba(233,180,76,.16), transparent 60%),
  radial-gradient(40rem 26rem at -10% 30%, rgba(15,138,114,.14), transparent 60%),
  linear-gradient(180deg, var(--mint-2), #fff 78%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(15,138,114,.14) 1px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: linear-gradient(120deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 55%);
}
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 600; line-height: 1.08; margin: 1.2rem 0 1.2rem; }
.hero h1 em { font-style: italic; color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: 0; right: 0; bottom: -.28em; width: 100%; height: .35em; }
.hero-lead { font-size: 1.1rem; color: var(--muted); max-width: 34rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.hero-chip {
  display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem 1rem; font-size: .85rem; font-weight: 600; color: var(--pine-2);
  box-shadow: var(--shadow-sm);
}
.hero-chip i { color: var(--teal); }

.hero-visual { position: relative; }
.hero-frame {
  border-radius: 160px 160px 40px 40px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 10px solid #fff; transform: rotate(2deg); transition: transform .5s ease;
}
.hero-visual:hover .hero-frame { transform: rotate(0deg); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.hero-blob.b1 { width: 320px; height: 320px; right: -90px; top: -70px; background: radial-gradient(circle at 35% 35%, rgba(233,180,76,.5), rgba(233,180,76,0) 70%); }
.hero-blob.b2 { width: 260px; height: 260px; left: -70px; bottom: -40px; background: radial-gradient(circle at 60% 40%, rgba(15,138,114,.35), rgba(15,138,114,0) 70%); }

.float-card {
  position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-md);
  padding: .85rem 1.1rem; display: flex; gap: .8rem; align-items: center; max-width: 240px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; }
.float-card strong { display: block; font-size: .9rem; color: var(--pine); line-height: 1.25; }
.float-card span { font-size: .78rem; color: var(--muted); }
.float-card.fc1 { top: 8%; left: -14%; }
.float-card.fc1 .ico { background: var(--gold-soft); color: #b07f18; }
.float-card.fc2 { bottom: 10%; right: -10%; animation-delay: 1.6s; }
.float-card.fc2 .ico { background: var(--teal-soft); color: var(--teal-dark); }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- marquee ribbon ---------- */

.ribbon { background: var(--pine); color: #cdeadd; overflow: hidden; padding: 1rem 0; position: relative; }
.ribbon-track { display: flex; gap: 3rem; width: max-content; animation: slide 34s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-item { display: inline-flex; align-items: center; gap: 3rem; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; letter-spacing: .04em; white-space: nowrap; }
.ribbon-item i { color: var(--gold); font-style: normal; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- generic cards ---------- */

.hcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); height: 100%; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(15,138,114,.35); }

.icon-tile { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; background: var(--mint); color: var(--teal-dark); }
.icon-tile.gold { background: var(--gold-soft); color: #b07f18; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2.1rem; margin-bottom: .8rem; color: var(--muted); font-weight: 500; }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: .1rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}

/* image frames */
.frame-organic { border-radius: 38% 62% 55% 45% / 45% 42% 58% 55%; overflow: hidden; box-shadow: var(--shadow-md); }
.frame-round { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.frame-round img, .frame-organic img { width: 100%; height: 100%; object-fit: cover; }

.img-stack { position: relative; }
.img-stack .badge-card {
  position: absolute; bottom: -22px; left: 24px; background: var(--pine); color: #d8f2e8;
  border-radius: 16px; padding: .8rem 1.2rem; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .6rem;
}
.img-stack .badge-card i { color: var(--gold); font-size: 1.1rem; }

/* ---------- service cards ---------- */

.service-card { overflow: hidden; display: flex; flex-direction: column; }
.service-card .thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .thumb img { transform: scale(1.07); }
.service-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,59,51,.35));
}
.service-card .body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.service-card h3 { font-size: 1.28rem; font-weight: 600; color: var(--pine); margin: 0; }
.service-card p { color: var(--muted); font-size: .94rem; margin: 0; flex: 1; }
.service-card .btn-card { align-self: flex-start; margin-top: .3rem; }

.service-tile-cta {
  background: linear-gradient(140deg, var(--pine), var(--teal-dark)); color: #eafff6;
  border-radius: var(--radius); padding: 2.2rem; height: 100%; display: flex; flex-direction: column;
  justify-content: center; gap: 1rem; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.service-tile-cta::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(233,180,76,.45), transparent 70%);
}
.service-tile-cta h3 { color: #fff; font-size: 1.6rem; }
.service-tile-cta p { color: #bfe3d6; }

/* ---------- testimonials ---------- */

.quote-card { padding: 2rem; position: relative; }
.quote-card .qmark { position: absolute; top: 1.2rem; right: 1.5rem; font-family: var(--font-display); font-size: 4.4rem; line-height: 1; color: var(--teal-soft); }
.quote-card p { color: var(--ink); font-size: 1.02rem; position: relative; }
.quote-who { display: flex; align-items: center; gap: .9rem; margin-top: 1.2rem; }
.avatar-initials {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 1rem; letter-spacing: .04em;
  background: linear-gradient(135deg, var(--teal), var(--pine));
}
.avatar-initials.g { background: linear-gradient(135deg, var(--gold), #c98a12); }
.avatar-initials.b { background: linear-gradient(135deg, #3e7ca6, #17455f); }
.quote-who strong { display: block; color: var(--pine); font-size: .98rem; }
.quote-who span { font-size: .82rem; color: var(--muted); }
.stars { color: var(--gold); font-size: .85rem; letter-spacing: .12em; }

/* ---------- blog cards ---------- */

.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .cat {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--teal-dark);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .85rem; border-radius: 999px;
}
.blog-card .body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.blog-card h3 { font-size: 1.22rem; font-weight: 600; color: var(--pine); line-height: 1.3; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--teal); }
.blog-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.read-link { font-weight: 700; color: var(--teal-dark); display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; }
.read-link i { transition: transform .25s ease; }
.read-link:hover { color: var(--teal); }
.read-link:hover i { transform: translateX(5px); }

/* ---------- FAQ ---------- */

.accordion-h .accordion-item { border: 1px solid var(--line); border-radius: 18px !important; margin-bottom: .9rem; overflow: hidden; background: #fff; }
.accordion-h .accordion-button {
  font-family: var(--font-body); font-weight: 700; color: var(--pine); font-size: 1.02rem;
  padding: 1.15rem 1.4rem; background: #fff; box-shadow: none !important;
}
.accordion-h .accordion-button:not(.collapsed) { background: var(--mint-2); color: var(--teal-dark); }
.accordion-h .accordion-button::after {
  background-image: none; content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--teal);
  width: auto; height: auto; line-height: 1; transition: transform .25s ease;
}
.accordion-h .accordion-button:not(.collapsed)::after { content: "\2212"; transform: none; }
.accordion-h .accordion-body { color: var(--muted); padding: 0 1.4rem 1.3rem; }

/* ---------- CTA band ---------- */

.cta-band { position: relative; border-radius: 0; overflow: hidden; background: var(--pine); }
.cta-band .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.cta-band .inner { position: relative; padding: 96px 0; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-band p { color: #cfe9de; max-width: 40rem; }

/* ---------- page head (sub pages) ---------- */

.page-head {
  position: relative; padding: 150px 0 70px; overflow: hidden;
  background:
    radial-gradient(46rem 24rem at 90% -20%, rgba(233,180,76,.2), transparent 60%),
    radial-gradient(36rem 22rem at -8% 40%, rgba(15,138,114,.16), transparent 60%),
    linear-gradient(180deg, var(--mint-2), #fff);
}
.page-head h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 600; margin: 1rem 0 .8rem; }
.page-head .crumbs { font-size: .85rem; color: var(--muted); font-weight: 600; }
.page-head .crumbs a { color: var(--teal-dark); }
.page-head .deco-ring { position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border: 42px solid rgba(15,138,114,.1); border-radius: 50%; }
.page-head .deco-ring.r2 { right: auto; left: -140px; top: auto; bottom: -180px; width: 300px; height: 300px; border-color: rgba(233,180,76,.16); }

/* ---------- forms ---------- */

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.4rem; }
.form-label { font-weight: 600; font-size: .88rem; color: var(--pine); }
.form-control, .form-select {
  border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem 1rem; font-size: .95rem; background-color: #fdfffe;
}
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(15,138,114,.14); }
.form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
.invalid-feedback { font-size: .8rem; }

.form-note { background: var(--mint-2); border: 1px dashed rgba(15,138,114,.4); border-radius: 16px; padding: 1rem 1.2rem; font-size: .88rem; color: var(--muted); }

.success-panel { text-align: center; padding: 2rem 1rem; }
.success-panel .big { width: 84px; height: 84px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 1.2rem; }

/* contact info tiles */
.info-tile { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem; height: auto !important; }
.info-tile .icon-tile { flex: 0 0 58px; }
.info-tile h3 { font-size: 1.08rem; margin-bottom: .3rem; color: var(--pine); }
.info-tile p, .info-tile a { color: var(--muted); font-size: .95rem; margin: 0; }
.info-tile a:hover { color: var(--teal); }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 8px solid #fff; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- article ---------- */

.article-body { font-size: 1.04rem; color: #33443f; }
.article-body h2 { font-size: 1.55rem; margin: 2.2rem 0 .9rem; color: var(--pine); }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.article-body li { margin-bottom: .5rem; }
.article-body .lead-line { font-size: 1.18rem; color: var(--muted); font-weight: 500; }
.pull-quote {
  border-left: 5px solid var(--gold); background: var(--sand); border-radius: 0 18px 18px 0;
  padding: 1.3rem 1.6rem; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--pine); margin: 1.8rem 0;
}

.sidebar-box { background: var(--mint-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.sidebar-box h3 { font-size: 1.15rem; color: var(--pine); margin-bottom: 1rem; }
.mini-post { display: flex; gap: .9rem; align-items: center; margin-bottom: .9rem; }
.mini-post img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: 0 0 64px; }
.mini-post a { font-weight: 700; font-size: .9rem; color: var(--pine); line-height: 1.35; }
.mini-post a:hover { color: var(--teal); }

/* ---------- legal ---------- */

.legal h2 { font-size: 1.4rem; color: var(--pine); margin: 2.2rem 0 .8rem; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { font-size: .88rem; color: var(--muted); background: var(--mint-2); display: inline-block; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--line); }

/* ---------- footer ---------- */

.footer { background: var(--pine); color: #bcd9cf; padding: 76px 0 0; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal)); }
.footer h5 { color: #fff; font-size: 1.02rem; margin-bottom: 1.2rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer a { color: #bcd9cf; font-size: .94rem; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .65rem; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: var(--gold); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #d7efe6; font-size: 1.05rem; transition: all .22s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--pine); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding: 22px 0; font-size: .86rem; }
.footer-bottom a { font-size: .86rem; }

.newsletter-mini { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 1.5rem; }
.newsletter-mini p { font-size: .9rem; }

/* ---------- misc ---------- */

.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 16px;
  background: var(--teal); color: #fff; border: none; box-shadow: var(--shadow-md);
  display: grid; place-items: center; font-size: 1.2rem; opacity: 0; pointer-events: none;
  transform: translateY(14px); transition: all .3s ease; z-index: 1040;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--teal-dark); color: #fff; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

.divider-leaf { display: flex; align-items: center; gap: 1rem; color: var(--teal); }
.divider-leaf::before, .divider-leaf::after { content: ""; height: 1px; flex: 1; background: var(--line); }

/* responsive tweaks */
@media (max-width: 991.98px) {
  .section { padding: 70px 0; }
  .hero { padding: 130px 0 70px; }
  .float-card.fc1 { left: 0; top: 4%; }
  .float-card.fc2 { right: 0; bottom: 4%; }
  .navbar-h .navbar-collapse { background: #fff; border-radius: 18px; padding: 1rem; margin-top: .8rem; box-shadow: var(--shadow-md); }
}
@media (max-width: 575.98px) {
  .float-card { display: none; }
  .form-card { padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-track, .float-card { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
