:root {
  /* Brand */
  --blue: #0875be;
  --blue-dark: #065d92;
  --blue-soft: rgba(8, 117, 190, 0.08);
  --red: #c32e34;
  --red-dark: #9e2429;
  --red-soft: rgba(195, 46, 52, 0.08);

  /* Surfaces (light) */
  --bg: #ffffff;
  --bg-elevated: #f6f9fc;
  --bg-card: #ffffff;
  --bg-card-hover: #fafcfe;
  --bg-deep: #f0f4f8;

  /* Lines */
  --line: #e3e8ef;
  --line-strong: #cdd6df;

  /* Text */
  --text: #14202b;
  --text-muted: #4a5a68;
  --text-subtle: #6a7a89;

  /* Layout */
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --shadow: 0 6px 24px rgba(20, 32, 43, 0.06);
  --shadow-lg: 0 12px 40px rgba(20, 32, 43, 0.1);

  /* Type */
  --font-sans: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-muted);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--blue-dark); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.display-accent {
  display: block;
  color: var(--blue);
  font-family: var(--font-display);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--blue-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 117, 190, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: var(--text-muted);
  color: var(--text);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 1.25rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(8, 117, 190, 0.05), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(195, 46, 52, 0.04), transparent 55%),
    var(--bg);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 32, 43, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 43, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1.display {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  margin: 0 0 1.5rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 1.5rem;
}

.hero-quote {
  margin: 0 0 2rem;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 3px solid var(--blue);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  font-style: normal;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.tag-label { color: var(--text-subtle); margin-right: 0.25rem; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid;
}

.tag-blue { color: var(--blue); border-color: rgba(8, 117, 190, 0.3); background: var(--blue-soft); }
.tag-red { color: var(--red); border-color: rgba(195, 46, 52, 0.3); background: var(--red-soft); }

/* Hero side card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-card-head { margin-bottom: 1.25rem; }

.hero-card-pill {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid rgba(8, 117, 190, 0.2);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card-body {
  display: grid;
  gap: 0.85rem;
}

.capability {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background 0.2s, border-color 0.2s;
}

.capability:hover {
  background: var(--bg-deep);
  border-color: var(--line-strong);
}

.capability-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.dot-blue { background: var(--blue); box-shadow: 0 0 0 4px rgba(8, 117, 190, 0.15); }
.dot-red { background: var(--red); box-shadow: 0 0 0 4px rgba(195, 46, 52, 0.15); }

.capability strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.capability span:not(.capability-dot) {
  color: var(--text-subtle);
  font-size: 0.88rem;
}

/* Hero stats */
.hero-stats {
  position: relative;
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.stat-block {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.4rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-transform: none;
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-elevated); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-head h2,
.about-grid h2,
.contact-grid h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 0 0 0.75rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 580px;
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
}

.services { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.why { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gallery { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 117, 190, 0.3);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(8, 117, 190, 0.15);
}
.card-icon.icon-red {
  background: var(--red-soft);
  color: var(--red);
  border-color: rgba(195, 46, 52, 0.15);
}
.card-icon svg { width: 26px; height: 26px; }

.card h3,
.feature h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0 0 0.6rem;
  color: var(--text);
  line-height: 1.2;
}

.card p,
.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.feature {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-left: 3px solid var(--blue);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.feature:nth-child(2) { border-left-color: var(--red); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-grid p { color: var(--text-muted); font-size: 1.02rem; }

.about-stats {
  display: grid;
  gap: 1rem;
}

.stat {
  background: var(--bg-card);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.stat .stat-num {
  font-size: 2.2rem;
  margin: 0;
  color: var(--blue);
}

.stat .stat-label {
  text-align: right;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Gallery ---------- */
.gallery-item {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 117, 190, 0.3);
  box-shadow: var(--shadow-lg);
}

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(8, 117, 190, 0.06), rgba(195, 46, 52, 0.04)),
    var(--bg-deep);
  color: var(--text-subtle);
  position: relative;
}

.gallery-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 32, 43, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 43, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.gallery-placeholder svg,
.gallery-mark {
  width: 72px;
  height: 72px;
  position: relative;
  z-index: 1;
  opacity: 0.55;
  transition: opacity 0.25s, transform 0.25s;
}

.gallery-item:hover .gallery-mark {
  opacity: 0.9;
  transform: scale(1.05);
}

.gallery-item figcaption {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-weight: 700;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}

/* ---------- Contact ---------- */
.section-contact { background: var(--bg-elevated); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-grid p { color: var(--text-muted); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-list li:hover {
  border-color: rgba(8, 117, 190, 0.3);
  box-shadow: var(--shadow);
}

.contact-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.contact-list a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
}
.contact-list a:hover { color: var(--blue); }

.contact-form {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  gap: 1.1rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.98rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 117, 190, 0.15);
}

.contact-form button { justify-self: start; margin-top: 0.5rem; }
.contact-form button:disabled { opacity: 0.7; cursor: not-allowed; }

.form-status {
  margin: 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.form-status.success { color: #1b7a3e; }
.form-status.error { color: var(--red-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-elevated);
  color: var(--text-muted);
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo {
  height: 44px;
  width: auto;
  display: block;
}

.footer-meta { text-align: right; font-size: 0.9rem; }
.footer-meta p { margin: 0.2rem 0; }
.footer-meta a { color: var(--text); font-weight: 500; }
.footer-meta a:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { gap: 2rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-list {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }

  .nav-list.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    padding: 0.95rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-cta { text-align: center; margin-top: 0.5rem; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }

  .section { padding: 4rem 0; }
  .hero { padding: 3.5rem 0 3rem; }

  .stat { flex-direction: column; align-items: flex-start; }
  .stat .stat-label { text-align: left; }

  .brand-logo { height: 36px; }
}
