/*
 * Homepage refinement: a calm editorial rhythm for long Russian service copy.
 * Loaded after theme.css on the front page and in the editor.
 */

:root {
  --ds-home-ink: #263336;
  --ds-home-copy: #536469;
  --ds-home-green: #4f8e3d;
  --ds-home-yellow: #ffb600;
  --ds-home-paper: #f6f8f5;
  --ds-home-line: #d9dfdc;
  --ds-home-white: #fff;
  --ds-home-container: 1480px;
  --ds-stage-max: 1920px;
  --ds-site-content-width: min(1320px, calc(100% - 2 * clamp(1rem, 4.4vw, 4rem)));
}

.ds-site-header { background: var(--ds-home-ink); border-bottom: 1px solid #46575b; box-shadow: 0 8px 28px rgba(38, 51, 54, .12); }
.ds-utility { display: none; }
.ds-header-main { min-height: 94px; background: var(--ds-home-ink); color: #fff; }
.ds-brand-lockup .wp-block-site-title a { color: #fff; }
.ds-site-header .wp-block-navigation-item__content { color: inherit; }
.ds-site-header .wp-block-navigation-item__content:hover { color: var(--ds-home-yellow); }
.ds-main-navigation { flex: 0 0 auto; }
.ds-main-navigation .wp-block-navigation__submenu-container { min-width: 290px !important; padding: .5rem !important; border: 1px solid var(--ds-home-line) !important; background: var(--ds-home-white) !important; box-shadow: 0 18px 45px rgba(38, 51, 54, .14); }
.ds-main-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .65rem .75rem; font-size: .82rem; line-height: 1.35; }
.ds-main-navigation .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon { margin-right: .6rem; }
.ds-header-phone { color: #fff; }
.ds-header-phone:hover { color: var(--ds-home-yellow); }

.ds-home-hero { background: var(--ds-home-white); }
.ds-home-hero::before { content: none; }
.ds-home-hero__grid { min-height: 760px; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); }
.ds-home-hero__content { padding: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 4vw, 4.5rem) clamp(2.5rem, 4vw, 4rem) 0; }
.ds-home-hero :where(.ds-home-hero__intro, .ds-home-hero__content) h1 { max-width: 12ch; font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(2.8rem, 4vw, 4.7rem); font-weight: 500; line-height: 1.03; letter-spacing: -.03em; }
.ds-home-eyebrow { margin-bottom: 1.1rem; color: var(--ds-home-green); letter-spacing: .075em; }
.ds-home-hero__content .ds-home-lead { max-width: 54ch; margin-top: 1.35rem; color: var(--ds-home-copy); font-size: clamp(1.03rem, 1.2vw, 1.16rem); line-height: 1.6; }
.ds-home-hero__actions { margin-top: 1.75rem; }
.ds-home-hero__actions .is-style-outline .wp-block-button__link { background: transparent; border-color: var(--ds-home-ink); color: var(--ds-home-ink); }
.ds-home-hero__actions .is-style-outline .wp-block-button__link:hover { background: var(--ds-home-ink); color: #fff; }
.ds-home-benefits { gap: .55rem clamp(1rem, 3vw, 2rem); margin-top: 2rem; border: 0; }
.ds-home-benefits li,
.ds-home-benefits li:nth-child(odd) { min-height: auto; padding: .45rem .5rem .45rem 2rem; border: 0; color: var(--ds-home-ink); font-size: .86rem; line-height: 1.35; }
.ds-home-benefits li::before { border-color: var(--ds-home-green); }
.ds-home-hero__lead-form { position: relative; z-index: 4; width: min(100%, 590px); margin: 1.5rem 0 0 !important; }
.ds-home-hero__offer { position: relative; display: inline-block; margin: 0 0 .8rem; padding: .58rem .9rem; border-radius: 12px; background: #ff9f84; color: var(--ds-home-ink); font-size: .78rem; font-weight: 500; letter-spacing: .04em; }
.ds-home-hero__offer::after { content: ""; position: absolute; left: 50%; bottom: -.45rem; border-top: .5rem solid #ff9f84; border-right: .5rem solid transparent; border-left: .5rem solid transparent; transform: translateX(-50%); }
.ds-home-hero__lead-form :where(.wpcf7-form, .preview-form) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; align-items: end; }
.ds-home-hero__lead-form :where(label, p):has(input[type="text"]) { display: none; }
.ds-home-hero__lead-form :where(input[type="tel"], input[type="text"]) { min-height: 58px; width: 100%; padding: .8rem 1rem; border: 2px solid var(--ds-home-ink); border-radius: 12px; background: #fff; color: var(--ds-home-ink); font: inherit; }
.ds-home-hero__lead-form :where(input[type="submit"], button) { min-height: 58px; width: auto !important; padding: .8rem 1.25rem; border: 1px solid var(--ds-home-yellow); border-radius: 12px; background: var(--ds-home-yellow); color: var(--ds-home-ink); font-weight: 500; cursor: pointer; }
.ds-home-hero__lead-form .ds-home-consent { margin: .55rem 0 0; color: var(--ds-home-copy); font-size: .68rem; }
.ds-home-hero__chat-title { margin: .75rem 0 .45rem; color: var(--ds-home-ink); font-weight: 500; }
.ds-home-hero__chat a { border-color: var(--ds-home-line); background: #fff; color: var(--ds-home-ink); }
.ds-home-hero__visual { position: relative; min-height: 760px; overflow: hidden; border-radius: 20px; background: #fff; }
.ds-home-hero__visual::before { content: ""; position: absolute; z-index: 0; top: 16%; right: 8%; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--ds-home-ink); }
.ds-home-hero__visual::after { content: ""; position: absolute; z-index: 1; top: 10%; right: 5%; width: 23%; aspect-ratio: 1; border-radius: 50%; background: var(--ds-home-yellow); }
.ds-home-hero__visual > img { position: relative; z-index: 2; width: 100%; height: 100%; min-height: 760px; padding: 1.5rem 3rem 0; object-fit: contain; object-position: center bottom; background: transparent; }
.ds-home-price { right: auto; bottom: 1.5rem; left: 1.5rem; padding: .8rem 1rem; background: var(--ds-home-yellow); box-shadow: 0 10px 30px rgba(38, 51, 54, .14); }


.ds-home-request { padding-block: clamp(3rem, 6vw, 5rem); background: var(--ds-home-green); border: 0; color: #fff; }
.ds-home-request__inner { grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; max-width: var(--ds-home-container); padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ds-home-request__intro h3 { max-width: 13ch; margin: 0 0 1rem; color: #fff; font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
.ds-home-request__intro > p:not(.ds-home-request__eyebrow) { max-width: 58ch; color: #edf6ea; font-size: 1.04rem; }
.ds-home-request__eyebrow { margin: 0 0 .8rem; color: #fff4c8; font-size: .72rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.ds-home-request__intro ul { display: grid; gap: .65rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.ds-home-request__intro li { position: relative; padding-left: 1.55rem; }
.ds-home-request__intro li::before { content: "✓"; position: absolute; left: 0; color: var(--ds-home-yellow); font-weight: 500; }
.ds-home-request__messengers { display: flex; flex-wrap: wrap; gap: .65rem; }
.ds-home-request__messengers a { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; font-weight: 500; text-decoration: none; }
.ds-home-request__messengers a::before { content: ""; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: currentColor; }
.ds-home-request__messengers .is-whatsapp::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.7 15L2 22l5.2-1.4A10 10 0 1 0 12 2Zm5.8 14.1c-.2.7-1.2 1.3-2 1.5-.5.1-1.2.2-3.6-.8-3-1.1-5-4-5.1-4.2-.1-.2-1.2-1.6-1.2-3.1s.8-2.2 1-2.5c.3-.3.7-.4 1-.4h.7c.2 0 .5-.1.7.5l.9 2.2c.1.3.1.5 0 .7l-.4.7-.6.6c-.2.2-.4.4-.2.8.2.4.9 1.5 2 2.4 1.4 1.2 2.5 1.6 2.9 1.8.4.2.6.2.9-.1l1.1-1.3c.3-.3.6-.3 1-.2l2.1 1c.4.2.7.3.8.5.1.2.1.9-.1 1.6Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.7 15L2 22l5.2-1.4A10 10 0 1 0 12 2Zm5.8 14.1c-.2.7-1.2 1.3-2 1.5-.5.1-1.2.2-3.6-.8-3-1.1-5-4-5.1-4.2-.1-.2-1.2-1.6-1.2-3.1s.8-2.2 1-2.5c.3-.3.7-.4 1-.4h.7c.2 0 .5-.1.7.5l.9 2.2c.1.3.1.5 0 .7l-.4.7-.6.6c-.2.2-.4.4-.2.8.2.4.9 1.5 2 2.4 1.4 1.2 2.5 1.6 2.9 1.8.4.2.6.2.9-.1l1.1-1.3c.3-.3.6-.3 1-.2l2.1 1c.4.2.7.3.8.5.1.2.1.9-.1 1.6Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ds-home-request__messengers .is-telegram::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m21.8 3.4-3.3 16.6c-.2 1.1-.9 1.4-1.8.9l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5.1 9.3-8.4c.4-.4-.1-.6-.6-.2L5.9 13.5 1 12c-1.1-.3-1.1-1.1.2-1.6L20.3 3c.9-.3 1.7.2 1.5.4Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m21.8 3.4-3.3 16.6c-.2 1.1-.9 1.4-1.8.9l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5.1 9.3-8.4c.4-.4-.1-.6-.6-.2L5.9 13.5 1 12c-1.1-.3-1.1-1.1.2-1.6L20.3 3c.9-.3 1.7.2 1.5.4Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ds-home-request .ds-home-form { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 20px; background: #fff; color: var(--ds-home-ink); box-shadow: 0 18px 45px rgba(22, 49, 39, .18); }
.ds-home-request .ds-home-form h4 { margin: 0 0 .55rem; color: var(--ds-home-ink); font-size: clamp(1.5rem, 2.2vw, 2rem); }
.ds-home-request .ds-home-form > p:not(.ds-home-consent) { margin: 0 0 1.25rem; color: var(--ds-home-copy); }
.ds-home-request .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .75rem; align-items: end; }
.ds-home-request .wpcf7-form > :where(p, div) { margin: 0; }
.ds-home-request .ds-home-consent { grid-column: 1 / -1; margin-top: .35rem; }

.ds-home-section { padding-block: clamp(4.25rem, 7vw, 7rem); }
.ds-home-section > .alignwide { max-width: var(--ds-home-container); }
.ds-home-section__head { display: block; max-width: var(--ds-home-container) !important; margin: 0 auto clamp(2.5rem, 5vw, 4rem) !important; }
.ds-home-section__head .ds-home-kicker { margin-bottom: .8rem; }
.ds-home-section__head h2,
.ds-home-reasons h2,
.ds-home-split h2,
.ds-home-inspection h2,
.ds-home-faq h2,
.ds-home-social h2,
.ds-home-promo h2,
.ds-contact-band h2 { font-family: "Gotham Pro", Arial, sans-serif; font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.ds-home-section__head h2 { max-width: 22ch; margin: 0; font-size: clamp(2.1rem, 3.4vw, 3.6rem); }
.ds-home-section__head .ds-home-lead { max-width: 72ch; margin: 1.25rem 0 0; color: var(--ds-home-copy); }
.ds-home-kicker { color: var(--ds-home-green); letter-spacing: .075em; }

.ds-home-section--prices { background: var(--ds-home-paper); color: var(--ds-home-ink); }
.ds-home-section--prices h2,
.ds-home-section--prices h3 { color: var(--ds-home-ink); }
.ds-home-section--prices .ds-home-kicker { color: var(--ds-home-green); }
.ds-home-section--prices .ds-home-lead,
.ds-home-section--prices .ds-home-methods p { color: var(--ds-home-copy); }
.ds-home-section--prices > .ds-home-price-table { max-width: var(--ds-home-container) !important; }
.ds-home-price-table { padding: clamp(1.25rem, 3vw, 2.4rem); border: 0; border-radius: 20px; background: var(--ds-home-white); box-shadow: 0 16px 46px rgba(38, 51, 54, .07); }
.ds-home-price-table table {
  width: 100%;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0 .35rem;
  outline: 0;
  box-shadow: none;
}
.ds-home-price-table :where(thead, tbody, tr, th, td) { border: 0 !important; outline: 0; box-shadow: none; }
.ds-home-price-table :where(th, td) { padding: .9rem .65rem; }
.ds-home-price-table thead th { padding: 0 .35rem 1.25rem; background: transparent; color: var(--ds-home-ink); font-size: .76rem; letter-spacing: 0; text-transform: none; }
.ds-price-chip { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: .7rem .9rem; border-radius: 12px; background: var(--ds-home-yellow); color: var(--ds-home-ink); font-weight: 500; line-height: 1.25; text-align: center; }
.ds-price-chip.is-dark { background: var(--ds-home-ink); color: #fff; }
.ds-home-price-table tbody tr { background: transparent; }
.ds-home-price-table tbody tr:hover { background: rgba(237, 243, 239, .72); }
.ds-home-price-table tbody th { font-size: 1rem; font-weight: 400; }
.ds-home-price-table td { font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(1rem, 1.3vw, 1.18rem); font-weight: 500; }
.ds-price-calculator {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem) !important;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 20px;
  background: var(--ds-home-white);
  box-shadow: 0 18px 50px rgba(38, 51, 54, .09);
}
.ds-price-calculator::after {
  content: none;
}
.ds-price-calculator__intro h3 { max-width: 13ch; margin: 0 0 1rem; font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(1.55rem, 2.2vw, 2.25rem); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.ds-price-calculator__intro > p:last-child { max-width: 36ch; margin-bottom: 0; color: var(--ds-home-copy); }
.ds-price-calculator__form { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: 1rem; }
.ds-price-calculator__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.ds-price-calculator__fields label { display: grid; gap: .45rem; color: var(--ds-home-ink); font-size: .8rem; font-weight: 500; }
.ds-price-calculator :where(select, input[type="number"]) { width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1px solid #aebbb7; border-radius: 12px; background: #fff; color: var(--ds-home-ink); font: inherit; }
.ds-price-calculator :where(select, input[type="number"]):focus-visible { outline: 3px solid rgba(255, 182, 0, .42); outline-offset: 2px; border-color: var(--ds-home-ink); }
.ds-price-calculator__check { grid-column: 1 / -1; display: flex !important; align-items: center; gap: .65rem !important; min-height: 50px; padding: .65rem .8rem; border: 1px solid var(--ds-home-line); border-radius: 12px; cursor: pointer; }
.ds-price-calculator__check input { width: 1.15rem; height: 1.15rem; accent-color: var(--ds-home-green); }
.ds-price-calculator__result { display: flex; flex-direction: column; align-items: flex-start; padding: 1.25rem; border-radius: 16px; background: var(--ds-home-yellow); color: var(--ds-home-ink); }
.ds-price-calculator__result > span { font-size: .72rem; font-weight: 500; letter-spacing: .075em; text-transform: uppercase; }
.ds-price-calculator__result output { margin: .35rem 0 .8rem; font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 500; line-height: 1.05; }
.ds-price-calculator__result p { margin: 0 0 1rem; font-size: .82rem; line-height: 1.5; }
.ds-price-calculator__result .wp-block-button__link { margin-top: auto; background: var(--ds-home-ink); border-color: var(--ds-home-ink); color: #fff; }
.ds-home-methods { grid-template-columns: minmax(230px, .48fr) minmax(0, 1.52fr); gap: clamp(2rem, 5vw, 5rem); border-color: var(--ds-home-line); }
.ds-home-methods h3 { font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(1.6rem, 2.4vw, 2.4rem); font-weight: 500; letter-spacing: -.025em; }
.ds-home-methods__list p { border-color: var(--ds-home-line); }
.ds-home-section--prices a:not(.wp-block-button__link) { color: var(--ds-home-green); }

.ds-home-promo { overflow: hidden; padding-block: clamp(2.5rem, 4vw, 4rem); background: var(--ds-home-yellow); }
.ds-home-promo > .alignwide { max-width: var(--ds-home-container); display: grid !important; grid-template-columns: minmax(230px, .5fr) minmax(0, 1.15fr) minmax(190px, .35fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.ds-home-promo h2 { max-width: none; font-size: clamp(2rem, 3vw, 3.1rem); }
.ds-home-promo p { max-width: 70ch; font-size: 1.05rem; }
.ds-home-promo__worker { align-self: end; margin: -1.5rem 0 -4rem; }
.ds-home-promo__worker img { width: 100%; max-height: 330px; object-fit: contain; object-position: center bottom; }

.ds-pest-services { padding-block: clamp(4.25rem, 7vw, 7rem); background: var(--ds-home-white); }
.ds-pest-services__inner { max-width: var(--ds-home-container); }
.ds-pest-services h2 { max-width: 18ch; margin: 0; font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(2.1rem, 3.4vw, 3.6rem); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.ds-pest-services .ds-home-lead { max-width: 62ch; margin: 1.1rem 0 0; color: var(--ds-home-copy); }
.ds-pest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3.25rem); }
.ds-pest-card { min-height: 176px; display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: 16px; background: var(--ds-home-yellow); color: var(--ds-home-ink); text-decoration: none; transition: transform .2s var(--ds-ease), box-shadow .2s var(--ds-ease); }
.ds-pest-card:hover { color: var(--ds-home-ink); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(38, 51, 54, .12); }
.ds-pest-card:focus-visible { outline-color: var(--ds-home-ink); }
.ds-pest-card__media { width: 88px; height: 88px; flex: 0 0 88px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: rgba(255, 255, 255, .92); }
.ds-pest-card__media img { width: 82px; height: 82px; object-fit: contain; }
.ds-pest-card > span:last-child { min-width: 0; display: grid; gap: .45rem; }
.ds-pest-card strong { font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 500; line-height: 1.15; }
.ds-pest-card small { color: #394549; font-size: .82rem; line-height: 1.4; }

.ds-home-section--reasons { background: var(--ds-home-white); }
.ds-home-reasons { max-width: var(--ds-home-container); grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(3rem, 6vw, 6rem); }
.ds-home-reasons__copy h2 { font-size: clamp(2.1rem, 3.2vw, 3.5rem); }
.ds-home-reasons__copy > p:not(.ds-home-kicker) { border-color: var(--ds-home-line); color: var(--ds-home-copy); }
.ds-home-reasons__copy > p strong { color: var(--ds-home-ink); }
.ds-home-reasons__media { gap: .75rem; }
.ds-home-reasons__media figure,
.ds-home-inspection__image { overflow: hidden; background: #edf1ee; }
.ds-home-reasons__media img,
.ds-home-inspection__image img { border: 0; }
.ds-home-reasons__media figure,
.ds-home-inspection__image { margin: 0; box-shadow: none; }
.ds-home-reasons__media figure:last-child img { object-position: 32% center; }

.ds-home-social { background: var(--ds-home-green); border: 0; color: #fff; }
.ds-home-social > .alignwide { max-width: var(--ds-home-container); grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr); }
.ds-home-social h2,
.ds-home-social p { color: #fff; }
.ds-home-social a:not(.wp-block-button__link) { color: #fff; }
.ds-home-social .wp-block-buttons { gap: .75rem; }
.ds-home-social .wp-block-button__link {
  min-height: 50px;
  gap: .65rem;
  padding: .5rem 1.15rem .5rem .55rem;
  border-radius: 999px;
}
.ds-home-social .wp-block-button__link::before {
  content: "";
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .16);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.15rem;
}
.ds-button-whatsapp .wp-block-button__link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 2a10 10 0 0 0-8.7 15L2 22l5.2-1.4A10 10 0 1 0 12 2Zm5.8 14.1c-.2.7-1.2 1.3-2 1.5-.5.1-1.2.2-3.6-.8-3-1.1-5-4-5.1-4.2-.1-.2-1.2-1.6-1.2-3.1s.8-2.2 1-2.5c.3-.3.7-.4 1-.4h.7c.2 0 .5-.1.7.5l.9 2.2c.1.3.1.5 0 .7l-.4.7-.6.6c-.2.2-.4.4-.2.8.2.4.9 1.5 2 2.4 1.4 1.2 2.5 1.6 2.9 1.8.4.2.6.2.9-.1l1.1-1.3c.3-.3.6-.3 1-.2l2.1 1c.4.2.7.3.8.5.1.2.1.9-.1 1.6Z'/%3E%3C/svg%3E");
}
.ds-button-telegram .wp-block-button__link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M21.8 3.4 18.5 20c-.2 1.1-.9 1.4-1.8.9l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5.1 9.3-8.4c.4-.4-.1-.6-.6-.2L5.9 13.5 1 12c-1.1-.3-1.1-1.1.2-1.6L20.3 3c.9-.3 1.7.2 1.5.4Z'/%3E%3C/svg%3E");
}

.ds-home-section--process { background: var(--ds-home-paper); }
.ds-home-process-list { counter-reset: ds-process-step; max-width: var(--ds-home-container) !important; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem clamp(1.5rem, 3vw, 3rem); border: 0; list-style: none; }
.ds-home-process-list li { counter-increment: ds-process-step; grid-column: span 2; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 1rem; align-items: start; min-height: 0; margin: 0; padding: 1.35rem 0; border: 0; border-top: 1px solid var(--ds-home-line); background: transparent; }
.ds-home-process-list li:nth-last-child(2),
.ds-home-process-list li:last-child { grid-column: span 3; }
.ds-home-process-list li::before { content: counter(ds-process-step); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--ds-home-yellow); color: var(--ds-home-ink); font-family: "Gotham Pro", Arial, sans-serif; font-size: 1.65rem; font-weight: 500; line-height: 1; }
.ds-home-process-list__copy { display: grid; gap: .4rem; }
.ds-home-process-list__copy strong { color: var(--ds-home-ink); font-size: 1.05rem; font-weight: 500; line-height: 1.25; }
.ds-home-process-list__copy > span { color: var(--ds-home-copy); line-height: 1.55; }
.ds-home-aftercare { max-width: var(--ds-home-container) !important; border: 0; background: var(--ds-home-white); box-shadow: 0 14px 40px rgba(38, 51, 54, .07); }
.ds-home-aftercare p:last-child { background: var(--ds-home-yellow); }
.ds-home-order-flow { margin-top: clamp(2.5rem, 5vw, 4rem) !important; padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: 20px; background: var(--ds-home-white); box-shadow: 0 16px 46px rgba(38, 51, 54, .08); }
.ds-home-order-flow > h3 { max-width: 16ch; margin: 0 0 1.5rem; font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(1.65rem, 2.5vw, 2.5rem); font-weight: 500; line-height: 1.1; }
.ds-home-order-flow__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ds-home-order-flow article { position: relative; min-height: 210px; padding: clamp(1.25rem, 2vw, 1.8rem); border-radius: 16px; background: var(--ds-home-ink); color: #fff; }
.ds-home-order-flow article:last-child { background: var(--ds-home-yellow); color: var(--ds-home-ink); }
.ds-home-order-flow article + article::before { content: "→"; position: absolute; z-index: 2; top: 50%; left: -.85rem; display: grid; width: 1.7rem; height: 1.7rem; place-items: center; border-radius: 50%; background: var(--ds-home-white); color: var(--ds-home-ink); font-size: 1rem; transform: translateY(-50%); }
.ds-home-order-flow__eyebrow { display: block; margin-bottom: .8rem; color: var(--ds-home-yellow); font-size: .7rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.ds-home-order-flow article:last-child .ds-home-order-flow__eyebrow { color: var(--ds-home-green); }
.ds-home-order-flow h4 { margin: 0 0 .75rem; color: inherit; font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 500; line-height: 1.2; }
.ds-home-order-flow p { margin: 0 0 1.25rem; color: inherit; line-height: 1.55; }
.ds-home-order-flow a { color: inherit; font-weight: 500; }

.ds-home-section--preparation { background: var(--ds-home-white); }
.ds-home-split,
.ds-home-inspection { max-width: var(--ds-home-container); grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr); gap: clamp(3rem, 6vw, 6rem); }
.ds-home-split h2,
.ds-home-inspection h2 { font-size: clamp(2.1rem, 3.2vw, 3.5rem); }
.ds-home-checklist li,
.ds-home-section--inspection .wp-block-group > p { border-color: var(--ds-home-line); color: var(--ds-home-copy); }
.ds-home-checklist strong,
.ds-home-section--inspection .wp-block-group > p strong { color: var(--ds-home-ink); }
.ds-home-split__image img,
.ds-home-inspection__image img { aspect-ratio: 4 / 5; }
.ds-home-section--preparation .ds-home-split__image { padding: .75rem; background: var(--ds-home-white); border: 1px solid var(--ds-home-line); }
.ds-home-section--preparation .ds-home-split__image img { aspect-ratio: auto; object-fit: contain; }
.ds-home-section--preparation .ds-home-hiding-map { overflow: visible; padding: 0; border: 0; background: transparent; }
.ds-home-hiding-map > img { aspect-ratio: 3 / 2 !important; border-radius: 16px; object-fit: cover !important; box-shadow: 0 18px 46px rgba(38, 51, 54, .14); }
.ds-home-hiding-map__labels { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.ds-home-hiding-map__label { position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .8rem; border: 1px solid rgba(255, 182, 0, .72); border-radius: 999px; background: rgba(255, 255, 255, .96); box-shadow: 0 9px 24px rgba(38, 51, 54, .16); color: var(--ds-home-ink); font-size: clamp(.68rem, .8vw, .78rem); font-weight: 500; line-height: 1; white-space: nowrap; }
.ds-home-hiding-map__label::before { content: ""; width: .45rem; height: .45rem; flex: 0 0 .45rem; border-radius: 50%; background: var(--ds-home-yellow); }
.ds-home-hiding-map__label.is-wardrobe { top: 18%; left: 26%; }
.ds-home-hiding-map__label.is-picture { top: 13%; right: 24%; }
.ds-home-hiding-map__label.is-outlet { top: 44%; right: -2%; }
.ds-home-hiding-map__label.is-mattress { top: 59%; left: 49%; }
.ds-home-hiding-map__label.is-frame { bottom: 12%; left: 54%; }
.ds-home-hiding-map__label.is-baseboard { right: 4%; bottom: 15%; }
.ds-home-section--inspection { background: var(--ds-home-paper); }
.ds-home-order { max-width: var(--ds-home-container) !important; background: var(--ds-home-white); border-left: 0; border-radius: 16px; box-shadow: 0 14px 40px rgba(38, 51, 54, .07); }

.ds-home-section--faq { background: var(--ds-home-white); color: var(--ds-home-ink); }
.ds-home-section--faq h2 { color: var(--ds-home-ink); }
.ds-home-section--faq .ds-home-kicker { color: var(--ds-home-green); }
.ds-home-faq { max-width: var(--ds-home-container); grid-template-columns: minmax(300px, .6fr) minmax(0, 1.4fr); gap: clamp(3rem, 6vw, 6rem); }
.ds-home-faq__intro { position: sticky; top: 125px; }
.ds-home-faq__intro h2 { font-size: clamp(2.1rem, 3.2vw, 3.5rem); }
.ds-home-faq__intro a:not(.wp-block-button__link) { color: var(--ds-home-green); }
.ds-home-faq__items { border-color: var(--ds-home-line); }
.ds-home-faq__items .wp-block-details { padding: 1.25rem 0; border-color: var(--ds-home-line); }
.ds-home-faq__items summary { color: var(--ds-home-ink); font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; letter-spacing: -.01em; }
.ds-home-faq__items p { max-width: 70ch; color: var(--ds-home-copy); }

.ds-home-section--resources { background: var(--ds-home-paper); }
.ds-home-resource-list { max-width: var(--ds-home-container) !important; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; margin: 0 auto !important; border-color: var(--ds-home-line); }
.ds-home-resource-list li { border-color: var(--ds-home-line); }
.ds-home-resource-list a { padding: 1.1rem .5rem 1.1rem 0; font-family: "Gotham Pro", Arial, sans-serif; font-size: clamp(1rem, 1.45vw, 1.2rem); font-weight: 500; letter-spacing: -.01em; }
.ds-home-section--reviews { background: var(--ds-home-white); }
.ds-home-reviews { max-width: var(--ds-home-container) !important; }

@media (max-width: 1180px) {
  .ds-header-phone__number { display: none; }
  .ds-main-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-size: .76rem; }
  .ds-pest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .ds-home-hero__grid { grid-template-columns: 1fr; }
  .ds-home-hero__content { padding: 3.25rem 0; }
  .ds-home-hero__visual,
  .ds-home-hero__visual > img { min-height: 460px; }
  .ds-home-request__inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .ds-home-request .wpcf7-form { grid-template-columns: 1fr 1fr; }
  .ds-home-request .wpcf7-form > :last-child { grid-column: 1 / -1; }
  .ds-home-promo > .alignwide,
  .ds-home-social > .alignwide { grid-template-columns: 1fr; gap: 1.25rem; }
  .ds-home-promo__worker { width: min(260px, 70vw); margin: 0 auto -3.5rem; }
  .ds-price-calculator { grid-template-columns: 1fr; gap: 1.5rem; }
  .ds-home-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-home-process-list li,
  .ds-home-process-list li:nth-last-child(2),
  .ds-home-process-list li:last-child { grid-column: auto; }
  .ds-home-order-flow__steps { grid-template-columns: 1fr; }
  .ds-home-order-flow article { min-height: 0; }
  .ds-home-order-flow article + article::before { top: -.85rem; left: 50%; transform: translateX(-50%) rotate(90deg); }
}

@media (max-width: 781px) {
  .ds-site-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.25rem; background: var(--ds-home-white) !important; color: var(--ds-home-ink) !important; }
  .ds-main-navigation .wp-block-navigation__submenu-container { min-width: 0 !important; padding: .35rem 0 .35rem 1rem !important; border: 0 !important; box-shadow: none; }
  .ds-home-hero__content { padding: 2.75rem 0; }
  .ds-home-hero :where(.ds-home-hero__intro, .ds-home-hero__content) h1 { font-size: clamp(2.3rem, 10.5vw, 3.8rem); }
  .ds-home-hero__visual,
  .ds-home-hero__visual > img { min-height: 350px; }
  .ds-home-request .wpcf7-form { grid-template-columns: 1fr; }
  .ds-home-request .wpcf7-form > :last-child { grid-column: auto; }
  .ds-home-methods,
  .ds-home-reasons,
  .ds-home-split,
  .ds-home-inspection,
  .ds-home-faq { grid-template-columns: 1fr; }
  .ds-home-reasons__media,
  .ds-home-split__image,
  .ds-home-inspection__image,
  .ds-home-faq__intro { position: static; }
  .ds-home-process-list { grid-template-columns: 1fr; }
  .ds-home-hiding-map { display: grid; gap: .8rem; }
  .ds-home-hiding-map__labels { position: static; display: flex; flex-wrap: wrap; gap: .5rem; }
  .ds-home-hiding-map__label { position: static; }
  .ds-home-resource-list { grid-template-columns: 1fr; gap: 0; }
  .ds-price-calculator__form { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .ds-home-benefits { grid-template-columns: 1fr; }
  .ds-home-benefits li:nth-child(odd) { border-right: 0; }
  .ds-home-hero__visual,
  .ds-home-hero__visual > img { min-height: 285px; }
  .ds-home-price { bottom: .75rem; left: .75rem; }
  .ds-home-process-list li { display: list-item; padding: 1.1rem 1rem; }
  .ds-price-calculator { padding: 1.25rem; border-radius: 16px; }
  .ds-price-calculator__fields { grid-template-columns: 1fr; }
  .ds-price-calculator__check { grid-column: auto; }
  .ds-pest-grid { grid-template-columns: 1fr; }
  .ds-pest-card { min-height: 138px; }
}

@media (max-width: 1180px) {
  .ds-header-phone__number { display: inline; }
  .ds-header-region,
  .ds-header-social { display: none; }
}

@media (max-width: 781px) {
  .ds-header-actions,
  .ds-header-email,
  .ds-header-phone small { display: none; }
  .ds-home-hero__lead-form :where(.wpcf7-form, .preview-form) { grid-template-columns: 1fr; }
  .ds-home-hero__lead-form :where(input[type="submit"], button) { justify-self: start; }
}

@media (max-width: 560px) {
  .ds-header-phone__number { display: none; }
  .ds-home-process-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); padding: 1rem 0; }
  .ds-home-process-list li::before { width: 46px; height: 46px; font-size: 1.3rem; }
}

/* Reference-led header and hero: horizontal navigation, no hamburger. */
.ds-site-header { background: var(--ds-home-ink); }
.ds-site-header .ds-header-main { min-height: 86px; display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(.8rem, 1.7vw, 1.75rem); background: var(--ds-home-ink); }
.ds-site-header .ds-brand-lockup { order: 1; min-width: 190px; }
.ds-site-header .ds-brand-lockup .custom-logo { width: 218px; height: auto; content: normal; }
.ds-site-header :where(.ds-header-region, .ds-header-actions, .ds-header-social, .ds-header-email) { display: none !important; }
.ds-site-header .ds-main-navigation { order: 2; min-width: 0; flex: 1 1 auto; color: #fff; }
.ds-site-header .ds-header-contact { order: 3; display: block; margin-left: auto; }
.ds-site-header .ds-header-phone__number { display: inline; color: #fff; font-size: 1rem; }
.ds-site-header .ds-header-phone small { display: none; }
.ds-site-header .ds-header-phone__icon { width: 32px; height: 32px; flex-basis: 32px; }
.ds-site-header .wp-block-navigation__responsive-container-open,
.ds-site-header .wp-block-navigation__responsive-container-close { display: none !important; }
.ds-site-header .wp-block-navigation__responsive-container { position: static; display: block; }
.ds-site-header .wp-block-navigation__responsive-container-content { display: block; }
.ds-site-header .ds-main-navigation > .wp-block-navigation__responsive-container > .wp-block-navigation__responsive-close > .wp-block-navigation__responsive-dialog > .wp-block-navigation__responsive-container-content > .wp-block-navigation__container,
.ds-site-header .ds-main-navigation > .wp-block-navigation__container { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: clamp(.7rem, 1.35vw, 1.35rem); }
.ds-site-header .ds-main-navigation :where(.ds-nav-main) { order: 1; }
.ds-site-header .ds-main-navigation :where(.ds-nav-services) { order: 2; }
.ds-site-header .ds-main-navigation :where(.ds-nav-prices) { order: 3; }
.ds-site-header .ds-main-navigation :where(.ds-nav-promo) { order: 4; }
.ds-site-header .ds-main-navigation :where(.ds-nav-business) { order: 5; }
.ds-site-header .ds-main-navigation :where(.ds-nav-company) { order: 6; }
.ds-site-header .ds-main-navigation :where(.ds-nav-blog) { order: 7; }
.ds-site-header .ds-main-navigation :where(.ds-nav-certs) { order: 8; }
.ds-site-header .ds-main-navigation :where(.ds-nav-contact) { order: 9; }
.ds-site-header .ds-main-navigation > :where(.wp-block-navigation__container, .wp-block-navigation__responsive-container) .wp-block-navigation-item__content { color: #fff; font-size: clamp(.68rem, .78vw, .82rem); font-weight: 500; white-space: nowrap; }
@media (min-width: 782px) {
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container { position: fixed !important; z-index: 80; top: 86px !important; left: 50% !important; right: auto !important; width: min(1480px, calc(100vw - 2rem)) !important; max-height: calc(100vh - 102px); display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 3vw, 3.5rem); padding: 1.5rem clamp(1rem, 2.5vw, 2.5rem) 1.8rem !important; overflow-y: auto; visibility: visible !important; opacity: 1 !important; transform: translateX(-50%); border: 0 !important; border-radius: 0 0 18px 18px; background: #fff !important; box-shadow: 0 22px 50px rgba(38, 51, 54, .18); }
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container > .ds-nav-card,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container > .ds-nav-card { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .ds-site-header .ds-nav-services:hover .ds-nav-card > .wp-block-navigation__submenu-container,
  .ds-site-header .ds-nav-services:focus-within .ds-nav-card > .wp-block-navigation__submenu-container { position: static !important; width: 100% !important; min-width: 0 !important; display: grid !important; gap: .1rem; padding: .55rem 0 0 !important; visibility: visible !important; opacity: 1 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
}
.ds-site-header .ds-nav-services .ds-nav-card > .wp-block-navigation-item__content { display: flex; align-items: center; gap: .55rem; color: var(--ds-home-ink) !important; font-size: .94rem !important; }
.ds-site-header .ds-nav-services .ds-nav-card > .wp-block-navigation-item__content::before { content: ""; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; background-color: var(--ds-home-yellow); background-position: center; background-repeat: no-repeat; background-size: 21px 21px; -webkit-mask: none !important; mask: none !important; }
.ds-site-header .ds-nav-services .ds-nav-card--insects > .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263336' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 9h8v7a4 4 0 0 1-8 0V9Z'/%3E%3Cpath d='m9 6 3 3 3-3M5 11h3M16 11h3M5 16h3M16 16h3'/%3E%3C/svg%3E"); }
.ds-site-header .ds-nav-services .ds-nav-card--disinfection > .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263336' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 4.6 2.9 8.1 7 10 4.1-1.9 7-5.4 7-10V6l-7-3Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E"); }
.ds-site-header .ds-nav-services .ds-nav-card--rodents > .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263336' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 15.5c0-4 2.8-7 6.5-7 3 0 5.5 2.2 5.5 5s-2.2 5-5.3 5H9'/%3E%3Ccircle cx='14.5' cy='12.5' r='.7' fill='%23263336' stroke='none'/%3E%3Cpath d='M10 9C8 6 4.5 6.5 4.5 9c0 1.3.9 2.3 2.2 2.5M9 18.5c-4.5 0-6-2-6-4.5'/%3E%3C/svg%3E"); }
.ds-site-header .ds-nav-services .ds-nav-card--business > .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263336' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V7l8-4 8 4v14M2 21h20M8 9h2M14 9h2M8 13h2M14 13h2M10 21v-4h4v4'/%3E%3C/svg%3E"); }
.ds-site-header .ds-nav-services .ds-nav-card .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .32rem 0; color: var(--ds-home-ink) !important; font-size: .72rem !important; white-space: normal; }
.ds-site-header :is(.ds-nav-card, .ds-nav-business) .wp-block-navigation-item__content > .ds-service-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-self: flex-start;
  color: #906000;
}

.ds-home-hero { padding: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.ds-home-hero__grid { min-height: 0; display: grid; grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr); grid-template-areas: "intro intro" "content visual"; column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ds-home-hero__intro { grid-area: intro; max-width: none !important; padding: 0; }
.ds-home-hero__intro .ds-home-eyebrow { margin-bottom: .7rem; }
.ds-home-hero :where(.ds-home-hero__intro, .ds-home-hero__content) h1 { max-width: 18ch; margin: 0; font-size: clamp(2.65rem, 3.7vw, 4.15rem); line-height: .98; }
.ds-home-hero__intro .ds-home-lead { max-width: 96ch; margin: .75rem 0 1.35rem; color: var(--ds-home-copy); font-size: clamp(.95rem, 1.05vw, 1.08rem); line-height: 1.45; }
.ds-home-hero__content { grid-area: content; padding: .25rem 0 2rem; }
.ds-home-benefits { display: grid; grid-template-columns: 1fr; gap: .55rem; margin: 0; padding: 0; }
.ds-home-benefits li,
.ds-home-benefits li:nth-child(odd) { min-height: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); padding: .15rem 0; border: 0; font-size: 1rem; }
.ds-home-benefits li::before { content: "✓"; position: static; grid-row: 1 / 3; align-self: start; width: 28px; height: 28px; display: grid; place-items: center; margin-top: .05rem; border: 3px solid var(--ds-home-ink); border-radius: 4px; color: var(--ds-home-ink); font-size: 1.2rem; font-weight: 500; line-height: 1; transform: none; }
.ds-home-benefits strong { display: block; color: var(--ds-home-ink); font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.15; }
.ds-home-benefits mark { padding: 0 .15rem; background: var(--ds-home-yellow); color: inherit; }
.ds-home-benefits li > span { grid-column: 2; display: block; margin-top: .18rem; color: var(--ds-home-copy); font-size: .82rem; line-height: 1.35; }
.ds-home-hero__lead-form { width: min(100%, 570px); margin-top: 1rem !important; }
.ds-home-hero__offer { display: block; width: max-content; max-width: 100%; margin-bottom: .85rem; padding: .55rem 1.15rem; border-radius: 12px; text-transform: uppercase; }
.ds-home-hero__lead-form :where(.wpcf7-form, .preview-form) { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; }
.ds-home-hero__lead-form :where(input[type="tel"], input[type="text"]) { min-height: 96px; padding: 1rem 1.5rem 1.7rem; border: 4px solid var(--ds-home-ink); border-radius: 12px; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: .08em; }
.ds-home-hero__lead-form :where(input[type="submit"], button) { position: relative; z-index: 2; min-width: 62%; min-height: 56px; justify-self: center; margin: -1.45rem auto 0; padding-inline: 1.5rem; }
.ds-home-hero__lead-form .preview-form > button { background: var(--ds-home-yellow); border-color: var(--ds-home-yellow); color: var(--ds-home-ink); }
.ds-home-hero__lead-form .wpcf7-form > p:has(input[type="submit"]) { position: relative; z-index: 2; width: 62%; margin: -1.45rem auto 0; }
.ds-home-hero__lead-form .wpcf7-form > p:has(input[type="submit"]) input { width: 100% !important; margin: 0; }
.ds-home-hero__lead-form .ds-home-consent { margin-top: .45rem; text-align: center; }
.ds-home-hero__chat-title { margin-top: .55rem; text-align: center; }
.ds-home-hero__chat { justify-content: center; }
.ds-home-hero__visual { grid-area: visual; width: 100%; height: 570px; min-height: 0; margin: -1rem 0 0; overflow: visible; border-radius: 0; }
.ds-home-hero__visual::before { top: 11%; right: 8%; width: 70%; }
.ds-home-hero__visual::after { display: none; }
.ds-home-hero__visual > img { width: 100%; height: 100%; min-height: 0; padding: 0 1rem; object-position: center bottom; }
.ds-home-hero__accent { position: absolute; z-index: 1; display: block; pointer-events: none; }
.ds-home-hero__accent.is-stripes { top: 8%; left: 24%; width: 34%; height: 26%; background: repeating-linear-gradient(70deg, transparent 0 14px, var(--ds-home-yellow) 14px 23px, transparent 23px 34px); transform: rotate(-8deg); }
.ds-home-hero__accent.is-line { top: 7%; right: 5%; width: 24%; height: 25%; border: 4px solid var(--ds-home-copy); border-bottom-color: transparent; border-left-color: transparent; border-radius: 50%; transform: rotate(23deg); opacity: .8; }
.ds-home-price { right: auto; bottom: 0; left: 18%; min-width: 130px; padding: .9rem 1.1rem; border-radius: 14px 14px 0 0; text-align: center; }

.ds-home-promo { min-height: 350px; padding-block: 1.25rem; }
.ds-home-promo > .alignwide { min-height: 325px; display: grid !important; grid-template-columns: minmax(230px, .55fr) minmax(390px, 1.05fr) minmax(300px, .65fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: center; }
.ds-home-promo h2 { max-width: 9ch; margin: 0; font-size: clamp(2.45rem, 3.8vw, 4rem); line-height: .98; }
.ds-home-promo__content { width: 100%; }
.ds-home-promo__content > p { max-width: 52ch; margin: 0 0 1.15rem; font-size: clamp(.96rem, 1.1vw, 1.08rem); line-height: 1.5; }
.ds-home-promo__call { width: min(100%, 560px); padding: 1rem 1.1rem; border-radius: 16px; background: var(--ds-home-ink); color: #fff; box-shadow: 0 15px 34px rgba(38, 51, 54, .18); }
.ds-home-promo__call > span { display: block; margin-bottom: .45rem; color: var(--ds-home-yellow); font-size: .7rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.ds-home-promo__call a { display: flex; align-items: center; gap: .75rem; color: #fff; font-size: clamp(1.2rem, 2vw, 1.75rem); text-decoration: none; }
.ds-home-promo__call small { display: block; margin-top: .45rem; color: #d8e0df; }
.ds-home-promo__worker { width: 100%; align-self: end; justify-self: end; margin: 0 0 -1.25rem; }
.ds-home-promo__worker img { width: 100%; max-height: 405px; object-fit: contain; object-position: right bottom; }
.ds-home-section,
.ds-pest-services { padding-block: clamp(3.25rem, 5vw, 5rem); }

@media (max-width: 1220px) {
  .ds-site-header .ds-header-contact { display: none; }
  .ds-site-header .ds-main-navigation > :where(.wp-block-navigation__container, .wp-block-navigation__responsive-container) .wp-block-navigation-item__content { font-size: .7rem; }
  .ds-home-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .95fr); }
}

@media (min-width: 901px) and (max-height: 920px) {
  .ds-site-header .ds-header-main { min-height: 72px; }
  .ds-site-header .ds-brand-lockup .custom-logo { width: 190px; }
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container { top: 72px !important; }
  .ds-home-hero { padding-top: .85rem; }
  .ds-home-hero__grid { height: calc(100svh - 72px); min-height: 610px; grid-template-rows: auto minmax(0, 1fr); }
  .ds-home-hero :where(.ds-home-hero__intro, .ds-home-hero__content) h1 { font-size: clamp(2.25rem, 3.15vw, 3.45rem); }
  .ds-home-hero__intro .ds-home-eyebrow { margin-bottom: .35rem; }
  .ds-home-hero__intro .ds-home-lead { margin: .45rem 0 .7rem; font-size: .9rem; line-height: 1.35; }
  .ds-home-hero__content { padding: 0 0 .75rem; }
  .ds-home-benefits { gap: .25rem; }
  .ds-home-benefits li,
  .ds-home-benefits li:nth-child(odd) { padding-block: .05rem; }
  .ds-home-benefits strong { font-size: 1rem; }
  .ds-home-benefits li > span { font-size: .72rem; }
  .ds-home-hero__lead-form { margin-top: .55rem !important; }
  .ds-home-hero__offer { margin-bottom: .55rem; padding-block: .4rem; font-size: .68rem; }
  .ds-home-hero__lead-form :where(input[type="tel"], input[type="text"]) { min-height: 76px; padding-block: .8rem 1.25rem; font-size: 1.2rem; }
  .ds-home-hero__lead-form :where(input[type="submit"], button) { min-height: 48px; }
  .ds-home-hero__lead-form .ds-home-consent { margin-top: .25rem; }
  .ds-home-hero__chat-title { margin: .3rem 0 .25rem; }
  .ds-home-hero__visual,
  .ds-home-hero__visual > img { min-height: 0; height: min(560px, calc(100svh - 240px)); }
  .ds-home-hero__visual { align-self: start; }
}

@media (max-width: 900px) {
  .ds-site-header .ds-header-main { min-height: 0; flex-wrap: wrap; padding-block: .65rem; }
  .ds-site-header .ds-brand-lockup { min-width: 0; }
  .ds-site-header .ds-brand-lockup .custom-logo { width: 185px; }
  .ds-site-header .ds-main-navigation { order: 3; flex: 1 0 100%; overflow-x: auto; scrollbar-width: thin; }
  .ds-site-header .ds-main-navigation > .wp-block-navigation__container { width: max-content; min-width: 100%; justify-content: flex-start; padding-bottom: .2rem; }
  .ds-site-header .ds-main-navigation > :where(.wp-block-navigation__container, .wp-block-navigation__responsive-container) .wp-block-navigation-item__content { font-size: .72rem; }
  .ds-home-hero__grid { grid-template-columns: 1fr; grid-template-areas: "intro" "visual" "content"; }
  .ds-home-hero__intro { padding-top: .5rem; }
  .ds-home-hero__visual { height: 420px; min-height: 0; margin-top: 0; }
  .ds-home-hero__visual > img { height: 100%; min-height: 0; }
  .ds-home-hero__content { width: min(100%, 620px); padding-top: 1.25rem; }
  .ds-home-promo > .alignwide { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr); }
  .ds-home-promo h2 { grid-column: 1; }
  .ds-home-promo__content { grid-column: 1; }
  .ds-home-promo__worker { grid-column: 2; grid-row: 1 / 3; width: 100%; margin-bottom: -1.25rem; }
}

@media (max-width: 560px) {
  .ds-site-header .ds-header-main { width: 100%; padding-inline: 1rem; }
  .ds-site-header .ds-brand-lockup .custom-logo { width: 162px; }
  .ds-home-hero { padding-top: 1.25rem; }
  .ds-home-hero :where(.ds-home-hero__intro, .ds-home-hero__content) h1 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
  .ds-home-hero__intro .ds-home-lead { margin-bottom: .6rem; font-size: .86rem; line-height: 1.4; }
  .ds-home-hero__visual,
  .ds-home-hero__visual > img { height: 170px; min-height: 0; }
  .ds-home-hero__visual { width: min(240px, 72vw); height: 170px; justify-self: end; }
  .ds-home-hero__visual::before { top: 2%; right: 2%; width: 180px; }
  .ds-home-hero__accent.is-stripes { top: 1%; left: 2%; width: 50%; height: 52%; }
  .ds-home-hero__accent.is-line { display: none; }
  .ds-home-hero__visual > img { padding-inline: 0; }
  .ds-home-price { bottom: -.1rem; left: -4.75rem; min-width: 104px; padding: .55rem .65rem; }
  .ds-home-price strong { font-size: 1rem; }
  .ds-home-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem .65rem; }
  .ds-home-benefits li,
  .ds-home-benefits li:nth-child(odd) { grid-template-columns: 25px minmax(0, 1fr); align-items: start; }
  .ds-home-benefits li::before { width: 22px; height: 22px; border-width: 2px; font-size: .9rem; }
  .ds-home-benefits strong { font-size: .76rem; line-height: 1.2; }
  .ds-home-benefits li > span { display: none; }
  .ds-home-hero__content { padding-top: .65rem; }
  .ds-home-hero__lead-form { margin-top: .55rem !important; }
  .ds-home-hero__lead-form :where(input[type="tel"], input[type="text"]) { min-height: 70px; font-size: 1.05rem; }
  .ds-home-hero__offer { width: 100%; padding-inline: .55rem; font-size: .61rem; text-align: center; }
  .ds-home-hero__chat-title { font-size: .85rem; }
  .ds-home-hero__lead-form :where(input[type="submit"], button),
  .ds-home-hero__lead-form .wpcf7-form > p:has(input[type="submit"]) { width: 78%; min-width: 0; }
  .ds-home-promo { min-height: 0; padding-top: 2rem; }
  .ds-home-promo > .alignwide { grid-template-columns: 1fr; gap: 1rem; }
  .ds-home-promo h2,
  .ds-home-promo__content,
  .ds-home-promo__worker { grid-column: 1; grid-row: auto; }
  .ds-home-promo__worker { width: min(290px, 78vw); margin: 0 auto -1.25rem; }
}

/* Approved Gutenberg homepage composition, version 2. */
.ds-home-hero {
  padding: 0;
  background: var(--ds-home-paper);
}
.ds-home-hero__grid {
  width: 100%;
  max-width: none !important;
  min-height: 660px;
  display: grid;
  grid-template-columns: 57% 43%;
  grid-template-areas: none;
  gap: 0;
  overflow: hidden;
}
.ds-home-hero__copy {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 64px 72px 46px max(32px, calc((100vw - var(--ds-home-container)) / 2));
}
.ds-home-hero .ds-home-hero__grid .ds-home-hero__copy > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.ds-home-hero__bedbug {
  position: absolute;
  z-index: -1;
  top: -55px;
  left: -35px;
  width: 610px;
  height: 610px;
  object-fit: contain;
  opacity: .12;
  transform: rotate(10deg);
  transform-origin: center;
  pointer-events: none;
}
.ds-home-hero__copy > .ds-home-kicker {
  margin: 0 0 1rem;
  color: var(--ds-home-green);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ds-home-hero__copy > h1 {
  max-width: 870px;
  margin: 0 0 1.35rem;
  font-family: "Gotham Pro", Arial, sans-serif;
  font-size: clamp(3.1rem, 4.7vw, 5.75rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}
.ds-home-hero__copy > .ds-home-lead {
  max-width: 820px;
  margin: 0 0 1.8rem;
  color: var(--ds-home-copy);
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.55;
}
.ds-home-hero__lead-form {
  width: min(100%, 850px);
  margin: 0 !important;
  padding: 1.3rem;
  border: 1px solid var(--ds-home-line);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
}
.ds-home-hero__form-head {
  gap: .6rem 1rem;
  margin-bottom: .8rem;
}
.ds-home-hero__form-head p { margin: 0; font-size: .82rem; }
.ds-home-hero__form-head small { margin-left: .35rem; color: var(--ds-home-copy); font-weight: 400; }
.ds-home-hero__lead-form :where(.wpcf7-form, .preview-form) {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: .65rem;
  align-items: center;
}
.ds-home-hero__lead-form :where(.wpcf7-form, .preview-form) > p { margin: 0; }
.ds-home-hero__lead-form :where(input[type="tel"], input[type="text"]) {
  width: 100%;
  min-height: 54px;
  padding: .75rem 1rem;
  border: 1px solid #9eaaa7;
  border-radius: 12px;
  background: #fff;
  color: var(--ds-home-ink);
  font: inherit;
  letter-spacing: .04em;
}
.ds-home-hero__lead-form :where(input[type="submit"], button),
.ds-home-hero__lead-form .wpcf7-form > p:has(input[type="submit"]) {
  position: static;
  width: auto;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  justify-self: start;
}
.ds-home-hero__lead-form :where(input[type="submit"], button) {
  padding: .8rem 1.25rem;
  border: 1px solid var(--ds-home-yellow);
  border-radius: 12px;
  background: var(--ds-home-yellow);
  color: var(--ds-home-ink);
  font-weight: 500;
}
.ds-home-hero__form-foot { gap: .6rem 1rem; margin-top: .75rem; }
.ds-home-hero__lead-form .ds-home-consent { margin: 0; color: var(--ds-home-copy); font-size: .68rem; text-align: left; }
.ds-home-hero__messengers { display: flex; flex-wrap: wrap; gap: .5rem; }
.ds-home-hero__messengers a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .75rem;
  border: 1px solid var(--ds-home-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ds-home-ink);
  font-size: .72rem;
  text-decoration: none;
}
.ds-home-hero__messengers a::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: center / contain no-repeat;
}
.ds-home-hero__messengers .is-max::before {
  background-image: url("../images/messenger-max.svg");
}
.ds-home-hero__messengers .is-telegram::before {
  background-image: url("../images/messenger-telegram.svg");
}
.ds-home-hero__visual {
  position: relative;
  grid-area: auto;
  width: 100%;
  height: 660px;
  min-height: 660px;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--ds-home-yellow);
}
.ds-home-hero__visual::before,
.ds-home-hero__visual::after { content: none; }
.ds-home-hero__word {
  position: absolute;
  top: 54px;
  left: 50%;
  width: 100%;
  color: rgba(38,51,54,.12);
  font-family: "Gotham Pro", Arial, sans-serif;
  font-size: clamp(5.5rem, 7vw, 8rem);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.07em;
  text-align: center;
  transform: translateX(-50%);
}
.ds-home-hero__worker {
  position: absolute;
  z-index: 2;
  bottom: -8px;
  left: 50%;
  width: 100%;
  height: 645px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  transform: translateX(-50%);
}
.ds-home-hero__worker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
}
.ds-home-benefits { position: absolute; z-index: 4; inset: 0; display: block; margin: 0; padding: 0; pointer-events: none; }
.ds-home-benefits article {
  position: absolute;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: .65rem;
  width: 250px;
  margin: 0 !important;
  padding: .85rem 1rem;
  border: 1px solid rgba(38,51,54,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(38,51,54,.08);
}
.ds-home-benefits article p { margin: 0; }
.ds-home-benefit__icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf4ec;
  color: var(--ds-home-green);
  font-weight: 600;
}
.ds-home-benefits strong { color: var(--ds-home-ink); font-size: .82rem; font-weight: 500; line-height: 1.2; }
.ds-home-benefits small { margin-top: .18rem; color: var(--ds-home-copy); font-size: .62rem; line-height: 1.3; }
.ds-home-benefits .is-time { top: 132px; left: 18px; }
.ds-home-benefits .is-warranty { top: 244px; right: 18px; left: auto !important; }
.ds-home-benefits .is-price { bottom: 78px; left: 38px; }
.ds-home-benefits .is-license { right: 26px; bottom: 44px; left: auto !important; }

.ds-home-promo { min-height: 560px; padding: 0; background: var(--ds-home-yellow); }
.ds-home-promo__grid {
  min-height: 560px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(580px, 680px);
  gap: 0;
  align-items: end;
}
.ds-home-promo__copy { align-self: center; padding: 4.5rem 0; }
.ds-home-promo__note {
  display: inline-block;
  width: max-content;
  margin: 0 0 1rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: #fff;
  font-size: .7rem;
  font-weight: 500;
}
.ds-home-promo h2 { max-width: 18ch; margin: 0 0 1.5rem; font-size: clamp(2.6rem, 4vw, 4.3rem); line-height: .98; }
.ds-home-promo__copy > p:not(.ds-home-promo__note) { max-width: 760px; margin: 0; font-size: 1.05rem; }
.ds-home-promo__actions { gap: 1rem; align-items: center; margin-top: 1.5rem; }
.ds-home-promo__actions p { margin: 0; }
.ds-home-promo__actions p a { color: var(--ds-home-ink); font-size: clamp(1.35rem, 2vw, 1.9rem); text-decoration: none; }
.ds-home-promo__actions .wp-block-button__link { background: var(--ds-home-ink); border-color: var(--ds-home-ink); color: #fff; }
.ds-home-promo__worker {
  display: flex;
  align-self: end;
  justify-content: flex-end;
  width: 100%;
  height: 560px;
  margin: 0;
  overflow: visible;
}
.ds-home-promo__worker img {
  display: block;
  width: 125%;
  max-width: none;
  height: calc(100% - 20px);
  margin-top: 20px;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 1100px) {
  .ds-home-hero__grid { grid-template-columns: 1fr; }
  .ds-home-hero__copy { padding: 3rem 2.25rem 2.6rem; }
  .ds-home-hero__bedbug { top: -45px; left: -30px; width: 500px; height: 500px; }
  .ds-home-hero__visual { height: 610px; min-height: 610px; }
  .ds-home-hero__worker { height: 600px; }
  .ds-home-benefits .is-time { top: 100px; left: 36px; }
  .ds-home-benefits .is-warranty { top: 208px; right: 36px; }
  .ds-home-benefits .is-price { bottom: 102px; left: 54px; }
  .ds-home-benefits .is-license { right: 52px; bottom: 52px; }
  .ds-home-promo__grid { grid-template-columns: minmax(0,1fr) 360px; }
  .ds-home-promo__worker { height: 500px; overflow: hidden; justify-content: center; }
  .ds-home-promo__worker img { width: 112%; height: calc(100% - 16px); margin-top: 16px; }
}

@media (max-width: 680px) {
  .ds-home-hero__copy { padding: 2.25rem 1rem 1.8rem; }
  .ds-home-hero__bedbug { top: 85px; left: -75px; width: 330px; height: 330px; opacity: .1; }
  .ds-home-hero__copy > h1 { font-size: clamp(2.35rem, 11vw, 3.4rem); }
  .ds-home-hero__copy > .ds-home-lead { font-size: .94rem; }
  .ds-home-hero__lead-form { padding: .9rem; }
  .ds-home-hero__form-head > p:last-child { display: none; }
  .ds-home-hero__lead-form :where(.wpcf7-form, .preview-form) { grid-template-columns: 1fr; }
  .ds-home-hero__lead-form :where(input[type="submit"], button),
  .ds-home-hero__lead-form .wpcf7-form > p:has(input[type="submit"]) { width: auto; justify-self: start; }
  .ds-home-hero__form-foot { justify-content: flex-start !important; }
  .ds-home-hero__visual { height: 560px; min-height: 560px; }
  .ds-home-hero__word { top: 28px; font-size: 4rem; }
  .ds-home-hero__worker { height: 390px; }
  .ds-home-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; align-content: start; padding: 1rem; }
  .ds-home-benefits article { position: static; width: auto; min-height: 76px; padding: .7rem; }
  .ds-home-benefits small { display: none; }
  .ds-home-promo__grid { grid-template-columns: 1fr; }
  .ds-home-promo__copy { padding: 2.8rem 0 0; }
  .ds-home-promo h2 { font-size: 2.25rem; }
  .ds-home-promo__worker { height: 340px; }
  .ds-home-promo__worker img { width: 116%; height: calc(100% - 14px); margin-top: 14px; }
}

/* Two-level header used by the approved homepage. */
.ds-site-header {
  background: #fff;
  border: 0;
  box-shadow: none;
}
.ds-site-header .ds-header-main {
  position: relative;
  width: var(--ds-site-content-width);
  margin-inline: auto;
  min-height: 148px;
  display: grid;
  grid-template-columns: auto auto minmax(180px, 1fr) auto auto;
  grid-template-rows: 92px 56px;
  gap: 0 2rem;
  align-items: center;
  background: #fff;
  color: var(--ds-home-ink);
}
.ds-site-header .ds-header-main::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 50%;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 56px;
  background: var(--ds-home-ink);
  transform: translateX(-50%);
}
.ds-site-header .ds-brand-lockup { grid-column: 1; grid-row: 1; min-width: 220px; }
.ds-site-header .ds-brand-lockup .custom-logo { width: 220px; height: auto; content: normal; }
.ds-site-header .ds-brand-lockup .wp-block-site-title a { color: var(--ds-home-ink); }
.ds-site-header .ds-header-region {
  grid-column: 2;
  grid-row: 1;
  display: block !important;
  color: var(--ds-home-copy);
  font-size: .72rem;
  line-height: 1.35;
}
.ds-site-header .ds-header-region strong,
.ds-site-header .ds-header-region span { display: block; }
.ds-site-header .ds-header-region strong { color: var(--ds-home-ink); font-size: .8rem; }
.ds-site-header .ds-header-region a { display: block; margin-top: .15rem; color: var(--ds-home-green); }
.ds-site-header .ds-header-controls {
  grid-column: 4 / -1;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ds-site-header .ds-header-contact { order: 0; display: block; margin: 0; }
.ds-site-header .ds-header-email { display: none !important; }
.ds-site-header .ds-header-phone { display: flex; align-items: center; gap: .75rem; color: var(--ds-home-ink); text-decoration: none; }
.ds-site-header .ds-header-phone__icon { width: 42px; height: 42px; flex-basis: 42px; background: var(--ds-home-yellow); }
.ds-site-header .ds-header-phone__number { display: block; color: var(--ds-home-ink); font-size: 1.3rem; }
.ds-site-header .ds-header-phone small { display: block; color: var(--ds-home-copy); font-size: .68rem; }
.ds-site-header .ds-header-actions { display: flex !important; }
.ds-site-header .ds-header-actions .wp-block-button:nth-child(2) { display: none; }
.ds-site-header .ds-main-navigation {
  z-index: 2;
  grid-column: 1 / 5;
  grid-row: 2;
  align-self: stretch;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
}
.ds-site-header .ds-header-social {
  z-index: 2;
  grid-column: 5;
  grid-row: 2;
  display: flex !important;
  justify-self: end;
  gap: .55rem;
}
.ds-site-header .ds-header-social a {
  width: auto;
  height: auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .45rem .78rem;
  border: 1px solid #59686b;
  border-radius: 999px;
  background-color: transparent;
  color: #fff;
  font-size: .7rem;
  line-height: 1;
  white-space: nowrap;
}
.ds-site-header .ds-header-social a::before { width: 15px; height: 15px; flex: 0 0 15px; }
.ds-site-header .ds-header-social a span { display: inline; }
.ds-site-header .ds-header-social .is-telegram::before { color: #2aabee; }
.ds-site-header .ds-header-social .is-email::before { color: var(--ds-home-yellow); }
.ds-site-header .ds-header-social .is-telegram:hover { border-color: rgba(42, 171, 238, .75); background: rgba(42, 171, 238, .1); }
.ds-site-header .ds-header-social .is-email:hover { border-color: rgba(255, 182, 0, .75); background: rgba(255, 182, 0, .1); }
.ds-site-header .ds-main-navigation > .wp-block-navigation__responsive-container,
.ds-site-header .ds-main-navigation > .wp-block-navigation__responsive-container > .wp-block-navigation__responsive-close,
.ds-site-header .ds-main-navigation > .wp-block-navigation__responsive-container > .wp-block-navigation__responsive-close > .wp-block-navigation__responsive-dialog,
.ds-site-header .ds-main-navigation > .wp-block-navigation__responsive-container > .wp-block-navigation__responsive-close > .wp-block-navigation__responsive-dialog > .wp-block-navigation__responsive-container-content { width: 100%; }
.ds-site-header .ds-main-navigation > .wp-block-navigation__responsive-container > .wp-block-navigation__responsive-close > .wp-block-navigation__responsive-dialog > .wp-block-navigation__responsive-container-content > .wp-block-navigation__container,
.ds-site-header .ds-main-navigation > .wp-block-navigation__container { justify-content: flex-start !important; }
.ds-site-header .ds-main-navigation > :where(.wp-block-navigation__container, .wp-block-navigation__responsive-container) .wp-block-navigation-item__content { color: #fff; }
.ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container,
.ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container { top: 148px !important; }

@media (max-width: 1220px) {
  .ds-site-header .ds-header-main { grid-template-columns: auto minmax(0,1fr) auto auto; gap: 0 1rem; }
  .ds-site-header .ds-header-region { display: none !important; }
  .ds-site-header .ds-header-controls { grid-column: 3 / -1; }
  .ds-site-header .ds-main-navigation { grid-column: 1 / 4; }
  .ds-site-header .ds-header-social { grid-column: 4; }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .ds-site-header .ds-header-social a { width: 36px; padding-inline: 0; }
  .ds-site-header .ds-header-social a span { display: none; }
}

@media (max-width: 900px) {
  .ds-site-header .ds-header-main {
    min-height: 124px;
    grid-template-columns: auto minmax(0,1fr);
    grid-template-rows: 76px 48px;
    padding: 0;
  }
  .ds-site-header .ds-header-main::before { height: 48px; }
  .ds-site-header .ds-brand-lockup { grid-column: 1; grid-row: 1; min-width: 0; }
  .ds-site-header .ds-brand-lockup .custom-logo { width: 150px; }
  .ds-site-header .ds-header-controls { display: contents; }
  .ds-site-header .ds-header-contact { grid-column: 2; grid-row: 1; justify-self: end; }
  .ds-site-header .ds-header-phone__icon { width: 34px; height: 34px; flex-basis: 34px; }
  .ds-site-header .ds-header-phone__number { font-size: .82rem; }
  .ds-site-header .ds-header-phone small,
  .ds-site-header .ds-header-actions,
  .ds-site-header .ds-header-social { display: none !important; }
  .ds-site-header .ds-main-navigation { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; }
  .ds-site-header .ds-main-navigation > .wp-block-navigation__container { width: max-content; min-width: 100%; justify-content: flex-start; }
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container { top: 124px !important; }
}

/* Remove Gutenberg's template gaps: the approved sections touch edge to edge. */
body.home .wp-site-blocks > *,
body.home .ds-main > *,
.wp-site-blocks > .ds-main--bedbugs,
.ds-main--bedbugs > *,
.ds-bedbug-content > :not(.ds-page-nav) { margin-block-start: 0 !important; }

.ds-bedbug-content { width: 100%; max-width: none !important; }
.ds-bedbug-content > .ds-page-nav--wide {
  width: min(var(--ds-home-container), calc(100% - 2 * clamp(1rem, 4vw, 2rem)));
}

/* Stable promo composition: old Gutenberg layout rules must not collapse it at tablet widths. */
.ds-home-promo > .ds-home-promo__grid {
  width: min(var(--ds-home-container), calc(100% - 64px));
  max-width: var(--ds-home-container) !important;
  min-height: 560px;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr) !important;
  gap: clamp(1.5rem, 4vw, 5rem) !important;
  align-items: stretch;
}
.ds-home-promo > .ds-home-promo__grid > .ds-home-promo__copy {
  min-width: 0;
  align-self: center;
  padding: 3.5rem 0;
}
.ds-home-promo > .ds-home-promo__grid > .ds-home-promo__copy > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.ds-home-promo > .ds-home-promo__grid .ds-home-promo__copy h2 {
  max-width: 18ch;
  font-size: clamp(2.65rem, 4vw, 4.35rem);
  line-height: .98;
}
.ds-home-promo > .ds-home-promo__grid > .ds-home-promo__worker {
  min-width: 0;
  width: 100%;
  height: 560px;
  margin: 0;
  align-self: end;
  justify-self: stretch;
  overflow: visible;
}
.ds-home-promo > .ds-home-promo__grid > .ds-home-promo__worker img {
  width: 112%;
  max-width: none;
  height: calc(100% - 18px);
  margin: 18px 0 0 -6%;
  object-fit: contain;
  object-position: center bottom;
}

/* Subtle transparent visual layer from the approved concept. */
.ds-home-section--prices,
.ds-home-section--process,
.ds-home-section--faq { position: relative; isolation: isolate; overflow: hidden; }
.ds-home-section--prices > *,
.ds-home-section--process > *,
.ds-home-section--faq > * { position: relative; z-index: 1; }
.ds-home-section--prices::before,
.ds-home-section--process::before,
.ds-home-section--faq::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(280px, 34vw, 620px);
  aspect-ratio: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.ds-home-section--prices::before {
  top: -150px;
  right: -120px;
  background-image: url("../images/pests/bed-bug-cutout-v2.webp");
  filter: grayscale(1) brightness(2.25);
  opacity: .075;
  transform: rotate(-12deg);
}
.ds-home-section--process::before {
  bottom: -210px;
  left: -140px;
  background-image: url("../images/pests/ixodid-tick-cutout-v2.webp");
  filter: grayscale(1);
  opacity: .055;
  transform: rotate(16deg);
}
.ds-home-section--faq::before {
  top: -140px;
  right: -110px;
  background-image: url("../images/pests/cockroach-cutout-v2.webp");
  filter: grayscale(1);
  opacity: .05;
  transform: rotate(-18deg);
}

@media (max-width: 1100px) {
  .ds-home-promo > .ds-home-promo__grid {
    width: calc(100% - 48px);
    min-height: 520px;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr) !important;
    gap: 1.5rem !important;
  }
  .ds-home-promo > .ds-home-promo__grid .ds-home-promo__copy h2 { font-size: clamp(2.4rem, 4.8vw, 3.65rem); }
  .ds-home-promo > .ds-home-promo__grid > .ds-home-promo__worker { height: 520px; }
}

@media (max-width: 720px) {
  .ds-home-promo > .ds-home-promo__grid {
    width: calc(100% - 32px);
    min-height: 0;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .ds-home-promo > .ds-home-promo__grid > .ds-home-promo__copy { padding: 2.5rem 0 1rem; }
  .ds-home-promo > .ds-home-promo__grid .ds-home-promo__copy h2 { max-width: 15ch; font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .ds-home-promo > .ds-home-promo__grid > .ds-home-promo__worker { grid-column: 1 !important; grid-row: auto !important; width: 100%; height: 390px; margin: 0 !important; }
  .ds-home-promo > .ds-home-promo__grid > .ds-home-promo__worker img { width: 118%; height: 100%; margin: 0 0 0 -9%; }
}

/* Polished services mega-menu: compact cards instead of detached link columns. */
@media (min-width: 782px) {
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container {
    width: min(1420px, calc(100vw - 2rem)) !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: .85rem !important;
    padding: 1rem !important;
    border: 1px solid rgba(38, 51, 54, .09) !important;
    border-radius: 0 0 24px 24px !important;
    background: rgba(246, 248, 245, .985) !important;
    box-shadow: 0 24px 64px rgba(23, 38, 43, .2) !important;
  }
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container > .ds-nav-card,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container > .ds-nav-card {
    min-height: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: .45rem !important;
    padding: 1.15rem !important;
    border: 1px solid #dde4e1 !important;
    border-radius: 17px !important;
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 10px 26px rgba(38, 51, 54, .06) !important;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container > .ds-nav-card:hover,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container > .ds-nav-card:focus-within {
    border-color: rgba(255, 182, 0, .65) !important;
    box-shadow: 0 15px 34px rgba(38, 51, 54, .1) !important;
  }
  .ds-site-header .ds-nav-services .ds-nav-card > .wp-block-navigation-item__content {
    width: 100%;
    box-sizing: border-box;
    min-height: calc(36px + .8rem + 1px);
    height: auto !important;
    flex: 0 0 auto !important;
    padding: 0 0 .8rem !important;
    border-bottom: 1px solid #e5eae8;
    font-size: .96rem !important;
    font-weight: 600 !important;
    line-height: 1.22;
  }
  .ds-site-header .ds-nav-services .ds-nav-card > .wp-block-navigation__submenu-icon { display: none !important; }
  .ds-site-header .ds-nav-services:hover .ds-nav-card > .wp-block-navigation__submenu-container,
  .ds-site-header .ds-nav-services:focus-within .ds-nav-card > .wp-block-navigation__submenu-container {
    flex: 0 0 auto;
    align-content: start;
    gap: .08rem !important;
    margin: 0 !important;
    padding: .1rem 0 0 !important;
  }
  .ds-site-header .ds-nav-services .ds-nav-card .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    position: relative;
    width: 100%;
    gap: .55rem;
    padding: .42rem .5rem .42rem .1rem !important;
    border-radius: 8px;
    color: #52666e !important;
    font-size: .75rem !important;
    line-height: 1.32;
    transition: background-color .18s ease, color .18s ease;
  }
  .ds-site-header .ds-nav-services .ds-nav-card .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    background: rgba(255, 182, 0, .12);
    color: var(--ds-home-ink) !important;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 781px) {
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container.is-menu-open .ds-nav-card {
    padding: 1rem !important;
    border-radius: 15px !important;
    background: #fff !important;
  }
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container.is-menu-open .ds-nav-card > .wp-block-navigation-item__content {
    padding-bottom: .7rem;
    border-bottom: 1px solid #e5eae8;
  }
}

/* Final mega-menu: two columns by two rows, with visible nested links and icons. */
.ds-site-header { z-index: 200; isolation: isolate; }
@media (min-width: 782px) {
.ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container,
.ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container {
  z-index: 300;
  height: auto !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 1.6rem clamp(2rem, 6vw, 6rem) !important;
  background: #fff !important;
  isolation: isolate;
}
.ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container > .ds-nav-card,
.ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container > .ds-nav-card {
  height: auto !important;
  align-self: start;
  overflow: visible !important;
}
.ds-site-header .ds-nav-services:hover .ds-nav-card > .wp-block-navigation__submenu-container,
.ds-site-header .ds-nav-services:focus-within .ds-nav-card > .wp-block-navigation__submenu-container {
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  display: grid !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.ds-site-header .ds-nav-services:hover .ds-nav-card > .wp-block-navigation__submenu-container > .wp-block-navigation-item,
.ds-site-header .ds-nav-services:focus-within .ds-nav-card > .wp-block-navigation__submenu-container > .wp-block-navigation-item {
  position: static !important;
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}
}

/* Compact treatment variants: one clear heading, three equal choices and no dead space. */
.ds-home-section--prices .ds-home-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-top: 0;
  border: 0;
}
.ds-home-section--prices .ds-home-methods > h3 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  line-height: 1.08;
}
.ds-home-section--prices .ds-home-methods__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}
.ds-home-section--prices .ds-home-methods__list > p {
  min-height: 100%;
  margin: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 0;
  border-radius: 16px;
  background: var(--ds-home-white);
  box-shadow: 0 12px 32px rgba(38, 51, 54, .065);
  line-height: 1.58;
}
.ds-home-section--prices .ds-home-methods__list strong {
  display: block;
  margin-bottom: .65rem;
  color: var(--ds-home-ink);
  font-size: 1.02rem;
  line-height: 1.35;
}
.ds-home-section--prices .ds-home-methods > p,
.ds-home-section--prices .ds-home-methods > .wp-block-buttons {
  grid-column: auto;
  margin: 0;
}
.ds-home-section--prices .ds-home-methods > p {
  max-width: 82ch;
  padding-top: .2rem;
  line-height: 1.6;
}
.ds-home-section--prices .ds-home-methods > .wp-block-buttons { margin-top: .15rem; }

@media (max-width: 1050px) {
  .ds-home-section--prices .ds-home-methods__list { grid-template-columns: 1fr; }
}

/* Promo worker: fill the right side without stretching or cropping the cutout. */
@media (min-width: 1101px) {
  .ds-home-promo { padding-block: 0; }
  .ds-home-promo > .ds-home-promo__grid { min-height: 640px; }
  .ds-home-promo > .ds-home-promo__grid > .ds-home-promo__worker { height: 640px; }
  .ds-home-promo > .ds-home-promo__grid > .ds-home-promo__worker img {
    width: 118%;
    max-height: none;
    height: calc(100% - 8px);
    margin: 8px 0 0 -9%;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .ds-home-promo { padding-block: 0; }
  .ds-home-promo > .ds-home-promo__grid { min-height: 560px; }
  .ds-home-promo > .ds-home-promo__grid > .ds-home-promo__worker { height: 560px; }
  .ds-home-promo > .ds-home-promo__grid > .ds-home-promo__worker img {
    width: 116%;
    max-height: none;
    height: calc(100% - 10px);
    margin: 10px 0 0 -8%;
  }
}

/* Three-panel process flow based on the approved reference. */
.ds-process-panels {
  max-width: var(--ds-home-container) !important;
  display: grid;
  grid-template-columns: minmax(0, .9fr) 54px minmax(0, 1.15fr) 54px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 0 !important;
}
.ds-process-panel {
  position: relative;
  min-width: 0;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border-radius: 20px;
  background: #8d8e8e;
  color: #fff;
  box-shadow: 0 18px 48px rgba(38, 51, 54, .12);
}
.ds-process-panel--request,
.ds-process-panel--work { background: #3f4a4d; }
.ds-process-panel--result { background: var(--ds-home-yellow); color: var(--ds-home-ink); }
.ds-process-panel__number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  background: var(--ds-home-yellow);
  color: var(--ds-home-ink);
  font-size: 1.25rem;
  font-weight: 500;
}
.ds-process-panel--result .ds-process-panel__number { background: var(--ds-home-ink); color: #fff; }
.ds-process-panel__eyebrow {
  margin: 0 0 .75rem;
  color: inherit;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.ds-process-panel h3 {
  margin: 0 0 1rem;
  color: inherit;
  font-family: "Gotham Pro", Arial, sans-serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
}
.ds-process-panel > p:not(.ds-process-panel__eyebrow) { margin: 0 0 1rem; color: inherit; line-height: 1.5; }
.ds-process-panel__phone { margin: .4rem 0 1rem; color: #fff; font-size: clamp(1.25rem, 1.8vw, 1.65rem); font-weight: 500; text-decoration: none; }
.ds-process-panel__button {
  align-self: flex-start;
  margin-top: .25rem;
  padding: .8rem 1rem;
  border-radius: 12px;
  background: var(--ds-home-yellow);
  color: var(--ds-home-ink);
  font-weight: 500;
  text-decoration: none;
}
.ds-process-panel__form { display: grid; gap: 1rem; margin-top: .15rem; }
.ds-process-panel__form > input {
  width: 100%;
  min-height: 62px;
  box-sizing: border-box;
  padding: 0 1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: linear-gradient(135deg, #192225, #323b3e);
  color: #fff;
  font: inherit;
  font-size: 1.08rem;
  box-shadow: inset 0 0 22px rgba(255,255,255,.04);
}
.ds-process-panel__form > input::placeholder { color: rgba(255,255,255,.84); }
.ds-process-panel__form fieldset { display: grid; gap: .6rem; margin: 0; padding: 0; border: 0; }
.ds-process-panel__form legend { margin-bottom: .7rem; color: #fff; font-weight: 500; }
.ds-process-panel__form fieldset label { display: flex; align-items: center; gap: .65rem; cursor: pointer; }
.ds-process-panel__form fieldset input {
  width: 24px;
  height: 24px;
  margin: 0;
  appearance: none;
  border: 3px solid #fff;
  border-radius: 3px;
  background: transparent;
}
.ds-process-panel__form fieldset input:checked { background: var(--ds-home-yellow); box-shadow: inset 0 0 0 4px #3f4a4d; }
.ds-process-panel__consent { display: grid; grid-template-columns: 18px 1fr; gap: .55rem; align-items: start; color: rgba(255,255,255,.78); font-size: .69rem; line-height: 1.35; }
.ds-process-panel__consent input { width: 16px; height: 16px; margin: .1rem 0 0; accent-color: var(--ds-home-yellow); }
.ds-process-panel__consent a { color: #fff; text-underline-offset: 2px; }
.ds-process-panel__form button {
  justify-self: start;
  min-height: 48px;
  padding: .75rem 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--ds-home-yellow);
  color: var(--ds-home-ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.ds-process-panel__chat-title { margin: 1.1rem 0 .25rem !important; font-size: .95rem; }
.ds-process-panel__contacts { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 0; padding-top: .35rem; }
.ds-process-panel__contacts a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  text-decoration: none;
}
.ds-process-panel__contacts a::before { content: ""; width: 14px; height: 14px; flex: 0 0 14px; background: currentColor; }
.ds-process-panel__contacts .is-max::before { display: none; }
.ds-process-panel__contacts .is-max svg { width: 15px; height: 15px; flex: 0 0 15px; fill: #8a62ff; }
.ds-process-panel__contacts .is-telegram::before { color: #2aabee; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m21.8 3.4-3.3 16.6c-.2 1.1-.9 1.4-1.8.9l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5.1 9.3-8.4c.4-.4-.1-.6-.6-.2L5.9 13.5 1 12c-1.1-.3-1.1-1.1.2-1.6L20.3 3c.9-.3 1.7.2 1.5.4Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m21.8 3.4-3.3 16.6c-.2 1.1-.9 1.4-1.8.9l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5.1 9.3-8.4c.4-.4-.1-.6-.6-.2L5.9 13.5 1 12c-1.1-.3-1.1-1.1.2-1.6L20.3 3c.9-.3 1.7.2 1.5.4Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ds-process-panel__contacts .is-email::before { color: var(--ds-home-yellow); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm9 7 8-5H4l8 5Zm0 2.3L3 8.7V17h18V8.7l-9 5.6Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm9 7 8-5H4l8 5Zm0 2.3L3 8.7V17h18V8.7l-9 5.6Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ds-process-panel__intro { padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.2); }
.ds-process-panel__steps { display: grid; gap: 1.1rem; margin: .3rem 0 0; padding: 0; list-style: none; counter-reset: process-step 1; }
.ds-process-panel__steps li { counter-increment: process-step; position: relative; padding-left: 2.8rem; }
.ds-process-panel__steps li::before { content: counter(process-step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ds-home-yellow); color: var(--ds-home-ink); font-weight: 500; }
.ds-process-panel__steps strong,
.ds-process-panel__steps span { display: block; }
.ds-process-panel__steps strong { margin-bottom: .25rem; color: #fff; }
.ds-process-panel__steps span { color: #edf2f1; font-size: .91rem; line-height: 1.45; }
.ds-process-panel__notice { margin-top: auto !important; padding: 1rem; border-radius: 12px; background: rgba(38, 51, 54, .1); }
.ds-process-panel__text-link { align-self: flex-start; color: var(--ds-home-ink); font-weight: 500; }
.ds-process-panels__arrow { align-self: center; display: grid; place-items: center; color: var(--ds-home-ink); font-size: 3rem; line-height: 1; }

@media (max-width: 1100px) {
  .ds-process-panels { grid-template-columns: 1fr 42px 1.15fr 42px 1fr; gap: .6rem; }
  .ds-process-panel { min-height: 560px; padding: 1.35rem; }
  .ds-process-panels__arrow { font-size: 2.2rem; }
}

@media (max-width: 820px) {
  .ds-process-panels { grid-template-columns: 1fr; gap: .8rem; }
  .ds-process-panel { min-height: 0; }
  .ds-process-panels__arrow { transform: rotate(90deg); font-size: 2rem; }
}

/* MAX joins the header as a branded contact, alongside Telegram and mail. */
.ds-site-header .ds-header-social .is-max::before { display: none; }
.ds-site-header .ds-header-social .is-max svg { width: 16px; height: 16px; flex: 0 0 16px; }
.ds-site-header .ds-header-social .is-max:hover { border-color: rgba(138, 98, 255, .8); background: rgba(138, 98, 255, .12); }

/* Two visual notes below the process panels. */
.ds-process-notes {
  max-width: var(--ds-home-container) !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem !important;
}
.ds-process-note {
  min-width: 0;
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border-radius: 18px;
  background: var(--ds-home-white);
  box-shadow: 0 14px 40px rgba(38, 51, 54, .08);
}
.ds-process-note--warning { background: #fff; color: #111; }
.ds-process-note figure { min-height: 190px; margin: 0; overflow: hidden; }
.ds-process-note img { width: 100%; height: 100%; object-fit: cover; }
.ds-process-note > div { align-self: center; padding: clamp(1.25rem, 2vw, 1.75rem); }
.ds-process-note span { display: block; margin-bottom: .6rem; color: var(--ds-home-green); font-size: .72rem; font-weight: 500; letter-spacing: .075em; text-transform: uppercase; }
.ds-process-note--warning span { display: flex; align-items: center; gap: .55rem; color: #111; }
.ds-process-note--warning span::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: #111;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2Zm0 5.5c.7 0 1.2.5 1.2 1.2v5.2c0 .7-.5 1.2-1.2 1.2s-1.2-.5-1.2-1.2V8.7c0-.7.5-1.2 1.2-1.2Zm0 10.9a1.35 1.35 0 1 1 0-2.7 1.35 1.35 0 0 1 0 2.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2Zm0 5.5c.7 0 1.2.5 1.2 1.2v5.2c0 .7-.5 1.2-1.2 1.2s-1.2-.5-1.2-1.2V8.7c0-.7.5-1.2 1.2-1.2Zm0 10.9a1.35 1.35 0 1 1 0-2.7 1.35 1.35 0 0 1 0 2.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ds-process-note p { margin: 0; color: var(--ds-home-ink); line-height: 1.55; }

/* Background specimens follow the approved concept: large, sparse and clipped by section edges. */
.ds-pest-services { position: relative; isolation: isolate; overflow: hidden; }
.ds-pest-services > * { position: relative; z-index: 1; }
.ds-pest-services::before,
.ds-pest-services::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(250px, 28vw, 430px);
  aspect-ratio: 1;
  background: center / contain no-repeat;
  opacity: .08;
  pointer-events: none;
}
.ds-pest-services::before { top: -90px; right: -70px; background-image: url("../images/pests/bed-bug-cutout-v2.webp"); transform: rotate(12deg); }
.ds-pest-services::after { left: -80px; bottom: -120px; background-image: url("../images/pests/clothes-moth-cutout-v2.webp"); transform: rotate(-11deg); }
body:not(.home) main {
  background-color: var(--ds-home-paper);
  background-image: linear-gradient(rgba(246, 248, 245, .94), rgba(246, 248, 245, .94)), url("../images/pests/bed-bug-cutout-v2.webp");
  background-position: center, right -120px top 180px;
  background-repeat: no-repeat;
  background-size: auto, clamp(320px, 34vw, 620px);
}

@media (max-width: 900px) {
  .ds-process-notes { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .ds-process-note { grid-template-columns: 1fr; }
  .ds-process-note figure { min-height: 180px; }
}

/* Keep proof cards readable even when WordPress layout classes add flex rules. */
.ds-home-benefits article {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  grid-template-rows: auto auto;
}
.ds-home-benefits article > .ds-home-benefit__icon {
  grid-column: 1;
  grid-row: 1 / 3;
}
.ds-home-benefits article > p:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
  width: 100% !important;
  min-width: 0;
}
.ds-home-benefits article > p:nth-of-type(3) {
  grid-column: 2;
  grid-row: 2;
  width: 100% !important;
  min-width: 0;
}
.ds-home-benefits article strong,
.ds-home-benefits article small {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

@media (max-width: 900px) {
  .ds-home-hero__visual { height: 610px; min-height: 610px; }
  .ds-home-hero__worker { bottom: 0; height: 410px; }
  .ds-home-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    align-content: start;
    padding: 1rem;
  }
  .ds-home-benefits article {
    position: static !important;
    width: auto !important;
    min-width: 0;
    min-height: 78px;
    padding: .75rem .8rem;
  }
}

@media (max-width: 560px) {
  .ds-home-hero__visual { height: 560px; min-height: 560px; }
  .ds-home-hero__worker { height: 340px; }
  .ds-home-benefits { gap: .5rem; padding: .75rem; }
  .ds-home-benefits article { grid-template-columns: 26px minmax(0, 1fr) !important; min-height: 68px; padding: .6rem; }
  .ds-home-benefits article small { display: none; }
  .ds-home-benefits article strong { font-size: .74rem; line-height: 1.25; }
}

/* Real equipment underlay from the approved visual language. */
.ds-home-section--prices,
.ds-home-section--reasons,
.ds-home-section--preparation,
.ds-home-section--inspection,
.ds-home-section--resources,
.ds-home-section--reviews {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.ds-home-section--prices > *,
.ds-home-section--reasons > *,
.ds-home-section--preparation > *,
.ds-home-section--inspection > *,
.ds-home-section--resources > *,
.ds-home-section--reviews > * { position: relative; z-index: 1; }
.ds-home-section--prices::after,
.ds-home-section--reasons::after,
.ds-home-section--preparation::after,
.ds-home-section--inspection::after,
.ds-home-section--resources::after,
.ds-home-section--reviews::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -55px -80px;
  background: url("../images/equipment-underlay-v2.webp") center / min(1800px, 128vw) auto no-repeat;
  opacity: .045;
  pointer-events: none;
}
.ds-home-section--reasons::after,
.ds-home-section--inspection::after,
.ds-home-section--reviews::after { transform: scaleX(-1); }

@media (max-width: 680px) {
  .ds-home-section--prices::after,
  .ds-home-section--reasons::after,
  .ds-home-section--preparation::after,
  .ds-home-section--inspection::after,
  .ds-home-section--resources::after,
  .ds-home-section--reviews::after {
    inset: -20px -280px;
    background-size: 940px auto;
    opacity: .035;
  }
}

/* 3.0.8 — stable responsive composition, glass surfaces and pest-first calculator. */
.ds-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ds-home-paper);
}
.ds-home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: min(57%, calc(50% + 134px));
  background: var(--ds-home-yellow);
  pointer-events: none;
}
.ds-home-hero__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1920px !important;
  margin-inline: auto;
}
.ds-home-hero__copy {
  padding-left: clamp(32px, calc((100vw - var(--ds-home-container)) / 2), 140px);
}
.ds-home-hero__bedbug {
  left: clamp(-35px, calc((100vw - var(--ds-home-container)) / 2 - 150px), 65px);
}

/* Translucent surfaces retain the illustrated equipment and specimen underlays. */
.ds-home-price-table,
.ds-price-calculator,
.ds-home-methods__list p,
.ds-home-reason,
.ds-home-review,
.ds-home-faq details,
.ds-process-note,
.ds-home-hero__lead-form,
.ds-home-benefits article {
  background-color: rgba(255, 255, 255, .84) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.ds-home-price-table,
.ds-price-calculator {
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 18px 50px rgba(38, 51, 54, .09);
}

.ds-price-calculator {
  grid-template-columns: minmax(230px, .48fr) minmax(0, 1.52fr);
  gap: clamp(1.5rem, 3vw, 3.25rem);
  overflow: hidden;
}
.ds-price-calculator__form {
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  align-items: stretch;
}
.ds-price-calculator__pests {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0 0 .35rem;
  padding: 0;
  border: 0;
}
.ds-price-calculator__pests legend,
.ds-price-calculator__step {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .75rem;
  color: var(--ds-home-ink);
  font-size: .9rem;
  font-weight: 500;
}
.ds-price-calculator__pests legend span,
.ds-price-calculator__step span {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 26px;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: var(--ds-home-yellow);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ds-price-calculator__pest-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(76px, 1fr));
  gap: .55rem;
}
.ds-price-calculator__pest-grid label {
  position: relative;
  min-width: 0;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .6rem .4rem;
  border: 1px solid rgba(38, 51, 54, .1);
  border-radius: 15px;
  background: rgba(246, 248, 245, .72);
  color: var(--ds-home-ink);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ds-price-calculator__pest-grid label:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 182, 0, .9);
  box-shadow: 0 10px 22px rgba(38, 51, 54, .08);
}
.ds-price-calculator__pest-grid input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}
.ds-price-calculator__pest-grid label:has(input:checked) {
  border-color: var(--ds-home-yellow);
  background: rgba(255, 182, 0, .16);
  box-shadow: inset 0 0 0 1px var(--ds-home-yellow), 0 10px 24px rgba(38, 51, 54, .08);
}
.ds-price-calculator__pest-grid label:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: .45rem;
  right: .45rem;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ds-home-green);
  color: #fff;
  font-size: .72rem;
}
.ds-price-calculator__pest-grid label:has(input:focus-visible) {
  outline: 3px solid rgba(255, 182, 0, .45);
  outline-offset: 2px;
}
.ds-price-calculator__pest-media {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: visible;
  border-radius: 50%;
  background: var(--ds-home-yellow);
}
.ds-price-calculator__pest-media img {
  width: 78px;
  height: 78px;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px rgba(38, 51, 54, .18));
}
.ds-price-calculator__pest-grid strong {
  max-width: 100%;
  font-size: .67rem;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}
.ds-price-calculator__fields {
  align-content: stretch;
  padding: 1rem;
  border: 1px solid rgba(38, 51, 54, .08);
  border-radius: 16px;
  background: rgba(246, 248, 245, .7);
}
.ds-price-calculator__step { grid-column: 1 / -1; }
.ds-price-calculator__result {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100%;
}
.ds-price-calculator__result::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -42px;
  bottom: -36px;
  width: 190px;
  aspect-ratio: 1;
  background: var(--calculator-pest-image, url("../images/pests/bed-bug-cutout-v2.webp")) center / contain no-repeat;
  opacity: .18;
  transform: rotate(-9deg);
  pointer-events: none;
}
.ds-price-calculator__summary {
  display: grid;
  gap: .1rem;
  padding: .65rem .75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .55);
}
.ds-price-calculator__summary strong { font-size: .9rem; }
.ds-price-calculator__summary span { font-size: .68rem; line-height: 1.35; }

@media (min-width: 1921px) {
  .ds-home-hero__copy { padding-left: 92px; }
  .ds-home-hero__bedbug { left: -20px; }
}

@media (max-width: 1180px) {
  .ds-home-hero { background: var(--ds-home-paper); }
  .ds-home-hero::after { content: none; }
  .ds-home-hero__grid { grid-template-columns: 1fr; }
  .ds-home-hero__copy { padding: 3rem 2.25rem 2.6rem; }
  .ds-home-hero__bedbug { top: -35px; left: -45px; width: 480px; height: 480px; }
  .ds-home-hero__visual { height: 620px; min-height: 620px; }
  .ds-home-hero__worker { bottom: 0; height: 440px; }
  .ds-home-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    align-content: start;
    padding: 1rem;
  }
  .ds-home-benefits article {
    position: static !important;
    width: auto !important;
    min-width: 0;
    min-height: 78px;
    padding: .75rem .8rem;
  }
  .ds-price-calculator { grid-template-columns: 1fr; }
  .ds-price-calculator__pest-grid { grid-template-columns: repeat(4, minmax(90px, 1fr)); }
}

@media (max-width: 760px) {
  .ds-price-calculator { padding: 1.1rem; }
  .ds-price-calculator__form { grid-template-columns: 1fr; }
  .ds-price-calculator__pests,
  .ds-price-calculator__fields,
  .ds-price-calculator__result { grid-column: 1; }
  .ds-price-calculator__pest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-price-calculator__pest-grid label { min-height: 104px; }
  .ds-price-calculator__pest-media { width: 56px; height: 56px; }
  .ds-price-calculator__pest-media img { width: 68px; height: 68px; }
}

@media (max-width: 560px) {
  .ds-home-hero__copy { padding: 2.25rem 1rem 1.8rem; }
  .ds-home-hero__visual { height: 560px; min-height: 560px; }
  .ds-home-hero__worker { height: 340px; }
}

/* Keep decorative layers in the same visual stage as the content at zoomed-out and ultrawide sizes. */
.ds-pest-services::before {
  right: max(24px, calc((100vw - var(--ds-stage-max)) / 2 + 24px));
}
.ds-pest-services::after {
  left: max(24px, calc((100vw - var(--ds-stage-max)) / 2 + 24px));
}
.ds-home-section--prices::before,
.ds-home-section--faq::before {
  right: max(24px, calc((100vw - var(--ds-stage-max)) / 2 + 24px));
}
.ds-home-section--process::before {
  left: max(24px, calc((100vw - var(--ds-stage-max)) / 2 + 24px));
}
.ds-home-section--prices::after,
.ds-home-section--reasons::after,
.ds-home-section--preparation::after,
.ds-home-section--inspection::after,
.ds-home-section--resources::after,
.ds-home-section--reviews::after {
  inset: -55px auto;
  left: 50%;
  width: min(var(--ds-stage-max), 100%);
  transform: translateX(-50%);
}
.ds-home-section--reasons::after,
.ds-home-section--inspection::after,
.ds-home-section--reviews::after {
  transform: translateX(-50%) scaleX(-1);
}

@media (min-width: 2200px) {
  body.home {
    --ds-home-container: 2200px;
    --ds-stage-max: 2200px;
    --wp--style--global--wide-size: 2200px;
    --wp--style--global--content-size: 1040px;
  }
  .ds-home-hero__grid { max-width: var(--ds-stage-max) !important; }
  .ds-home-hero__copy { padding-left: 92px; }
  .ds-home-hero__bedbug { left: -10px; }
  .ds-pest-services__inner,
  .ds-home-section > .alignwide,
  .ds-home-promo > .ds-home-promo__grid,
  .ds-process-panels,
  .ds-process-notes {
    max-width: var(--ds-home-container) !important;
  }
}

/* Mobile-only navigation and persistent contact actions. */
.ds-mobile-cta { display: none; }

@media (max-width: 781px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .ds-site-header .ds-header-main {
    min-height: 72px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 72px;
    gap: .65rem;
    padding: 0;
  }
  .ds-site-header .ds-header-main::before { content: none; }
  .ds-site-header .ds-brand-lockup {
    grid-column: 1;
    grid-row: 1;
  }
  .ds-site-header .ds-brand-lockup .custom-logo { width: clamp(80px, calc(100vw - 238px), 132px); }
  .ds-site-header .ds-header-contact {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .ds-site-header .ds-header-phone { gap: .4rem; }
  .ds-site-header .ds-header-phone__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .ds-site-header .ds-header-phone__number { font-size: .72rem; }
  .ds-site-header .ds-header-phone small,
  .ds-site-header .ds-header-email,
  .ds-site-header .ds-header-region,
  .ds-site-header .ds-header-actions,
  .ds-site-header .ds-header-social { display: none !important; }
  .ds-site-header .ds-main-navigation {
    grid-column: 3;
    grid-row: 1;
    width: 42px;
    min-width: 42px;
    flex: 0 0 42px;
    overflow: visible;
    color: var(--ds-home-ink);
  }
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container-open {
    width: 42px;
    height: 42px;
    display: grid !important;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--ds-home-yellow);
    color: var(--ds-home-ink);
  }
  .ds-site-header .ds-main-navigation > .wp-block-navigation__container { display: none !important; }
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed;
    z-index: 9999;
    inset: 0;
    width: 100%;
    height: 100dvh;
    display: flex !important;
    overflow: hidden auto;
    overscroll-behavior-y: contain;
    padding: 1rem;
    background: rgba(246, 248, 245, .98) !important;
    color: var(--ds-home-ink) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    position: fixed;
    z-index: 1;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    display: grid !important;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: var(--ds-home-yellow);
    color: var(--ds-home-ink);
  }
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container-content {
    width: 100%;
    padding-top: 4.5rem;
  }
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container.is-menu-open .ds-nav-services > .wp-block-navigation__submenu-container {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .75rem !important;
  }
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    color: var(--ds-home-ink) !important;
  }
  .ds-site-header .ds-main-navigation .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation__submenu-container {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    display: grid !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .ds-mobile-cta {
    position: fixed;
    z-index: 9998;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
    padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(38, 51, 54, .12);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 -12px 30px rgba(38, 51, 54, .12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .ds-mobile-cta a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 12px;
    color: var(--ds-home-ink);
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
  }
  .ds-mobile-cta .is-call { background: var(--ds-home-yellow); }
  .ds-mobile-cta .is-message { background: #2aabee; color: #fff; }
  body:has(.ds-main-navigation .wp-block-navigation__responsive-container.is-menu-open) .ds-mobile-cta { visibility: hidden; }
  .ds-mobile-cta a span {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: currentColor;
  }
  .ds-mobile-cta .is-call span {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.2 1.3.5 2.6.8 4 .8.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.9 21 3 13.1 3 3.4c0-.6.4-1 1-1h3.2c.6 0 1 .4 1 1 0 1.4.3 2.7.8 4 .1.4 0 .8-.2 1.2l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.2 1.3.5 2.6.8 4 .8.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.9 21 3 13.1 3 3.4c0-.6.4-1 1-1h3.2c.6 0 1 .4 1 1 0 1.4.3 2.7.8 4 .1.4 0 .8-.2 1.2l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .ds-mobile-cta .is-message span {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m21.8 3.4-3.3 16.6c-.2 1.1-.9 1.4-1.8.9l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5.1 9.3-8.4c.4-.4-.1-.6-.6-.2L5.9 13.5 1 12c-1.1-.3-1.1-1.1.2-1.6L20.3 3c.9-.3 1.7.2 1.5.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m21.8 3.4-3.3 16.6c-.2 1.1-.9 1.4-1.8.9l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5.1 9.3-8.4c.4-.4-.1-.6-.6-.2L5.9 13.5 1 12c-1.1-.3-1.1-1.1.2-1.6L20.3 3c.9-.3 1.7.2 1.5.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

@media (max-width: 781px) {
  .ds-home-section--prices > .ds-home-price-table {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem) !important;
    min-width: 0;
    margin-inline: auto !important;
    padding-inline: .85rem;
    overflow-x: auto;
  }
}

/* Keep the polished card grid authoritative after legacy mega-menu rules above. */
@media (min-width: 782px) {
  .ds-site-header nav.ds-main-navigation :is(.ds-nav-business, .ds-nav-company) > .wp-block-navigation__submenu-container {
    width: clamp(13rem, 23vw, 18rem);
    padding: .35rem;
    border: 1px solid #d9e1dc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(38, 51, 54, .14);
  }
  .ds-site-header nav.ds-main-navigation :is(.ds-nav-business, .ds-nav-company) > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    display: block;
    padding: .55rem .7rem;
    border-radius: 7px;
    color: var(--ds-home-ink);
    white-space: normal;
    line-height: 1.35;
  }
  .ds-site-header nav.ds-main-navigation :is(.ds-nav-business, .ds-nav-company) > .wp-block-navigation__submenu-container .wp-block-navigation-item__content:is(:hover, :focus-visible) {
    background: #eef4ef;
  }
  .ds-site-header .ds-header-main { --ds-menu-row-height: 56px; }
  .ds-site-header nav.ds-main-navigation {
    position: static;
    overflow: visible;
  }
  .ds-site-header nav.ds-main-navigation :is(
    .wp-block-navigation__responsive-container:not(.is-menu-open),
    .wp-block-navigation__responsive-close,
    .wp-block-navigation__responsive-dialog,
    .wp-block-navigation__responsive-container-content
  ) { position: static; }
  .ds-site-header nav.ds-main-navigation .wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
    position: static;
    overflow: visible;
  }
  .ds-site-header nav.ds-main-navigation .wp-block-navigation__container > .has-child {
    min-height: var(--ds-menu-row-height);
  }
  .ds-site-header nav.ds-main-navigation .ds-nav-services { position: static; }
  .ds-site-header nav.ds-main-navigation .ds-nav-services > .wp-block-navigation__submenu-container {
    position: absolute !important;
    top: 100% !important;
  }
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container {
    max-height: min(75svh, calc(100svh - 9.5rem - var(--wp-admin--admin-bar--height, 0px)));
    overflow: hidden auto !important;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
  }
}

.ds-site-header nav.ds-main-navigation .ds-nav-business > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  white-space: normal;
}

@media (min-width: 782px) and (max-width: 900px) {
  .ds-site-header .ds-header-main { --ds-menu-row-height: 48px; }
}

@media (min-width: 901px) {
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: .85rem !important;
    padding: 1rem !important;
    background: rgba(246, 248, 245, .985) !important;
    scrollbar-width: thin;
    scrollbar-color: #b9c5c1 transparent;
  }
}

@media (min-width: 782px) and (max-width: 1199px) {
  .ds-site-header .ds-nav-services:hover > .wp-block-navigation__submenu-container,
  .ds-site-header .ds-nav-services:focus-within > .wp-block-navigation__submenu-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

