:root {
  --accent:#0b6fb6;
  --dark:#1f2933;
  --muted:#6b7280;
  --glass: rgba(255,255,255,0.06);
  --container-max:1200px;
  --white: #fff;
  --radius:10px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
* { box-sizing:border-box }
body {
  margin:0;
  color:var(--dark);
  background:#fff;
}

html {
  scroll-behavior: smooth;
}

/* --- header --- */
.site-header {
  width:100%;
  position:sticky;
  top:0;
  z-index:80;
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.75));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15,23,42,0.05);
}
.container {
  max-width:var(--container-max);
  margin:0 auto;
  padding:16px;
  display:flex;
  align-items:center;
  gap:20px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: auto;
  height: 48px;       /* щоб було стабільно */
  display: block;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.logo:hover .logo-img {
  transform: rotateY(360deg);
}

/* MENU */

nav.desktop-nav {
  margin-left:24px;
  display:flex;
  gap:18px;
  align-items:center;
  flex:1;
}
nav.desktop-nav a {
  text-decoration:none;
  color:var(--dark);
  font-weight:600;
  padding:8px 10px;
  border-radius:8px;

  transition: color 0.2s ease;
}

/* Nav Active linck */
.desktop-nav .navigation-ative, .mobile-nav .navigation-ative {
    color: var(--accent);
    pointer-events: none;
}



nav.desktop-nav a:hover { 
    
    color:var(--accent); 
}

.header-actions {
  display:flex;
  gap:12px;
  align-items:center;
}
.phone {
  display:flex;
  flex-direction:column;
  font-size:13px;
  color:var(--muted);
  text-align:right;
}
.phone-number {
  font-weight:800;
  color:var(--dark);
}
.phone-time {
  font-size:12px;
}

/* BUTON */

.cta {
  position: relative;
  display: inline-block;
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.2s ease;
  z-index: 1;
}

/* створюємо фон-градієнт для ефекту */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  z-index: -1;
  border-radius: inherit;
}

/* при наведенні фон розгортається з центру в сторони */
.cta:hover::before,
.cta:focus::before {
  transform: scaleX(1);
}

/* при наведенні текст стає кольору акценту */
.cta:hover,
.cta:focus {
  color: floralwhite;
}



.mobile-toggle {
  display:none;
  margin-left:auto;
  background:none;
  border:0;
  font-size:32px;
}




/* --- hero / banner --- */
.hero {
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  color:white;
  overflow:hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url(./images/hero_desktop);
  background-size: 180%;   /* фон більший за контейнер */
  background-position: center;
  background-repeat: no-repeat;
  filter: contrast(1.02) saturate(0.95);
  will-change: background-position;
}


.hero__overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(7,22,39,0.5), rgba(7,22,39,0.55));
  mix-blend-mode:multiply;
}
.hero-inner {
  position:relative;
  z-index:2;
  max-width:var(--container-max);
  margin:0 auto;
  padding:64px 20px;
  display:flex;
  gap:40px;
  align-items:center;
}
.hero-left {
  flex:1 1 640px;
  max-width:760px;
}
.eyebrow {
  display:inline-block;
  background:rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.9);
  padding:8px 12px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  margin-bottom:18px;
}
h1 {
  margin:0 0 18px 0;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height:1.02;
  letter-spacing:-0.6px;
  font-weight:800;
  text-shadow: 0 8px 30px rgba(3,17,28,0.6);
}
p.lead {
  margin:0 0 26px 0;
  color:rgba(255,255,255,0.9);
  font-size:18px;
  max-width:62ch;
  line-height:1.5;
}

.hero-cta {
  display:flex;
  gap:12px;
  align-items:center;
}


/* Hero button 1 */

.btn-primary {
  background:var(--accent);
  color:white;
  padding:12px 18px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  position: relative;
  display: inline-block;
  z-index: 1;

  transition: color 0.2s ease;
}

/* створюємо фон-градієнт для ефекту */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  z-index: -1;
  border-radius: inherit;
}

/* при наведенні фон розгортається з центру в сторони */
.btn-primary:hover::before,
.btn-primary:focus::before {
  transform: scaleX(1);
}

/* при наведенні текст стає кольору акценту */
.btn-primary:hover,
.btn-primary:focus {
  color: floralwhite;
}


.btn-ghost {
  background:transparent;
  color:white;
  padding:12px 18px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.18);
  text-decoration:none;
  font-weight:700;
  position: relative;
  display: inline-block;
  z-index: 1;

  transition: color 0.2s ease;
}

/* створюємо фон-градієнт для ефекту */
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  z-index: -1;
  border-radius: inherit;
}

/* при наведенні фон розгортається з центру в сторони */
.btn-ghost:hover::before,
.btn-ghost:focus::before {
  transform: scaleX(1);
}

/* при наведенні текст стає кольору акценту */
.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--dark);
}

/* hero right */
.hero-right {
  width:340px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.card {
  background: rgba(255,255,255,0.06);
  border-radius:12px;
  padding:14px;
  backdrop-filter: blur(6px);
}
.card h4 { margin:0 0 6px 0; color:white }
.card p { margin:0; color:rgba(255,255,255,0.85); font-size:14px }

/* responsive */
@media (max-width: 1080px) {
nav.desktop-nav {
    margin-left: 5px;
    display: flex
;
    gap: 0px;
    align-items: center;
    flex: 1;
}
}
@media (max-width: 980px){
    .header {
        justify-content: space-between;
    }
  nav.desktop-nav { display:none }
  .mobile-toggle { display:block }
  .hero-inner {
    flex-direction:column;
    padding:48px 18px;
    gap:22px;
    align-items:flex-start;
  }
  .hero {height: 100vh;}

  .hero-left {
    flex: 1 1 440px;
    max-width: 760px;
}
  .hero-right { width:100% }

  .hero__bg {
    background-position: center top;
    background-size: auto 120%; 
    
  }
}
@media (max-width:520px){
  .container { padding:12px }
  .logo-main { font-size:14px }
  .phone { display:none }
  .cta { padding:8px 12px; font-size:14px }

}


@media (max-width:420px){
  .container { padding:12px }
  .logo-main { font-size:14px }
  .phone { display:none }
  .cta { display:none }
  .hero {padding-top: 120px;}
  .btn-primary, .btn-ghost {
    font-size: 14px;
  }

  .hero-left {flex: 1 1 300px;}
  .hero-left p {
    font-size: 16px;
  }
}

/* ---------BURGER MENU---------------------------- */

.mobile-nav {
  position:fixed;
  inset:0;
  background:rgba(7,22,39,0.90);
  color:white;
  z-index:200;
  display:none;
  padding:40px 20px;

}
.mobile-nav.open {
 display: flex;
 flex-direction: column;
 justify-content: start;
}

.mobile-nav-list {
 padding-top: 40px;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: start;
padding-left: 40px;

}



.mobile-nav.open { display:block }
.mobile-nav-list a {
  /* display:block; */
  color:white;
  text-decoration:none;
  padding:12px 0;
  font-size:24px;
  font-weight:700;
}
.close-mobile {
  background:none;
  border:0;
  color:white;
  font-size:28px;
  position:absolute;
  right:18px;
  top:18px;
}

/* BUtton burger */
.mobile-cta {
    display: flex;
    align-items: start;
    padding: 10px 5px;
    padding-left: 40px;
    margin-top:20px

}

.btn-primary {
  transition: color 0.2s ease;
  z-index: 1;
}

/* створюємо фон-градієнт для ефекту */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--muted);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  z-index: -1;
  border-radius: inherit;

}

/* при наведенні фон розгортається з центру в сторони */
.btn-primary:hover::before,
.btn-primary:focus::before {
  transform: scaleX(1);
}

/* при наведенні текст стає кольору акценту */
.btn-primary:hover,
.btn-primary:focus {
  color: floralwhite;
}