/* =============================================================
   ACCESSIBILITY UTILITIES (splash-page scope)
   ============================================================= */
.skip-link {
  position: absolute;
  top: -999px;
  left: 50%;
  z-index: 9999;
  padding: 0.6rem 1.4rem;
  background: var(--white);
  border-radius: 0 0 8px 8px;
  color: var(--kaplon-blue);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: top 0.1s;
  transform: translateX(-50%);
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

/* =============================================================
   HERO WRAPPER
   ============================================================= */
.splash-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
}

body.page-splash .splash-hero__footer,
body.page-id-1900 .splash-hero__footer {
  display: none !important;
}

body.page-splash.blank-canvas,
body.page-id-1900.blank-canvas {
  padding-bottom: 4.25rem;
}

.splash-hero__bg {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-color: var(--kaplon-blue-dark);
  inset: 0;
  object-fit: cover;
  object-position: center 40%;
}

.splash-hero__overlay {
  position: absolute;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    var(--splash-overlay-top) 0%,
    var(--splash-overlay-mid) 44%,
    var(--black-65) 100%
  );
  inset: 0;
}

.splash-hero__overlay::after {
  position: absolute;
  background: radial-gradient(
    ellipse 88% 76% at 50% 48%,
    transparent 22%,
    var(--black-25) 100%
  );
  content: "";
  inset: 0;
}

.splash-hero__header,
.splash-hero__main,
.splash-hero__footer {
  position: relative;
  z-index: 2;
}

/* =============================================================
   HEADER — LOGO ZONE
   ============================================================= */
.splash-hero__header {
  display: flex;
  justify-content: center;
  padding: 3.5rem 2rem 0;
  animation: fadeSlideUp 0.65s ease 0.05s both;
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
}

.splash-logo {
  display: block;
  width: 100%;
  max-width: 310px;
  height: auto;
  filter: drop-shadow(0 2px 14px var(--black-50));
}

.logo-divider {
  width: 48px;
  height: 1px;
  background: var(--white-25);
  border: none;
}

/* =============================================================
   MAIN — HERO CONTENT ZONE
   ============================================================= */
.splash-hero__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(1.25rem, 3vh, 2.5rem) 1.5rem clamp(2.25rem, 5vh, 4rem);
  text-align: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  color: var(--white-60);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  animation: fadeSlideUp 0.65s ease 0.2s both;
  gap: 0.8rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  flex-shrink: 0;
  width: 36px;
  height: 1px;
  background: var(--white-25);
  content: "";
}

.hero-headline {
  margin-top: 0.65rem;
  color: var(--white);
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  text-shadow: 0 2px 18px var(--black-40);
  letter-spacing: -0.022em;
  animation: fadeSlideUp 0.65s ease 0.32s both;
}

.hero-tagline {
  max-width: 440px;
  margin-top: 1rem;
  color: var(--white-80);
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  font-weight: 400;
  line-height: 1.78;
  text-shadow: var(--shadow-hero-text);
  animation: fadeSlideUp 0.65s ease 0.44s both;
}

.hero-trust-badge {
  display: flex;
  align-items: center;
  margin-top: 0.88rem;
  color: var(--white-60);
  font-size: 0.76rem;
  font-weight: 500;
  animation: fadeSlideUp 0.65s ease 0.52s both;
  gap: 0.5rem;
}

.trust-icon {
  flex-shrink: 0;
  stroke: var(--white-55);
}

.trust-divider {
  color: var(--white-22a);
  font-weight: 300;
}

/* =============================================================
   SEARCH SECTION — dark zone below hero containing omnibar,
   pills, and CTA buttons
   ============================================================= */
.splash-search-section {
  position: relative;
  z-index: 3;
  width: min(100%, 96vw);
  margin: 1.35rem auto 0;
  padding: 0;
  background: transparent;
  text-align: center;
}

.splash-search-section .idx-omnibar,
.splash-search-section .idx-omnibar-form {
  background: transparent;
  border-radius: 0;
}

.splash-search-section .idx-omnibar {
  padding: 0;
}

.splash-search-section .idx-omnibar-form.idx-omnibar-original-form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: min(100%, 45.5rem) !important;
  max-width: 45.5rem !important;
  min-height: 4.25rem;
  margin: 0 auto;
  padding: 0.34rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid color-mix(in oklab, var(--white) 86%, transparent);
  border-radius: var(--radius-pill);
  box-shadow:
    0 1rem 2.25rem color-mix(in oklab, var(--black) 22%, transparent),
    inset 0 1px 0 color-mix(in oklab, var(--white) 85%, transparent);
  gap: 0;
}

.splash-search-section .idx-omnibar-form.idx-omnibar-original-form > div,
.splash-search-section .idx-omnibar-form.idx-omnibar-original-form div.awesomplete {
  flex: 1 1 auto;
  width: auto !important;
}

.splash-search-section .idx-omnibar-form.idx-omnibar-original-form :where(input[type="text"]) {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 3.55rem;
  padding: 0 1.25rem;
  background: var(--white);
  border: 0;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  box-shadow: none;
  color: var(--gray-900);
  font-size: clamp(0.98rem, 1.35vw, 1.18rem);
  line-height: 1.2;
}

.splash-search-section .idx-omnibar-form.idx-omnibar-original-form :where(input[type="text"]):hover,
.splash-search-section .idx-omnibar-form.idx-omnibar-original-form :where(input[type="text"]):focus {
  background: var(--white);
  border: 0;
  box-shadow: none;
  outline: none;
}

.splash-search-section .idx-omnibar-form.idx-omnibar-original-form :where(button[type="submit"]) {
  flex: 0 0 auto;
  min-width: 10.5rem;
  min-height: 3.55rem;
  padding: 0 1.85rem;
  background: var(--kaplon-red);
  border: 0;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  box-shadow: none;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.splash-search-section .idx-omnibar-form.idx-omnibar-original-form :where(button[type="submit"]):hover,
.splash-search-section .idx-omnibar-form.idx-omnibar-original-form :where(button[type="submit"]):focus-visible {
  background: var(--kaplon-red-dark);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--white) 18%, transparent);
}

.splash-search-section .idx-omnibar-form.idx-omnibar-original-form:focus-within {
  box-shadow:
    0 0 0 3px color-mix(in oklab, var(--white) 55%, transparent),
    0 1rem 2.25rem color-mix(in oklab, var(--black) 22%, transparent);
}

/* =============================================================
   OMNIBAR — wrapper + IDX override surface
   ============================================================= */
.splash-omnibar-wrap {
  width: 100%;
  max-width: 600px;
  margin-top: 2rem;
  animation: fadeSlideUp 0.65s ease 0.6s both;
}

/* =============================================================
   QUICK-ACCESS PILLS
   ============================================================= */
.search-pills {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 96rem;
  margin-top: 0.88rem;
  margin-right: auto;
  margin-left: auto;
  gap: 0.65rem;
}

.pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: clamp(0.45rem, 0.8vw, 0.8rem);
}

.pills-row:nth-child(2) {
  max-width: 72rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  background: var(--white-10);
  border: 1px solid var(--white-20);
  border-radius: 999px;
  color: var(--white-75);
  font-size: 0.74rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.pill-link:hover {
  background: var(--white-20);
  border-color: var(--white-40);
  color: var(--white);
}

.pill-link:focus-visible {
  outline: 2px solid var(--white-75);
  outline-offset: 2px;
}

/* =============================================================
   CTA ROW
   ============================================================= */
.splash-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 1.65rem;
  animation: fadeSlideUp 0.65s ease 0.72s both;
  gap: 0.95rem;
}

.splash-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

.splash-btn:hover {
  transform: translateY(-2px);
}

.splash-btn:active {
  transform: translateY(0);
}

.splash-btn:focus-visible {
  outline: 3px solid var(--white-85);
  outline-offset: 3px;
}

.splash-btn--primary {
  min-width: 175px;
  padding: 0.9rem 2.2rem;
  background: var(--kaplon-red);
  border: 2px solid var(--kaplon-red);
  box-shadow: var(--shadow-btn-red);
  color: var(--white);
  font-size: 0.9rem;
}

.splash-btn--primary:hover,
.splash-btn--primary:focus-visible {
  background: var(--kaplon-red-dark);
  border-color: var(--kaplon-red-dark);
  box-shadow: var(--shadow-btn-red-hover);
}

.splash-btn--secondary {
  min-width: 145px;
  padding: 0.76rem 1.7rem;
  background: transparent;
  border: 2px solid var(--white-55);
  color: var(--white);
  font-size: 0.82rem;
}

.splash-btn--secondary:hover,
.splash-btn--secondary:focus-visible {
  background: var(--white-10);
  border-color: var(--white-88);
  box-shadow: 0 4px 20px var(--white-10);
}

/* =============================================================
   LOWER CONTENT — centered sections, CTA buttons, FAQ
   ============================================================= */
body.page-splash main > .has-text-align-center,
body.page-id-1900 main > .has-text-align-center {
  max-width: 58rem;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

body.page-splash main > .section-block,
body.page-id-1900 main > .section-block {
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem 1.25rem;
}

body.page-splash main > .section-block p,
body.page-id-1900 main > .section-block p {
  max-width: 48rem;
  margin-right: auto;
  margin-left: auto;
}

body.page-splash main > .wp-block-buttons,
body.page-id-1900 main > .wp-block-buttons {
  justify-content: center;
  max-width: 58rem;
  margin: 1.75rem auto 0.9rem;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  gap: 0.85rem;
}

body.page-splash main > .wp-block-buttons .wp-block-button__link,
body.page-id-1900 main > .wp-block-buttons .wp-block-button__link {
  min-width: 13.5rem;
  min-height: 3.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.page-splash main > .wp-block-buttons .wp-block-button__link::after,
body.page-id-1900 main > .wp-block-buttons .wp-block-button__link::after {
  content: none;
}

body.page-splash main > .wp-block-buttons .wp-block-button:first-child .wp-block-button__link,
body.page-id-1900 main > .wp-block-buttons .wp-block-button:first-child .wp-block-button__link {
  background: var(--kaplon-red) !important;
  border: 2px solid var(--kaplon-red) !important;
  box-shadow: var(--shadow-btn-red);
  color: var(--white) !important;
}

body.page-splash main > .wp-block-buttons .wp-block-button:first-child .wp-block-button__link:hover,
body.page-splash main > .wp-block-buttons .wp-block-button:first-child .wp-block-button__link:focus-visible,
body.page-id-1900 main > .wp-block-buttons .wp-block-button:first-child .wp-block-button__link:hover,
body.page-id-1900 main > .wp-block-buttons .wp-block-button:first-child .wp-block-button__link:focus-visible {
  background: var(--kaplon-red-dark) !important;
  border-color: var(--kaplon-red-dark) !important;
  box-shadow: var(--shadow-btn-red-hover);
}

body.page-splash main > .wp-block-buttons .wp-block-button:last-child:not(:first-child) .wp-block-button__link,
body.page-id-1900 main > .wp-block-buttons .wp-block-button:last-child:not(:first-child) .wp-block-button__link {
  background: transparent !important;
  border: 2px solid var(--kaplon-blue-dark) !important;
  box-shadow: none;
  color: var(--kaplon-blue-dark) !important;
}

body.page-splash main > .wp-block-buttons .wp-block-button:last-child:not(:first-child) .wp-block-button__link:hover,
body.page-splash main > .wp-block-buttons .wp-block-button:last-child:not(:first-child) .wp-block-button__link:focus-visible,
body.page-id-1900 main > .wp-block-buttons .wp-block-button:last-child:not(:first-child) .wp-block-button__link:hover,
body.page-id-1900 main > .wp-block-buttons .wp-block-button:last-child:not(:first-child) .wp-block-button__link:focus-visible {
  background: var(--kaplon-blue-dark) !important;
  border-color: var(--kaplon-blue-dark) !important;
  box-shadow: var(--shadow-dark-md);
  color: var(--white) !important;
}

body.page-splash main > .wp-block-heading.has-text-align-center,
body.page-id-1900 main > .wp-block-heading.has-text-align-center {
  max-width: 58rem;
  margin: 1rem auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

body.page-splash main > .wp-block-details,
body.page-id-1900 main > .wp-block-details {
  max-width: 58rem;
  margin: 0.85rem auto;
  padding: 0;
  background: var(--white);
  border: 1px solid color-mix(in oklab, var(--kaplon-blue-dark) 14%, transparent);
  border-radius: 0.85rem;
  box-shadow: 0 0.65rem 1.5rem color-mix(in oklab, var(--black) 8%, transparent);
}

body.page-splash main > .wp-block-details summary,
body.page-id-1900 main > .wp-block-details summary {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  padding: 1rem 1.25rem;
  color: var(--gray-900);
  font-weight: 800;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

body.page-splash main > .wp-block-details summary::-webkit-details-marker,
body.page-id-1900 main > .wp-block-details summary::-webkit-details-marker {
  display: none;
}

body.page-splash main > .wp-block-details summary::after,
body.page-id-1900 main > .wp-block-details summary::after {
  margin-left: auto;
  color: var(--kaplon-red);
  font-size: 1.25rem;
  line-height: 1;
  content: "+";
}

body.page-splash main > .wp-block-details[open] summary::after,
body.page-id-1900 main > .wp-block-details[open] summary::after {
  content: "-";
}

body.page-splash main > .wp-block-details p,
body.page-id-1900 main > .wp-block-details p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--gray-800);
  line-height: 1.65;
}

body.page-splash .splash-footer,
body.page-id-1900 .splash-footer {
  display: block !important;
}

/* =============================================================
   FOOTER BAR
   ============================================================= */
.splash-hero__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.5rem 2.5rem 1.65rem;
  background: linear-gradient(to bottom, transparent, var(--black-65));
  animation: fadeSlideUp 0.65s ease 0.84s both;
  gap: 0.6rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white-85);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.18s ease;
}

.footer-phone:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-phone:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--white-75);
  outline-offset: 2px;
}

.footer-hours {
  padding-left: 0.1rem;
  color: var(--white-40);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.footer-site-link {
  display: inline-flex;
  align-items: flex-end;
  min-height: 44px;
  color: var(--white-65);
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.18s ease;
}

.footer-site-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-site-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--white-75);
  outline-offset: 2px;
}

/* =============================================================
   ANIMATIONS
   ============================================================= */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-hero__header,
  .hero-eyebrow,
  .hero-headline,
  .hero-tagline,
  .hero-trust-badge,
  .splash-omnibar-wrap,
  .search-pills,
  .splash-cta-row,
  .splash-hero__footer {
    animation: none;
  }

  .splash-btn:hover {
    transform: none;
  }
}

/* =============================================================
   RESPONSIVE — TABLET ≤ 768px
   ============================================================= */
@media (max-width: 768px) {
  .splash-hero__main {
    padding: 4.75rem 1.25rem 2.25rem;
  }

  .splash-hero__footer {
    padding: 1.25rem 1.75rem 1.4rem;
  }

  .splash-search-section .idx-omnibar-form.idx-omnibar-original-form {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 24rem) !important;
    min-height: 0;
    padding: 0.5rem;
    border-radius: 1.65rem;
    gap: 0.5rem;
  }

  .splash-search-section .idx-omnibar-form.idx-omnibar-original-form > div,
  .splash-search-section .idx-omnibar-form.idx-omnibar-original-form div.awesomplete {
    width: 100% !important;
  }

  .splash-search-section .idx-omnibar-form.idx-omnibar-original-form :where(input[type="text"]) {
    min-height: 3.25rem;
    padding: 0 1rem;
    border-radius: 1.15rem;
    font-size: 1rem;
  }

  .splash-search-section .idx-omnibar-form.idx-omnibar-original-form :where(button[type="submit"]) {
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 3.15rem;
    border-radius: 1.15rem;
  }

  .pills-row,
  .pills-row:nth-child(2) {
    max-width: 100%;
  }
}

/* =============================================================
   RESPONSIVE — MOBILE ≤ 480px
   ============================================================= */
@media (max-width: 480px) {
  .splash-hero__header {
    padding-top: 2rem;
  }

  .splash-logo {
    max-width: 220px;
  }

  .splash-hero__main {
    padding: 4rem 1rem 2rem;
  }

  .hero-headline {
    font-size: 2.05rem;
    letter-spacing: -0.015em;
  }

  .hero-eyebrow {
    display: none;
  }

  .hero-trust-badge {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 20rem;
    line-height: 1.35;
  }

  .splash-search-section {
    width: 100%;
    margin-top: 1rem;
  }

  .search-pills {
    width: 100%;
    max-width: 100%;
  }

  .pills-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 2px;
    overflow-x: auto;
    gap: 0.4rem;
    scrollbar-width: none;
  }

  .pills-row::-webkit-scrollbar {
    display: none;
  }

  .pill-link {
    padding: 0.32rem 0.78rem;
    font-size: 0.7rem;
  }

  .splash-cta-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .splash-btn--primary,
  .splash-btn--secondary {
    justify-content: center;
    width: min(90%, 20rem);
    white-space: nowrap;
  }

  .splash-btn--primary {
    padding: 0.88rem 1.5rem;
    font-size: 0.88rem;
  }

  .splash-btn--secondary {
    padding: 0.74rem 1.5rem;
    font-size: 0.8rem;
  }

  .splash-hero__footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1.75rem;
    gap: 0.6rem;
  }
}
