/* ==============================================
   DIRT HUNTER — Global Base Styles
   ============================================== */

/* ---- CSS Variables ---- */
:root {
  --navy:       #1d65d6;
  --sky:        #5BA8E5;
  --blue:       #1D65D6;
  --white:      #FFFFFF;
  --gray-bg:    #F4F7FB;
  --text:       #1E2D40;
  --text-sm:    #5A6B80;
  --radius:     8px;
  --shadow:     0 4px 24px rgba(26,60,114,0.10);
  --shadow-lg:  0 8px 40px rgba(26,60,114,0.16);
  --transition: 0.25s ease;
  --header-h:   80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1660px;
  margin: 0 auto;
  padding: 0 80px;
}
.swiper-slide {
	height: auto!important;
}
/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

/* ---- Section base ---- */
.section { padding: 80px 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); color: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-label--light { color: var(--sky); }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
}
.section-title--light { color: var(--white); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(29,101,214,0.30);
}
.btn--primary:hover {
  background: #1754be;
  box-shadow: 0 6px 24px rgba(29,101,214,0.40);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.25); }
.btn--lg { padding: 18px 36px; font-size: 15px; }
.btn--full { width: 100%; justify-content: center; }

/* ---- Fade-in ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }


/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-h);
  background: rgba(255,255,255,0.15);
  transition: box-shadow var(--transition), background var(--transition);
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(26,60,114,0.12);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__logo {
  position: relative;
  z-index: 1001;
}
.header__logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-sm);
  position: relative;
  transition: color var(--transition);
}
.nav__link:hover { color: var(--navy); }
.nav__link--active { color: var(--navy); }
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Header phone block */
.header__phone-block {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.header__phone-block:hover { opacity: 0.8; }

.header__phone-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.header.scrolled .header__phone-icon { background: var(--navy); color: var(--white); }

.header__phone-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.header.scrolled .header__phone-number { color: var(--navy); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 8px;
  transition: background var(--transition);
  z-index: 1001;
}
.hamburger:hover { background: #1754be; }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 90vw);
  height: fit-content;
  background: var(--white);
  padding: 40px 24px 32px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: -4px 0 30px rgba(26,60,114,0.12);
}
.mobile-drawer.open { transform: none; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav__link:hover { background: var(--gray-bg); color: var(--navy); }
.mobile-nav__footer { display: flex; flex-direction: column; gap: 12px; }


/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__col--brand .footer__logo img {
  height: 70px;
  width: auto;
  margin-bottom: 16px;
}
.footer__col--brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__social { display: flex; gap: 10px; }
.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition);
}
.social-icon:hover { background: var(--sky); color: var(--navy); }

.footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer__col nav { display: flex; flex-direction: column; gap: 10px; }
.footer__col nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.footer__col nav a:hover { color: var(--sky); }

.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact a,
.footer__contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__contact a:hover { color: var(--sky); }
.footer__contact svg { flex-shrink: 0; opacity: 0.7; }

.footer__badge {
  display: inline-flex;
  padding: 6px 12px;
  background: rgba(109,179,232,0.15);
  border-radius: 100px;
  border: 1px solid rgba(109,179,232,0.3);
  color: var(--sky) !important;
  font-size: 13px !important;
  font-weight: 600;
  width: fit-content;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer__bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}


/* =============================================
   FLOATING CALL BUTTON
   ============================================= */
.float-call {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(29,101,214,0.45);
  border: 1px solid var(--white);
  transition: background var(--transition), transform var(--transition);
}
.float-call::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-ring 2s ease-out infinite;
  z-index: -1;
}
.float-call:hover { background: #1754be; transform: scale(1.08); }
.float-call:hover::before { animation: none; }

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}


/* =============================================
   RESPONSIVE — Global elements
   ============================================= */
@media (max-width: 1280px) {
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .container { padding: 0 16px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header__nav,
  .header__phone-block { display: none; }
  .hamburger { display: flex; }
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .float-call { width: 56px; height: 56px; bottom: 20px; right: 16px; }
  .float-call svg { width: 22px; height: 22px; }
}

@media (max-width: 375px) {
  .footer__inner { grid-template-columns: 1fr; }
}
