/* ==========================================================================
   HomeDosthi — Design System & Components
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --hd-primary: #0f5ea8;
  --hd-primary-dark: #0a4378;
  --hd-primary-soft: #e8f1fb;
  --hd-accent: #ff7a1a;
  --hd-accent-dark: #e5660a;
  --hd-accent-soft: #fff1e6;
  --hd-green: #16a36a;
  --hd-green-soft: #e7f7ef;
  --hd-whatsapp: #25d366;
  --hd-ink: #10213a;
  --hd-body: #4a5a72;
  --hd-muted: #7b8aa1;
  --hd-line: #e4eaf2;
  --hd-bg: #ffffff;
  --hd-bg-alt: #f5f8fc;
  --hd-dark: #0b1a30;

  --hd-radius-sm: 10px;
  --hd-radius: 18px;
  --hd-radius-lg: 28px;
  --hd-shadow-sm: 0 2px 8px rgba(16, 33, 58, .06);
  --hd-shadow: 0 10px 30px rgba(16, 33, 58, .08);
  --hd-shadow-lg: 0 24px 60px rgba(16, 33, 58, .14);

  --hd-font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hd-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fluid gutters & section spacing */
  --hd-gutter: clamp(1rem, 4vw, 4.5rem);
  --hd-section-y: clamp(3.5rem, 7vw, 6.5rem);
  --hd-max: 1440px;

  --bs-primary: var(--hd-primary);
  --bs-primary-rgb: 15, 94, 168;
  --bs-body-font-family: var(--hd-font-body);
  --bs-body-color: var(--hd-body);
  --bs-link-color: var(--hd-primary);
  --bs-link-hover-color: var(--hd-primary-dark);
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--hd-font-body);
  color: var(--hd-body);
  background: var(--hd-bg);
  font-size: clamp(.95rem, .9rem + .2vw, 1.05rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .h-font {
  font-family: var(--hd-font-head);
  color: var(--hd-ink);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); }
h5, .h5, h6, .h6 { font-family: var(--hd-font-head); font-weight: 700; color: var(--hd-ink); }
a { text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; height: auto; }
::selection { background: var(--hd-accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--hd-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--hd-ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Fluid full-width container with capped content width */
.wrap {
  width: 100%;
  max-width: calc(var(--hd-max) + var(--hd-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--hd-gutter);
}

.section { padding-block: var(--hd-section-y); position: relative; }
.section-alt { background: var(--hd-bg-alt); }
.section-dark { background: var(--hd-dark); color: #b9c6da; }
.section-dark h2, .section-dark h3, .section-dark h5, .section-dark .h5 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); text-align: center; }
.section-head.text-start { margin-left: 0; }
.narrow { max-width: 860px; margin-inline: auto; }
.section-head p { font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--hd-font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hd-accent-dark);
  background: var(--hd-accent-soft);
  padding: .4rem .9rem; border-radius: 50px; margin-bottom: 1rem;
}
.section-dark .eyebrow { background: rgba(255, 122, 26, .15); color: #ffb37a; }
.text-accent { color: var(--hd-accent); }
.text-primary-hd { color: var(--hd-primary); }
.text-ink { color: var(--hd-ink); }
.fw-800 { font-weight: 800; }

/* ---------- 3. Buttons ---------- */
.btn {
  font-family: var(--hd-font-head);
  font-weight: 700;
  border-radius: 50px;
  padding: .8rem 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .88rem; }

.btn-hd {
  background: var(--hd-accent); color: #fff; border: 2px solid var(--hd-accent);
  box-shadow: 0 8px 20px rgba(255, 122, 26, .3);
}
.btn-hd:hover, .btn-hd:focus-visible { background: var(--hd-accent-dark); border-color: var(--hd-accent-dark); color: #fff; box-shadow: 0 12px 26px rgba(255, 122, 26, .4); }

.btn-hd-primary { background: var(--hd-primary); color: #fff; border: 2px solid var(--hd-primary); }
.btn-hd-primary:hover, .btn-hd-primary:focus-visible { background: var(--hd-primary-dark); border-color: var(--hd-primary-dark); color: #fff; box-shadow: 0 10px 22px rgba(15, 94, 168, .3); }

.btn-hd-outline { background: transparent; color: var(--hd-ink); border: 2px solid var(--hd-line); }
.btn-hd-outline:hover, .btn-hd-outline:focus-visible { border-color: var(--hd-primary); color: var(--hd-primary); background: #fff; }

.btn-hd-light { background: #fff; color: var(--hd-ink); border: 2px solid #fff; }
.btn-hd-light:hover, .btn-hd-light:focus-visible { background: transparent; color: #fff; }

.btn-whatsapp { background: var(--hd-whatsapp); color: #fff; border: 2px solid var(--hd-whatsapp); }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #1eb457; border-color: #1eb457; color: #fff; }

.btn-link-hd {
  font-family: var(--hd-font-head); font-weight: 700; color: var(--hd-primary);
  display: inline-flex; align-items: center; gap: .35rem;
}
.btn-link-hd i { transition: transform .2s ease; }
.btn-link-hd:hover i { transform: translateX(4px); }

/* ---------- 4. Top bar & Navbar ---------- */
.topbar {
  background: var(--hd-dark); color: #b9c6da; font-size: .85rem;
  padding-block: .5rem;
}
.topbar a { color: #dfe7f3; }
.topbar a:hover { color: var(--hd-accent); }
.topbar i { color: var(--hd-accent); margin-right: .35rem; }

.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--hd-shadow-sm); border-bottom-color: var(--hd-line); }
.site-header .navbar { padding-block: .45rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand img { height: 56px; width: auto; display: block; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--hd-primary), #1b85de);
  display: grid; place-items: center; color: #fff; font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(15, 94, 168, .3); position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; right: -3px; top: -3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--hd-accent); border: 3px solid #fff;
}
.brand-name { font-family: var(--hd-font-head); font-weight: 800; font-size: 1.4rem; color: var(--hd-ink); letter-spacing: -.03em; line-height: 1; }
.brand-name span { color: var(--hd-accent); }
.brand-sub { display: block; font-size: .68rem; font-weight: 600; color: var(--hd-muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }

.site-header .nav-link {
  font-family: var(--hd-font-head); font-weight: 600; font-size: .95rem;
  color: var(--hd-ink); padding: .5rem .85rem !important; border-radius: 50px;
  position: relative;
}
.site-header .nav-link:hover { color: var(--hd-primary); background: var(--hd-primary-soft); }
.site-header .nav-link.active,
.site-header .nav-link.active:hover { color: #fff; background: #091d3f; }
.navbar-toggler { border: 0; padding: .5rem; border-radius: 12px; background: var(--hd-primary-soft); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(15, 94, 168, .25); }
.header-call { font-family: var(--hd-font-head); font-weight: 700; color: var(--hd-ink); display: inline-flex; align-items: center; gap: .55rem; line-height: 1.15; }
.header-call small { display: block; font-size: .72rem; font-weight: 600; color: var(--hd-muted); }
.header-call .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--hd-green-soft); color: var(--hd-green); display: grid; place-items: center; font-size: 1.1rem; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 6vw, 6rem) clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(15, 94, 168, .12), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 122, 26, .10), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #fff 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--hd-line); box-shadow: var(--hd-shadow-sm);
  padding: .4rem 1rem .4rem .4rem; border-radius: 50px; font-size: .88rem; font-weight: 600; color: var(--hd-ink);
  margin-bottom: 1.4rem;
}
.hero-badge .pill { background: var(--hd-green); color: #fff; border-radius: 50px; padding: .15rem .65rem; font-size: .75rem; }
.hero h1 .hl { position: relative; color: var(--hd-primary); white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .28em;
  background: rgba(255, 122, 26, .3); z-index: -1; border-radius: 4px;
}
.hero-lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); max-width: 560px; margin-bottom: 2rem; }

.trust-row { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.5rem; }
.trust-item { display: flex; align-items: center; gap: .7rem; }
.trust-item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: #fff; box-shadow: var(--hd-shadow-sm); color: var(--hd-primary); }
.trust-item strong { display: block; font-family: var(--hd-font-head); color: var(--hd-ink); font-size: 1.1rem; line-height: 1.1; }
.trust-item span { font-size: .82rem; color: var(--hd-muted); }

.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.av-1 { background: #0f5ea8; } .av-2 { background: #ff7a1a; } .av-3 { background: #16a36a; } .av-4 { background: #7c4dff; }

/* Hero visual (icon/photo composition) */
.hero-visual { position: relative; max-width: 560px; margin-inline: auto; }
.hero-photo {
  border-radius: var(--hd-radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4;
  box-shadow: var(--hd-shadow-lg); position: relative;
  background: linear-gradient(145deg, var(--hd-primary) 0%, #1b85de 55%, #43a5f5 100%);
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: hero-image-fade 10s ease-in-out infinite; will-change: opacity, transform; }
.hero-photo img:first-child { opacity: 1; animation-delay: 0s; }
.hero-photo img:nth-child(2) { animation-delay: 5s; }
@keyframes hero-image-fade {
  0%, 42% { opacity: 1; transform: scale(1); }
  50%, 92% { opacity: 0; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo img { animation: none; }
  .hero-photo img:first-child { opacity: 1; }
  .hero-photo img:nth-child(2) { opacity: 0; }
}
.float-card {
  position: absolute; background: #fff; border-radius: var(--hd-radius); box-shadow: var(--hd-shadow-lg);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem; z-index: 2;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.float-card strong { display: block; font-family: var(--hd-font-head); color: var(--hd-ink); font-size: .95rem; line-height: 1.2; }
.float-card small { color: var(--hd-muted); font-size: .78rem; }
.float-card.fc-1 { top: 8%; left: -8%; }
.float-card.fc-2 { bottom: 12%; right: -6%; animation-delay: -3s; }
.float-card.fc-3 { bottom: -4%; left: 6%; animation-delay: -1.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 6. Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #cfdcef;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(255, 122, 26, .22), transparent 60%),
    linear-gradient(135deg, var(--hd-dark) 0%, #123a6b 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.page-hero p { max-width: 640px; font-size: 1.08rem; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: #8fa3c1; --bs-breadcrumb-item-active-color: var(--hd-accent); margin-bottom: 1rem; font-size: .9rem; }
.page-hero .breadcrumb a { color: #cfdcef; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px;
  border-radius: 50%; border: 60px solid rgba(255, 255, 255, .04);
}

/* ---------- 7. Cards ---------- */
.hd-card {
  background: #fff; border: 1px solid var(--hd-line); border-radius: var(--hd-radius);
  padding: clamp(.8rem, 2vw, 1.5rem); height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hd-card:hover { transform: translateY(-6px); box-shadow: var(--hd-shadow); border-color: transparent; }

.icon-box {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.75rem; margin-bottom: 1.25rem; transition: transform .3s ease;
}
.hd-card:hover .icon-box { transform: rotate(-6deg) scale(1.06); }
.ic-blue { background: var(--hd-primary-soft); color: var(--hd-primary); }
.ic-orange { background: var(--hd-accent-soft); color: var(--hd-accent-dark); }
.ic-green { background: var(--hd-green-soft); color: var(--hd-green); }
.ic-purple { background: #f1ecff; color: #6a3de8; }
.ic-pink { background: #ffecf2; color: #e0457b; }
.ic-teal { background: #e3f8f8; color: #0f9a9a; }
.ic-yellow { background: #fff7dc; color: #c48a00; }
.ic-red { background: #ffeceb; color: #d93c32; }

/* Service card */
.service-card { display: flex; flex-direction: column; }
.service-card-media { overflow: hidden; aspect-ratio: 16 / 8; width: calc(100% + 1.25rem); margin: -.625rem -.625rem 1rem; border-radius: 10px; background: var(--hd-primary-soft); }
.service-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.service-card:hover .service-card-media img { transform: scale(1.08); filter: saturate(1.12); }
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card p { font-size: .95rem; flex-grow: 1; }
.service-card .card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--hd-line); }
.service-card .from { font-size: .8rem; color: var(--hd-muted); line-height: 1.2; }
.service-card .from strong { display: block; color: var(--hd-ink); font-family: var(--hd-font-head); font-size: 1.05rem; }
.service-card .tag-list { list-style: none; padding: 0; margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.service-card .tag-list li { font-size: .78rem; background: var(--hd-bg-alt); border-radius: 50px; padding: .2rem .7rem; color: var(--hd-body); }
@media (prefers-reduced-motion: reduce) {
  .service-card-media img { transition: none; }
}

/* Popular (image) card */
.popular-card { background: #fff; border-radius: var(--hd-radius); overflow: hidden; box-shadow: var(--hd-shadow-sm); height: 100%; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.popular-card:hover { transform: translateY(-6px); box-shadow: var(--hd-shadow); }
.popular-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hd-primary-soft); }
.popular-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.popular-card:hover .thumb img { transform: scale(1.06); }
.popular-card .thumb .badge-pop { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--hd-ink); font-size: .75rem; font-weight: 700; border-radius: 50px; padding: .3rem .75rem; box-shadow: var(--hd-shadow-sm); }
.popular-card .body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.popular-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.rating { color: #f5a623; font-size: .85rem; display: inline-flex; align-items: center; gap: .15rem; }
.rating .count { color: var(--hd-muted); margin-left: .35rem; }
.price { font-family: var(--hd-font-head); font-weight: 800; color: var(--hd-ink); font-size: 1.2rem; }
.price small { font-size: .75rem; font-weight: 600; color: var(--hd-muted); display: block; line-height: 1; }

/* Steps */
.step-card { text-align: center; position: relative; padding-top: 2.5rem; }
.step-num {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--hd-accent); color: #fff;
  font-family: var(--hd-font-head); font-weight: 800; display: grid; place-items: center;
  border: 4px solid #fff; box-shadow: var(--hd-shadow-sm);
}
.step-card .icon-box { margin-inline: auto; }
.steps-row { position: relative; }
.steps-row::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--hd-accent) 0 8px, transparent 8px 16px);
  opacity: .5;
}

/* Feature list */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .icon-box { width: 54px; height: 54px; font-size: 1.4rem; flex-shrink: 0; margin: 0; border-radius: 16px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.feature p { margin: 0; font-size: .95rem; }
.section-dark .feature p { color: #9fb0c9; }
.section-dark .hd-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
.section-dark .hd-card:hover { background: rgba(255, 255, 255, .07); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.check-list li::before {
  content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05em;
  color: var(--hd-green); font-size: 1.2rem;
}

/* Why visual */
.why-visual { position: relative; border-radius: var(--hd-radius-lg); overflow: hidden; box-shadow: var(--hd-shadow-lg); aspect-ratio: 4 / 4.2; background: var(--hd-primary-soft); }
.why-visual img { width: 100%; height: 100%; object-fit: cover; }
.why-stat { position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem; background: rgba(255, 255, 255, .95); border-radius: var(--hd-radius); padding: 1rem 1.25rem; display: flex; justify-content: space-around; text-align: center; box-shadow: var(--hd-shadow); }
.why-stat strong { display: block; font-family: var(--hd-font-head); font-size: 1.5rem; color: var(--hd-primary); line-height: 1.1; }
.why-stat span { font-size: .78rem; color: var(--hd-muted); }

/* Stats strip */
.stats-strip { background: linear-gradient(135deg, var(--hd-primary), #1b85de); border-radius: var(--hd-radius-lg); padding: clamp(1.75rem, 3vw, 2.75rem); color: #d7e8fa; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--hd-font-head); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem); color: #fff; line-height: 1.1; }
.stat span { font-size: .92rem; }

/* ---------- 8. Booking ---------- */
.booking-wrap { background: #fff; border-radius: var(--hd-radius-lg); box-shadow: var(--hd-shadow-lg); overflow: hidden; }
.booking-aside {
  background: linear-gradient(160deg, var(--hd-primary) 0%, var(--hd-primary-dark) 100%);
  color: #d4e4f7; padding: clamp(1.75rem, 3.5vw, 3rem); height: 100%; position: relative; overflow: hidden;
}
.booking-aside h2, .booking-aside h3 { color: #fff; }
.booking-aside::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.booking-aside .contact-line { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; color: #fff; }
.booking-aside .contact-line .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.booking-aside .contact-line small { display: block; color: #a9c4e6; font-size: .78rem; }
.booking-aside .contact-line a { color: #fff; font-weight: 700; font-family: var(--hd-font-head); }
.booking-aside .contact-line a:hover { color: #ffc89f; }
.booking-form { padding: clamp(1.75rem, 3.5vw, 3rem); }

.form-label { font-family: var(--hd-font-head); font-weight: 600; color: var(--hd-ink); font-size: .9rem; margin-bottom: .4rem; }
.form-label .req { color: #d93c32; }
.form-control, .form-select {
  border-radius: 12px; border: 1.5px solid var(--hd-line); padding: .8rem 1rem; font-size: .98rem;
  color: var(--hd-ink); background-color: var(--hd-bg-alt); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-control:focus, .form-select:focus { border-color: var(--hd-primary); box-shadow: 0 0 0 4px rgba(15, 94, 168, .12); background-color: #fff; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #d93c32; background-color: #fff; }
.form-control.is-valid, .form-select.is-valid { border-color: var(--hd-green); }
.input-group-text { border-radius: 12px; border: 1.5px solid var(--hd-line); background: #fff; font-weight: 600; color: var(--hd-ink); }
.invalid-feedback { font-size: .82rem; }
.form-note { font-size: .82rem; color: var(--hd-muted); }
.time-slots { display: flex; flex-wrap: wrap; gap: .5rem; }
.time-slots .btn-check + label {
  border: 1.5px solid var(--hd-line); background: var(--hd-bg-alt); border-radius: 12px; padding: .55rem .9rem;
  font-size: .88rem; font-weight: 600; color: var(--hd-ink); cursor: pointer; transition: all .2s ease; margin: 0;
}
.time-slots .btn-check + label:hover { border-color: var(--hd-primary); }
.time-slots .btn-check:checked + label { background: var(--hd-primary); border-color: var(--hd-primary); color: #fff; }
.time-slots .btn-check:focus-visible + label { outline: 3px solid var(--hd-accent); outline-offset: 2px; }
.time-slots.is-invalid .btn-check + label { border-color: #d93c32; }

.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success .icon-box { margin-inline: auto; width: 80px; height: 80px; font-size: 2.2rem; border-radius: 50%; }

/* ---------- 9. Provider CTA ---------- */
.provider-cta {
  border-radius: var(--hd-radius-lg); overflow: hidden; position: relative;
  background:
    radial-gradient(500px 300px at 100% 100%, rgba(255, 255, 255, .15), transparent 60%),
    linear-gradient(120deg, var(--hd-accent) 0%, #ff9a3d 100%);
  color: #fff4ea; padding: clamp(2rem, 5vw, 4rem);
}
.provider-cta h2 { color: #fff; }
.provider-cta .perk { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: #fff; }
.provider-cta .perk i { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: .95rem; flex-shrink: 0; }
.provider-cta .earn-card { background: #fff; color: var(--hd-body); border-radius: var(--hd-radius); padding: 1.5rem; box-shadow: var(--hd-shadow-lg); }
.provider-cta .earn-card strong { font-family: var(--hd-font-head); font-size: 2rem; color: var(--hd-ink); }

/* ---------- 10. Testimonials ---------- */
.testimonial { position: relative; }
.testimonial .quote-ic { position: absolute; top: 1.25rem; right: 1.5rem; font-size: 2.6rem; color: var(--hd-primary-soft); line-height: 1; }
.testimonial p { font-size: 1rem; color: var(--hd-ink); margin-block: .75rem 1.25rem; }
.person { display: flex; align-items: center; gap: .8rem; }
.person .av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--hd-font-head); font-weight: 800; color: #fff; flex-shrink: 0; }
.person strong { display: block; font-family: var(--hd-font-head); color: var(--hd-ink); line-height: 1.2; }
.person small { color: var(--hd-muted); font-size: .82rem; }
.service-chip { display: inline-block; font-size: .75rem; font-weight: 600; background: var(--hd-bg-alt); color: var(--hd-primary); padding: .2rem .7rem; border-radius: 50px; }

/* ---------- 11. FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--hd-line); border-radius: var(--hd-radius) !important; margin-bottom: .85rem; overflow: hidden; background: #fff; }
.faq .accordion-button { font-family: var(--hd-font-head); font-weight: 700; color: var(--hd-ink); padding: 1.15rem 1.35rem; font-size: 1rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--hd-primary); background: var(--hd-primary-soft); }
.faq .accordion-button:focus { box-shadow: inset 0 0 0 3px rgba(15, 94, 168, .2); }
.faq .accordion-button::after {
  background-image: none; content: "\F4FE"; font-family: "bootstrap-icons"; font-size: 1.1rem;
  width: 32px; height: 32px; border-radius: 50%; background: var(--hd-bg-alt); display: grid; place-items: center;
  transition: transform .3s ease;
}
.faq .accordion-button:not(.collapsed)::after { content: "\F2EA"; transform: none; background: #fff; }
.faq .accordion-body { padding: 0 1.35rem 1.25rem; background: var(--hd-primary-soft); }

/* ---------- 12. Final CTA ---------- */
.final-cta {
  border-radius: var(--hd-radius-lg); padding: clamp(2.25rem, 5vw, 4.5rem); text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(255, 122, 26, .25), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(27, 133, 222, .35), transparent 60%),
    var(--hd-dark);
  color: #b9c6da;
}
.final-cta h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.final-cta p { max-width: 580px; margin-inline: auto; }

/* ---------- 13. Filter pills (services page) ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.filter-pills .btn { background: #fff; border: 1.5px solid var(--hd-line); color: var(--hd-ink); padding: .55rem 1.2rem; font-size: .9rem; }
.filter-pills .btn:hover { border-color: var(--hd-primary); color: var(--hd-primary); }
.filter-pills .btn.active { background: var(--hd-primary); border-color: var(--hd-primary); color: #fff; }
.service-item.is-hidden { display: none; }

/* Detailed service row */
.service-detail { background: #fff; border: 1px solid var(--hd-line); border-radius: var(--hd-radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.price-table { width: 100%; font-size: .93rem; }
.price-table td { padding: .55rem 0; border-bottom: 1px dashed var(--hd-line); }
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--hd-ink); font-family: var(--hd-font-head); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }

/* Area chips */
.area-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.area-chips span { background: #fff; border: 1px solid var(--hd-line); padding: .45rem 1rem; border-radius: 50px; font-size: .9rem; font-weight: 500; color: var(--hd-ink); }
.area-chips span i { color: var(--hd-accent); margin-right: .3rem; }

/* Timeline */
.timeline { position: relative; padding-left: 0; list-style: none; margin: 0; }
.timeline li { position: relative; padding-left: 4.5rem; padding-bottom: 2.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: var(--hd-line); }
.timeline li:last-child::before { display: none; }
.timeline .t-ic { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; }
.timeline h3 { font-size: 1.15rem; margin-bottom: .3rem; }

/* Contact cards */
.contact-card { text-align: center; }
.contact-card .icon-box { margin-inline: auto; }
.contact-card a { font-family: var(--hd-font-head); font-weight: 700; color: var(--hd-ink); }
.contact-card a:hover { color: var(--hd-primary); }
.map-embed { border-radius: var(--hd-radius-lg); overflow: hidden; box-shadow: var(--hd-shadow); aspect-ratio: 16 / 7; background: var(--hd-bg-alt); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Legal pages */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.25rem; margin-bottom: .75rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--hd-dark); color: #97a8c2; padding-top: clamp(3.5rem, 6vw, 5rem); font-size: .95rem; }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.site-footer .brand-name { color: #fff; }
.site-footer a { color: #b9c6da; }
.site-footer a:hover { color: var(--hd-accent); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .35rem; }
.footer-links a::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: .7rem; opacity: .6; transition: transform .2s ease; }
.footer-links a:hover::before { transform: translateX(3px); }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .9rem; }
.footer-contact i { color: var(--hd-accent); font-size: 1.1rem; margin-top: .1rem; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; color: #fff; font-size: 1.05rem; transition: background .2s ease, transform .2s ease; }
.socials a:hover { background: var(--hd-accent); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3rem; padding-block: 1.4rem; font-size: .88rem; }
.footer-newsletter { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--hd-radius); padding: 1.25rem; }

/* ---------- 15. Floating actions ---------- */
.float-actions { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040; display: flex; flex-direction: column; gap: .65rem; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.45rem; color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18); transition: transform .2s ease, opacity .3s ease, visibility .3s ease;
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-btn.wa { background: var(--hd-whatsapp); }
.float-btn.top { background: var(--hd-ink); font-size: 1.1rem; width: 46px; height: 46px; margin-left: auto; opacity: 0; visibility: hidden; }
.float-btn.top.show { opacity: 1; visibility: visible; }
.float-btn.wa::before {
  content: ""; position: absolute; width: 54px; height: 54px; border-radius: 50%; background: var(--hd-whatsapp);
  animation: pulse 2.2s ease-out infinite; z-index: -1;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

.mobile-cta-bar { display: none; }

/* ---------- 16. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 5b. Hero slider (full-width, background-image slides) ---------- */
.hs {
  position: relative; overflow: hidden; background: var(--hd-dark);
  height: clamp(560px, 86vh, 820px); color: #fff;
}
.hs-track { position: absolute; inset: 0; }
.hs-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s;
}
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hs-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.12); transition: transform 7s ease-out;
}
.hs-slide.is-active .hs-bg { transform: scale(1); }
.hs-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 26, 48, .92) 0%, rgba(11, 26, 48, .75) 40%, rgba(11, 26, 48, .25) 75%, rgba(11, 26, 48, .1) 100%),
    linear-gradient(0deg, rgba(11, 26, 48, .5) 0%, transparent 35%);
}
.hs-content { position: relative; z-index: 2; width: 100%; padding-bottom: 3rem; }
.hs-content > * { max-width: 680px; }

/* Text elements animate in each time a slide becomes active */
.hs-sub, .hs-title, .hs-list, .hs-btns { opacity: 0; transform: translateY(40px); }
.hs-slide.is-active .hs-sub, .hs-slide.is-active .hs-title,
.hs-slide.is-active .hs-list, .hs-slide.is-active .hs-btns {
  animation: hs-up .9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.hs-slide.is-active .hs-title { animation-delay: .25s; }
.hs-slide.is-active .hs-list  { animation-delay: .45s; }
.hs-slide.is-active .hs-btns  { animation-delay: .65s; }
@keyframes hs-up { to { opacity: 1; transform: none; } }

.hs-sub {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--hd-font-head); font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: .45rem 1.1rem; border-radius: 50px; margin-bottom: 1.4rem;
}
.hs-sub i { color: var(--hd-accent); }
.hs-title {
  color: #fff; font-weight: 800; line-height: 1.1;
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.4rem); margin-bottom: 1.5rem;
}
.hs-title span { color: var(--hd-accent); }
.hs-list {
  list-style: none; padding: 0; margin: 0 0 2.2rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-weight: 500; color: #dfe7f3;
}
.hs-list li { display: flex; align-items: center; gap: .5rem; }
.hs-list i { color: var(--hd-green); }
.hs-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-hs-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .45); }
.btn-hs-ghost:hover, .btn-hs-ghost:focus-visible { background: #fff; border-color: #fff; color: var(--hd-ink); }

/* Controls */
.hs-controls {
  position: absolute; left: 0; right: 0; bottom: 4.5rem; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.hs-dots { display: flex; gap: .55rem; }
.hs-dot {
  width: 12px; height: 12px; border-radius: 50px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .4); transition: width .35s ease, background .35s ease;
}
.hs-dot.is-active { width: 38px; background: var(--hd-accent); }
.hs-arrows { display: flex; gap: .7rem; }
.hs-arrow {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.25rem; color: #fff; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3); transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.hs-arrow:hover, .hs-arrow:focus-visible { background: var(--hd-accent); border-color: var(--hd-accent); transform: translateY(-2px); }
.hs-dot:focus-visible, .hs-arrow:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 3px; }
.hs-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); z-index: 3; }
.hs-progress span { display: block; height: 100%; width: 0; background: var(--hd-accent); }
.hs-progress span.run { width: 100%; transition: width linear; transition-duration: inherit; }

/* Trust strip overlapping the slider bottom */
.hs-stats { position: relative; z-index: 5; margin-top: -2.6rem; }
.hs-stats-card {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem 2rem;
  background: #fff; border-radius: var(--hd-radius); box-shadow: var(--hd-shadow-lg);
  padding: 1.4rem 2rem;
}

@media (max-width: 991.98px) {
  .hs { height: auto; min-height: 620px; }
  .hs-track { position: relative; }
  .hs-slide { padding-block: 4rem 9rem; }
  .hs-slide.is-active { position: relative; }
  .hs-overlay { background: linear-gradient(180deg, rgba(11, 26, 48, .75) 0%, rgba(11, 26, 48, .88) 100%); }
  .hs-controls { bottom: 4rem; }
  .hs-stats-card { grid-template-columns: repeat(2, 1fr); padding: 1.25rem; }
}
@media (max-width: 575.98px) {
  .hs-title { font-size: 2.1rem; }
  .hs-list { flex-direction: column; gap: .45rem; }
  .hs-btns .btn { flex: 1 1 100%; }
  .hs-arrow { width: 46px; height: 46px; font-size: 1.05rem; }
  .hs-stats-card { gap: 1rem; }
  .hs-stats-card { padding: 1rem; }
  .hs-stats-card .trust-item { gap: .5rem; }
  .hs-stats-card .trust-item .ic, .hs-stats-card .avatars { display: none; }
  .hs-stats-card .trust-item > div { text-align: center; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-bg, .hs-slide { transition: none; transform: none; }
  .hs-sub, .hs-title, .hs-list, .hs-btns { opacity: 1; transform: none; animation: none !important; }
}
