:root {
  color-scheme: light;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --ink: #102033;
  --muted: #526274;
  --line: rgba(16, 32, 51, 0.12);
  --blue: #1749d1;
  --blue-deep: #0d2c87;
  --blue-soft: #dce8ff;
  --red: #c73636;
  --red-deep: #922323;
  --red-soft: #ffe1e1;
  --shadow: 0 24px 60px rgba(16, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(23, 73, 209, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(199, 54, 54, 0.12), transparent 26%),
    linear-gradient(180deg, #eef3fb 0%, #f8fbff 42%, #ffffff 100%);
}

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

a,
button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  background: rgba(248, 251, 255, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-copy strong,
.hero h1,
.hero-feature h2,
.feature-band h2,
.panel-card h2,
.contact-banner h2,
.page-hero h1,
.section-heading h2,
.service-detail h2,
.story-panel h2,
.contact-stack h2,
.detail-card h3 {
  font-family: "Syne", sans-serif;
}

.brand-copy strong {
  display: block;
  letter-spacing: -0.04em;
  font-size: 1.18rem;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark {
  width: 72px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    url("logo.svg") center/contain no-repeat,
    url("logo.png") center/contain no-repeat,
    url("logo.jpg") center/contain no-repeat,
    url("logo.jpeg") center/contain no-repeat,
    url("logo.webp") center/contain no-repeat,
    url("Logo.png") center/contain no-repeat,
    url("Logo.jpg") center/contain no-repeat,
    linear-gradient(145deg, var(--blue-deep) 0%, var(--blue) 55%, var(--red) 100%);
  box-shadow: 0 16px 34px rgba(23, 73, 209, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.nav-links a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.08);
}

.hero,
.page-hero,
.section {
  padding: 4rem 0;
}

.hero-shell,
.split-cards,
.contact-banner,
.service-grid,
.contact-grid,
.story-layout,
.detail-grid,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.hero-shell {
  align-items: stretch;
}

.hero-home {
  padding-top: 4.8rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--red-deep);
}

.section-kicker {
  color: var(--blue-deep);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: 12ch;
}

.page-hero h1,
.feature-band h2,
.panel-card h2,
.contact-banner h2,
.section-heading h2,
.service-detail h2,
.story-panel h2,
.contact-stack h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0;
}

.intro,
.feature-copy,
.hero-feature p,
.panel-card p,
.contact-banner p,
.section-heading p,
.service-detail p,
.story-panel p,
.detail-card p,
.contact-card p,
.contact-stack p,
.footer-inner p {
  color: var(--muted);
}

.intro {
  margin: 1.5rem 0 2rem;
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions,
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, #e44a4a 100%);
  box-shadow: 0 18px 34px rgba(199, 54, 54, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(16, 32, 51, 0.12);
  color: var(--blue-deep);
}

.hero-feature,
.feature-band,
.panel-card,
.contact-banner,
.service-detail,
.detail-card,
.story-panel,
.contact-card,
.contact-stack {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-feature,
.feature-band,
.panel-card,
.service-detail,
.story-panel,
.contact-stack {
  padding: 2rem;
}

.hero-feature {
  position: relative;
  overflow: hidden;
}

.hero-feature::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 73, 209, 0.22), transparent 70%);
}

.hero-stat-grid,
.detail-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.hero-stat-grid article {
  position: relative;
  z-index: 1;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.hero-stat-grid span,
.service-number {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  font-weight: 800;
}

.hero-stat-grid span {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.feature-band {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
}

.split-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-card-blue {
  background:
    linear-gradient(180deg, rgba(23, 73, 209, 0.08), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.panel-card-red {
  background:
    linear-gradient(180deg, rgba(199, 54, 54, 0.08), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}

.contact-banner {
  padding: 2rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.page-hero-shell,
.story-layout,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.page-hero-copy {
  max-width: 760px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-detail {
  position: relative;
  overflow: hidden;
}

.service-detail::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--red) 100%);
}

.service-number {
  background: var(--red-soft);
  color: var(--red-deep);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.story-layout {
  grid-template-columns: 1.05fr 0.95fr;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card,
.contact-card {
  padding: 1.6rem;
}

.detail-card {
  background: var(--surface-strong);
  border-radius: 26px;
  border: 1px solid var(--line);
}

.detail-card h3,
.contact-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.contact-layout {
  grid-template-columns: 1fr 0.95fr;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-grid {
  grid-template-columns: 1fr;
}

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.contact-card a {
  color: var(--blue-deep);
  font-size: 1.04rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover,
.text-link:hover {
  color: var(--red);
}

.site-footer {
  padding: 2rem 0 2.5rem;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0.3rem 0;
}

@media (min-width: 860px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  }

  .hero-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .feature-band,
  .split-cards,
  .contact-banner,
  .service-grid,
  .story-layout,
  .detail-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .site-header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 60px;
    border-radius: 18px;
  }

  .hero,
  .page-hero,
  .section {
    padding: 3rem 0;
  }

  .hero-home {
    padding-top: 3.2rem;
  }
}
