:root {
  --navy: #101229;
  --navy-2: #171a3a;
  --black: #0c0d11;
  --panel: #151b1b;
  --blue: #5e86da;
  --blue-2: #746fe0;
  --gold: #d8b75d;
  --white: #f7f7fb;
  --muted: #c7c8d3;
  --line: rgba(255,255,255,.12);
  --shadow: 0 20px 60px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--white);
  background: var(--navy);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(10,11,16,.96);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
}
.brand img {
  width: clamp(230px, 30vw, 360px);
  height: 64px;
  object-fit: contain;
  object-position: left center;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #d7d8e2; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: white; }
.nav-cta { padding: 12px 18px; border: 1px solid var(--blue); border-radius: 10px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 28px; height: 3px; background: white; margin: 5px 0; border-radius: 3px; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 80px clamp(24px, 7vw, 110px);
  background:
    linear-gradient(100deg, rgba(10,11,20,.97) 10%, rgba(16,18,41,.82) 52%, rgba(16,18,41,.42)),
    url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=85') center/cover;
}
.hero-content { position: relative; max-width: 820px; z-index: 2; }
.eyebrow {
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
h1, h2, h3 { font-family: Montserrat, sans-serif; line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
h3 { font-size: 1.35rem; }
.hero-copy { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); max-width: 700px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 34px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: white; box-shadow: 0 12px 30px rgba(94,134,218,.28); }
.btn-secondary { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.trust-row { display: flex; gap: 24px; flex-wrap: wrap; color: #d8d9e4; font-weight: 600; }
.trust-row span::before { content: "✓"; color: var(--blue); margin-right: 8px; }

.section { padding: 100px clamp(24px, 7vw, 110px); }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.lead { font-size: 1.25rem; color: var(--muted); }
.section-heading { max-width: 820px; margin-bottom: 46px; }

.services { background: #0d0f22; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  min-height: 280px;
  box-shadow: var(--shadow);
}
.service-card p { color: var(--muted); }
.service-icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 28px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  font-weight: 800;
}

.feature-band {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  text-align: center;
  background:
    linear-gradient(rgba(13,15,34,.76), rgba(13,15,34,.94)),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=85') center/cover;
}
.feature-content { max-width: 900px; }
.feature-content p:not(.eyebrow) { color: var(--muted); font-size: 1.18rem; }

.projects { background: var(--navy); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  min-height: 460px;
  border-radius: 20px;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}
.project-card > div { background: rgba(9,10,20,.84); padding: 22px; border-radius: 14px; backdrop-filter: blur(10px); }
.project-card span { font-size: 2.5rem; font-weight: 700; }
.project-card p { color: var(--muted); }
.project-one { background-image: linear-gradient(rgba(12,13,17,.15), rgba(12,13,17,.65)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=80'); }
.project-two { background-image: linear-gradient(rgba(12,13,17,.15), rgba(12,13,17,.65)), url('https://images.unsplash.com/photo-1544197150-b99a580bb7a8?auto=format&fit=crop&w=1200&q=80'); }
.project-three { background-image: linear-gradient(rgba(12,13,17,.15), rgba(12,13,17,.65)), url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?auto=format&fit=crop&w=1200&q=80'); }
.gallery-note { color: var(--muted); margin-top: 20px; }

.about { display: grid; grid-template-columns: 1.4fr .8fr; gap: 50px; background: #f4f4f7; color: #181a2b; }
.about-copy p { color: #5d6070; }
.check-list { columns: 2; list-style: none; padding: 0; }
.check-list li { break-inside: avoid; margin: 0 0 18px; font-weight: 700; }
.check-list li::before { content: "✓"; color: var(--blue); margin-right: 10px; }
.about-panel { border-radius: 22px; padding: 34px; background: linear-gradient(145deg, #10151a, #18362c); color: white; box-shadow: var(--shadow); align-self: center; }
.about-panel p { color: #d9dde0; }
.rating { color: #ffc83d !important; font-weight: 800; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: start; background: linear-gradient(180deg, #101229, #0c0d16); }
.contact-info p { color: var(--muted); }
.contact-lines { display: grid; gap: 12px; margin-top: 28px; }
.contact-lines a { color: #e5e7f0; font-weight: 700; }
.contact-form {
  background: linear-gradient(145deg, #101717, #0a1211);
  border: 1px solid rgba(255,255,255,.13);
  padding: 34px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: grid; gap: 9px; font-weight: 700; margin-bottom: 20px; }
input, select, textarea {
  width: 100%;
  background: #202727;
  color: white;
  border: 1px solid #454d4d;
  border-radius: 12px;
  padding: 16px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(94,134,218,.16); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: #d3d5dc; }
.consent input { width: 20px; height: 20px; margin-top: 3px; }
.form-submit { width: 100%; border: 0; }
.form-message { min-height: 24px; margin-bottom: 0; color: #cbd4ff; }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  padding: 36px clamp(24px, 7vw, 110px);
  background: #08090d;
  color: #bfc2cc;
  border-top: 1px solid var(--line);
}
footer img { width: 260px; height: 64px; object-fit: contain; object-position: left; }
footer div { display: flex; gap: 20px; }



@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background: #0b0c11;
  }
  .nav.open { display: flex; }
  .service-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .intro, .about, .contact { grid-template-columns: 1fr; }
  .about-panel { width: 100%; }
}

@media (max-width: 640px) {
  .site-header { min-height: 76px; padding: 8px 18px; }
  .brand img { width: 230px; height: 58px; }
  .nav { top: 76px; }
  .hero { min-height: 690px; padding: 70px 22px; }
  h1 { font-size: 2.75rem; }
  .section { padding: 74px 22px; }
  .service-grid, .project-grid, .field-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 420px; }
  .check-list { columns: 1; }
  .contact-form { padding: 24px 18px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer img { margin: auto; object-position: center; }
  footer div { justify-content: center; flex-wrap: wrap; }
}

.form-submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}
.form-message {
  overflow-wrap: anywhere;
}


/* Real project gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.gallery-open {
  position: relative;
  display: block;
  width: 100%;
  height: 300px;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #080a12;
  cursor: zoom-in;
}
.gallery-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, opacity .3s ease;
}
.gallery-open:hover img { transform: scale(1.035); opacity: .82; }
.gallery-zoom {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(8,9,16,.82);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  opacity: 0;
  transform: translateY(6px);
  transition: .25s ease;
}
.gallery-open:hover .gallery-zoom,
.gallery-open:focus-visible .gallery-zoom { opacity: 1; transform: translateY(0); }
.gallery-card figcaption { display: grid; gap: 7px; padding: 20px; }
.gallery-card figcaption strong { font-family: Montserrat, sans-serif; font-size: 1.05rem; }
.gallery-card figcaption span { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.about-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.about-projects img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; box-shadow: 0 12px 30px rgba(20,25,45,.16); }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(3,4,8,.94);
}
.lightbox.open { display: grid; }
.lightbox-image { max-width: min(94vw, 1500px); max-height: 88vh; object-fit: contain; border-radius: 12px; box-shadow: 0 25px 90px rgba(0,0,0,.65); }
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(10,12,20,.82);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
body.lightbox-lock { overflow: hidden; }
@media (max-width: 1100px) { .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .project-gallery { grid-template-columns: 1fr; }
  .gallery-open { height: 330px; }
  .about-projects { grid-template-columns: 1fr; }
  .about-projects img { height: 220px; }
  .lightbox { padding: 16px; }
}

/* Compact professional project gallery */
.project-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.gallery-card {
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.gallery-open {
  height: 175px;
}
.gallery-card figcaption {
  gap: 4px;
  padding: 13px 14px 15px;
}
.gallery-card figcaption strong {
  font-size: .92rem;
}
.gallery-card figcaption span {
  font-size: .79rem;
  line-height: 1.35;
}
.gallery-zoom {
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  font-size: .72rem;
}
.gallery-note {
  text-align: center;
  font-size: .85rem;
}
.about-projects {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
}
.about-projects img {
  height: 105px;
  border-radius: 10px;
}
@media (max-width: 900px) {
  .project-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-open { height: 130px; }
  .gallery-card figcaption { padding: 10px; }
  .gallery-card figcaption strong { font-size: .82rem; }
  .gallery-card figcaption span { display: none; }
  .about-projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-projects img { height: 82px; }
}

/* Grouped project portfolio */
.project-collections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.project-collection-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
}
.project-open { position: relative; display: block; width: 100%; height: 225px; padding: 0; border: 0; overflow: hidden; background: #111522; cursor: pointer; }
.project-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.project-open:hover img, .project-open:focus-visible img { transform: scale(1.04); opacity: .72; }
.project-photo-count, .project-view { position: absolute; z-index: 2; border-radius: 999px; color: white; font-weight: 800; }
.project-photo-count { top: 14px; right: 14px; padding: 7px 10px; background: rgba(7,10,18,.78); font-size: .76rem; }
.project-view { left: 50%; top: 50%; padding: 10px 15px; background: rgba(9,12,22,.88); border: 1px solid rgba(255,255,255,.35); transform: translate(-50%,-42%); opacity: 0; transition: .25s ease; font-size: .82rem; }
.project-open:hover .project-view, .project-open:focus-visible .project-view { opacity: 1; transform: translate(-50%,-50%); }
.project-card-copy { padding: 18px 19px 21px; }
.project-card-copy h3 { margin: 0 0 7px; font-family: Montserrat,sans-serif; font-size: 1.02rem; }
.project-card-copy p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.5; }
.project-modal { position: fixed; inset: 0; z-index: 3500; display: none; place-items: center; padding: 24px; background: rgba(3,5,10,.94); }
.project-modal.open { display: grid; }
.project-modal-panel { position: relative; width: min(1040px,96vw); max-height: 94vh; overflow: auto; padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: #111522; box-shadow: 0 30px 100px rgba(0,0,0,.7); }
.project-modal-close { position: absolute; right: 16px; top: 14px; z-index: 4; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(5,8,14,.85); color: white; font-size: 1.8rem; cursor: pointer; }
.project-modal-header { padding-right: 55px; margin-bottom: 18px; }
.project-modal-header h2 { margin: 3px 0 7px; font-size: clamp(1.45rem,3vw,2.2rem); }
.project-modal-header p:last-child { margin: 0; color: var(--muted); }
.project-modal-stage { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 13px; }
.project-modal-image { width: 100%; height: min(58vh,610px); object-fit: contain; border-radius: 14px; background: #090c13; }
.project-nav { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.08); color: white; font-size: 2rem; cursor: pointer; }
.project-nav:hover { background: rgba(255,255,255,.16); }
.project-counter { margin: 12px 0 8px; text-align: center; color: var(--muted); font-size: .84rem; }
.project-thumbnails { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
.project-thumb { width: 76px; height: 54px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: transparent; cursor: pointer; opacity: .66; }
.project-thumb.active { border-color: #2f8cff; opacity: 1; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.project-modal-lock { overflow: hidden; }
@media (max-width: 820px) { .project-collections { grid-template-columns: 1fr; max-width: 520px; } .project-open { height: 240px; } }
@media (max-width: 600px) { .project-modal { padding: 8px; } .project-modal-panel { padding: 20px 12px 18px; border-radius: 14px; } .project-modal-stage { grid-template-columns: 36px minmax(0,1fr) 36px; gap: 5px; } .project-nav { width: 34px; height: 34px; font-size: 1.5rem; } .project-modal-image { height: 48vh; } .project-thumb { width: 58px; height: 42px; } }
