/* ==========================================================================
   Excellent Laser Tech — site styles
   Brand: Orange #f59520 · Brown #412321
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #f59520;
  --orange-ink: #b45f06;          /* orange for small text on light backgrounds (AA) */
  --orange-50: #fff4e6;
  --brown: #412321;
  --brown-800: #2a1715;
  --brown-900: #1c0f0d;
  --text: #5c4a46;
  --muted: #8a7772;
  --cream: #faf6f1;
  --sand: #f3ebe2;
  --line: #ebe0d5;
  --white: #fff;

  --font: "Jost", "Futura", "Century Gothic", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(65, 35, 33, .06);
  --shadow: 0 12px 32px -12px rgba(65, 35, 33, .18);
  --shadow-lg: 0 30px 60px -20px rgba(65, 35, 33, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--font); color: var(--brown); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--brown-900); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(72px, 5rem + 3vw, 128px) 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brown); color: #fff; padding: 10px 18px; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Shared components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 16px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--orange); }
.accent { color: var(--orange); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:last-child { margin: 0; font-size: 1.125rem; color: var(--muted); }

.btn {
  --btn-bg: var(--orange); --btn-fg: var(--brown-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; letter-spacing: .01em; line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .icon { font-size: 1.15em; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(245, 149, 32, .65); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--primary:hover { --btn-bg: #ffa53a; }
.btn--dark { --btn-bg: var(--brown); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--brown-800); box-shadow: 0 12px 24px -10px rgba(65, 35, 33, .6); }
.btn--ghost { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--brown); border-color: #fff; box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--brown); }
.btn--light:hover { box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); border-color: #fff; box-shadow: none; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--brown-900); color: rgba(255, 255, 255, .78); font-size: .875rem; display: none; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; }
.topbar__info { display: flex; gap: 28px; }
.topbar__info li, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info .icon { color: var(--orange); }
.topbar a:hover { color: var(--orange); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; font-size: 1rem; border-radius: 50%; transition: background-color .2s, color .2s; }
.topbar__social a:hover { background: var(--orange); color: var(--brown-900); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(65, 35, 33, .22); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; margin-right: auto; }
.brand img { height: 52px; width: auto; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 14px;
  font-weight: 500; color: var(--brown); border-radius: 8px;
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--orange-ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { display: none; }
.header__cta { flex: none; }

.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--brown); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(600px, 88vh, 880px);
  padding: 120px 0 170px;
  color: #fff; background: var(--brown-900);
}
.hero__bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; animation: heroZoom 18s var(--ease) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(28, 15, 13, .96) 0%, rgba(28, 15, 13, .82) 38%, rgba(28, 15, 13, .35) 70%, rgba(28, 15, 13, .15) 100%),
    linear-gradient(0deg, rgba(28, 15, 13, .9) 0%, rgba(28, 15, 13, 0) 40%);
}
.hero::after { /* blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
}
.hero__beam { /* sweeping laser line */
  position: absolute; left: 0; right: 0; top: 0; z-index: -1; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(245, 149, 32, .9) 30%, #ffd9a8 50%, rgba(245, 149, 32, .9) 70%, transparent);
  box-shadow: 0 0 18px 2px rgba(245, 149, 32, .55);
  opacity: 0; animation: beam 7s 1.2s ease-in-out infinite;
}
.hero__content { max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 24px; }
.hero__lead { max-width: 580px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: rgba(255, 255, 255, .82); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--orange); font-size: 1.1em; stroke-width: 2.5; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 118px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 20px; display: none;
}
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: scrollDot 1.8s ease-in-out infinite; }

/* Hero entrance */
.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__content > :nth-child(5) { animation-delay: .32s; }

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 5; margin-top: -96px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.stat { position: relative; padding: 28px 22px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat:nth-child(3) { border-left: 0; }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat__value { display: block; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 700; color: var(--brown); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__value small { font-size: .5em; font-weight: 600; color: var(--orange-ink); margin-left: 4px; letter-spacing: 0; }
.stat__label { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 64px; align-items: center; }
.about__media { position: relative; padding: 0 0 56px 0; max-width: 560px; }
.about__img-main { width: 82%; aspect-ratio: 38 / 45; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__img-inset {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute; left: -10px; bottom: 96px;
  display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px;
  background: var(--orange); color: var(--brown-900); border-radius: var(--radius); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.about__badge-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brown); color: var(--orange); font-size: 1.4rem; }
.about__badge strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.about__badge span { font-size: .85rem; line-height: 1.3; }
.about__media { isolation: isolate; }
.about__dots { position: absolute; top: -26px; right: 4%; width: 120px; height: 120px; z-index: -1; background-image: radial-gradient(var(--orange) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .45; }
.lead { font-size: 1.1875rem; color: var(--brown); line-height: 1.6; }
.checklist { display: grid; gap: 14px; margin: 28px 0 36px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--brown); }
.checklist .icon { flex: none; width: 26px; height: 26px; padding: 5px; margin-top: 1px; border-radius: 50%; background: var(--orange-50); color: var(--orange-ink); stroke-width: 3; }

/* ---------- Services ---------- */
.services { background: var(--cream); position: relative; }
.services__grid { display: grid; gap: 28px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--sand); }
.service-card__clip { position: absolute; inset: 0; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__icon {
  position: absolute; left: 24px; bottom: -26px; z-index: 1;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px;
  background: var(--orange); color: var(--brown-900); font-size: 1.6rem; box-shadow: 0 10px 20px -6px rgba(245, 149, 32, .6);
}
.service-card__num { position: absolute; right: 22px; top: 18px; font-size: .85rem; font-weight: 600; letter-spacing: .1em; color: #fff; background: rgba(28, 15, 13, .55); padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.service-card__body { padding: 44px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card__body > p { color: var(--text); }
.specs { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.specs__title { margin: 8px 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.specs dl { margin: 0; }
.specs dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs dl div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--brown); text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--orange-50); color: var(--brown); font-size: .875rem; font-weight: 500; border: 1px solid #fbe1bf; }

/* ---------- Why us ---------- */
.why { position: relative; isolation: isolate; overflow: hidden; background: var(--brown-900); color: rgba(255, 255, 255, .75); }
.why::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 149, 32, .28), transparent); }
.why::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 20% 50%, #000, transparent 70%);
}
.why h2 { color: #fff; }
.why__grid { display: grid; gap: 48px; align-items: center; }
.why__intro p:not(.eyebrow) { font-size: 1.125rem; margin-bottom: 32px; }
.why__cards { display: grid; gap: 20px; }
.feature {
  position: relative; padding: 30px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .09);
  transition: transform .4s var(--ease), border-color .4s, background-color .4s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(245, 149, 32, .55); }
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 14px; background: rgba(245, 149, 32, .14); color: var(--orange); font-size: 1.6rem; transition: background-color .3s, color .3s; }
.feature:hover .feature__icon { background: var(--orange); color: var(--brown-900); }
.feature h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.feature p { margin: 0; font-size: .975rem; line-height: 1.65; }

/* ---------- Process ---------- */
.process__grid { display: grid; gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px 26px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.step:hover { border-color: #f8c98c; box-shadow: var(--shadow); transform: translateY(-4px); }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brown); color: var(--orange); font-size: 1.45rem; position: relative; z-index: 1; box-shadow: 0 0 0 8px #fff; }
.step__num { font-size: 2.6rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #e9d9c8; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: .975rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -16px 0 40px; }
.filter {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--brown); font-weight: 500; font-size: .95rem; transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--orange); color: var(--orange-ink); }
.filter.is-active { background: var(--brown); border-color: var(--brown); color: #fff; box-shadow: 0 8px 18px -8px rgba(65, 35, 33, .6); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery__item[hidden] { display: none !important; }
.gallery__item.pop { animation: pop .5s var(--ease) both; }
.gallery__link { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
  background: linear-gradient(0deg, rgba(28, 15, 13, .94) 0%, rgba(28, 15, 13, .6) 32%, rgba(28, 15, 13, 0) 62%);
  color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.gallery__cat { margin-bottom: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.gallery__title { font-weight: 600; line-height: 1.3; font-size: .95rem; }
.gallery__zoom { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--brown-900); font-size: 1.1rem; transform: scale(.6); opacity: 0; transition: transform .35s var(--ease), opacity .35s; }
.gallery__link:hover img { transform: scale(1.08); }
.gallery__link:hover .gallery__zoom, .gallery__link:focus-visible .gallery__zoom { transform: none; opacity: 1; }

/* Lightbox */
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 10, 9, .95); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(20, 10, 9, .6); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .25s ease both; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1200px, 92vw); }
.lightbox__img { max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: opacity .25s; }
.lightbox__img.is-loading { opacity: .2; }
.lightbox__caption { font-weight: 500; font-size: 1.05rem; text-align: center; }
.lightbox__count { color: rgba(255, 255, 255, .6); font-size: .9rem; margin-left: 10px; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.4rem; transition: background-color .2s, color .2s; }
.lightbox__btn:hover { background: var(--orange); color: var(--brown-900); border-color: var(--orange); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-open { overflow: hidden; }

/* ---------- Clients ---------- */
.clients { padding-bottom: clamp(64px, 4rem + 2vw, 104px); overflow: hidden; }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-tile { display: grid; place-items: center; width: 200px; height: 112px; padding: 18px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .3s, transform .3s var(--ease); }
.logo-tile:hover { border-color: #f8c98c; transform: translateY(-3px); }
.logo-tile img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 4rem + 2vw, 96px) 0; color: #fff; background: var(--brown); }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(42, 23, 21, .96) 0%, rgba(65, 35, 33, .9) 45%, rgba(245, 149, 32, .82) 100%); }
.cta__inner { display: grid; gap: 28px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.75rem); margin-bottom: 10px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.125rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.contact__grid { display: grid; gap: 48px; align-items: start; }
.info-list { display: grid; gap: 14px; margin-top: 32px; }
.info-item { display: flex; gap: 18px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.info-item:hover { border-color: #f8c98c; box-shadow: var(--shadow); }
.info-item__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--orange-50); color: var(--orange-ink); font-size: 1.35rem; }
.info-item h3 { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 2px 0 4px; }
.info-item p, .info-item address { margin: 0; color: var(--brown); font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
.info-item > div { min-width: 0; }
.info-item a:not(.text-link):hover { color: var(--orange-ink); }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; font-size: .95rem; color: var(--orange-ink); }
.text-link:hover .icon { transform: translate(2px, -2px); }
.text-link .icon { transition: transform .2s; }

.form-card { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card::before { content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: var(--orange); }
.form-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card__intro { color: var(--muted); margin-bottom: 26px; }
.form__row { display: grid; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-weight: 600; font-size: .9rem; color: var(--brown); }
.field label span { color: var(--orange-ink); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--cream); color: var(--brown); font: inherit; font-size: 1rem; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #b3a49f; }
.field input:hover, .field textarea:hover { border-color: #ddc9b6; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245, 149, 32, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c8372d; background: #fff7f6; }
.field__error { display: block; min-height: 0; margin-top: 6px; font-size: .85rem; color: #b3261e; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; font-size: .95rem; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-error { background: #fdecea; color: #8c1d18; border: 1px solid #f5c2bd; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(28, 15, 13, .25); border-top-color: var(--brown-900); border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .icon { display: none; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.form-success { text-align: center; padding: 28px 8px; }
.form-success[hidden] { display: none; }
.form-success__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--orange-50); color: var(--orange-ink); font-size: 2.2rem; box-shadow: 0 0 0 10px rgba(245, 149, 32, .08); animation: pop .6s var(--ease) both; }
.form-success__icon .icon { stroke-width: 2.5; }
.form-success p { color: var(--text); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--brown-900); color: rgba(255, 255, 255, .68); font-size: .975rem; }
.footer__top { display: grid; gap: 40px; padding: 80px 20px 56px; }
.footer__logo { height: 56px; width: auto; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--orange); border-radius: 2px; }
.footer__links li + li { margin-top: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--orange); }
.footer__contact li { display: flex; gap: 12px; overflow-wrap: anywhere; }
.footer__contact li + li { margin-top: 14px; }
.footer__contact .icon { color: var(--orange); margin-top: 5px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 1.1rem; transition: background-color .2s, color .2s, transform .2s; }
.social a:hover { background: var(--orange); color: var(--brown-900); transform: translateY(-3px); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; font-size: .9rem; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--orange); color: var(--brown-900); font-size: 1.25rem; box-shadow: 0 10px 24px -8px rgba(245, 149, 32, .7);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brown); color: var(--orange); }

/* ---------- Animations ---------- */
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes beam { 0% { top: 8%; opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { top: 92%; opacity: 0; } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (min-width: 576px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .why__cards { grid-template-columns: 1fr 1fr; }
  .process__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { gap: 18px; }
}

@media (min-width: 768px) {
  .topbar { display: block; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat:nth-child(3) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 0; }
  .stat { padding: 34px 24px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1.4fr 1fr; }
  .cta__inner { grid-template-columns: 1fr auto; }
  .hero__scroll { display: block; }
}

@media (min-width: 992px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .why__cards .feature:nth-child(even) { transform: translateY(32px); }
  .why__cards .feature:nth-child(even):hover { transform: translateY(26px); }
  .process__grid { grid-template-columns: repeat(4, 1fr); }
  .process__grid::before { content: ""; position: absolute; left: 12%; right: 12%; top: 59px; border-top: 2px dashed #ebd6bf; z-index: 0; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
  .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 48px; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .nav-toggle { display: block; }
  .header__cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(65, 35, 33, .35);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .4s var(--ease), visibility .4s;
  }
  .nav-open .nav { max-height: 80vh; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__cta { display: block; margin-top: 16px; }
  .nav__cta .btn { width: 100%; }
}

@media (min-width: 992px) {
  .nav { display: block !important; }
}

@media (max-width: 575.98px) {
  .hero { padding: 88px 0 150px; min-height: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .about__media { padding-bottom: 40px; }
  .about__badge { left: 0; bottom: 70px; padding: 12px 16px 12px 12px; }
  .about__badge-icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .gallery__title { font-size: .85rem; }
  .gallery__cat { display: none; }
  .gallery__overlay { padding: 12px; }
  .info-item { padding: 16px; gap: 14px; }
  .info-item__icon { width: 44px; height: 44px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .cta__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__beam { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
