@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/poppins-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --navy: #10233a;
  --navy-dark: #0a1826;
  --navy-light: #1c3757;
  --accent: #e07a2c;
  --accent-dark: #c4661f;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f4;
  --gray-200: #dde2e8;
  --gray-500: #6b7684;
  --gray-700: #3a4552;
  --text: #1b2430;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(16, 35, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 35, 58, 0.14);
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

svg { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-light); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(224, 122, 44, 0.35); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--full { width: 100%; }

/* Topbar */
.topbar { background: var(--navy-dark); color: #cfd8e3; font-size: 0.85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; gap: 16px; flex-wrap: wrap; }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.15s ease; }
.topbar__contact a:hover { color: var(--accent); }
.topbar__contact svg { width: 15px; height: 15px; }
.topbar__badge { color: #9fb0c3; font-weight: 500; }
.topbar__badge a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(159,176,195,0.5); }
.topbar__badge a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(16,35,58,0.06);
}
.header__inner { display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo__mark {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  flex-shrink: 0;
}
.logo__mark--img { background: none; object-fit: contain; padding: 0; }
.logo__mark--footer { background: none; }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.25; color: var(--navy); }
.logo__text small { font-weight: 500; font-size: 0.72rem; color: var(--gray-500); }

.nav { display: flex; gap: 28px; }
.nav a { font-weight: 600; font-size: 0.95rem; color: var(--gray-700); position: relative; padding: 6px 0; }
.nav a:hover { color: var(--accent); }

.header__cta { flex-shrink: 0; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.hamburger span { height: 2px; background: var(--navy); border-radius: 2px; transition: 0.25s ease; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(224,122,44,0.35), transparent 45%),
    linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, var(--navy-light));
  z-index: -2;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 40px);
  z-index: -1;
}
.hero__content { max-width: 700px; }
.eyebrow, .section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 20px; }
.hero h1 span { color: #ffd0a3; }
.hero__lead { font-size: 1.1rem; color: #d6dde6; max-width: 600px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__trust { display: flex; gap: 36px; list-style: none; flex-wrap: wrap; }
.hero__trust li { font-size: 0.9rem; color: #c3cddb; }
.hero__trust strong { display: block; font-size: 1.5rem; font-family: var(--font-head); color: #fff; }

/* Section headings */
.section-eyebrow--light { color: #ffb974; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px; color: var(--navy); }
.section-title--light { color: #fff; }
.section-sub { color: var(--gray-500); max-width: 620px; margin-bottom: 40px; font-size: 1.02rem; }

/* Services */
.services { padding: 100px 0; background: var(--gray-50); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(16,35,58,0.06);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--navy); }
.service-card p { color: var(--gray-500); font-size: 0.95rem; }
.service-card--highlight {
  background: linear-gradient(160deg, var(--navy), var(--navy-light));
  color: #fff;
  border: none;
}
.service-card--highlight h3 { color: #fff; }
.service-card--highlight p { color: #cfd8e3; }
.service-card--highlight .service-card__icon { background: rgba(224,122,44,0.25); color: #ffb974; }
.service-card__badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 5px 12px; border-radius: 999px;
}

/* About */
.about { padding: 100px 0; }
.about__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about__visual-box {
  aspect-ratio: 4/5;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--navy), var(--navy-light));
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  box-shadow: var(--shadow-lg);
}
.about__visual-box svg { width: 64px; height: 64px; color: var(--accent); }
.about__visual-box p { font-weight: 600; color: #d6dde6; }
.about__content p { color: var(--gray-700); margin-bottom: 16px; }
.checklist { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 500; color: var(--navy); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
}
.checklist li::after {
  content: "";
  position: absolute; left: 5px; top: 7px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* USP */
.usp { background: var(--navy); padding: 70px 0; }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.usp__item { color: #fff; text-align: center; }
.usp__item svg { width: 40px; height: 40px; color: var(--accent); margin: 0 auto 14px; }
.usp__item h4 { margin-bottom: 8px; font-size: 1.05rem; }
.usp__item p { color: #b9c4d3; font-size: 0.9rem; }

/* Process */
.process { padding: 100px 0; background: var(--gray-50); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process__step {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
}
.process__num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--gray-200); display: block; margin-bottom: 10px; }
.process__step h4 { color: var(--navy); margin-bottom: 8px; }
.process__step p { color: var(--gray-500); font-size: 0.92rem; }

/* Projects */
.projects { padding: 100px 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--gray-100);
  border: none;
  display: flex; align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover, .project-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.project-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.4s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16,35,58,0.75), transparent 55%);
  z-index: 1;
}
.project-card span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-family: var(--font-head);
}
.project-card__badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  background: rgba(16,35,58,0.75);
  backdrop-filter: blur(2px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
}

/* Before/after compare slider */
.compare-feature { margin-bottom: 32px; }
.compare {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  touch-action: none;
}
.compare__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-user-select: none; user-select: none;
  pointer-events: none;
}
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__divider {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 3px; margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(16,35,58,0.2), 0 2px 10px rgba(0,0,0,0.3);
  pointer-events: none;
  z-index: 2;
}
.compare__handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  color: var(--navy);
}
.compare__handle svg { width: 22px; height: 22px; }
.compare__tag {
  position: absolute; top: 14px;
  z-index: 3;
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(16,35,58,0.72); color: #fff;
  pointer-events: none;
}
.compare__tag--before { left: 14px; }
.compare__tag--after { right: 14px; }
.compare__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  -webkit-appearance: none; appearance: none;
  background: transparent;
  z-index: 4;
  pointer-events: none;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100%; }
.compare__range::-moz-range-thumb { width: 60px; height: 100%; border: none; background: transparent; }
.compare__range::-moz-range-track { background: transparent; }
.compare-feature__caption {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  color: var(--navy); font-weight: 600;
}
.compare-feature__more {
  background: none; border: none; padding: 0;
  font: inherit; font-weight: 600; color: var(--accent);
  cursor: pointer;
}
.compare-feature__more:hover { color: var(--accent-dark); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8,15,24,0.92);
  align-items: center; justify-content: center;
  padding: 60px 20px;
}
.lightbox.open { display: flex; }
.lightbox__figure { max-width: 1100px; width: 100%; text-align: center; }
.lightbox__figure img { max-width: 100%; max-height: 74vh; border-radius: 8px; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox__figure figcaption { color: #d6dde6; margin-top: 16px; font-size: 0.95rem; }
.lightbox__close, .lightbox__nav {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.1rem; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* Contact */
.contact { background: var(--navy-dark); padding: 100px 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact__lead { color: #b9c4d3; margin-bottom: 34px; max-width: 480px; }
.contact__list { list-style: none; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list svg { color: var(--accent); width: 22px; height: 22px; margin-top: 3px; }
.contact__list strong { display: block; color: #fff; font-size: 0.95rem; }
.contact__list span { color: #9fb0c3; font-size: 0.92rem; }

.contact__form {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.contact__form h3 { color: var(--navy); margin-bottom: 22px; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.15s ease;
  resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-status { margin-top: 14px; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form-status.success { color: #1c7c3f; }
.form-status.error { color: #c0392b; }

/* Footer */
.footer { background: var(--navy-dark); color: #8fa0b5; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { color: #fff; display: block; font-family: var(--font-head); }
.footer__brand p { font-size: 0.82rem; margin-top: 2px; }
.footer__nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__nav a:hover { color: var(--accent); }
.footer__copy { width: 100%; text-align: center; font-size: 0.8rem; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }

/* Floating CTA (mobile) */
.floating-cta {
  display: none;
  position: fixed; bottom: 18px; right: 18px; z-index: 200;
  background: var(--accent); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; box-shadow: 0 10px 25px rgba(224,122,44,0.4);
}

/* Responsive */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { max-width: 380px; margin: 0 auto; }
  .usp__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar__badge { display: none; }
  .nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 85%);
    background: #fff; flex-direction: column; padding: 100px 32px 32px; gap: 26px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 99;
  }
  .nav.open { right: 0; }
  .header__cta { display: none; }
  .hamburger { display: flex; }
  .service-grid { grid-template-columns: 1fr; }
  .usp__grid { grid-template-columns: 1fr 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 88px 0 48px; }
  .hero__lead { margin-bottom: 24px; }
  .hero__actions { margin-bottom: 28px; }
  .floating-cta { display: inline-flex; }
  .footer__inner { justify-content: center; text-align: center; }

  .services, .about, .process, .projects, .contact { padding: 56px 0; }
  .usp { padding: 40px 0; }
  .section-sub { margin-bottom: 28px; }
  .compare { aspect-ratio: 4/3; }
}

/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0; background: rgba(10,24,38,0.5); z-index: 98;
}
.nav-overlay.open { display: block; }
