/* ===== Design tokens ===== */
:root {
  --bg: #0a0b0d;
  --bg-2: #101216;
  --surface: #16181d;
  --surface-2: #1c1f26;
  --line: rgba(255, 255, 255, .09);
  --text: #f2f3f5;
  --muted: #9aa0aa;
  --accent: #ff5a1f;
  /* molten orange */
  --accent-2: #ff8a3d;
  --chrome-1: #e9edf2;
  --chrome-2: #aeb6c2;
  --radius: 18px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: 'Sora', sans-serif;
  line-height: 1.05;
  letter-spacing: -.02em;
}

/* ===== Buttons ===== */
.btn {
  --pad: 15px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: var(--pad);
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
  white-space: nowrap;
}

.btn--sm {
  --pad: 10px 18px;
  font-size: .85rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(255, 90, 31, .6);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -8px rgba(255, 90, 31, .75);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  transform: translateY(-3px);
}

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity .6s ease, visibility 1s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

.preloader__logo {
  width: clamp(180px, 44vw, 260px);
  height: auto;
  animation: logopulse 1.6s ease-in-out infinite;
}

@keyframes logopulse {

  0%,
  100% {
    transform: scale(.94);
    opacity: .75;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== Navbar ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(18px, 5vw, 48px);
  transition: background .4s var(--ease), padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 11, 13, .82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora';
  font-weight: 600;
  font-size: 1.05rem;
}

.nav__logo strong {
  font-weight: 800;
}

.nav__logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.nav__links {
  display: flex;
  gap: 30px;
}

.nav__links a {
  font-size: .92rem;
  color: var(--muted);
  font-weight: 500;
  transition: color .25s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__burger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: .3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(18px, 5vw, 48px);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media--img {
  background:
    linear-gradient(180deg, rgba(10, 11, 13, .2), rgba(10, 11, 13, .5)),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1900&q=80') center/cover no-repeat;
  animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.16) translateY(-2%);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(255, 90, 31, .14), transparent 60%),
    linear-gradient(90deg, rgba(10, 11, 13, .92) 0%, rgba(10, 11, 13, .55) 55%, rgba(10, 11, 13, .25) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 40%);
}

.hero__content {
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: 'Sora';
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 8px 16px;
  border: 1px solid rgba(255, 138, 61, .35);
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  font-weight: 800;
}

.hero__title span {
  display: block;
}

.hero__title-accent {
  background: linear-gradient(100deg, var(--chrome-1), var(--chrome-2) 60%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  max-width: 560px;
  margin: 24px 0 34px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll span {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  animation: scrolldot 1.6s infinite;
}

@keyframes scrolldot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  70% {
    transform: translateY(14px);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats__item {
  background: var(--bg);
  padding: 34px 20px;
  text-align: center;
}

.stats__num {
  font-family: 'Sora';
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
}

.stats__plus {
  font-family: 'Sora';
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
}

.stats__label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .86rem;
  letter-spacing: .03em;
}

/* ===== Section shell ===== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 48px);
}

.section__head {
  margin-bottom: 54px;
  max-width: 640px;
}

.section__eyebrow {
  font-family: 'Sora';
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 800;
}

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s;
  background: radial-gradient(400px 200px at 50% 0%, rgba(255, 90, 31, .16), transparent 70%);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 90, 31, .45);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: .96rem;
}

/* ===== Before / After ===== */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}

.ba {
  margin: 0;
}

.ba__caption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
  font-family: 'Sora';
  font-weight: 600;
}

.ba__slider {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 1/1);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  user-select: none;
  background: #000;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}

/* All sliders share the same square frame so both tiles match in size.
   Portrait photos are centre-cropped to fit. */
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba__before {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.ba__before .ba__img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--ba-w, 900px);
  max-width: none;
  object-fit: cover;
}

.ba__tag {
  position: absolute;
  top: 16px;
  z-index: 3;
  font-family: 'Sora';
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.ba__tag--before {
  left: 16px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
}

.ba__tag--after {
  right: 16px;
  background: var(--accent);
  color: #fff;
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}

.ba__handle span::before {
  content: '‹ ›';
  font-weight: 700;
  letter-spacing: -2px;
}

.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

.gallery__note {
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
  margin-top: 22px;
}

.gallery__note code {
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--accent-2);
}

/* ===== Testimonials ===== */
.reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 34px;
}

.reviews__score {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviews__stars {
  color: #ffb020;
  font-size: 1.5rem;
  letter-spacing: 3px;
}

.reviews__scoretext {
  color: var(--muted);
  font-size: .9rem;
}

.reviews__sources {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.reviews__badge {
  font-family: 'Sora';
  font-weight: 700;
  font-size: .82rem;
  color: var(--text);
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: border-color .25s, color .25s;
}

.reviews__badge:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

/* Marquee track — scrolls continuously to the left, pauses on hover */
.reviews__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.reviews__marquee:hover .reviews__track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.tcard {
  flex: 0 0 auto;
  width: clamp(280px, 78vw, 380px);
  margin-right: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}

.tcard:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 31, .4);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .7);
}

.tcard__stars {
  color: #ffb020;
  letter-spacing: 2px;
  font-size: 1.05rem;
}

.tcard blockquote {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.55;
}

.tcard blockquote::before {
  content: '“';
  color: var(--accent);
  font-family: 'Sora';
  font-size: 2rem;
  line-height: 0;
  vertical-align: -.35em;
  margin-right: 4px;
}

.tcard__by {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.tcard__name {
  font-family: 'Sora';
  font-weight: 700;
  font-size: .95rem;
}

.tcard__src {
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 100px;
  letter-spacing: .02em;
}

.tcard__src--google {
  background: rgba(66, 133, 244, .15);
  color: #7aa9ff;
  border: 1px solid rgba(66, 133, 244, .35);
}

.tcard__src--facebook {
  background: rgba(24, 119, 242, .15);
  color: #6ea8ff;
  border: 1px solid rgba(24, 119, 242, .35);
}

.reviews__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ===== Quote ===== */
.quote {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  max-width: 100%;
}

.quote__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.quote__lead {
  color: var(--muted);
  margin: 18px 0 24px;
}

.quote__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote__perks li {
  color: var(--text);
}

.quote__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  position: relative;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px 8px;
  color: var(--text);
  font-family: inherit;
  font-size: .96rem;
  transition: border-color .25s, background .25s;
  resize: vertical;
}

.field textarea {
  padding-top: 20px;
}

.field select {
  padding-top: 18px;
  appearance: none;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #14161b;
}

.field label {
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--muted);
  font-size: .95rem;
  pointer-events: none;
  transition: .2s var(--ease);
  transform-origin: left;
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:focus+label,
.field textarea:not(:placeholder-shown)+label,
.field select:valid+label,
.label--select {
  transform: translateY(-9px) scale(.78);
  color: var(--accent-2);
}

.label--select {
  transform: translateY(-9px) scale(.78);
}

/* Dropzone */
.dropzone {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}

.dropzone:hover,
.dropzone.is-drag {
  border-color: var(--accent);
  background: rgba(255, 90, 31, .05);
}

.dropzone__prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.dropzone__icon {
  font-size: 1.6rem;
}

.dropzone__prompt u {
  color: var(--accent-2);
}

.dropzone__prompt small {
  font-size: .78rem;
  opacity: .7;
}

.dropzone__preview {
  position: relative;
  display: inline-block;
}

.dropzone__preview img {
  max-height: 180px;
  border-radius: 10px;
}

.dropzone__remove {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: .8rem;
}

.quote__status {
  text-align: center;
  font-size: .92rem;
  min-height: 1.2em;
}

.quote__status.is-ok {
  color: #46d17e;
}

.quote__status.is-err {
  color: #ff6b6b;
}

/* ===== Contact ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;
}

.contact__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__label {
  font-family: 'Sora';
  font-weight: 600;
  font-size: .82rem;
  color: var(--accent);
  letter-spacing: .04em;
}

.contact__list a:hover {
  color: var(--accent-2);
}

.contact__socials {
  margin-top: 30px;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(.3) contrast(1.05);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px clamp(18px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .88rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora';
  font-weight: 700;
  color: var(--text);
}

.footer__brand .nav__logo-img {
  width: 50px;
  height: 50px;
}

.footer__top:hover {
  color: var(--accent);
}

/* ===== Reveal animation base ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 11, 13, .97);
    backdrop-filter: blur(14px);
    padding: 24px clamp(18px, 5vw, 48px);
    border-bottom: 1px solid var(--line);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .quote__inner,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .ba-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
}

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

  .field-row {
    grid-template-columns: 1fr;
  }

  .stats__item {
    padding: 26px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media--img {
    animation: none;
  }

  .reviews__track {
    animation: none;
  }

  .preloader__logo {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}