:root {
  --yellow: #FFC107;
  --yellow-2: #FFB300;
  --black: #0d0d0d;
  --dark: #141414;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #555;
  --light: #f4f4f4;
  --green: #1fa83c;
  --radius: 16px;
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--yellow); }

/* ---------- HEADER ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__icon { width: 58px; height: 38px; }
.logo__text { display: flex; flex-direction: column; line-height: .95; font-weight: 900; font-size: 21px; letter-spacing: .5px; }
.logo__top { color: var(--yellow); }
.logo__bottom { color: var(--white); }

.nav { display: flex; gap: 38px; }
.nav__link { color: var(--white); font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; transition: color .2s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 100%;
  background: var(--yellow); border-radius: 2px; transform: scaleX(0); transition: transform .25s;
}
.nav__link:hover, .nav__link.active { color: var(--yellow); }
.nav__link.active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav .nav__cta-mobile { display: none; }

.btn--pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--yellow); color: #111; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(255,193,7,.25);
  transition: transform .2s, background .2s;
}
.btn--pill svg { font-size: 20px; }
.btn--pill:hover { background: var(--yellow-2); transform: translateY(-2px); }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 26px; height: 3px; background: var(--white); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 640px; padding: 130px 0 50px;
  color: var(--white); overflow: hidden; background: #070707;
}
.hero__bg {
  position: absolute; top: 76px; right: 0; bottom: 0; width: 64%;
  background: url("images/hero.jpg") center/cover no-repeat;
  background-image: image-set(url("images/hero.webp") type("image/webp"), url("images/hero.jpg") type("image/jpeg"));
}
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #070707 0%, rgba(7,7,7,.75) 18%, rgba(7,7,7,0) 45%),
              linear-gradient(0deg, rgba(7,7,7,.5) 0%, rgba(7,7,7,0) 25%);
}
.hero__content { position: relative; z-index: 1; }
.hero__title {
  display: flex; flex-direction: column;
  font-size: clamp(40px, 5.6vw, 66px); font-weight: 900; line-height: 1.04;
  text-shadow: 0 4px 20px rgba(0,0,0,.6);
}
.hero__eyebrow {
  display: inline-flex !important; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; line-height: 1;
  color: #111; background: var(--yellow); padding: 8px 14px; border-radius: 999px; margin-bottom: 18px;
  text-shadow: none;
}
.hero__eyebrow svg { font-size: 16px; }
.hero__lead { margin-top: 16px; font-size: clamp(18px, 2vw, 22px); font-weight: 400; text-shadow: 0 2px 10px rgba(0,0,0,.8); }

.hero__actions { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; max-width: 370px; }

.cta {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 22px; border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.cta:hover { transform: translateY(-3px); }
.cta__icon { font-size: 30px; }
.cta__text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; font-size: 17px; }
.cta__text strong { font-weight: 600; }
.cta__text span { font-weight: 500; }
.cta__chev { font-size: 22px; }
.cta--yellow { background: var(--yellow); color: #111; box-shadow: 0 8px 26px rgba(255,193,7,.3); }
.cta--yellow:hover { background: var(--yellow-2); }
.cta--yellow .cta__text strong { font-weight: 700; }
.cta--outline { border: 2px solid rgba(255,255,255,.9); background: rgba(0,0,0,.45); color: var(--white); }
.cta--outline:hover { background: rgba(255,255,255,.08); }
.cta__icon--wa { color: #fff; background: var(--green); border-radius: 50%; padding: 5px; font-size: 38px; }
.cta--green { background: var(--green); color: var(--white); }
.cta--green:hover { background: #1b9535; }

.badges { display: flex; margin-top: 30px; }
.badges li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; line-height: 1.35;
  padding: 0 18px; border-left: 1px solid rgba(255,255,255,.25);
}
.badges li:first-child { padding-left: 0; border-left: 0; }
.badge__icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 2px solid var(--yellow); border-radius: 50%; color: var(--yellow); font-size: 24px;
}

/* ---------- SECTION TITLE ---------- */
.section-title { font-size: 30px; font-weight: 800; color: var(--text); position: relative; padding-bottom: 12px; margin-bottom: 28px; display: inline-block; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; background: var(--yellow); border-radius: 3px; }
.section-title--light { color: var(--white); }

/* ---------- SERVICES ---------- */
.services { background: var(--light); padding: 44px 0 34px; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service { text-align: center; padding: 6px 18px 14px; position: relative; transition: transform .25s; }
.service + .service::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: #ddd; }
.service:hover { transform: translateY(-4px); }
.service__icon {
  width: 60px; height: 60px; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--yellow); border-radius: 50%; font-size: 30px; color: #111;
  box-shadow: 0 6px 18px rgba(255,193,7,.35);
}
.service h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.service p { font-size: 14px; color: var(--muted); }

/* ---------- COMFORT ---------- */
.comfort { position: relative; overflow: hidden; color: var(--white); padding: 56px 0; min-height: 300px; background: #0b0b0b; }
.comfort__bg {
  position: absolute; inset: 0 0 0 auto; width: 62%;
  background: url("images/konfor.jpg") center/cover no-repeat;
  background-image: image-set(url("images/konfor.webp") type("image/webp"), url("images/konfor.jpg") type("image/jpeg"));
}
.comfort__bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0b0b0b 0%, rgba(11,11,11,.7) 22%, rgba(11,11,11,0) 55%);
}
.comfort__content { position: relative; z-index: 1; }
.comfort__title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; line-height: 1.2; }
.comfort__text { max-width: 400px; margin-top: 14px; font-size: 17px; color: #eee; }
.features { display: flex; gap: 30px; margin-top: 24px; }
.features li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; line-height: 1.3; }
.feature__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--yellow); color: #111; border-radius: 50%; font-size: 24px; }
.feature__icon--ring { background: transparent; border: 2px solid var(--yellow); color: var(--yellow); }

/* ---------- GALLERY ---------- */
.gallery { background: var(--light); padding: 36px 0 20px; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-start; }
.gallery__head .section-title { margin-bottom: 20px; }
.gallery__nav { display: flex; gap: 8px; }
.gallery__btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 22px; transition: background .2s; }
.gallery__btn:hover { background: var(--yellow); }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 6px;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { display: block; scroll-snap-align: start; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; }
.gallery__item picture { display: block; width: 100%; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- ABOUT / FAQ ---------- */
.about { background: var(--white); padding: 50px 0; }
.about__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.about__text p { color: #333; font-size: 15.5px; margin-bottom: 14px; }
.about__text a { color: #111; font-weight: 700; border-bottom: 2px solid var(--yellow); }
.faq details { border: 1px solid #e6e6e6; border-radius: 12px; margin-bottom: 10px; background: var(--light); overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 48px 15px 18px; font-weight: 600; font-size: 15.5px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; color: #444; font-size: 14.5px; }

/* ---------- CONTACT ---------- */
.contact { background: var(--dark); color: var(--white); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; max-width: 1400px; margin: 0 auto; }
.contact__left {
  padding: 36px 24px 40px max(24px, calc((100vw - var(--container)) / 2 + 24px));
}
.contact__nap { color: #ccc; font-size: 15px; margin: -12px 0 20px; }
.contact__nap strong { color: var(--white); }
.contact__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 560px; }
.cta--flat { padding: 20px 22px; }
.cta--flat .cta__text { font-size: 16px; }
.contact__map { min-height: 200px; padding: 10px 0 10px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 190px; border: 0; border-radius: 6px 0 0 6px; filter: saturate(.9); }

/* ---------- FOOTER ---------- */
.footer { background: #070707; color: #888; font-size: 13px; text-align: center; padding: 18px 0; }
.footer a { color: var(--yellow); }

/* ---------- STICKY BAR (mobil) ---------- */
.sticky-bar { display: none; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(0,0,0,.9); opacity: 0; pointer-events: none; transition: opacity .25s; padding: 20px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 85vh; border-radius: 10px; }
.lightbox__close { position: absolute; top: 16px; right: 22px; font-size: 42px; color: #fff; line-height: 1; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .nav { gap: 24px; }
  .header__cta { padding: 11px 18px; font-size: 14px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .service:nth-child(3)::before { display: none; }
  .gallery__track { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .contact__inner { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 20px; }
  .contact__map { padding: 0; }
  .contact__map iframe { border-radius: 0; min-height: 260px; }
}

@media (max-width: 820px) {
  .header__cta { display: none; }
  .burger { display: flex; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 24px 24px;
    background: rgba(10,10,10,.98);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav__link { padding: 14px 0; font-size: 16px; border-bottom: 1px solid #222; }
  .nav__link::after { display: none; }
  .nav .nav__cta-mobile { display: inline-flex; justify-content: center; margin-top: 18px; }

  .hero { padding: 0 0 40px; min-height: 0; }
  .hero__bg { position: relative; top: 0; width: 100%; height: 320px; margin-top: 76px; background-position: center 10%; }
  .hero__bg::before { background: linear-gradient(0deg, #070707 0%, rgba(7,7,7,0) 45%); }
  .hero__content { margin-top: -60px; }
  .hero__actions { max-width: none; }

  .comfort { padding: 0 0 40px; }
  .comfort__bg { position: relative; width: 100%; height: 240px; }
  .comfort__bg::before { background: linear-gradient(0deg, #0b0b0b 0%, rgba(11,11,11,0) 50%); }
  .comfort__content { margin-top: -20px; }

  .contact__actions { grid-template-columns: 1fr; max-width: none; }

  .sticky-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -4px 20px rgba(0,0,0,.4);
  }
  .sticky-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; font-weight: 700; font-size: 16px; }
  .sticky-bar svg { font-size: 22px; }
  .sticky-bar__call { background: var(--yellow); color: #111; }
  .sticky-bar__wa { background: var(--green); color: #fff; }
  .footer { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .logo__icon { width: 48px; height: 32px; }
  .logo__text { font-size: 18px; }
  .badges li { padding: 0 10px; font-size: 13px; gap: 8px; }
  .badge__icon { width: 36px; height: 36px; font-size: 20px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service { padding: 6px 8px 10px; }
  .service h3 { font-size: 15px; }
  .service p { font-size: 13px; }
  .service p br { display: none; }
  .features { gap: 14px; flex-wrap: wrap; }
  .features li { font-size: 14px; gap: 8px; }
  .feature__icon { width: 38px; height: 38px; font-size: 20px; }
  .gallery__track { grid-auto-columns: 80%; }
  .section-title { font-size: 26px; }
  .contact__left { padding: 32px 16px; }
}
