/* ============================================================
   Д14 — оформление по образцу ddt-comfort.ru: светлая страница, бирюзовые акценты,
   тёмный первый экран с фото, кнопки-«таблетки». Классы dd-* ; формы/окна — из style.css.
   ============================================================ */
:root {
  --dd-teal: #2caea5;
  --dd-teal-d: #1f8d86;
  --dd-ink: #111;
  --dd-grey: rgba(17, 17, 17, .62);
  --dd-tint: #f4faf9;
  --dd-hot: #ff7a59;
}
body { padding-bottom: 0; color: var(--dd-ink); background: #fff; }
.dd-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.dd-acc { color: var(--dd-teal); }
.dd-ink { color: var(--dd-ink); }
.dd-hot { color: var(--dd-hot); }

/* ---------- Кнопки-таблетки ---------- */
.dd-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; border-radius: 100px;
  font-family: inherit; font-weight: 500; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: .15s; white-space: nowrap; }
.dd-btn:hover { text-decoration: none; }
.dd-btn--solid { background: var(--dd-teal); color: #fff; border-color: #fff; }
.dd-btn--solid:hover { background: var(--dd-teal-d); }
.dd-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .56); }
.dd-btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.dd-btn--line { background: transparent; color: var(--dd-ink); border-color: var(--dd-teal); height: 44px; }
.dd-btn--line:hover { background: var(--dd-teal); color: #fff; }

/* ---------- Шапка поверх первого экрана ---------- */
.dd-header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.dd-header__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 84px; }
.dd-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; }
.dd-brand:hover { text-decoration: none; }
.dd-brand__mark { width: 44px; height: 44px; flex: none; }
.dd-brand__t { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.02rem; }
.dd-brand__t i { font-style: normal; }
/* Название в шапке — всегда в одну строку; длинное название города обрезается многоточием */
.dd-brand { min-width: 0; }
.dd-brand__t { min-width: 0; }
.dd-brand__t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-brand__n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .dd-brand__t { font-size: .9rem; } .dd-brand { gap: 8px; } }
.dd-brand__t small { font-weight: 400; font-size: .68rem; opacity: .75; letter-spacing: .02em; }
.dd-nav { display: flex; align-items: center; gap: 22px; }
.dd-nav > a, .dd-nav__dd-t { color: #fff; font-size: .95rem; text-decoration: none; opacity: .92; }
.dd-nav > a:hover, .dd-nav__dd-t:hover { opacity: 1; color: #9ee6df; text-decoration: none; }
.dd-nav__dd { position: relative; }
.dd-nav__dd-t i { font-style: normal; font-size: .7em; margin-left: 2px; }
.dd-nav__sub { position: absolute; top: 100%; left: -14px; min-width: 240px; padding: 10px 0; margin-top: 10px; background: #fff; border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .22); display: none; }
.dd-nav__dd:hover .dd-nav__sub, .dd-nav__dd:focus-within .dd-nav__sub { display: block; }
.dd-nav__dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; } /* мостик, чтобы меню не пропадало */
.dd-nav__sub a { display: block; padding: 9px 20px; color: var(--dd-ink); font-size: .93rem; text-decoration: none; }
.dd-nav__sub a:hover { background: var(--dd-tint); color: var(--dd-teal-d); text-decoration: none; }
.dd-nav__call { height: 44px; }
.dd-burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; }
.dd-burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; }

/* ---------- Первый экран ---------- */
.dd-hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; background: #0a0f0f url(../img/hero/ddt-hero.jpg) right 12% / cover no-repeat; }
.dd-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 8, 8, .72) 0%, rgba(4, 8, 8, .5) 55%, rgba(4, 8, 8, .35) 100%), linear-gradient(180deg, rgba(4, 8, 8, .5) 0%, rgba(4, 8, 8, .1) 40%, rgba(4, 8, 8, .55) 100%); }
.dd-hero__in { position: relative; width: 100%; padding-top: 110px; padding-bottom: 90px; }
.dd-hero__h { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.12; font-weight: 500; margin: 0 0 20px; max-width: 640px; color: #fff; }
.dd-hero__p { font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.6; margin: 0 0 28px; max-width: 560px; color: rgba(255, 255, 255, .92); }
.dd-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Секции и заголовки ---------- */
.dd-sec { padding: 72px 0; }
.dd-sec--tight { padding-top: 0; }
.dd-sec--tint { background: var(--dd-tint); }
.dd-h2 { font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.15; font-weight: 500; margin: 0 0 32px; max-width: 980px; }
.dd-h2--c { text-align: center; max-width: none; }
.dd-h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.2; font-weight: 500; margin: 0 0 24px; }
.dd-lead { font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.55; margin: 0 0 16px; max-width: 900px; }
.dd-lead--sm { font-size: 1.02rem; color: var(--dd-grey); max-width: 760px; }
.dd-grid3 { display: grid; gap: 28px; grid-template-columns: 1fr; }

/* ---------- Карточки услуг ---------- */
.dd-card { display: flex; flex-direction: column; align-items: flex-start; }
.dd-card__ph { width: 100%; border-radius: 4px; overflow: hidden; margin-bottom: 18px; aspect-ratio: 4 / 3; background: var(--dd-tint); }
.dd-card__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dd-card__t { font-size: 1.35rem; line-height: 1.25; font-weight: 500; color: var(--dd-teal); margin: 0 0 10px; }
.dd-card__p { color: var(--dd-grey); font-size: .98rem; line-height: 1.55; margin: 0 0 18px; flex: 1; }

/* ---------- Тарифы ---------- */
.dd-grid3--tar { margin-top: 12px; align-items: stretch; }
.dd-tar { position: relative; background: #fff; border: 1px solid #dfe9e7; border-radius: 22px; padding: 30px 26px 26px; display: flex; flex-direction: column; }
.dd-tar--hot { border: 2px solid #2b3a3a; box-shadow: 0 14px 40px rgba(14, 42, 42, .12); }
.dd-tar__badge { position: absolute; top: -14px; right: 22px; background: var(--dd-teal); color: #fff; font-size: .8rem; font-weight: 500; padding: 5px 14px; border-radius: 100px; }
.dd-tar__n { font-size: 1.15rem; font-weight: 500; margin: 0 0 14px; }
.dd-tar__pr { font-size: 2rem; font-weight: 500; line-height: 1.1; margin: 0 0 12px; }
.dd-tar__sub { color: var(--dd-grey); font-size: .92rem; line-height: 1.5; margin: 0 0 16px; }
.dd-tar__li { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; }
.dd-tar__li li { position: relative; padding-left: 28px; font-size: .96rem; }
.dd-tar__li li::before { content: ""; position: absolute; left: 0; top: .15em; width: 18px; height: 18px; border-radius: 50%; background: var(--dd-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Дезодорация ---------- */
.dd-od { display: flex; flex-direction: column; align-items: flex-start; }
.dd-od__t { font-size: 1.35rem; line-height: 1.25; font-weight: 500; color: var(--dd-teal); margin: 0 0 10px; }
.dd-od__p { color: var(--dd-grey); font-size: .98rem; line-height: 1.55; margin: 0 0 18px; flex: 1; }

/* ---------- Лицензия ---------- */
.dd-lic { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
.dd-lic__ph { max-width: 246px; margin: 0; }
.dd-lic__ph figcaption { font-size: .8rem; color: var(--dd-grey); margin-top: 12px; line-height: 1.4; }
.dd-lic__ph img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 10px 34px rgba(14, 42, 42, .18); }

/* ---------- Контакты ---------- */
.dd-contacts { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: start; }
.dd-ct { display: flex; gap: 16px; margin-bottom: 26px; }
.dd-ct svg { width: 38px; height: 38px; flex: none; color: var(--dd-teal); }
.dd-ct h3 { font-size: 1.2rem; font-weight: 500; color: var(--dd-teal); margin: 0 0 6px; }
.dd-ct p { margin: 0; color: var(--dd-grey); line-height: 1.55; }
.dd-ct a { color: var(--dd-ink); font-weight: 500; text-decoration: none; }
.dd-contacts__f .form-card { background: #fff; border: 1px solid #dfe9e7; border-radius: 22px; box-shadow: 0 14px 40px rgba(14, 42, 42, .08); padding: 26px; }
.dd-contacts__f .form-card__alt { display: none; }

/* ---------- Подвал ---------- */
.dd-footer { background: #0e1a1a; color: rgba(255, 255, 255, .72); padding: 44px 0 40px; font-size: .9rem; }
.dd-footer__row { display: grid; gap: 28px; grid-template-columns: 1fr; }
.dd-footer p { margin: 0 0 10px; line-height: 1.55; }
.dd-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.dd-footer a:hover { color: #9ee6df; text-decoration: none; }
.dd-footer__m { display: grid; gap: 10px; align-content: start; }
.dd-footer__req { font-size: .78rem; opacity: .7; }
.dd-brand--f { margin-bottom: 14px; }

/* ---------- Круглая кнопка звонка ---------- */
.dd-fab { position: fixed; right: 16px; bottom: 16px; z-index: 55; width: 56px; height: 56px; border-radius: 50%; background: var(--dd-teal); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.dd-fab svg { width: 26px; height: 26px; }
@media (hover: hover) and (pointer: fine) { .dd-fab { display: none; } } /* на ПК (мышь) круглой кнопки звонка нет — она только для телефонов */

/* ---------- Планшет и выше ---------- */
@media (min-width: 760px) {
  .dd-grid3 { grid-template-columns: repeat(2, 1fr); }
  .dd-lic { grid-template-columns: 1fr 260px; gap: 70px; }
  .dd-contacts { grid-template-columns: 1fr 460px; gap: 60px; }
  .dd-footer__row { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (min-width: 1020px) {
  .dd-grid3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Телефон: меню-бургер ---------- */
@media (max-width: 1019px) {
  .dd-burger { display: block; }
  .dd-nav { display: none; position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-radius: 16px; padding: 10px 0 16px; box-shadow: 0 12px 36px rgba(0, 0, 0, .3); }
  .dd-nav.is-open { display: flex; }
  .dd-nav > a, .dd-nav__dd-t { color: var(--dd-ink); padding: 12px 22px; opacity: 1; display: block; }
  .dd-nav__dd::after { display: none; }
  .dd-nav__sub { position: static; display: block; box-shadow: none; padding: 0 0 6px; margin: 0; min-width: 0; background: var(--dd-tint); }
  .dd-nav__sub a { padding: 9px 34px; }
  .dd-nav__call { margin: 8px 18px 0; color: var(--dd-ink); border-color: var(--dd-teal); justify-content: center; }
  .dd-hero { min-height: 560px; background-image: url(../img/hero/ddt-hero-mob.jpg); background-position: 70% center; }
  .dd-hero__in { padding-top: 100px; padding-bottom: 70px; }
  .dd-sec { padding: 52px 0; }
}

/* ---------- Страницы «клопы» / «тараканы» ---------- */
.dd-hero--page { min-height: 520px; background: #0a0f0f var(--hero-img) var(--hero-pos, 65% 40%) / cover no-repeat; }
.dd-hero--page .dd-hero__in { padding-top: 120px; padding-bottom: 80px; }
.dd-hero--page .dd-hero__h { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.dd-why { display: grid; gap: 28px; grid-template-columns: 1fr; }
.dd-why__i svg { width: 42px; height: 42px; color: var(--dd-teal); margin-bottom: 12px; display: block; }
.dd-why__i h3 { font-size: 1.25rem; font-weight: 500; color: var(--dd-teal); margin: 0 0 8px; }
.dd-why__i p { color: var(--dd-grey); font-size: .96rem; line-height: 1.55; margin: 0; }
.dd-card__ph--icon { display: grid; place-items: center; background: #e3f4f2; color: var(--dd-teal); }
.dd-card__ph--icon svg { width: 96px; height: 96px; }
.dd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: s; }
.dd-step { display: flex; gap: 16px; align-items: flex-start; }
.dd-step b { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--dd-teal); color: var(--dd-teal); display: grid; place-items: center; font-weight: 500; font-size: 1.05rem; }
.dd-step h3 { font-size: 1.15rem; font-weight: 500; margin: 2px 0 6px; }
.dd-step p { color: var(--dd-grey); font-size: .95rem; line-height: 1.5; margin: 0; }
.dd-grid4 { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .dd-why, .dd-steps { grid-template-columns: repeat(2, 1fr); }
  .dd-grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .dd-why, .dd-steps, .dd-grid4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1019px) {
  .dd-hero--page { min-height: 480px; background-position: 70% center; }
}

/* ---------- «Обработка помещений»: мы / самостоятельно (по образцу dezinsekciya-spb.ru) ---------- */
.dd-btn--lg { height: 56px; padding: 0 40px; font-size: 1.05rem; }
@media (max-width: 600px) { .dd-btn--lg { white-space: normal; height: auto; min-height: 56px; padding: 12px 24px; line-height: 1.3; text-align: center; } }
.dd-cmp { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 8px; }
.dd-cmp__col { background: #fff; border-radius: 22px; box-shadow: 0 8px 32px rgba(14, 42, 42, .08); padding: 26px 24px 18px; }
.dd-cmp__t { font-size: 1.35rem; font-weight: 500; margin: 0 0 14px; color: var(--dd-ink); }
.dd-cmp__list { list-style: none; margin: 0; padding: 0; }
.dd-cmp__i { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; padding: 16px 0 16px 38px; border-bottom: 1px solid #dfe5e4; font-size: 1.08rem; }
.dd-cmp__i:last-child { border-bottom: 0; }
.dd-cmp__i::before { content: ""; position: absolute; left: 0; top: 16px; width: 24px; height: 24px; background-position: center; background-repeat: no-repeat; background-size: 22px; }
.dd-cmp__i--ok::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12.5 5 5L20 6.5' fill='none' stroke='%232caea5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dd-cmp__i--no::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 5 14 14M19 5 5 19' fill='none' stroke='%23d9382f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.dd-cmp__i span { flex: 1; }
.dd-cmp__plus { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #d9f0ed; color: var(--dd-teal-d); cursor: pointer; position: relative; padding: 0; }
.dd-cmp__plus::before, .dd-cmp__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.dd-cmp__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .15s; }
.dd-cmp__plus[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0); }
.dd-cmp__more { display: none; flex-basis: 100%; margin: 10px 0 0; color: var(--dd-grey); font-size: .95rem; line-height: 1.55; }
.dd-cmp__i.is-open .dd-cmp__more { display: block; }
.dd-cmp__cta { text-align: center; margin-top: 34px; }

/* ---------- «Наши работы» ---------- */
.dd-works { display: grid; gap: 34px 28px; grid-template-columns: 1fr; margin-top: 8px; }
.dd-work__ph { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; background: #e3f4f2; margin-bottom: 18px; }
.dd-work__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dd-work__t { font-size: 1.35rem; font-weight: 500; margin: 0 0 10px; line-height: 1.25; }
.dd-work__p { color: var(--dd-grey); font-size: 1rem; line-height: 1.6; margin: 0; }
@media (min-width: 760px) {
  .dd-cmp { grid-template-columns: 1fr 1fr; gap: 28px; }
  .dd-works { grid-template-columns: 1fr 1fr; }
}

/* ---------- Страница города (Д14) ---------- */
.dd-prose p { max-width: 900px; font-size: 1.05rem; line-height: 1.7; margin: 0 0 14px; color: var(--dd-ink); }
.dd-need { display: flex; flex-direction: column; gap: 8px; }
.dd-need__i { font-size: 1.8rem; line-height: 1; }
.dd-areas { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.dd-areas__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dd-areas__list li { padding: 14px 18px; background: #fff; border: 1px solid #dfe9e7; border-radius: 14px; line-height: 1.5; color: var(--dd-grey); }
.dd-areas__list b { color: var(--dd-ink); font-weight: 500; }
.dd-areas__ph { margin: 0; }
.dd-areas__ph img { display: block; width: 100%; height: auto; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }
.dd-areas__ph figcaption { font-size: .82rem; color: var(--dd-grey); margin-top: 8px; }
.dd-faq details { background: #fff; border: 1px solid #dfe9e7; border-radius: 14px; margin-bottom: 12px; }
.dd-faq summary { cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 500; font-size: 1.05rem; list-style: none; position: relative; }
.dd-faq summary::-webkit-details-marker { display: none; }
.dd-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--dd-teal); }
.dd-faq details[open] summary::after { content: "\2013"; }
.dd-faq details p { margin: 0; padding: 0 20px 18px; color: var(--dd-grey); line-height: 1.6; }
@media (min-width: 760px) { .dd-areas { grid-template-columns: 1fr 1fr; gap: 48px; } }
.dd-footer .ft-credit { font-size: .75rem; opacity: .65; margin: 8px 0 0; }
.dd-footer .ft-credit a { color: inherit; }
