/* ==========================================================================
   Home Page — dws/assets/style/home.css
   Naming: BEM  ( block__element--modifier ),  prefix: hd-
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Tokens
   -------------------------------------------------------------------------- */
:root {
  --hd-navy: #0d1b2a;
  --hd-navy-mid: #123a55;
  --hd-blue: #26557a;
  --hd-cyan: #2ba8dc;
  --hd-orange: #f5a623;
  --hd-orange-dark: #e0961a;
  --hd-black: #111;
  --hd-grey-bg: #f2f6fa;
  --hd-grey-soft: #f7f9fb;
  --hd-border: #e2e8ee;
  --hd-text: #555;
  --hd-text-muted: #8a94a0;
  --hd-text-invert: #b6c4d2;
  --hd-text-invert-dim: #8fa3b5;

  --hd-radius: 8px;
  --hd-radius-lg: 12px;
  --hd-gap: 24px;
  --hd-serif: "Operetta 8", Georgia, serif;
}

/* --------------------------------------------------------------------------
   1. Section  — layout shell for every block on the page
   -------------------------------------------------------------------------- */
.hd-section {
  padding: 70px 20px;
}

.hd-section--white {
  background: #fff;
}

.hd-section--light {
  background: var(--hd-grey-bg);
}

.hd-section--dark {
  background: var(--hd-navy);
  color: #fff;
}

.hd-section--black {
  background: var(--hd-black);
  color: #fff;
}

.hd-section--image {
  background-color: var(--hd-navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.hd-section--flush {
  padding: 0 20px;
}

.hd-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hd-section__inner--narrow {
  max-width: 960px;
}

.hd-section__header {
  margin-bottom: 40px;
}

.hd-section__header--center {
  text-align: center;
}

.hd-section__header--center .hd-section__lead {
  margin-left: auto;
  margin-right: auto;
}

.hd-section__title {
  font-family: var(--hd-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.22;
  color: var(--hd-blue);
  margin: 0 0 14px;
}

.hd-section__title-accent {
  color: var(--hd-orange);
}

.hd-section--dark .hd-section__title,
.hd-section--black .hd-section__title,
.hd-section--image .hd-section__title {
  color: #fff;
}

.hd-section__lead {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
  margin: 0;
  max-width: 780px;
}

.hd-section--dark .hd-section__lead,
.hd-section--black .hd-section__lead,
.hd-section--image .hd-section__lead {
  color: var(--hd-text-invert);
}

.hd-section__lead--centered {
  margin: 0 auto 22px;
}

.hd-section__footer {
  margin-top: 36px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   2. Button
   -------------------------------------------------------------------------- */
.hd-button {
  display: inline-block;
  background: var(--hd-orange);
  color: var(--hd-navy);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  transition: background 0.18s ease;
}

.hd-button:hover,
.hd-button:focus {
  background: var(--hd-orange-dark);
  color: var(--hd-navy);
}

.hd-button--navy {
  background: var(--hd-navy);
  color: #fff;
}

.hd-button--navy:hover,
.hd-button--navy:focus {
  background: #06121e;
  color: #fff;
}

.hd-button--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hd-button--ghost:hover,
.hd-button--ghost:focus {
  background: #fff;
  color: var(--hd-navy);
}

/* --------------------------------------------------------------------------
   3. Grid  — shared responsive column system
   -------------------------------------------------------------------------- */
.hd-grid {
  display: grid;
  gap: var(--hd-gap);
  margin-bottom: 50px;
}

.hd-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hd-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hd-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hd-grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hd-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  align-items: center;
}

.hd-split--top {
  align-items: start;
}

/* --------------------------------------------------------------------------
   4. Card  — generic bordered content card
   -------------------------------------------------------------------------- */
.hd-card {
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: var(--hd-radius);
  padding: 24px 26px 28px;
}

.hd-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--hd-radius);
  background: #eaf3f8;
  margin-bottom: 16px;
}

.hd-card__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hd-card__title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--hd-blue);
  margin: 0 0 10px;
}

.hd-card__text {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--hd-text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. Table
   -------------------------------------------------------------------------- */
.hd-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hd-table__el {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.86rem;
}

.hd-table__head {
  background: var(--hd-orange);
  color: #fff;
}

.hd-table__th {
  padding: 14px 18px;
  font-weight: 700;
  text-align: left;
}

.hd-table__td {
  padding: 16px 18px;
  color: var(--hd-text);
  border-bottom: 1px solid var(--hd-border);
  vertical-align: top;
}

.hd-table__td--key {
  color: var(--hd-navy-mid);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hd-hero {
  background-image: url("../img/hero-img.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 70px 20px;
  min-height: 450px;
  display: flex;
  align-items: center;
}

.hd-hero__title {
  font-family: var(--hd-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.16;
  color: #fff;
  margin: 0 0 22px;
  text-transform: none;
}

.hd-hero__title-accent {
  color: var(--hd-orange);
  font-family: var(--hd-serif);
}

.hd-hero__text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--hd-text-invert);
  max-width: 480px;
  margin: 0 0 30px;
}

.hd-hero__panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.hd-hero__panel-title {
  font-size: 0.76rem;
  color: var(--hd-text-invert-dim);
  margin: 0 0 16px;
}

.hd-hero__panel-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.hd-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.hd-hero__stat {
  text-align: center;
}

.hd-hero__stat-value {
  font-family: var(--hd-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--hd-cyan);
  margin-bottom: 4px;
}

.hd-hero__stat-label {
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--hd-text-invert-dim);
  margin: 0;
}

.client-testimonials__container__header {
  color: #1e4b6b !important;
  text-align: center !important;
  margin-bottom: 50px;
}
.video {
  padding: 16px !important;
  height: auto !important;
  min-height: auto !important;
}
.description-container {
  display: block !important;
  min-height: auto !important;
}
.description-container p {
  text-align: start !important;
}
.description-container span {
  text-align: start !important;
  color: #1e4b6b !important;
}
.thumbnail {
  height: auto !important;
}
/* --------------------------------------------------------------------------
   7. Compare  — before / after toggle
   -------------------------------------------------------------------------- */
.hd-compare__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 34px;
}

.hd-compare__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hd-text-invert-dim);
  margin: 0;
  transition: color 0.2s ease;
}

.hd-compare__label--active {
  color: var(--hd-orange);
}

.hd-compare__switch {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 0;
}

.hd-compare__switch:focus-visible {
  outline: 2px solid var(--hd-cyan);
  outline-offset: 2px;
}

.hd-compare__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.hd-compare__switch[aria-checked="true"] .hd-compare__knob {
  transform: translateX(26px);
  background: var(--hd-orange);
}

.hd-compare__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 26px 22px;
  text-align: center;
}

.hd-compare__value {
  font-family: var(--hd-serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.hd-compare__card--after .hd-compare__value {
  color: var(--hd-orange);
}

.hd-compare__caption {
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--hd-text-invert-dim);
  margin: 0;
}

.hd-compare__pane--hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   8. Feature  — logo / text / image band (bull block)
   -------------------------------------------------------------------------- */
.hd-feature {
  background: var(--hd-cyan);
  padding: 0 20px;
}

.hd-feature__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.hd-feature__body {
  padding: 54px 0;
}

.hd-feature__logo {
  display: block;
  width: 90px;
  height: auto;
  margin-bottom: 20px;
}

.hd-feature__title {
  font-family: var(--hd-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.25;
  color: var(--hd-navy);
  margin: 0 0 18px;
}

.hd-feature__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #0d3b52;
  margin: 0 0 16px;
}

.hd-feature__image {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   9. Callout  — "fired" band
   -------------------------------------------------------------------------- */
.hd-callout {
  text-align: center;
}

.hd-callout__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hd-orange);
  margin: 0 0 18px;
}

.hd-callout__title {
  font-family: var(--hd-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  line-height: 1.3;
  color: #fff;
  margin: 0 0 6px;
}

.hd-callout__shout {
  font-family: var(--hd-serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1;
  color: var(--hd-cyan);
  margin: 0 0 22px;
}

.hd-callout__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--hd-text-invert);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* --------------------------------------------------------------------------
   10. Post  — blog card
   -------------------------------------------------------------------------- */
.hd-post {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hd-post__thumb {
  border-radius: 16px;
  height: 250px;
  overflow: hidden;
  background: #eaf3f8;
}

.hd-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hd-post__body {
  padding: 22px 0px 0px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.hd-post__title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--hd-navy-mid);
  margin: 0 0 10px;
}

.hd-post__excerpt {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--hd-text);
  margin: 0 0 16px;
  flex: 1 1 auto;
}

.hd-post__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hd-cyan);
  text-decoration: none;
}

.hd-post__link:hover {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   11. Quote  — testimonial card
   -------------------------------------------------------------------------- */
.hd-quote {
  background: var(--hd-grey-soft);
  border: 1px solid var(--hd-border);
  border-radius: 10px;
  padding: 26px 28px;
}

.hd-quote__text {
  font-family: var(--hd-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hd-navy-mid);
  margin: 0 0 16px;
}

.hd-quote__author {
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--hd-text-muted);
}

/* --------------------------------------------------------------------------
   12. Steps  — numbered process list
   -------------------------------------------------------------------------- */
.hd-steps {
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: var(--hd-radius-lg);
  padding: 10px 34px;
}

.hd-steps__item {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid #eef2f6;
}

.hd-steps__item:last-child {
  border-bottom: none;
}

.hd-steps__number {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--hd-navy-mid);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hd-steps__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--hd-navy-mid);
  margin: 3px 0 8px;
}

.hd-steps__text {
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--hd-text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   13. Founder  — portrait + quote + stats
   -------------------------------------------------------------------------- */
.hd-founder__image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 10px;
}

.hd-founder__text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--hd-text-invert);
  margin: 0 0 16px;
}

.hd-founder__name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--hd-orange);
  margin: 0;
}

.hd-founder__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hd-founder__stat-value {
  font-family: var(--hd-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 4px;
}

.hd-founder__stat-label {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--hd-text-invert-dim);
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. Objection  — "still tied up" Q/A card
   -------------------------------------------------------------------------- */
.hd-objection {
  padding: 20px;
}

.hd-objection__question {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #0b0f14;
  margin: 0 0 4px;
}

.hd-objection__answer {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #333d47;
  margin: 0;
}

/* --------------------------------------------------------------------------
   15. Award  — recognition badge
   -------------------------------------------------------------------------- */
.hd-award {
  padding: 14px;
  text-align: center;
}

.hd-award__logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}

.hd-award__name {
  font-weight: 500;
  font-family: var(--hd-serif);
  font-size: 1rem;
  color: #0d0d0d;
  margin: 0 0 2px;
}

.hd-award__rating {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--hd-text);
  margin-bottom: 4px;
}

.hd-award__meta {
  font-size: 0.74rem;
  color: var(--hd-text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.hd-contact__title {
  font-family: var(--hd-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.22;
  color: #fff;
  margin: 0 0 18px;
}

.hd-contact__title-accent {
  color: var(--hd-orange);
}

.hd-contact__text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--hd-text-invert);
  max-width: 460px;
  margin: 0;
}

.hd-contact__form {
  background: #fff;
  border-radius: 10px;
  padding: 30px 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.hd-contact__form-title {
  font-family: var(--hd-serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--hd-navy-mid);
  text-align: center;
  margin: 0 0 20px;
}

.hd-contact__form .wpcf7-form p {
  width: 100%;
  margin: 0 0 14px;
}

.hd-contact__form input[type="text"],
.hd-contact__form input[type="email"],
.hd-contact__form input[type="tel"],
.hd-contact__form select,
.hd-contact__form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d5dbe2;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #333;
  background: #fff;
  height: auto;
}

.hd-contact__form textarea {
  max-height: 120px;
  resize: vertical;
}

.hd-contact__form ::placeholder {
  color: var(--hd-text-muted);
  opacity: 1;
}

.hd-contact__form input[type="submit"] {
  width: 100%;
  background: var(--hd-orange);
  color: var(--hd-navy);
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 4px;
  cursor: pointer;
  height: auto;
}

.hd-contact__form input[type="submit"]:hover {
  background: var(--hd-orange-dark);
}

.hd-contact__form .wpcf7-response-output {
  margin: 10px 0 0;
  font-size: 0.8rem;
  border-radius: 6px;
  color: #333;
}

/* --------------------------------------------------------------------------
   17. Utilities
   -------------------------------------------------------------------------- */
.hd-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   18. Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hd-grid--3,
  .hd-grid--4,
  .hd-grid--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hd-hero {
    min-height: 400px;
    padding: 60px 20px;
    background-position: center center;
  }

  .hd-split,
  .hd-feature__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hd-feature__inner {
    gap: 0;
  }

  .hd-feature__body {
    padding: 44px 0 10px;
  }

  .hd-hero__text,
  .hd-contact__text {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .hd-hero {
    min-height: 350px;
    padding: 50px 15px;
    background-position: center center;
  }
  .hd-section {
    padding: 48px 16px;
  }

  .hd-hero {
    padding: 46px 16px;
  }

  .hd-grid--2,
  .hd-grid--3,
  .hd-grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hd-hero__stats,
  .hd-founder__stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .hd-steps {
    padding: 6px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hd-button,
  .hd-compare__knob,
  .hd-compare__value,
  .hd-compare__label {
    transition: none;
  }
}
