/*
Theme Name: DimBez
Author: DIGIstudio by Roman Havron
Description: Custom Elementor theme for DimBez Pest Control.
Version: 1.0.0
Text Domain: dimbez
*/

:root {
  --primary-color: #53693e; /* Dark Olive */
  --primary-dark: #3b4e2b;
  --primary-light: rgba(83, 105, 62, 0.1);
  --primary-glow: rgba(83, 105, 62, 0.2);
  
  --bg-main: #f4f3ea; /* Light Beige from screenshots */
  --bg-card: #ffffff; /* White cards */
  --bg-card-hover: #fcfcfc;
  
  --text-main: #2b361e; /* Very dark olive/almost black text */
  --text-muted: #53693e; /* Medium olive for muted text */
  
  --border-glass: rgba(83, 105, 62, 0.15);
  --border-hover: rgba(83, 105, 62, 0.4);
  
  --glass-bg: rgba(244, 243, 234, 0.85);
  
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  
  --container-width: 1400px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Elementor Reset */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
}
.elementor-widget-wrap {
    padding: 0 !important;
}
.elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', 'Oswald', sans-serif !important;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 2.6vw, 2.25rem);
  text-align: center;
  margin-bottom: 2.25rem;
}

h2 span {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

h2 span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--primary-color);
  opacity: 0.2;
  z-index: -1;
  border-radius: 4px;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .nowrap-desktop {
    white-space: nowrap;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 12px rgba(83, 105, 62, 0.08);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 100%;
  box-sizing: border-box;
}

.tag::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353693e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  background-size: cover;
}

.hero-search-tag {
  min-height: 48px;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
}

.hero-search-typing {
  position: relative;
  display: inline-block;
  min-height: 1.2em;
  padding-right: 3px;
  max-width: 100%;
  width: auto !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  min-width: 0;
}

.hero-search-typing::after {
  content: "";
  position: absolute;
  top: 0.08em;
  left: var(--caret-left, 0px);
  width: 2px;
  height: 1.05em;
  background: currentColor;
  animation: heroTypingCaret 0.9s step-end infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 5px 15px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-color);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9375rem;
  width: auto;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* Header - Glassmorphism */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 20px 0;
  width: 100%;
}

.mobile-quick-bar {
  display: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  margin-left: 12px;
  min-width: 0;
  gap: 24px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-container .btn {
  margin-left: 0;
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone {
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.messengers {
  display: flex;
  gap: 12px;
}

.messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 1px solid var(--primary-dark);
  box-shadow: 0 8px 18px rgba(83, 105, 62, 0.22);
  transition: all 0.3s ease;
}

.messengers a:hover {
  border-color: var(--text-main);
  background: var(--primary-dark);
}

.messengers img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.messengers a:hover img {
  filter: brightness(0) invert(1);
}

.logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text-main);
}

.logo span {
  color: var(--primary-color);
}

.logo img {
  display: block;
  width: auto !important;
  max-width: none !important;
  filter: brightness(0.2) sepia(1) hue-rotate(50deg) saturate(3) drop-shadow(0 0 5px var(--primary-glow));
  transition: filter 0.3s ease;
}

.logo:hover img {
  filter: brightness(0.2) sepia(1) hue-rotate(50deg) saturate(3) drop-shadow(0 0 10px var(--primary-color));
}

.site-footer .logo img {
  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 10px 18px;
  list-style: none;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 920px;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  justify-content: center;
}

.site-header .header-actions .btn-sm {
  min-width: 185px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 86px 0 40px;
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
}

/* Background gradient glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(83, 105, 62, 0.15) 0%, rgba(244, 243, 234, 0) 70%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  min-width: 0;
}

.hero-content > * {
  min-width: 0;
}

.hero-text h1 {
  font-size: clamp(2.625rem, 3.4vw, 3rem);
  margin-bottom: 1rem;
  max-width: 100%;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 1.75rem;
  max-width: 600px;
}

.hero-text,
.hero-text p,
.hero-bento,
.hero-image-wrapper {
  max-width: 100%;
}

/* Bento Box Features in Hero */
.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.bento-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bento-pill:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.bento-pill svg {
  color: var(--primary-color);
  width: 24px;
  height: 24px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 16px;
  background: linear-gradient(145deg, var(--border-glass), transparent);
  box-shadow: 0 18px 38px rgba(83, 105, 62, 0.12);
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 30px 60px rgba(83, 105, 62, 0.15);
  border: 2px solid var(--primary-light);
}

.hero-text > .animate-fade-up.delay-2 {
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 24px 0;
  position: relative;
}

/* Bento Grid System for Services */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 25px;
}

#cleaning-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Shine effect on hover */
.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.03), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.bento-item:hover::before {
  left: 200%;
}

.bento-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05), 0 0 40px rgba(83, 105, 62, 0.1);
}

.bento-large {
  grid-column: span 2;
}

.bento-full {
  grid-column: span 3;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border: 1px solid var(--border-hover);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.bento-title {
  font-size: 1.625rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.methods-list {
  list-style: none;
  margin-top: auto; /* pushes list to bottom if needed */
  padding-top: 24px;
}

.methods-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-muted);
}

.methods-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 900;
  background: var(--primary-light);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
}

.pain-point {
  background: rgba(220, 38, 38, 0.1);
  border-left: 4px solid #dc2626;
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
  font-size: 1rem;
  color: #991b1b;
  line-height: 1.5;
}

/* Feature Block (Image + Text) */
.modern-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto;
  width: 100%;
  max-width: 600px;
  opacity: 0.5;
}

.modern-divider::before,
.modern-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, var(--primary-light));
}

.modern-divider::after {
  background: linear-gradient(to left, transparent, var(--primary-light));
}

.modern-divider .diamond {
  width: 6px;
  height: 6px;
  background: var(--primary-main);
  transform: rotate(45deg);
  margin: 0 20px;
  box-shadow: 0 0 12px var(--primary-main);
}

.feature-split {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 42px;
  align-items: center;
  margin-bottom: 18px;
}

.feature-split.no-image {
  grid-template-columns: minmax(0, 1fr);
}

.feature-split.no-image .feature-content {
  max-width: 100%;
}

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

.feature-image,
.card-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 16px;
  background: linear-gradient(145deg, var(--border-glass), transparent);
  box-shadow: 0 18px 38px rgba(83, 105, 62, 0.12);
}

.feature-image img,
.card-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid var(--primary-light);
  box-shadow: 0 30px 60px rgba(83, 105, 62, 0.15);
  display: block;
}

.feature-image img {
  height: 100%;
  min-height: 400px;
}

.card-image-wrap {
  margin-top: 20px;
}

.card-image-wrap img {
  min-height: 240px;
}

/* Cities Map */
.cities-map {
  background: var(--bg-main);
  border-top: 1px solid var(--border-glass);
}

.contact-popup-trigger-wrap {
  display: flex;
  justify-content: center;
  margin: 28px auto 10px;
}

.dimbez-contact-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2000;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.dimbez-contact-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dimbez-contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 54, 30, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dimbez-contact-modal__dialog {
  position: relative;
  width: min(100%, 980px);
  max-height: min(92vh, 920px);
  overflow: auto;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at top left, rgba(163, 201, 131, 0.24), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 243, 234, 0.98));
  box-shadow: 0 30px 90px rgba(43, 54, 30, 0.32);
}

.dimbez-contact-modal__content {
  padding: 34px;
}

.dimbez-contact-modal__header {
  text-align: center;
  margin-bottom: 22px;
}

.dimbez-contact-modal__header .tag {
  margin-bottom: 14px;
}

.dimbez-contact-modal__header h3 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: 12px;
}

.dimbez-contact-modal__header p {
  max-width: 620px;
  margin: 0 auto;
}

.dimbez-contact-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-main);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(83, 105, 62, 0.14);
}

.contact-modal-open {
  overflow: hidden;
}

.dimbez-contact-form-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 38px rgba(83, 105, 62, 0.08);
}

.dimbez-contact-form-wrap .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.dimbez-contact-form-wrap .wpcf7-form p {
  margin: 0;
  font-size: 1rem;
}

.dimbez-contact-form-wrap .wpcf7-form p:last-of-type,
.dimbez-contact-form-wrap .wpcf7-form .wpcf7-response-output,
.dimbez-contact-form-wrap .wpcf7-form .wpcf7-spinner {
  grid-column: 1 / -1;
}

.dimbez-contact-form-wrap .wpcf7-form-control-wrap {
  display: block;
}

.dimbez-contact-form-wrap input[type="text"],
.dimbez-contact-form-wrap input[type="tel"],
.dimbez-contact-form-wrap input[type="email"],
.dimbez-contact-form-wrap select,
.dimbez-contact-form-wrap textarea {
  width: 100%;
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  background: #ffffff;
  color: var(--text-main);
  padding: 14px 18px;
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.dimbez-contact-form-wrap select {
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary-color) 50%),
    linear-gradient(135deg, var(--primary-color) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) calc(50% - 3px),
    calc(100% - 18px) calc(50% - 3px);
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  padding-right: 48px;
}

.dimbez-contact-form-wrap input:focus,
.dimbez-contact-form-wrap select:focus,
.dimbez-contact-form-wrap textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(83, 105, 62, 0.12);
}

.dimbez-contact-form-wrap .dimbez-contact-form-full {
  grid-column: 1 / -1;
}

.dimbez-contact-form-wrap input[type="submit"] {
  min-width: 220px;
  padding: 16px 28px;
  border: none;
  border-radius: 999px;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 5px 15px var(--primary-glow);
}

.dimbez-contact-form-wrap .wpcf7-response-output {
  margin: 6px 0 0 !important;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.seo-content-section {
  padding-top: 28px;
  padding-bottom: 32px;
}

.seo-content-flow {
  max-width: 980px;
  margin: 0 auto;
}

.seo-content-block + .seo-content-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border-glass);
}

.seo-content-block h3 {
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.seo-content-copy {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.seo-content-copy p {
  margin: 0;
}

.seo-content-copy p + p {
  margin-top: 16px;
}

.seo-content-copy ul {
  margin: 16px 0 0 18px;
  color: var(--text-muted);
}

.city-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: var(--radius-lg);
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  font: inherit;
  color: var(--text-main);
}

.city-item:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px var(--primary-glow);
}

.city-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.city-item:hover svg {
  color: #000;
}

/* Footer */
.site-footer {
  background-color: #3b4e2b;
  padding: 60px 0 32px;
  border-top: none;
}

.site-footer h4, .site-footer p, .site-footer a, .site-footer .footer-phone, .site-footer .footer-bottom, .site-footer .logo, .site-footer li {
  color: #f4f3ea !important;
}

.site-footer .footer-links a:hover {
  color: #a3c983 !important;
}

.site-footer .messengers img {
  filter: invert(1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr 0.95fr 0.95fr 1.35fr;
  gap: 48px;
  margin-bottom: 36px;
}

.footer-col h4 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.footer-cities {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 16px;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(244, 243, 234, 0.84);
}

.footer-cities-column {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-cities-column li {
  margin-bottom: 6px;
  white-space: nowrap;
}

.footer-cities a,
.footer-cities span {
  color: inherit !important;
}

.footer-cities a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-col-contacts {
  min-width: 0;
}

.footer-col-contacts .footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-contacts .footer-links li,
.footer-col-contacts .footer-phone {
  font-size: 1rem;
  white-space: nowrap;
}

.footer-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-line svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #f4f3ea;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  text-align: center;
}

/* Responsive */
/* FAQ Accordion */
.faq-section {
  padding: 44px 0;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  align-items: start;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px var(--primary-glow);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-main);
}

.faq-icon {
  font-size: 1.375rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  color: var(--primary-main);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer ul, .faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-container {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 74px 0 32px;
  }

  .hero-text h1,
  .hero-text p,
  .hero-bento,
  .hero-text > .animate-fade-up.delay-2,
  .hero-image-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .hero-text .tag {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .hero-text > .animate-fade-up.delay-2 {
    display: flex !important;
    flex-direction: column;
    gap: 14px !important;
  }

  .hero-text > .animate-fade-up.delay-2 .btn {
    width: 100%;
  }

  .hero-text {
    order: 2;
  }

  .hero-image-wrapper {
    order: 1;
    margin-bottom: 10px;
  }

  .cities-grid {
    grid-template-columns: 1fr;
  }

  .seo-content-flow {
    max-width: none;
  }

  .dimbez-contact-modal {
    padding: 12px;
  }

  .dimbez-contact-modal__content {
    padding: 22px 18px;
  }

  .dimbez-contact-modal__close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .dimbez-contact-form-wrap {
    padding: 20px 16px;
  }

  .dimbez-contact-form-wrap .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .dimbez-contact-form-wrap .dimbez-contact-form-full {
    grid-column: auto;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    align-items: center;
  }
  
  .hero-bento {
    justify-content: center;
  }
  
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .bento-large, .bento-full {
    grid-column: span 2;
  }
  
  .feature-split {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 28px;
  }
  
  .feature-split.reverse {
    direction: ltr;
  }
}

@media (max-width: 1100px) {
  h1 { font-size: 2.125rem; line-height: 1.18; }
  h2 { font-size: 1.75rem; }

  .site-header {
    padding: 0;
  }

  .mobile-quick-bar {
    display: block;
    background: transparent;
  }

  .mobile-quick-bar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: fit-content;
    max-width: calc(100% - 20px);
    margin: 8px 0 0 auto;
    padding: 4px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .mobile-quick-bar__phone {
    font-size: 0.875rem;
  }

  .mobile-quick-bar__messengers {
    gap: 8px;
    flex-shrink: 0;
  }

  .mobile-quick-bar__messengers a {
    width: 30px;
    height: 30px;
  }

  .mobile-quick-bar__messengers img {
    width: 14px;
    height: 14px;
  }
  
  .nav-container {
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px;
  }

  .nav-container .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-container .logo img {
    height: 86px !important;
    max-width: 100% !important;
  }
  
  .mobile-menu-btn {
    display: flex;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.995);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-left: 0;
    padding: 108px 20px 32px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 1002;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    font-size: 1rem;
    width: 100%;
    margin-top: 28px;
  }

  .header-actions {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin-left: 0;
  }

  .site-header .header-actions .btn-sm {
    min-width: 220px;
    width: auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .header-contacts {
    display: none;
  }

  .mobile-menu-btn {
    position: relative;
    z-index: 1003;
  }

  .mobile-menu-btn.active span {
    background-color: #ffffff;
  }

  .nav-menu .nav-links a,
  .nav-menu .phone,
  .nav-menu .header-actions,
  .nav-menu .header-actions a:not(.btn) {
    color: #ffffff;
  }

  .nav-menu .nav-links a::after {
    background: #ffffff;
  }

  .nav-menu .messengers {
    justify-content: center;
  }

  .nav-menu .messengers a {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
  }

  .hero {
    padding-top: 132px;
  }

  .nav-menu .messengers img {
    filter: brightness(0) saturate(100%);
  }
  
  .phone-number {
    font-size: 1rem;
  }
  
  .hero-bento {
    grid-template-columns: 1fr;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-large, .bento-full {
    grid-column: span 1;
  }
  
  .feature-image img {
    min-height: 250px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-col {
    align-items: center;
  }

  .footer-cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  
  .messengers {
    justify-content: center;
  }
  
  .cities-grid {
    grid-template-columns: 1fr;
  }

  .footer-col-contacts .footer-links li,
  .footer-col-contacts .footer-phone {
    white-space: normal;
  }

  .footer-contact-line {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero-search-tag {
    width: 100%;
    min-width: 0;
    padding: 10px 16px;
  }

  .hero-search-typing {
    display: inline-block;
    width: auto !important;
    max-width: calc(100% - 3px);
    font-size: 0.8125rem;
  }
}

/* Entry Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroTypingCaret {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

.animate-fade-up {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Floating Action Buttons */
.fab-phone {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 72px;
  height: 72px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-main);
  box-shadow: 0 0 20px var(--primary-glow);
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s;
}

.fab-phone:hover {
  transform: scale(1.1);
}

.fab-phone svg {
  width: 34px;
  height: 34px;
}

.fab-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.fab-messengers {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

.fab-messengers-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.fab-messengers.active .fab-messengers-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: all 0.3s;
}

.fab-btn img {
  width: 36px;
  height: 36px;
  filter: brightness(0) saturate(100%) invert(35%) sepia(16%) saturate(1106%) hue-rotate(50deg) brightness(97%) contrast(87%);
}

.fab-btn:hover img {
  filter: brightness(0) invert(1);
}

.fab-btn.viber:hover { background: #7360f2; border-color: #7360f2; }
.fab-btn.telegram:hover { background: #0088cc; border-color: #0088cc; }
.fab-btn.whatsapp:hover { background: #25D366; border-color: #25D366; }

.fab-main {
  width: 72px;
  height: 72px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-main);
  box-shadow: 0 0 20px var(--primary-glow);
  border: none;
  cursor: pointer;
  transition: transform 0.3s;
}

.fab-main:hover {
  transform: scale(1.1);
}

.fab-main svg {
  width: 36px;
  height: 36px;
}

@media (max-width: 768px) {
  .fab-phone {
    position: fixed !important;
    bottom: 20px;
    left: 15px;
    width: 64px;
    height: 64px;
    z-index: 9999 !important;
  }
  
  .fab-phone svg {
    width: 30px;
    height: 30px;
  }
  
  .fab-messengers {
    position: fixed !important;
    bottom: 20px;
    right: 15px;
    z-index: 9999 !important;
  }
  
  .fab-main {
    width: 64px;
    height: 64px;
  }
  
  .fab-main svg {
    width: 32px;
    height: 32px;
  }
  
  .fab-btn {
    width: 60px;
    height: 60px;
  }

  .fab-btn img {
    width: 32px;
    height: 32px;
  }

  #cleaning-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
