/* Homepage redesign — scoped to body.home */
body.home {
  --db-bg: #f5f8fc;
  --db-bg-alt: #e9f1fc;
  --db-card: #ffffff;
  --db-ink: #152040;
  --db-ink-soft: #4e5a7c;
  --db-border: #dce6f5;
  --db-primary: #1b3d73;
  --db-primary-2: #2e5aa8;
  --db-accent: #e2672e;
  --db-accent-ink: #7a2e0c;
  --db-accent-soft: #fdeee3;
  --db-success: #278a50;
  --db-success-soft: #e5f5ec;
  --db-shadow: 0 1px 2px rgba(21, 32, 64, 0.05), 0 8px 24px -12px rgba(21, 32, 64, 0.18);
  --db-radius-s: 10px;
  --db-radius-m: 16px;
  --db-radius-l: 22px;
  --db-font-display: "Cera Pro", sans-serif;
  --db-font-body: "Cera Pro", sans-serif;
  background: var(--db-bg);
  color: var(--db-ink);
  font-family: var(--db-font-body);
}

body.home .site,
body.home #page {
  background: var(--db-bg);
}

body.home .db-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

body.home .db-narrow {
  max-width: 640px;
}

/* Header */
body.home .header {
  background: var(--db-bg);
  border-bottom: 1px solid var(--db-border);
}

body.home .header#sticky .header-bottom,
body.home .header .header-bottom {
  background: var(--db-bg);
}

body.home .header-menu-toggle {
  border: 1px solid var(--db-border) !important;
  background: var(--db-card) !important;
  color: var(--db-ink-soft) !important;
  border-radius: 999px !important;
  height: auto !important;
  min-height: 36px;
  padding: 9px 14px !important;
  font-family: var(--db-font-body);
  font-size: 14px;
}

body.home .header .btn_consult {
  background: var(--db-accent) !important;
  border-color: var(--db-accent) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 16px -6px rgba(226, 103, 46, 0.55);
  font-weight: 700;
}

body.home .header .btn_consult:hover {
  background: #cc581f !important;
  border-color: #cc581f !important;
}

body.home .header#sticky .header-bottom::before {
  display: none;
}

body.home .db-service-name {
  text-decoration: none;
  display: block;
}

/* Hero */
body.home .db-hero {
  background: linear-gradient(180deg, var(--db-bg-alt) 0%, var(--db-bg) 100%);
  padding: 40px 0 34px;
  border-bottom: 1px solid var(--db-border);
}

body.home .db-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  justify-content: center;
  width: 100%;
}

body.home .db-hero-visual {
  display: none;
}

body.home .db-hero-visual img {
  display: block;
  width: auto;
  max-width: min(280px, 100%);
  max-height: min(480px, 52vh);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}

body.home .db-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--db-card);
  border: 1px solid var(--db-border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--db-ink-soft);
  font-weight: 600;
}

body.home .db-pill svg,
body.home .db-service-meta svg,
body.home .db-service-order svg {
  width: 13px !important;
  height: 13px !important;
  max-width: 13px;
  max-height: 13px;
  flex-shrink: 0;
  overflow: visible;
}

body.home .db-btn-ghost svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px;
  max-height: 16px;
}

body.home .db-guarantee svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
}

body.home .db-hero h1,
body.home .db-hero .hero__title {
  font-family: "Cera Pro", sans-serif;
  font-weight: 500;
  font-size: clamp(1.3125em, 4.2vw, 3.0625em);
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 16px;
  color: var(--db-ink);
  max-width: none;
  text-align: left;
}

body.home .db-hero-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

body.home .db-hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: "Cera Pro", sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.4;
  color: var(--db-ink);
  margin: 0 0 10px;
}

body.home .db-hero-list li:last-child {
  margin-bottom: 0;
}

body.home .db-hero-list li svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  margin-top: 0.18em;
  color: var(--db-success);
  overflow: visible;
}

body.home .db-hero-list .db-hero-strong {
  font-weight: 700;
  color: var(--db-ink);
}

body.home .db-hero-list .db-hero-em {
  font-style: normal;
  font-weight: 700;
  color: var(--db-accent-ink);
}

body.home .db-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

body.home .db-btn-primary {
  background: var(--db-accent);
  color: #fff !important;
  border: none;
  font-family: var(--db-font-body);
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px -6px rgba(226, 103, 46, 0.55);
}

body.home .db-btn-primary:hover {
  background: #cc581f;
  color: #fff !important;
}

body.home .db-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--db-border);
  background: transparent;
  color: var(--db-ink) !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
}

body.home .db-btn-ghost svg {
  width: 16px;
  height: 16px;
  color: #2aabee;
}

body.home .db-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--db-border);
  border-radius: var(--db-radius-m);
  background: var(--db-card);
  overflow: hidden;
}

body.home .db-stats div {
  padding: 16px 12px;
  text-align: center;
  border-left: 1px solid var(--db-border);
}

body.home .db-stats div:first-child {
  border-left: none;
}

body.home .db-stat-num {
  font-family: var(--db-font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--db-primary);
  display: block;
}

body.home .db-stat-label {
  font-size: 12px;
  color: var(--db-ink-soft);
  margin-top: 2px;
}

/* Sections */
body.home .db-section {
  padding: 48px 0;
}

body.home .db-section-head {
  margin-bottom: 26px;
}

body.home .db-section-head h2,
body.home .section__title {
  font-family: "Cera Pro", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5em, 3.6vw, 2.25em);
  margin: 0 0 8px;
  letter-spacing: 0;
  color: #000;
}

body.home .db-section-head p,
body.home .section__p {
  color: var(--db-ink-soft);
  margin: 0;
  font-size: 15px;
  max-width: 52ch;
}

body.home .section_region-map .section__title,
body.home .section_region-map .section__p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

body.home .section_region-map .section__p {
  max-width: 40em;
}

/* Service cards */
body.home .db-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

body.home .db-service {
  background: var(--db-card);
  border: 1px solid var(--db-border);
  border-radius: var(--db-radius-m);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

body.home a.db-service:hover,
body.home a.db-service:focus-visible {
  border-color: color-mix(in srgb, var(--bar-color, var(--db-primary)) 45%, var(--db-border));
  box-shadow: 0 10px 24px -16px rgba(17, 24, 39, 0.35);
  transform: translateY(-1px);
  color: inherit;
}

body.home a.db-service:focus-visible {
  outline: 2px solid var(--db-primary);
  outline-offset: 2px;
}

body.home a.db-service:hover .db-service-order,
body.home a.db-service:focus-visible .db-service-order {
  gap: 8px;
}

body.home .db-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bar-color, var(--db-primary));
}

body.home .db-service-name {
  font-family: var(--db-font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--db-ink);
}

body.home .db-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--db-ink-soft);
}

body.home .db-service-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body.home .db-service-meta svg {
  width: 13px;
  height: 13px;
}

body.home .db-service-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--db-primary);
}

body.home .db-service-order {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--db-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--db-font-body);
  text-decoration: none;
}

body.home .db-service-order svg {
  width: 14px;
  height: 14px;
}

/* Steps */
body.home .db-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--db-border);
}

body.home .db-step:first-child {
  border-top: none;
}

body.home .db-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--db-bg-alt);
  color: var(--db-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--db-font-display);
  font-weight: 700;
  font-size: 15px;
}

body.home .db-step h3 {
  margin: 2px 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--db-ink);
}

body.home .db-step p {
  margin: 0;
  font-size: 14px;
  color: var(--db-ink-soft);
}

/* Reviews restyle */
body.home .recent-reviews-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

body.home .recent-reviews-block__item,
body.home .review-item.recent-reviews-block__item {
  flex: 0 0 84%;
  scroll-snap-align: start;
  background: var(--db-card);
  border: 1px solid var(--db-border);
  border-radius: var(--db-radius-m);
  padding: 18px;
}

body.home .review-item__name {
  font-weight: 700;
  color: var(--db-ink);
}

body.home .review-item__date,
body.home .review-item-bottom p {
  color: var(--db-ink-soft);
}

/* FAQ */
body.home .db-faq-item {
  border-top: 1px solid var(--db-border);
}

body.home .db-faq-item:last-child {
  border-bottom: 1px solid var(--db-border);
}

body.home .db-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 0;
  font-family: var(--db-font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--db-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
  list-style: none;
}

body.home .db-faq-q::-webkit-details-marker {
  display: none;
}

body.home .db-faq-q .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--db-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

body.home .db-faq-item[open] .db-faq-q .icon {
  transform: rotate(45deg);
  border-color: var(--db-accent);
  color: var(--db-accent);
}

body.home .db-faq-a {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--db-ink-soft);
  max-width: 65ch;
}

body.home .db-faq-a p {
  margin: 0 0 8px;
}

body.home .db-faq-a p:last-child {
  margin-bottom: 0;
}

body.home .db-faq-more {
  margin-top: 18px;
}

/* Form */
body.home .db-form-section {
  background: var(--db-bg-alt);
  border-top: 1px solid var(--db-border);
  border-bottom: 1px solid var(--db-border);
}

body.home .db-form-card {
  background: var(--db-card);
  border: 1px solid var(--db-border);
  border-radius: var(--db-radius-l);
  padding: 26px 22px;
  box-shadow: var(--db-shadow);
}

body.home .db-form-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

body.home .db-form-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--db-success);
}

body.home .db-form-eyebrow span {
  font-size: 13px;
  font-weight: 700;
  color: var(--db-success);
}

body.home .db-form-card > h3 {
  font-family: var(--db-font-display);
  font-size: 22px;
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--db-ink);
}

body.home .db-form-card > p.note {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--db-ink-soft);
}

body.home .db-progress {
  height: 5px;
  border-radius: 99px;
  background: var(--db-border);
  margin-bottom: 22px;
  overflow: hidden;
}

body.home .db-progress-fill {
  height: 100%;
  width: 0;
  background: var(--db-accent);
  border-radius: 99px;
  transition: width 0.35s ease;
}

body.home .db-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

body.home .db-type-chip {
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-radius-s);
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--db-ink-soft);
  cursor: pointer;
  background: var(--db-bg);
  font-family: var(--db-font-body);
}

body.home .db-type-chip.is-active {
  border-color: var(--db-accent);
  color: var(--db-accent-ink);
  background: var(--db-accent-soft);
}

body.home .db-form-card .hero-form__title,
body.home .db-form-card .hero-form__p,
body.home .db-form-card .diplombel-order-input--worktype {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

body.home .db-form-card .hero-form,
body.home .db-form-card .hero-form-wrapper,
body.home .db-form-card .uk-form-custom {
  width: 100%;
  max-width: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

body.home .db-form-card .uk-form-group {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 14px;
  gap: 6px;
}

body.home .db-form-card .diplombel-order-input--contact:not(.d-flex) .uk-form-label {
  margin-bottom: 0;
}

body.home .db-form-card .diplombel-order-input--contact.d-flex {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 10px;
}

body.home .db-form-card .diplombel-order-input--contact.d-flex > .uk-form-group {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
  margin-bottom: 0;
  gap: 6px;
}

body.home .db-form-card .diplombel-order-input--contact.d-flex .uk-form-label {
  margin-bottom: 0;
  min-height: 18px;
  line-height: 18px;
}

body.home .db-form-card .diplombel-order-input--contact .uk-input,
body.home .db-form-card .intl-tel-input,
body.home .db-form-card .intl-tel-input input.phone {
  height: 48px !important;
  min-height: 48px !important;
  box-sizing: border-box;
}

body.home .db-form-card .intl-tel-input {
  display: block;
  width: 100%;
}

body.home .db-form-card .intl-tel-input input.phone,
body.home .db-form-card .intl-tel-input.allow-dropdown input.phone {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 28px !important;
  padding-right: 12px !important;
  text-indent: 0 !important;
  text-align: left !important;
}

body.home .db-form-card .intl-tel-input .flag-container,
body.home .db-form-card .intl-tel-input .selected-flag,
body.home .db-form-card .intl-tel-input.allow-dropdown .selected-flag {
  height: 48px;
  width: 22px;
  padding-left: 0;
}

body.home .db-form-card .intl-tel-input .selected-flag .iti-arrow {
  left: 8px;
  right: auto;
}

body.home .db-form-card .uk-form-label,
body.home .db-form-card .hero-form-date-label .uk-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--db-ink-soft);
  margin-bottom: 6px;
  position: static;
  top: auto;
  left: auto;
  transform: none;
  pointer-events: auto;
}

body.home .db-form-card .uk-input,
body.home .db-form-card .uk-select,
body.home .db-form-card select,
body.home .db-form-card textarea,
body.home .db-form-card .datepicker {
  width: 100%;
  border: 1.5px solid var(--db-border) !important;
  border-radius: var(--db-radius-s) !important;
  padding: 13px 14px !important;
  font-family: var(--db-font-body);
  font-size: 15px;
  color: var(--db-ink) !important;
  background: var(--db-bg) !important;
  outline: none;
  height: auto !important;
}

body.home .db-form-card .select2-container {
  width: 100% !important;
}

body.home .db-form-card .select2-container .select2-selection--single {
  height: auto !important;
  border: 1.5px solid var(--db-border) !important;
  border-radius: var(--db-radius-s) !important;
  background: var(--db-bg) !important;
  padding: 8px 10px;
}

body.home .db-form-card .file,
body.home .db-form-card .select-file {
  border: 1.5px dashed var(--db-border);
  border-radius: var(--db-radius-s);
  padding: 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--db-ink-soft);
  background: var(--db-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

body.home .db-form-card .uk-btn,
body.home .db-form-card input[type="submit"] {
  width: fit-content;
  max-width: 100%;
  display: block;
  background: var(--db-accent) !important;
  color: #fff !important;
  border: none !important;
  font-family: var(--db-font-body);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px !important;
  border-radius: var(--db-radius-s) !important;
  cursor: pointer;
  margin: 6px auto 0;
  box-shadow: 0 6px 16px -8px rgba(226, 103, 46, 0.55);
  height: auto !important;
  line-height: 1.2 !important;
}

body.home .db-form-card .uk-btn:hover,
body.home .db-form-card input[type="submit"]:hover {
  background: #cc581f !important;
}

body.home .db-guarantee {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--db-border);
}

body.home .db-guarantee svg {
  width: 18px;
  height: 18px;
  color: var(--db-success);
  flex-shrink: 0;
  margin-top: 1px;
}

body.home .db-guarantee p {
  margin: 0;
  font-size: 12.5px;
  color: var(--db-ink-soft);
}

/* Sticky CTA */
body.home .db-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--db-card);
  border-top: 1px solid var(--db-border);
  padding: 10px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(72px, 1fr);
  gap: 10px;
  align-items: center;
  box-shadow: 0 -8px 20px -12px rgba(0, 0, 0, 0.2);
}

body.home .db-sticky-cta .info {
  min-width: 0;
}

body.home .db-sticky-cta .info b {
  display: block;
  font-size: 13.5px;
  color: var(--db-ink);
}

body.home .db-sticky-cta .info span {
  font-size: 11.5px;
  color: var(--db-ink-soft);
}

body.home .db-sticky-cta .db-btn-primary {
  padding: 11px 18px;
  font-size: 13.5px;
  white-space: nowrap;
  justify-self: center;
  grid-column: 2;
}

body.home .home-under-slider-text,
body.home .directions-hub-item,
body.home .staff-cta-card,
body.home .section_about,
body.home .section_region-map {
  color: var(--db-ink);
}

body.home .home-under-slider-text p {
  color: var(--db-ink-soft);
}

@media (min-width: 760px) {
  body.home .db-sticky-cta {
    display: none;
  }
  body.home .db-services {
    grid-template-columns: repeat(3, 1fr);
  }
  body.home .db-hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: end;
  }
  body.home .db-hero-visual {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 360px;
  }
  body.home .db-hero h1 {
    max-width: none;
  }
  body.home .db-type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  body.home .recent-reviews-block__item,
  body.home .review-item.recent-reviews-block__item {
    flex: 0 0 32%;
  }
}

@media (max-width: 759px) {
  body.home {
    padding-bottom: 66px;
  }
  body.home .footer,
  body.home footer {
    padding-bottom: 100px;
  }
}
