:root {
  --blue-900: #0a3a96;
  --blue-700: #1564d9;
  --ink: #172033;
  --text: #243148;
  --muted: #66758c;
  --line: rgba(21, 100, 217, 0.09);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-soft: #f5f8fd;
  --shadow: 0 18px 50px rgba(14, 35, 80, 0.12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top right, rgba(31, 142, 255, 0.08), transparent 24%),
    radial-gradient(circle at 0% 20%, rgba(242, 200, 75, 0.14), transparent 18%),
    linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.section {
  padding: 5.25rem 0;
}

.pill {
  display: block;
  margin-bottom: 0.25rem;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-900);
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  max-width: none;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
  text-wrap: pretty;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid rgba(23, 32, 51, 0.06);
}

.nav {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  flex: 0 0 auto;
}

.brand-logo {
  width: 148px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  white-space: nowrap;
  font-size: 1.4rem;
}

.brand-text small {
  display: block;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-left: auto;
  min-width: 0;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #1f8eff, #1564d9);
  box-shadow: 0 16px 34px rgba(21, 100, 217, 0.24);
}

.btn-secondary {
  color: var(--blue-900);
  background: var(--surface-solid);
  border-color: rgba(21, 100, 217, 0.14);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 3.5rem 0 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 142, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  color: var(--ink);
  font-size: clamp(1.68rem, 3.04vw, 2.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-copy p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.7;
}

.hero-mark {
  display: grid;
  place-items: center;
  min-height: 520px;
  position: relative;
}

.hero-visual-frame {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(100%, 600px);
  min-height: 520px;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(21, 100, 217, 0.08);
  border-radius: 40px;
  box-shadow: 0 12px 28px rgba(14, 35, 80, 0.08);
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(244, 248, 253, 0.84)),
    url('../images/bg.png') center/cover no-repeat;
}



.hero-visual-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 100, 217, 0.12), transparent 70%);
  filter: blur(10px);
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(10, 58, 150, 0.14));
}

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

.service-card,
.about-card,
.contact-card {
  padding: 2rem;
}

.service-card,
.about-card,
.contact-card,
.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card,
.about-card,
.contact-card {
  border-radius: var(--radius);
}

.service-top {
  margin-bottom: 0.8rem;
}



.service-card h3,
.project-card h3,
.about-card h3,
.contact-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.16rem;
  letter-spacing: -0.03em;
}

.contact-card h3 {
  color: white;
}

.service-card p,
.project-card p,
.about-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
}

.service-card li {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(21, 100, 217, 0.08);
  color: var(--text);
  font-size: 0.95rem;
}

.signature-panel {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  border-radius: 30px;
  box-shadow: 0 26px 56px rgba(10, 58, 150, 0.24);
  color: #fff;
  background: linear-gradient(135deg, rgba(10, 58, 150, 0.97), rgba(21, 100, 217, 0.92));
}

.signature-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -34% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 62%);
}

.signature-panel h3 {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.signature-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.signature-points {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 0;
  padding: 0;
}

.signature-points li {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.project-card {
  overflow: visible;
  padding: 0;
  border-radius: 0 0 24px 24px;
}

.project-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #eaf1fb;
  border-bottom: 1px solid rgba(21, 100, 217, 0.08);
  border-radius: 0;
}

.project-meta {
  padding: 1.25rem;
}

.project-meta h3 {
  margin: 0 0 0.5rem;
}

form {
  display: grid;
  gap: 1rem;
}

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

label {
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(21, 100, 217, 0.12);
  border-radius: 16px;
  outline: none;
  background: var(--surface-solid);
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: rgba(31, 142, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 142, 255, 0.08);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

footer {
  padding: 1.6rem 0 2.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(23, 32, 51, 0.08);
}

header.shrunk .nav {
  min-height: 0;
  padding: 0;
}

header.shrunk {
  padding: 5px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

header.shrunk .brand {
  gap: 0rem;
}

header.shrunk .brand-logo {
  width: 100px;
  padding-right: 8px;
}

header.shrunk .brand-text {
  font-size: 1.12rem;
}

header.shrunk .brand-text small {
  font-size: 0.62rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .services-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
  }

  header.shrunk .nav {
    min-height: 0;
    gap: 0;
  }

  .brand {
    justify-content: flex-start;
  }

  .brand-logo {
    width: 128px;
  }

  .brand-text,
  .brand-text small {
    white-space: normal;
  }

  .brand-text small {
    letter-spacing: 0.08em;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.9rem 1rem;
  }

  .section {
    padding: 4.3rem 0;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero-grid,
  .input-grid,
  .services-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-visual-frame {
    min-height: 360px;
    border-radius: 28px;
  }
}
