/* ===== BASE ===== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== FLOATING THEME BUTTON ===== */

.floating-theme-toggle {
  top: 185px;
}

/* ===== HEADER ===== */

header {
  background: var(--header-bg);
  padding: 20px 0;
  transition: background .6s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo img {
  width: 90px;
}

.logo:hover .logo-text {
  opacity: 0.85;
}

.logo-text {
  color: #FEF9EE;
  font-size: 32px;
  font-family: 'Montserrat SemiBold', sans-serif;
  transition: opacity .2s ease;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-coverage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.service-area {
  font-family: 'Montserrat SemiBold', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
  opacity: 0.95;
}

.check-btn {
  padding: 14px 32px;
  border-radius: 40px;
  background: #FEF9EE;
  color: var(--header-bg);
  border: 0px solid #262F4C;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;

  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 var(--cta-shadow-y) var(--cta-shadow-blur) var(--color-shadow);
}

.check-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.fade-out {
  opacity: 0;
}

/* =====================
   HERO
===================== */

.hero {
  padding: 80px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__text {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero__text h2 {
  margin-bottom: 10px;
  font-size: 48px;
  line-height: 1.2;
}

.hero__text-accent {
  color: var(--color-accent);
}

.hero__cta-btn {
  width: 340px;
  height: 64px;
  background: var(--color-accent);
  color: var(--color-main);
  border-radius: 50px;
  border: 0px solid #262F4C;
  font-weight: 700;
  font-size: 24px;
  cursor: pointer;
  transition: transform .2s ease;
  box-shadow: 0 var(--cta-shadow-y) var(--cta-shadow-blur) var(--color-shadow);
}

.hero__cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.hero__phone {
  width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  /*text-align: center;*/
  font-size: 24px;
  font-weight: 600;
}

.hero__phone a {
  text-decoration: none;
  color: inherit;
}

.hero__phone-icon {
  width: 22px;
  height: 22px;
  transition: transform .2s ease;
}

.hero__phone:hover .hero__phone-icon {
  transform: rotate(-10deg) scale(1.1);
}

.hero-image img {
  width: 460px;
  max-width: 100%;
}

/* =====================
    FADE
==================== */

.fade-transition {
  transition: opacity 1.2s ease;
}

.fade-out {
  opacity: 0;
}

/* ==============================
   ======== Service area ========
   ==============================*/

.service-check {
  padding: 80px 0;
}

.service-check-inner {
  max-width: 900px;
}

.service-check h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.subtitle {
  opacity: 0.8;
  margin-bottom: 40px;
}

.address-input input {
  width: 100%;
  padding: 18px 22px;
  font-size: 18px;
  border-radius: 40px;
  border: 2px solid var(--color-main);
}

.divider {
  text-align: center;
  margin: 30px 0;
  font-weight: 600;
}

.map-wrapper {
  position: relative;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
}

#map {
  height: 100%;
}

.center-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  border-radius: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.set-location-btn {
  margin-top: 30px;
  width: 100%;
  height: 64px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: 700;
  background: var(--color-accent);
  border: 3px solid #262F4C;
  cursor: pointer;
}

.result-block {
  margin-top: 40px;
  padding: 30px;
  border-radius: 20px;
  background: rgba(0,0,0,0.05);
}

.hidden {
  display: none;
}

.two-col {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.service-left {
  flex: 1;
  max-width: 500px;
}

.service-right {
  flex: 1;
}

.map-wrapper {
  height: 500px;
}

.autocomplete-dropdown {
  position: absolute;
  width: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  margin-top: 8px;
  z-index: 999;
  max-height: 250px;
  overflow-y: auto;
}

.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
}

.autocomplete-item:hover {
  background: #f5f5f5;
}

.map-wrapper {
  position: relative;
  height: 400px;
  margin-top: 30px;
}

#map {
  height: 100%;
  border-radius: 16px;
}

.center-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: red;
  border-radius: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.map-confirm-btn {
  margin-top: 20px;
  padding: 14px 22px;
  font-weight: 600;
}