/* DAREKANI TOP — Phase 2 page-specific presentation. */

.home-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  isolation: isolate;
  color: var(--brand-text);
  background: #dff2ff;
}

.home-hero__media,
.home-hero__media img,
.home-hero__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__media { z-index: -2; }
.home-hero__media img { display: block; object-fit: cover; object-position: center; }
.home-hero__wash {
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .93) 34%, rgba(255, 255, 255, .36) 58%, rgba(255, 255, 255, .03) 78%);
}

.home-hero__inner {
  min-height: 610px;
  display: flex;
  align-items: center;
  padding-block: 44px;
}

.home-hero__copy { width: min(680px, 58%); }
.home-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--brand-primary-strong);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.home-hero h1 {
  margin: 0;
  color: var(--brand-text);
  font-size: clamp(2.65rem, 4vw, 3.7rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.035em;
}

.home-hero h1::before { display: none; }
.home-hero h1 span { color: var(--brand-secondary-strong); }
.home-hero h1 .home-hero__headline-line { display: block; color: inherit; white-space: nowrap; }
.home-hero__lead {
  max-width: 590px;
  margin: 20px 0 0;
  color: #183f63;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
}

.home-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.home-primary-action {
  min-height: 88px;
  justify-content: flex-start;
  padding: 16px 18px;
  border: 4px solid rgba(255, 255, 255, .92);
  border-radius: 16px;
  box-shadow: 0 9px 24px rgba(6, 59, 114, .15);
  text-align: left;
}

.home-primary-action > span:nth-child(2) { min-width: 0; flex: 1; }
.home-primary-action strong,
.home-primary-action small { display: block; }
.home-primary-action strong { font-size: 1.16rem; line-height: 1.35; }
.home-primary-action small { margin-top: 3px; font-size: .74rem; font-weight: 700; opacity: .92; }
.home-primary-action__icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  color: currentColor;
  background: rgba(255, 255, 255, .94);
}
.home-primary-action__icon svg { width: 25px; height: 25px; }
.home-primary-action.ui-button--primary .home-primary-action__icon { color: var(--brand-primary-strong); }
.home-primary-action.ui-button--secondary .home-primary-action__icon { color: var(--brand-secondary-strong); }

.home-pro-bridge {
  width: min(100%, 500px);
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px auto 0;
  padding: 10px 18px;
  border: 2px solid var(--brand-primary);
  border-radius: 12px;
  color: var(--brand-text);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--brand-shadow);
  text-decoration: none;
}
.home-pro-bridge:hover { color: var(--brand-primary-strong); box-shadow: var(--brand-shadow-raised); }
.home-pro-bridge > span:nth-child(2) { min-width: 0; flex: 1; }
.home-pro-bridge small,
.home-pro-bridge strong { display: block; }
.home-pro-bridge small { font-size: .7rem; font-weight: 800; }
.home-pro-bridge strong { margin-top: 1px; font-size: 1.05rem; }
.home-pro-bridge__icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-primary-strong);
  background: #eaf6ff;
}
.home-pro-bridge__icon svg { width: 24px; height: 24px; }

.home-natural-search { padding: 40px 0 34px; background: #f5faff; }
.home-natural-search__panel {
  display: grid;
  grid-template-columns: minmax(270px, .8fr) minmax(420px, 1.2fr);
  gap: 24px 36px;
  align-items: center;
  padding: 28px 32px;
  border-color: #d6e9f9;
  box-shadow: 0 10px 26px rgba(6, 59, 114, .08);
}
.home-natural-search__copy { display: flex; align-items: center; gap: 16px; }
.home-natural-search__copy h2 { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.48rem); line-height: 1.4; }
.home-natural-search__copy h2::before { display: none; }
.home-natural-search__copy p { margin: 5px 0 0; color: var(--brand-text-muted); font-size: .86rem; }
.home-natural-search__eyebrow { color: var(--brand-primary-strong) !important; font-size: .7rem !important; font-weight: 900; letter-spacing: .06em; }
.home-natural-search__icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-primary-strong);
  background: #eaf6ff;
}
.home-natural-search__icon svg { width: 30px; height: 30px; }
.home-natural-search__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.home-natural-search__field {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #c7d8e8;
  border-radius: 12px;
  background: #fff;
}
.home-natural-search__field:focus-within { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(7, 140, 240, .15); }
.home-natural-search__field svg { width: 21px; height: 21px; flex: 0 0 auto; color: #6d8194; }
.home-natural-search__field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--brand-text); background: transparent; font: inherit; }
.home-natural-search__note { grid-column: 2; margin: -15px 0 0; color: var(--brand-text-muted); font-size: .69rem; }

.home-categories { padding: 34px 0 52px; background: #fff; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.home-section-heading h2 { margin: 0; font-size: clamp(1.45rem, 2.1vw, 1.8rem); }
.home-section-heading h2::before { content: ""; display: inline-block; width: 5px; height: .9em; margin-right: 10px; border-radius: 6px; background: var(--brand-primary); vertical-align: -.05em; }
.home-section-heading a { font-size: .84rem; font-weight: 800; text-decoration: none; }
.home-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.home-category-card {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 8px 12px;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  color: var(--brand-text);
  background: #fff;
  box-shadow: 0 4px 14px rgba(6, 59, 114, .055);
  text-align: center;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.home-category-card:hover { color: var(--brand-primary-strong); border-color: #b8daf3; box-shadow: var(--brand-shadow-raised); transform: translateY(-2px); }
.home-category-card strong { font-size: .78rem; line-height: 1.45; }
.home-category-card small { color: var(--brand-text-muted); font-size: .66rem; }
.home-category-card__icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-primary-strong);
  background: #eaf6ff;
}
.home-category-card__icon svg { width: 25px; height: 25px; }
.home-category-card:nth-child(3n + 2) .home-category-card__icon { color: var(--brand-secondary-strong); background: #e9f9f1; }
.home-category-card:nth-child(3n) .home-category-card__icon { color: var(--brand-accent-strong); background: #fff3df; }
.home-category-card__media {
  width: min(100%, 126px);
  aspect-ratio: 298 / 220;
  display: block;
  margin-bottom: 5px;
  overflow: hidden;
  border-radius: 10px;
  background: #f2f8fc;
}
.home-category-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; }

.home-worries { background: linear-gradient(180deg, #f5faff 0%, #fff 100%); }
.home-tag-search { margin: 0; }
.home-tag-search__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.home-tag-search .chip {
  min-height: 44px;
  padding: 6px 14px;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
}
.home-blog-guide__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.home-blog-guide__panel h2 { margin: 4px 0 8px; }
.home-blog-guide__panel p { margin: 0; }
.home-blog-guide__eyebrow { color: var(--brand-primary); font-weight: 800; font-size: .84rem; }
@media (max-width: 767px) {
  .home-blog-guide__panel { align-items: stretch; flex-direction: column; }
}
.home-worry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 26px;
}
.home-worry-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #dce9f3;
  border-radius: 16px;
  color: var(--brand-text);
  background: #fff;
  box-shadow: 0 7px 20px rgba(6, 59, 114, .075);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.home-worry-card:hover {
  color: var(--brand-primary-strong);
  border-color: #b8daf3;
  box-shadow: var(--brand-shadow-raised);
  transform: translateY(-3px);
}
.home-worry-card:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 3px; }
.home-worry-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #edf6fb; }
.home-worry-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-worry-card__title {
  display: block;
  min-height: 58px;
  padding: 17px 48px 16px 17px;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.5;
}
.home-worry-card__arrow {
  position: absolute;
  right: 16px;
  bottom: 17px;
  color: var(--brand-primary-strong);
  font-size: 1.05rem;
  font-weight: 900;
}

.home-reasons {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f3faff 100%);
}
.home-reasons__art {
  position: absolute;
  inset: auto 0 0;
  height: min(260px, 45%);
  z-index: 0;
  opacity: .72;
  pointer-events: none;
}
.home-reasons__art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .88) 32%, rgba(243, 250, 255, .28) 100%);
}
.home-reasons__art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center bottom; }
.home-reasons > .container { position: relative; z-index: 1; }
.home-reasons__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-reason-card { text-align: center; }
.home-reason-card__icon {
  width: 62px;
  height: 62px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-primary-strong);
  background: #eaf6ff;
}
.home-reason-card:nth-child(2) .home-reason-card__icon,
.home-reason-card:nth-child(4) .home-reason-card__icon { color: var(--brand-secondary-strong); background: #e8f9f0; }
.home-reason-card__icon svg { width: 31px; height: 31px; }
.home-reason-card h3 { margin: 14px 0 7px; font-size: 1rem; }
.home-reason-card p { margin: 0; color: var(--brand-text-muted); font-size: .78rem; line-height: 1.75; }

.home-request { position: relative; overflow: hidden; isolation: isolate; background: #dff4ff; }
.home-request__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.home-request__background img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 62%; }
.home-request::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .66);
  pointer-events: none;
}
.home-request__panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  padding: 28px 32px;
  border: 1px solid #cae6f8;
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(234, 247, 255, .96), rgba(255, 255, 255, .94) 62%, rgba(234, 249, 242, .96));
  box-shadow: 0 12px 32px rgba(6, 59, 114, .13);
}
.home-request__panel::after { content: ""; position: absolute; right: -55px; top: -65px; width: 170px; height: 170px; border-radius: 50%; background: rgba(20, 184, 102, .10); }
.home-request__icon { width: 68px; height: 68px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--brand-primary-strong); background: #fff; box-shadow: var(--brand-shadow); }
.home-request__icon svg { width: 34px; height: 34px; }
.home-request__copy { position: relative; z-index: 1; }
.home-request__eyebrow { margin: 0 0 4px; color: var(--brand-primary-strong); font-size: .72rem; font-weight: 900; }
.home-request__copy h2 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.home-request__copy h2::before { display: none; }
.home-request__copy p:last-child { margin: 6px 0 0; color: var(--brand-text-muted); font-size: .86rem; }
.home-request .ui-button { position: relative; z-index: 1; }

@media (max-width: 1100px) {
  .home-hero__copy { width: 60%; }
  .home-hero h1 { font-size: clamp(2.5rem, 5vw, 3.4rem); }
  .home-natural-search__panel { grid-template-columns: 1fr; }
  .home-natural-search__note { grid-column: 1; margin-top: -14px; }
  .home-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .home-hero { min-height: 640px; }
  .home-hero__inner { min-height: 640px; padding-block: 36px; }
  .home-hero__copy { width: 64%; }
  .home-primary-action { min-height: 82px; padding: 13px; }
  .home-primary-action strong { font-size: 1rem; }
  .home-primary-action__icon { width: 36px; height: 36px; flex-basis: 36px; }
  .home-reasons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-worry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-request__panel { grid-template-columns: auto minmax(0, 1fr); }
  .home-request .ui-button { grid-column: 2; justify-self: start; }
}

@media (max-width: 767px) {
  .home-hero { min-height: 780px; background: #fff; }
  .home-hero__media { height: 365px; bottom: auto; }
  .home-hero__media img { object-position: center 27%; }
  .home-hero__wash { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0 45%, rgba(255, 255, 255, .82) 72%, #fff 94%); }
  .home-hero__inner { min-height: 780px; align-items: flex-end; padding-block: 300px 28px; }
  .home-hero__copy { width: 100%; }
  .home-hero__eyebrow { margin-bottom: 8px; font-size: .72rem; letter-spacing: .06em; }
  .home-hero h1 { font-size: clamp(2.05rem, 10vw, 2.7rem); }
  .home-hero__lead { margin-top: 12px; font-size: .86rem; line-height: 1.7; }
  .home-hero__actions { margin-top: 18px; }
  .home-natural-search { padding-block: 28px; }
  .home-natural-search__panel { padding: 22px; }
  .home-natural-search__form { grid-template-columns: 1fr; }
  .home-natural-search__form .ui-button { width: 100%; }
  .home-natural-search__copy { align-items: flex-start; }
  .home-natural-search__icon { width: 48px; height: 48px; flex-basis: 48px; }
  .home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .home-hero { min-height: 830px; }
  .home-hero__media { height: 320px; }
  .home-hero__inner { min-height: 830px; padding-top: 276px; padding-bottom: 24px; }
  .home-hero h1 { font-size: clamp(1.6rem, 7.1vw, 1.75rem); line-height: 1.28; letter-spacing: -.05em; }
  .home-hero__actions { grid-template-columns: 1fr; gap: 9px; }
  .home-primary-action { min-height: 72px; border-width: 3px; }
  .home-primary-action small { font-size: .7rem; }
  .home-pro-bridge { min-height: 58px; padding: 9px 14px; }
  .home-natural-search__panel { gap: 18px; padding: 18px 16px; }
  .home-natural-search__copy { gap: 12px; }
  .home-natural-search__copy h2 { font-size: 1.14rem; }
  .home-natural-search__copy p { font-size: .77rem; }
  .home-natural-search__field { min-height: 52px; padding-inline: 12px; }
  .home-natural-search__field input { font-size: .82rem; }
  .home-natural-search__note { margin-top: -8px; font-size: .64rem; line-height: 1.55; }
  .home-categories { padding-block: 28px 40px; }
  .home-section-heading { align-items: flex-end; }
  .home-section-heading h2 { font-size: 1.25rem; }
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-category-card { min-height: 122px; padding: 8px 6px 10px; }
  .home-category-card__media { width: min(100%, 112px); margin-bottom: 3px; }
  .home-category-card strong { font-size: .74rem; }
  .home-worry-grid { gap: 8px; margin-top: 20px; }
  .home-worry-card { border-radius: 12px; }
  .home-worry-card__title { min-height: 58px; padding: 12px 28px 11px 10px; font-size: .72rem; line-height: 1.45; }
  .home-worry-card__arrow { right: 9px; bottom: 12px; font-size: .9rem; }
  .home-reasons__grid { grid-template-columns: 1fr; gap: 12px; }
  .home-reasons__art { height: 190px; opacity: .6; }
  .home-reason-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; text-align: left; }
  .home-reason-card__icon { grid-row: 1 / span 2; width: 50px; height: 50px; }
  .home-reason-card h3 { margin: 1px 0 4px; }
  .home-reason-card p { grid-column: 2; }
  .home-request__panel { grid-template-columns: 1fr; gap: 14px; padding: 22px 18px; text-align: center; }
  .home-request__background img { object-position: center bottom; }
  .home-request__icon { margin-inline: auto; }
  .home-request .ui-button { grid-column: 1; width: 100%; justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .home-category-card,
  .home-worry-card,
  .home-primary-action { transition: none; }
}
