/* ==========================================================================
   Krisha Home Care Service — Premium Design System
   Author: Design & Front-end
   Contents:
   1. Design tokens
   2. Base & typography
   3. Buttons & badges
   4. Preloader / topbar / header / nav
   5. Hero
   6. Sections & cards
   7. Stats, process, testimonials, gallery, FAQ
   8. Forms & CTA
   9. Footer, floating action bar, back-to-top
   10. Animations
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --primary: #0e8f83;
  --primary-dark: #0a6d64;
  --primary-soft: #e6f4f2;
  --secondary: #f5faf9;
  --accent: #ffb547;
  --accent-soft: #fff3e0;
  --dark: #1f2937;
  --body: #55606e;
  --white: #ffffff;
  --light: #f8fafc;
  --line: #e6ecec;

  --grad-primary: linear-gradient(135deg, #0e8f83 0%, #14b3a3 100%);
  --grad-dark: linear-gradient(140deg, #16323a 0%, #1f2937 60%, #0e8f83 160%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #f5faf9 100%);

  --shadow-xs: 0 2px 10px rgba(31, 41, 55, .05);
  --shadow-sm: 0 10px 30px rgba(31, 41, 55, .07);
  --shadow-md: 0 20px 45px rgba(14, 143, 131, .12);
  --shadow-lg: 0 34px 70px rgba(14, 143, 131, .18);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ff-head: "Poppins", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Base & typography ---------- */
* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .display-1, .display-2 {
  font-family: var(--ff-head);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--primary); color: #fff; }

.text-primary-brand { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-dark-brand { color: var(--dark) !important; }
.bg-soft { background: var(--secondary); }
.bg-light-brand { background: var(--light); }
.bg-dark-brand { background: var(--grad-dark); color: rgba(255, 255, 255, .78); }
.bg-dark-brand h1, .bg-dark-brand h2, .bg-dark-brand h3,
.bg-dark-brand h4, .bg-dark-brand h5 { color: #fff; }

.section { padding: clamp(64px, 8vw, 118px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.container { max-width: 1240px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--primary);
  background: var(--primary-soft); border-radius: 100px; padding: .45rem 1.1rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.bg-dark-brand .eyebrow { background: rgba(255, 255, 255, .09); color: #7fe3d7; }
.lead-muted { font-size: 1.06rem; color: var(--body); max-width: 62ch; }

/* ---------- 3. Buttons ---------- */
.btn {
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem; white-space: nowrap;
  border-radius: 100px; padding: .85rem 1.75rem; border: 0;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-brand { background: var(--grad-primary); color: #fff; box-shadow: 0 12px 26px rgba(14, 143, 131, .28); }
.btn-brand:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 36px rgba(14, 143, 131, .36); }
.btn-accent { background: var(--accent); color: #4a2f00; box-shadow: 0 12px 26px rgba(255, 181, 71, .35); }
.btn-accent:hover { color: #4a2f00; transform: translateY(-3px); }
.btn-outline-brand { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn-outline-brand:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-ghost-light { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: #fff; color: var(--dark); }
.btn-lg-brand { padding: 1.05rem 2.2rem; font-size: 1rem; }
/* ripple */
.btn .ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255, 255, 255, .45); animation: ripple .6s linear; pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.link-arrow { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .45rem; }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 4. Preloader, topbar, header ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 2000; background: var(--white);
  display: grid; place-items: center; transition: opacity .5s ease, visibility .5s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid var(--primary-soft); border-top-color: var(--primary);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.topbar {
  background: var(--dark); color: rgba(255, 255, 255, .72);
  font-size: .84rem; padding: .5rem 0;
}
.topbar a { color: rgba(255, 255, 255, .8); }
.topbar a:hover { color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, .96); }
.site-header .navbar { padding: .85rem 0; }
.navbar-brand img { width: 240px;
    height: auto;
    max-width: none; }
.navbar .nav-link {
  font-family: var(--ff-head); font-weight: 500; font-size: .95rem; white-space: nowrap;
  color: var(--dark); padding: .55rem .95rem !important; position: relative;
}
.navbar .nav-link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .25rem;
  height: 2px; background: var(--primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.dropdown-menu {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: .6rem;
  box-shadow: var(--shadow-sm); font-family: var(--ff-body); min-width: 275px;
}
.dropdown-item { border-radius: 10px; padding: .55rem .8rem; font-size: .93rem; color: var(--dark); }
.dropdown-item:hover, .dropdown-item.active { background: var(--primary-soft); color: var(--primary); }
.navbar-toggler { border: 1px solid var(--line); border-radius: 12px; padding: .45rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, #e6f4f2 0%, #ffffff 55%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -220px;
  background: var(--grad-primary); opacity: .10; filter: blur(20px); border-radius: 50%;
}
.hero-title { margin-bottom: 1.1rem; }
.hero-title .accentuate { color: var(--primary); position: relative; white-space: nowrap; }
.hero-title .accentuate::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em;
  background: rgba(255, 181, 71, .38); border-radius: 6px; z-index: -1;
}
.hero-media { position: relative; }
.hero-media img.hero-photo {
  width: 100%; border-radius: 220px 220px var(--r-lg) var(--r-lg);
  object-fit: cover; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
}
.floating-card {
  position: absolute; background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); padding: .95rem 1.15rem; display: flex; gap: .8rem; align-items: center;
  animation: float 5s ease-in-out infinite;
}
.floating-card strong { font-family: var(--ff-head); color: var(--dark); display: block; line-height: 1.2; }
.floating-card span { font-size: .8rem; }
.floating-card .fc-icon {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); flex: none;
}
.fc-1 { left: -12px; top: 16%; }
.fc-2 { right: -10px; top: 44%; animation-delay: .8s; }
.fc-3 { left: 4%; bottom: 6%; animation-delay: 1.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.trust-strip { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; margin-top: 2.2rem; }
.trust-item { display: flex; align-items: center; gap: .7rem; }
.trust-item .ti-num { font-family: var(--ff-head); font-weight: 700; font-size: 1.5rem; color: var(--dark); line-height: 1; }
.trust-item small { display: block; font-size: .8rem; letter-spacing: .04em; }

.page-hero {
  background: var(--grad-dark); color: rgba(255, 255, 255, .8);
  padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 7vw, 100px);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto -10% -60% 55%; height: 420px;
  background: var(--grad-primary); opacity: .22; filter: blur(70px); border-radius: 50%;
}
.page-hero h1 { color: #fff; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); margin: 0; justify-content: center; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .72); }
.page-hero .breadcrumb-item.active { color: var(--accent); }

/* ---------- 6. Cards ---------- */
.card-premium {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.75rem; height: 100%; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card-premium::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card-premium:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-premium:hover::after { transform: scaleX(1); }
.icon-badge {
  width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 1.25rem;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.card-premium:hover .icon-badge { background: var(--grad-primary); color: #fff; transform: rotate(-6deg); }
.icon-badge.accent { background: var(--accent-soft); color: #c47d00; }

.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card .sc-media { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.service-card .sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .sc-media img { transform: scale(1.08); }
.service-card .sc-icon {
  position: absolute; right: 1rem; bottom: 1rem; width: 52px; height: 52px; border-radius: 16px;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); color: var(--primary);
  display: grid; place-items: center;
}
.service-card .sc-body { padding: 1.6rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.service-card h3 { font-size: 1.2rem; margin: 0; }
.service-card p { font-size: .95rem; margin: 0; }
.service-card .link-arrow { margin-top: auto; padding-top: .5rem; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; }
.feature-list li svg { flex: none; margin-top: .28rem; color: var(--primary); }

.image-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.image-frame img { width: 100%; display: block; }
.image-frame.reveal-img img { transform: scale(1.12); transition: transform 1.2s var(--ease); }
.image-frame.reveal-img.is-visible img { transform: scale(1); }

.badge-soft {
  display: inline-block; background: var(--primary-soft); color: var(--primary);
  font-family: var(--ff-head); font-weight: 600; font-size: .78rem;
  padding: .35rem .85rem; border-radius: 100px;
}

/* ---------- 7. Stats / process / testimonials / gallery / FAQ ---------- */
.stat-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg); padding: 1.9rem 1.5rem; height: 100%;
  backdrop-filter: blur(10px); transition: transform .4s var(--ease), background .4s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.stat-num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.stat-num .suffix { color: var(--accent); }
.stat-card p { font-size: .92rem; margin: .55rem 0 0; }
.stat-card h5 { font-size: 1.02rem; margin-top: .6rem; }

.process-step { position: relative; padding-top: 2.4rem; height: 100%; }
.process-step .step-num {
  position: absolute; top: 0; left: 0; font-family: var(--ff-head); font-weight: 700;
  font-size: 3.4rem; line-height: 1; color: var(--primary); opacity: .14;
}
.process-step h4 { position: relative; }
.process-line { height: 1px; background: linear-gradient(90deg, var(--line), var(--primary), var(--line)); margin: 2.5rem 0 0; }

.testimonial-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.8rem; height: 100%; display: flex; flex-direction: column; gap: 1rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark { font-family: var(--ff-head); font-size: 2.6rem; line-height: .6; color: var(--primary); opacity: .25; }
.testimonial-card p { font-size: .98rem; margin: 0; }
.t-person { display: flex; align-items: center; gap: .85rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); }
.t-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.t-person strong { font-family: var(--ff-head); display: block; color: var(--dark); font-size: .98rem; }
.t-person span { font-size: .82rem; }
.stars { color: var(--accent); font-size: .95rem; letter-spacing: .12em; }

.slider-controls { display: flex; gap: .6rem; justify-content: center; margin-top: 2.2rem; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--dark); display: grid; place-items: center; transition: all .3s var(--ease);
}
.slider-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.carousel-indicators [data-bs-target] { background: var(--primary); border-radius: 50%; width: 9px; height: 9px; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.4rem; }
.filter-btn {
  font-family: var(--ff-head); font-weight: 500; font-size: .9rem; border: 1px solid var(--line);
  background: #fff; color: var(--dark); border-radius: 100px; padding: .5rem 1.25rem;
  transition: all .3s var(--ease);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-item { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.gallery-item.is-hidden { display: none; }
.gallery-tile {
  display: block; position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-xs); cursor: zoom-in;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-tile::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(180deg, rgba(14, 143, 131, 0) 30%, rgba(10, 109, 100, .75) 100%);
  transition: opacity .4s var(--ease);
}
.gallery-tile .gt-label {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2; color: #fff;
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  transform: translateY(10px); opacity: 0; transition: all .4s var(--ease);
}
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tile:hover::after, .gallery-tile:hover .gt-label { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 1080; background: rgba(15, 26, 30, .92);
  display: none; place-items: center; padding: 4vh 4vw; backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.4rem;
}
.lightbox-close:hover { background: var(--primary); }

.accordion-premium .accordion-item {
  border: 1px solid var(--line); border-radius: var(--r-md) !important;
  margin-bottom: .85rem; overflow: hidden; background: #fff;
}
.accordion-premium .accordion-button {
  font-family: var(--ff-head); font-weight: 600; color: var(--dark); font-size: 1.02rem;
  padding: 1.15rem 1.35rem; background: #fff; box-shadow: none;
}
.accordion-premium .accordion-button:not(.collapsed) { color: var(--primary); background: var(--primary-soft); }
.accordion-premium .accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-premium .accordion-body { padding: 0 1.35rem 1.35rem; font-size: .97rem; }

/* ---------- 8. Forms & CTA ---------- */
.form-panel {
  background: #fff; border-radius: var(--r-lg); padding: clamp(1.75rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.form-label { font-family: var(--ff-head); font-weight: 600; font-size: .86rem; color: var(--dark); margin-bottom: .35rem; }
.form-control, .form-select {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem 1rem;
  font-size: .95rem; background: var(--light); color: var(--dark);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14, 143, 131, .12); background: #fff;
}
.form-note { font-size: .82rem; }
.form-alert { display: none; border-radius: var(--r-sm); padding: .85rem 1rem; font-size: .92rem; margin-top: 1rem; }
.form-alert.is-visible { display: block; }
.form-alert.success { background: var(--primary-soft); color: var(--primary-dark); }

.cta-panel {
  background: var(--grad-dark); border-radius: var(--r-xl); padding: clamp(2.2rem, 5vw, 4rem);
  color: rgba(255, 255, 255, .82); position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; right: -12%; top: -60%; width: 480px; height: 480px;
  background: var(--grad-primary); opacity: .3; filter: blur(60px); border-radius: 50%;
}
.cta-panel h2, .cta-panel h3 { color: #fff; position: relative; }
.cta-panel .cta-inner { position: relative; }

.contact-tile {
  display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.4rem; height: 100%; transition: all .35s var(--ease);
}
.contact-tile:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.contact-tile span { overflow-wrap: anywhere; }
.contact-tile strong { font-family: var(--ff-head); color: var(--dark); display: block; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* ---------- 9. Footer / floating bar / back to top ---------- */
.site-footer { background: var(--grad-dark); color: rgba(255, 255, 255, .68); padding: clamp(54px, 7vw, 90px) 0 0; }
.site-footer h5 { color: #fff; font-size: 1.02rem; letter-spacing: .02em; margin-bottom: 1.15rem; }
.site-footer img.footer-logo { height: auto; background: #fff; padding: .5rem .7rem; border-radius: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: rgba(255, 255, 255, .68); font-size: .94rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; font-size: .94rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { color: var(--accent); flex: none; margin-top: .25rem; }
.social-row { display: flex; gap: .55rem; margin-top: 1.3rem; }
.social-row a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; transition: all .3s var(--ease);
}
.social-row a:hover { background: var(--primary); transform: translateY(-3px); }
.newsletter-form { position: relative; }
.newsletter-form .form-control {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff;
  padding-right: 3.4rem; border-radius: 100px;
}
.newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter-form button {
  position: absolute; right: 5px; top: 5px; bottom: 5px; width: 44px; border: 0; border-radius: 50%;
  background: var(--grad-primary); color: #fff; display: grid; place-items: center;
}
.footer-bottom {
  margin-top: clamp(38px, 5vw, 62px); border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.35rem 0; font-size: .88rem;
}
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: var(--accent); }

.mobile-action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: none;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(31, 41, 55, .1);
}
.mobile-action-bar .mab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mab-btn {
  display: flex; flex-direction: column; align-items: center; gap: .18rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .74rem; color: var(--dark);
  border-radius: var(--r-sm); padding: .5rem .3rem; transition: all .3s var(--ease);
}
.mab-btn svg { width: 20px; height: 20px; }
.mab-btn.call { color: var(--primary); }
.mab-btn.whatsapp { color: #128c7e; }
.mab-btn.book { background: var(--grad-primary); color: #fff; }
.mab-btn:active { transform: scale(.96); }

.float-contact { position: fixed; right: 20px; bottom: 22px; z-index: 1035; display: grid; gap: .6rem; }
.float-contact a, #backToTop {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease);
}
.float-contact a.wa { background: #25d366; }
.float-contact a:hover { transform: translateY(-4px) scale(1.05); color: #fff; }
#backToTop { background: var(--dark); border: 0; opacity: 0; visibility: hidden; }
#backToTop.is-visible { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--primary); }

/* 404 */
.error-code {
  font-family: var(--ff-head); font-weight: 700; line-height: .9;
  font-size: clamp(6rem, 20vw, 13rem);
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Legal pages */
.legal-content h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.legal-content h3 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.legal-content ul { padding-left: 1.15rem; }
.legal-content li { margin-bottom: .45rem; }

/* ---------- 10. Scroll animations ---------- */
[data-anim] { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
[data-anim="up"] { transform: translateY(38px); }
[data-anim="left"] { transform: translateX(-38px); }
[data-anim="right"] { transform: translateX(38px); }
[data-anim="zoom"] { transform: scale(.94); }
[data-anim].is-visible { opacity: 1; transform: none; }

.pricing-section{
    position:relative;
}

.pricing-card{
    background:#fff;
    border-radius:24px;
    padding:40px 35px;
    box-shadow:0 15px 50px rgba(0,0,0,.06);
    transition:.4s ease;
    height:100%;
    position:relative;
    overflow:hidden;
    border:1px solid rgba(14,143,131,.08);
}

.pricing-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.pricing-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
}

.basic-card::before{
    background:#0E8F83;
}

.premium-card::before{
    background:#FFB547;
}

.elder-card::before{
    background:#3B82F6;
}

/*====================*/

.pricing-icon{
    width:85px;
    height:85px;
    border-radius:50%;
    background:#F4FBFA;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    margin-bottom:25px;
}

.pricing-icon img{
    width:42px;
}

/*====================*/

.pricing-label{

    display:block;

    text-align:center;

    font-weight:600;

    font-size:18px;

    color:#1F2937;

    margin-bottom:20px;

}

/*====================*/

.price{

    text-align:center;

    font-size:52px;

    font-weight:700;

    color:#0E8F83;

    margin-bottom:8px;

    line-height:1;

}

.price small{

    font-size:20px;

    color:#555;

    font-weight:500;

}

/*====================*/

.price-desc{

    text-align:center;

    color:#777;

    margin-bottom:30px;

}

/*====================*/

.pricing-list{

    list-style:none;

    padding:0;

    margin:0 0 35px;

}

.pricing-list li{

    display:flex;

    align-items:center;

    margin-bottom:16px;

    color:#374151;

    font-size:15px;

}

.pricing-list li::before{

    content:"✓";

    width:24px;

    height:24px;

    border-radius:50%;

    background:#E8F8F6;

    color:#0E8F83;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-right:12px;

    font-size:13px;

    font-weight:700;

}

/*====================*/

.pricing-card .btn{

    border-radius:50px;

    padding:15px;

    font-weight:600;

}

/*====================*/

.pricing-note{

    margin-top:70px;

    background:#fff;

    border-radius:18px;

    padding:22px;

    border:1px solid rgba(14,143,131,.08);

    box-shadow:0 8px 30px rgba(0,0,0,.05);

}

.pricing-note p{

    margin:0;

    color:#555;

}

/*====================*/

.basic-card{

    background:linear-gradient(180deg,#ffffff,#f4fffc);

}

.premium-card{

    background:linear-gradient(180deg,#ffffff,#fff9ef);

}

.elder-card{

    background:linear-gradient(180deg,#ffffff,#f4f8ff);

}

/*====================*/

.pricing-card:hover .pricing-icon{

    transform:rotate(10deg) scale(1.08);

    transition:.4s;

}

.pricing-card:hover .price{

    color:#111827;

}

.pricing-card:hover .btn{

    transform:translateY(-2px);

}


.pricing-details{

margin-top:80px;

}

.pricing-accordion{

max-width:900px;

margin:auto;

}

.pricing-accordion .accordion-item{

border:none;

border-radius:18px;

overflow:hidden;

margin-bottom:18px;

box-shadow:0 12px 30px rgba(0,0,0,.06);

}

.pricing-accordion .accordion-button{

background:#fff;

padding:22px 28px;

font-size:20px;

font-weight:600;

color:#1f2937;

box-shadow:none;

}

.pricing-accordion .accordion-button:not(.collapsed){

background:#0E8F83;

color:#fff;

}

.price-row{

display:flex;

justify-content:space-between;

align-items:center;

padding:18px 0;

border-bottom:1px solid #ececec;

}

.price-row:last-child{

border:none;

}

.price-row span{

font-weight:500;

color:#444;

}

.price-row strong{

color:#0E8F83;

font-size:22px;

font-weight:700;

}

.pricing-accordion .btn{

margin-top:25px;

padding:14px 30px;

border-radius:40px;

}





@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-anim] { opacity: 1; transform: none; }
}
