:root {
  --deep-grey-blue: #1c2a36;
  --deep-grey-blue-soft: #233548;
  --bright-white: #f6fbff;
  --gloss-black: #0b0f14;
  --gloss-black-soft: rgba(11, 15, 20, 0.64);
  --glass-stroke: rgba(255, 255, 255, 0.22);
  --glass-bg: rgba(20, 31, 44, 0.35);
  --accent: #7fc8ff;
  --text-main: #edf6ff;
  --text-muted: #c7d8e9;
  --radius: 18px;
  --shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 20%, #2c4055 0%, transparent 35%),
    radial-gradient(circle at 85% 10%, #17222e 0%, transparent 40%),
    linear-gradient(160deg, #0b1118 0%, #1b2938 55%, #111a24 100%);
  scroll-behavior: smooth;
}

img,
video {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1150px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4.8rem 0;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-family: "Sora", sans-serif;
}

.section-heading p {
  margin-top: 0.55rem;
  color: var(--text-muted);
}

.glass-panel {
  border: 1px solid var(--glass-stroke);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-header {
  position: fixed;
  z-index: 100;
  width: 100%;
  top: 0;
  left: 0;
  padding: 1rem 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled {
  background: rgba(11, 15, 20, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--glass-stroke);
  padding: 0.55rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(7, 9, 13, 0.78), rgba(20, 28, 39, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 14px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.navbar::after {
  content: "";
  position: absolute;
  inset: -120% -35%;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.22) 46%, transparent 60%);
  animation: shimmer 6s linear infinite;
  pointer-events: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--bright-white);
  font-family: "Sora", sans-serif;
  position: relative;
  z-index: 2;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.bolt-svg {
  width: 22px;
  height: 34px;
  animation: bolt-pulse 2.8s ease-in-out infinite;
  transform-origin: center;
}

.bolt-core {
  animation: bolt-color 2.8s ease-in-out infinite;
}

.bolt-flare {
  animation: bolt-flash 2.8s ease-in-out infinite;
}

@keyframes bolt-pulse {
  0%   { filter: drop-shadow(0 0 4px #ffe87a) drop-shadow(0 0 10px #ffb800); transform: scale(1); }
  18%  { filter: drop-shadow(0 0 18px #ffffff) drop-shadow(0 0 32px #ffe87a) drop-shadow(0 0 48px #7fc8ff); transform: scale(1.14); }
  22%  { filter: drop-shadow(0 0 6px #ffe87a) drop-shadow(0 0 14px #ffb800); transform: scale(0.96); }
  28%  { filter: drop-shadow(0 0 22px #ffffff) drop-shadow(0 0 40px #fff0a0) drop-shadow(0 0 60px #7fc8ff); transform: scale(1.18); }
  34%  { filter: drop-shadow(0 0 5px #ffe87a) drop-shadow(0 0 12px #ffb800); transform: scale(1); }
  65%  { filter: drop-shadow(0 0 8px #ffe87a) drop-shadow(0 0 18px #7fc8ff); transform: scale(1.04); }
  80%  { filter: drop-shadow(0 0 24px #ffffff) drop-shadow(0 0 44px #ffe87a) drop-shadow(0 0 64px #7fc8ff); transform: scale(1.16); }
  84%  { filter: drop-shadow(0 0 6px #ffe87a) drop-shadow(0 0 12px #ffb800); transform: scale(0.97); }
  100% { filter: drop-shadow(0 0 4px #ffe87a) drop-shadow(0 0 10px #ffb800); transform: scale(1); }
}

@keyframes bolt-color {
  0%   { fill: url(#boltGrad); }
  18%  { fill: #ffffff; }
  22%  { fill: url(#boltGrad); }
  28%  { fill: #fffde0; }
  34%  { fill: url(#boltGrad); }
  80%  { fill: #ffffff; }
  84%  { fill: url(#boltGrad); }
  100% { fill: url(#boltGrad); }
}

@keyframes bolt-flash {
  0%   { opacity: 0; }
  18%  { opacity: 0.55; }
  22%  { opacity: 0; }
  28%  { opacity: 0.75; }
  34%  { opacity: 0; }
  80%  { opacity: 0.65; }
  84%  { opacity: 0; }
  100% { opacity: 0; }
}

.logo-text {
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
}

.lw {
  display: inline-block;
  animation: logo-wave 2s ease-in-out infinite;
}

.lw-sp {
  width: 0.45em;
}

.lw:nth-child(1)  { animation-delay: 0.00s; }
.lw:nth-child(2)  { animation-delay: 0.08s; }
.lw:nth-child(3)  { animation-delay: 0.16s; }
.lw:nth-child(4)  { animation-delay: 0.24s; }
.lw:nth-child(5)  { animation-delay: 0.32s; }
.lw:nth-child(6)  { animation-delay: 0.40s; }
.lw:nth-child(7)  { animation-delay: 0.48s; }
.lw:nth-child(8)  { animation-delay: 0.56s; }
.lw:nth-child(9)  { animation-delay: 0.64s; }
.lw:nth-child(10) { animation-delay: 0.72s; }
.lw:nth-child(11) { animation-delay: 0.80s; }
.lw:nth-child(12) { animation-delay: 0.88s; }
.lw:nth-child(13) { animation-delay: 0.96s; }
.lw:nth-child(14) { animation-delay: 1.04s; }
.lw:nth-child(15) { animation-delay: 1.12s; }
.lw:nth-child(16) { animation-delay: 1.20s; }
.lw:nth-child(17) { animation-delay: 1.28s; }
.lw:nth-child(18) { animation-delay: 1.36s; }

@keyframes logo-wave {
  0%, 100% { transform: translateY(0);    color: var(--bright-white); }
  40%       { transform: translateY(-6px); color: var(--accent); }
  60%       { transform: translateY(-3px); color: var(--bright-white); }
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--bright-white);
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: clip;
}

.hero-slideshow,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 15, 20, 0.78) 0%, rgba(16, 24, 33, 0.45) 50%, rgba(11, 15, 20, 0.7) 100%),
    radial-gradient(circle at 80% 20%, rgba(127, 200, 255, 0.18) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 90%;
  padding: 2rem;
  text-align: center;
}

.hero-description {
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.03;
}

.hero h1 span {
  display: block;
  color: var(--bright-white);
  opacity: 0.9;
}

.hero-description {
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #a9defe, #68b8f2);
  color: #0c1721;
  box-shadow: 0 8px 20px rgba(104, 184, 242, 0.35);
}

.btn-secondary {
  background: rgba(8, 11, 16, 0.7);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--bright-white);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.22), transparent 65%);
  transition: transform 0.4s ease;
}

.btn-secondary:hover::before {
  transform: translateX(110%);
}

.gallery-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 1rem;
}

.gallery-track-wrapper {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform 0.35s ease;
}

.gallery-card {
  flex: 0 0 100%;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(9, 14, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 square */
}

.gallery-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  padding: 0.75rem 1rem;
  color: var(--bright-white);
  font-weight: 500;
  font-size: 0.9rem;
}

.slider-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(6, 9, 14, 0.7);
  color: var(--bright-white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

.before-after {
  position: relative;
  overflow: hidden;
  width: min(100%, 980px);
  height: 520px;
  margin: 0 auto;
  touch-action: none;
  user-select: none;
}

.before-after.dragging {
  cursor: ew-resize;
}

.before-image,
.after-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  will-change: width;
}

.divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  cursor: ew-resize;
  touch-action: none;
  will-change: left;
}

.divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 100%;
  transform: translateX(-50%);
}

.divider-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(11, 15, 20, 0.8);
  box-shadow: 0 0 0 8px rgba(11, 15, 20, 0.25);
}

.before-after-labels {
  position: absolute;
  inset: auto 12px 14px 12px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.before-after-controls {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.before-after-btn {
  width: 46px;
  height: 46px;
}

.before-after-counter {
  min-width: 74px;
  text-align: center;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(6, 9, 14, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.36rem 0.7rem;
}

.pricing-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.3fr 0.7fr;
}

.pricing-form-wrap {
  padding: 1.2rem;
}

.pricing-form {
  display: grid;
  gap: 1rem;
}

.pricing-form label,
.pricing-form legend {
  font-weight: 500;
}

.pricing-form select,
.contact-form input,
.contact-form textarea {
  margin-top: 0.4rem;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(10, 16, 23, 0.72);
  color: var(--bright-white);
  padding: 0.78rem 0.85rem;
}

.pricing-form fieldset {
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 12px;
  padding: 1rem;
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.55rem;
}

.pricing-result {
  padding: 1.2rem;
  align-self: start;
}

.pricing-result h3 {
  margin-top: 0;
}

.price-value {
  margin: 0.8rem 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-family: "Sora", sans-serif;
  color: #c6ebff;
  text-shadow: 0 0 20px rgba(127, 200, 255, 0.45);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.2rem;
}

.service-card h3 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form {
  padding: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.map-card {
  padding: 1.2rem;
}

.map-card img {
  margin-top: 0.8rem;
  border-radius: 12px;
  min-height: 320px;
  object-fit: cover;
}

.site-footer {
  margin-top: 2.2rem;
  padding: 2.8rem 0 0;
  background: linear-gradient(135deg, rgba(7, 10, 14, 0.95), rgba(18, 27, 37, 0.95));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-grid h4 {
  margin: 0 0 0.5rem;
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
}

.footer-grid p,
.footer-grid li {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

.footer-grid p + p {
  margin-top: 0.15rem;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social {
  padding: 1.6rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-social h4 {
  margin: 0 0 0.9rem;
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-links a:hover {
  color: var(--bright-white);
  border-color: var(--accent);
  background: rgba(127, 200, 255, 0.08);
}

.social-links svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(199, 216, 233, 0.45);
  letter-spacing: 0.3px;
}

@keyframes shimmer {
  from {
    transform: translateX(-35%);
  }
  to {
    transform: translateX(35%);
  }
}

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 3;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(8, 12, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .nav-links a {
    display: block;
    padding: 0.9rem;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero-content {
    padding: 1.2rem;
  }

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

  .before-after,
  .before-image,
  .after-image {
    height: 340px;
  }

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

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

  .social-links {
    gap: 0.65rem;
  }
}
