:root {
  --bg: #0c1319;
  --bg-soft: #121c24;
  --panel: #16232d;
  --panel-2: #1c2d38;
  --line: rgba(177, 197, 214, 0.14);
  --text: #e6edf3;
  --muted: #aab8c6;
  --primary: #6f8ea6;
  --primary-strong: #8ca8bd;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(180deg, #0b1218 0%, #0f171e 100%);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 15, 20, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}
.brand { display: flex; align-items: baseline; font-weight: 800; letter-spacing: 0.02em; font-size: 1.45rem; }
.brand-mark, .brand-mark-alt { color: var(--primary-strong); }
.brand-text { color: var(--white); }
.main-nav { display: flex; gap: 28px; color: var(--muted); }
.main-nav a:hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--white); border-radius: 12px; padding: 8px 12px; font-size: 1.1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #071017;
  font-weight: 700;
  border: none;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(140, 168, 189, 0.35);
  box-shadow: none;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(140, 168, 189, 0.35);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 64px;
  background:
    radial-gradient(circle at 15% 20%, rgba(111, 142, 166, 0.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(140, 168, 189, 0.14), transparent 24%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 14, 0.12), rgba(6, 10, 14, 0));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}
.eyebrow {
  color: var(--primary-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero h1, .section h2 {
  margin: 0 0 18px;
  line-height: 1.08;
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.55rem); max-width: 12ch; }
.hero-text { color: var(--muted); max-width: 62ch; font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.hero-facts li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
}
.hero-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}
.showcase-main,
.showcase-side figure,
.gallery-item,
.about-box,
.contact-box,
.contact-form,
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.showcase-main img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.showcase-side { display: grid; gap: 16px; }
.showcase-side figure img { width: 100%; height: 252px; object-fit: cover; }

.section { padding: 96px 0; }
.section-dark { background: linear-gradient(180deg, #0f181f 0%, #0c1319 100%); }
.section-accent { background: linear-gradient(180deg, #101a22 0%, #0c1319 100%); }
.section-head { margin-bottom: 34px; }
.section-head.narrow { max-width: 780px; }
.section-head p { color: var(--muted); max-width: 70ch; }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card { padding: 26px; }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.large-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery-item img { width: 100%; height: 280px; object-fit: cover; }
.gallery-item.tall img { height: 578px; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide img { height: 420px; }
.gallery-item figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.about-box, .contact-box { padding: 28px; }
.about-box h3 { margin-top: 0; }
.about-box ul { margin: 0; padding-left: 18px; color: var(--muted); }
.about-box li + li { margin-top: 10px; }
.contact-box p { margin: 0 0 10px; color: var(--muted); }
.contact-form { padding: 28px; }
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-row label { font-weight: 600; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(177, 197, 214, 0.2);
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
  font: inherit;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(140, 168, 189, 0.7);
  box-shadow: 0 0 0 4px rgba(111, 142, 166, 0.15);
}
.form-note { color: var(--muted); font-size: 0.95rem; margin-top: 16px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #091017;
  padding: 28px 0;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-wrap p { margin: 6px 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 20px; color: var(--muted); }
.footer-links a:hover { color: var(--white); }

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .cards-grid,
  .large-gallery { grid-template-columns: 1fr 1fr; }
  .hero-showcase,
  .gallery-item.wide { grid-column: auto; }
  .showcase-main img,
  .gallery-item.wide img,
  .gallery-item.tall img { min-height: 320px; height: 320px; }
}

@media (max-width: 780px) {
  .main-nav,
  .nav-wrap > .btn-outline { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    background: #0c1319;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
  }
  .hero-grid,
  .hero-showcase,
  .about-grid,
  .contact-grid,
  .cards-grid,
  .large-gallery,
  .footer-wrap { grid-template-columns: 1fr; display: grid; }
  .hero { padding-top: 48px; }
  .hero h1 { max-width: none; }
  .showcase-main img,
  .showcase-side figure img,
  .gallery-item img,
  .gallery-item.wide img,
  .gallery-item.tall img { height: 260px; min-height: 260px; }
  .section { padding: 72px 0; }
}


/* Text update enhancements */
.eyebrow, .section-tag {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-content p,
.section-head p,
.service-card p,
.contact-box p,
.contact-grid p {
  max-width: 70ch;
}
.hero-box {
  border-left: 4px solid rgba(130, 160, 185, 0.9);
}
.service-card h3 {
  line-height: 1.25;
}
.gallery-item figcaption {
  font-size: 0.95rem;
}
