:root {
  --orange: #ef7222;
  --orange-dark: #d45f14;
  --grey: #b0b0b1;
  --grey-mid: #6d6e70;
  --charcoal: #231f20;
  --black: #111011;
  --panel: #1b1a1b;
  --white: #ffffff;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --script: "Kaushan Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: #e6e6e6;
  background: var(--black);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; color: var(--white); margin: 0 0 .6em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.eyebrow {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .25em; color: var(--orange); margin: 0 0 .5em; font-size: .95rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  background: var(--orange); color: var(--white); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .75em 1.4em; border-radius: 4px; border: 2px solid var(--orange);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--grey-mid); }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--small { font-size: 1rem; padding: .5em 1em; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 16, 17, .92); backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--orange);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }
.topbar__logo img { height: 46px; width: auto; }
.topbar__nav { display: flex; gap: 28px; }
.topbar__nav a {
  text-decoration: none; font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--grey);
}
.topbar__nav a:hover { color: var(--orange); }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 70px); display: flex; flex-direction: column; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 60%;
  transform: scale(1); opacity: 0;
  /* reset zoom only once the slide has faded out */
  transition: opacity 1.2s ease, transform 0s linear 1.2s;
  will-change: transform, opacity;
}
.hero__bg.is-active { opacity: 1; }
/* Slow 5% zoom with a gentle pan, direction varies per slide */
.hero__bg.is-moving { transform: scale(1.05); transition: opacity 1.2s ease, transform 7s ease-out; }
.hero__bg.is-moving:nth-child(4n+2) { transform: scale(1.05) translate(-2%, 0); }
.hero__bg.is-moving:nth-child(4n+3) { transform: scale(1.05) translate(2%, -1%); }
.hero__bg.is-moving:nth-child(4n+4) { transform: scale(1.05) translate(0, 2%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(17,16,17,.78) 0%, rgba(17,16,17,.45) 45%, rgba(17,16,17,.9) 100%);
}
.hero__inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 0 40px;
}
.hero__logo { width: min(760px, 92%); height: auto; filter: drop-shadow(0 6px 20px rgba(0,0,0,.6)); }
.hero__script {
  font-family: var(--script); font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  color: var(--white); line-height: 1.15; margin: 40px 0 30px;
  transform: rotate(-4deg); text-shadow: 0 3px 14px rgba(0,0,0,.7);
}
.hero__script span { color: var(--orange); display: block; }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.phone-big {
  display: inline-flex; align-items: center; gap: 16px; text-decoration: none;
  font-family: var(--display); font-weight: 800; color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; letter-spacing: .02em;
}
.phone-big__icon {
  display: inline-grid; place-items: center; width: 1.15em; height: 1.15em;
  border-radius: 50%; background: var(--orange); color: var(--white);
}
.phone-big__icon .ico { width: .6em; height: .6em; }
.hero__url {
  font-family: var(--display); letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; color: var(--grey); font-size: 1.05rem;
}
.hero__url:hover { color: var(--orange); }

.hero__strip {
  position: relative; z-index: 2;
  background: rgba(17,16,17,.82); border-top: 3px solid var(--orange);
  padding: 26px 0;
}

/* Icon row (from MAIN PAGE / Footer references) */
.icon-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 4px 12px; position: relative;
}
.icon-item + .icon-item::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 2px;
  background: linear-gradient(transparent, var(--orange), transparent);
}
.icon-item svg { width: 58px; height: 58px; color: var(--white); }
.icon-item span {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; line-height: 1.2; color: var(--white); font-size: 1.05rem;
}

/* LBP band */
.band { background: var(--charcoal); border-bottom: 1px solid #333; padding: 34px 0; }
.band__inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.lbp { display: flex; align-items: center; gap: 18px; }
.lbp__logo {
  display: block; width: 110px; height: 110px; border-radius: 50%;
  background: var(--white); padding: 4px; object-fit: contain;
}
.lbp p {
  margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; line-height: 1.15; font-size: 1.3rem; color: var(--white);
}
.band__divider { width: 2px; height: 80px; background: var(--grey-mid); }
.script-accent {
  font-family: var(--script); color: var(--grey); font-size: 2.2rem; line-height: 1.05;
  margin: 0; transform: rotate(-8deg);
}
.script-accent span { color: var(--orange); display: inline-block; border-bottom: 3px solid var(--orange); padding-bottom: 2px; }

/* Services */
.services { padding: 90px 0; background: var(--black); text-align: center; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; text-align: left; }
.card {
  background: var(--panel); border: 1px solid #2c2b2c; border-top: 4px solid var(--orange);
  padding: 30px 24px; border-radius: 4px; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--orange); }
.card__icon { width: 54px; height: 54px; color: var(--orange); margin-bottom: 16px; }
.card p { margin: 0; color: #bdbdbd; font-size: 1rem; }

/* About */
.about {
  padding: 90px 0;
  background:
    linear-gradient(90deg, rgba(35,31,32,.97) 0%, rgba(35,31,32,.93) 60%, rgba(35,31,32,.8) 100%),
    url("assets/gallery/project-10.jpg") center / cover;
}
.about__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.about__text p { color: #d0d0d0; }
.about__cta-text { font-size: 1.1rem; }
.about__cta-text strong { color: var(--white); }
.about__buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: rgba(17,16,17,.75); border-left: 4px solid var(--orange);
  padding: 22px 20px; border-radius: 3px;
}
.stat strong { display: block; font-family: var(--display); font-size: 2.6rem; color: var(--white); line-height: 1; }
.stat span { color: var(--grey); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }

/* Gallery */
.gallery { padding: 90px 0 70px; background: var(--black); }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.gallery__head h2 { margin: 0; }
.gallery__controls { display: flex; gap: 10px; }
.gbtn {
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--grey-mid);
  background: transparent; color: var(--white); font-size: 1.3rem; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.gbtn:hover { background: var(--orange); border-color: var(--orange); }
.slider {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 max(20px, (100% - 1200px) / 2) 16px; scrollbar-width: thin; scrollbar-color: var(--orange) #222;
}
.slider:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.slide {
  flex: 0 0 auto; margin: 0; height: 420px; aspect-ratio: 4 / 3; scroll-snap-align: start;
  border-radius: 4px; overflow: hidden; background: #222;
}
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.slide:hover img { transform: scale(1.04); }

/* Contact */
.contact { background: var(--charcoal); padding: 80px 0; border-top: 3px solid var(--orange); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact__logo { width: 100%; max-width: 520px; height: auto; }
.contact__details ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact__details li { display: flex; align-items: center; gap: 14px; font-size: 1.25rem; }
.contact__details .ico { color: var(--orange); width: 1.4em; height: 1.4em; }
.contact__details a { text-decoration: none; color: var(--white); }
.contact__details a:hover { color: var(--orange); }

/* Footer (Footer 2 reference) */
.footer { background: #0b0b0b; }
.footer__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px;
  padding: 40px 0;
}
.footer__lbp { display: flex; align-items: center; gap: 18px; padding-right: 30px; border-right: 2px solid var(--orange); justify-self: start; }
.lbp__logo--sm { width: 80px; height: 80px; padding: 3px; }
.footer__lbp p { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; line-height: 1.5; color: var(--grey); }
.footer__lbp strong { display: block; color: var(--white); font-size: 1.05rem; letter-spacing: .2em; }
.footer__phone { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.phone-mid {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--white); line-height: 1.1;
}
.footer__url { color: var(--grey); text-decoration: none; letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; }
.footer__url:hover { color: var(--orange); }
.footer__script { justify-self: end; padding-left: 30px; border-left: 2px solid var(--orange); }
.script-accent--sm { font-size: 1.7rem; transform: rotate(-5deg); color: var(--white); }
.footer__base { border-top: 1px solid #222; padding: 16px 0; font-size: .85rem; color: var(--grey-mid); text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  .topbar__nav { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__lbp, .footer__script { justify-self: center; border: 0; padding: 0; }
  .slide { height: 320px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__logo img { height: 36px; }
  .btn--small span { display: none; }
  .icon-row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .icon-item:nth-child(3)::before { display: none; }
  .icon-item svg { width: 46px; height: 46px; }
  .icon-item span { font-size: .9rem; }
  .cards { grid-template-columns: 1fr; }
  .band__divider { display: none; }
  .band__inner { gap: 28px; }
  .slide { height: 260px; }
  .gbtn { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
