:root {
  --bg: #edf3fb;
  --bg-deep: #0f223a;
  --surface: #f8fbff;
  --text: #182435;
  --muted: #4e6078;
  --line: #c8d8ed;
  --brand: #0b58b8;
  --brand-dark: #083f89;
  --shadow: 0 14px 35px rgba(29, 33, 38, 0.14);
  --radius: 16px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Barlow", sans-serif;
  color: var(--text);
  line-height: 1.5;
  background:
    radial-gradient(circle at 10% 0%, rgba(11, 88, 184, 0.14), transparent 42%),
    radial-gradient(circle at 90% 30%, rgba(29, 33, 38, 0.09), transparent 36%),
    linear-gradient(135deg, #f8f4ed 0%, var(--bg) 70%);
}

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

h1, h2, h3 {
  font-family: "Rajdhani", sans-serif;
  line-height: 1.1;
  margin: 0 0 0.6rem;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 3.2vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; text-transform: uppercase; }
p { margin: 0 0 0.8rem; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(29, 33, 38, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.logo { display: inline-flex; align-items: center; gap: 0.55rem; color: white; text-decoration: none; position: relative; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--brand), #3f86d9);
  color: #fff;
  font-weight: 800;
}
.logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 6px;
  background: #fff;
  padding: 2px 4px;
}

.main-nav { display: flex; align-items: center; gap: 1rem; }
.main-nav a {
  color: #f8f4ed;
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.is-active { border-color: var(--brand); }

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: white;
  background: transparent;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
}

.hero {
  padding: 5.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 34px solid rgba(29, 33, 38, 0.08);
  pointer-events: none;
}

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: start; }
.lead { font-size: 1.15rem; max-width: 70ch; }
.eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.2rem 0 1.4rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--brand), #3f86d9);
  color: white;
  text-decoration: none;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--line);
  box-shadow: none;
}
.btn-small { padding: 0.55rem 0.85rem; font-size: 0.92rem; }

.hero-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.hero-points li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.55rem;
  background: var(--brand);
}

.hero-card {
  background: linear-gradient(160deg, var(--bg-deep), #2f3740);
  color: #f8f4ed;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.hero-card p { color: #d9dee3; }
.hero-card h2 { font-size: 1rem; margin-top: 1rem; }
.hero-card h2:first-child { margin-top: 0; }

.section { padding: 4rem 0; }
.section-alt {
  background:
    linear-gradient(120deg, rgba(29, 33, 38, 0.94), rgba(29, 33, 38, 0.88)),
    linear-gradient(45deg, rgba(11, 88, 184, 0.24), transparent 36%);
}
.section-alt h2, .section-alt h3 { color: #fff8ee; }
.section-alt p { color: #d5dce3; }
.section-inner { margin-top: 2.2rem; }

.grid { display: grid; gap: 1rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.card p { margin-bottom: 0; }
.service h2 { font-size: 1.2rem; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.steps article {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}
.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 0.65rem;
  background: linear-gradient(160deg, var(--brand), #4e95e5);
  color: #fff;
  font-weight: 700;
}

.cta {
  background: linear-gradient(90deg, #dfeaf8, #eef5ff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.gallery { display: grid; gap: 1rem; }
.project {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.project-visual {
  min-height: 180px;
  background:
    linear-gradient(35deg, rgba(29, 33, 38, 0.55), rgba(29, 33, 38, 0.2)),
    linear-gradient(130deg, #7a6d5e, #b89f84 60%, #e1d3c4);
}
.project-visual.alt {
  background:
    linear-gradient(45deg, rgba(11, 88, 184, 0.35), rgba(11, 88, 184, 0.12)),
    linear-gradient(130deg, #c9b095, #f2e4d2);
}
.project-visual.dark {
  background:
    linear-gradient(40deg, rgba(22, 25, 30, 0.7), rgba(22, 25, 30, 0.2)),
    linear-gradient(120deg, #53606e, #8f99a3);
}
.project-visual.warm {
  background:
    linear-gradient(40deg, rgba(11, 74, 156, 0.55), rgba(11, 74, 156, 0.15)),
    linear-gradient(120deg, #bc8357, #edd1b7);
}
.project-content { padding: 1rem; }

.project-image {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; }
.list-clean { margin: 0; padding: 0 0 0 1rem; display: grid; gap: 0.4rem; }

.quote-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.form-feedback {
  display: none;
  margin-bottom: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  font-weight: 600;
}

.form-feedback.is-success {
  display: block;
  background: #e4f2e8;
  border: 1px solid #9ccaaa;
  color: #1e5a2f;
}

.form-feedback.is-error {
  display: block;
  background: #f8e8e8;
  border: 1px solid #e0b0b0;
  color: #842d2d;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
label { display: grid; gap: 0.45rem; margin-bottom: 0.9rem; font-weight: 600; color: #2b323a; }
input, select, textarea {
  width: 100%;
  border: 1px solid #c9b8a1;
  border-radius: 10px;
  padding: 0.7rem;
  font: inherit;
  background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(11, 88, 184, 0.34); border-color: var(--brand); }
.form-note { margin-top: 0.8rem; font-size: 0.9rem; }

.site-footer {
  background: #14181d;
  color: #d9dee3;
  padding: 1.1rem 0;
  margin-top: 3rem;
}
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; }
.site-footer p { margin: 0; color: #c8d0d8; }

@media (max-width: 980px) {
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .about-grid, .project { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    padding: 0.8rem 1.25rem 1rem;
    background: rgba(20, 24, 29, 0.98);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .cards-2, .cards-3, .steps, .field-grid { grid-template-columns: 1fr; }
  .cta-wrap, .footer-grid { flex-direction: column; align-items: flex-start; }
}
