:root {
  --primary: #163a70;
  --secondary: #1f6fb2;
  --accent: #2aa198;
  --bg: #f6f9fc;
  --text: #1f2937;
  --muted: #5b6472;
  --white: #ffffff;
  --border: #d7e0ea;
  --shadow: 0 10px 30px rgba(22, 58, 112, 0.08);
  --radius: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

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

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

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg);
}

.eyebrow,
.section-label {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--primary);
}

.section-lead {
  max-width: 780px;
  color: var(--muted);
  margin: 0 0 28px;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.service-title .icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5fb;
  border-radius: 10px;
  font-size: 1.3rem;
}

.service-title h3 {
  margin: 0;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215, 224, 234, 0.8);
}

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

.logo {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1.4;
  min-width: 210px;
}

.logo small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.8rem;
}

.logo-with-image {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 210px;
}

.logo-with-image img {
  width: 130px !important;
  max-width: 130px !important;
  height: auto !important;
  display: block;
}

.logo-with-image small {
  font-size: 0.8rem;
  line-height: 1.4;
}

.logo-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-main img {
  width: 110px !important;
  max-width: 110px !important;
  height: auto !important;
}

.logo-main span {
  font-weight: 800;
  color: var(--primary);
  font-size: 1rem;
  white-space: nowrap;
}

.team-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  margin-bottom: 16px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.95rem;
  color: var(--muted);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #102b52;
}

.btn-secondary {
  background: var(--white);
  border-color: var(--border);
  color: var(--primary);
}

.btn-secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

/* Hero */

.hero {
  padding: 84px 0 64px;
  background: linear-gradient(135deg, #eef5fb 0%, #ffffff 55%, #edf8f6 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 36px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.45rem);
  line-height: 1.18;
  margin: 0 0 18px;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.hero-text {
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-panel {
  padding: 28px;
}

.hero-panel h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.25rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-panel li + li {
  margin-top: 10px;
}

/* Grid */

.grid-2,
.grid-3,
.grid-4,
.services-grid {
  display: grid;
  gap: 20px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.section-divider {
  width: min(1120px, calc(100% - 32px));
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, #39a964, transparent);
}

/* Cards */

.point-card,
.card,
.service-card,
.service-card-image,
.team-card,
.metric-card,
.support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.service-card,
.team-card,
.metric-card,
.support-card {
  padding: 24px;
  height: 100%;
}

.point-card {
  padding: 16px;
}

.point-card strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 1rem;
}

.point-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.card h3,
.service-card h3,
.team-card h3,
.support-card h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 1.2rem;
}

.card p,
.service-card p,
.team-card p,
.support-card p,
.metric-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Service Cards */

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #f0f6fd;
  font-size: 1.55rem;
}

.service-card .service-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 700;
}

.service-card-image {
  padding: 0;
  overflow: hidden;
  transition: 0.3s ease;
}

.service-card-image:hover {
  transform: translateY(-6px);
}

.service-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 22px;
}

.service-card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--primary);
}

.service-card-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Problems */

.problems {
  padding: 80px 0 40px;
  background: #f8fafc;
}

.problem-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  transition: 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.problem-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.problem-title .icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.problem-title h3 {
  margin: 0;
}

.problem-card h3 {
  color: var(--primary);
  margin: 0 0 10px;
}

.problem-card p {
  color: var(--muted);
  margin: 0;
}

.center {
  text-align: center;
  margin-top: 20px;
}

.arrow {
  font-size: 24px;
  color: var(--primary);
  margin: 0 0 8px;
}

.lead-strong {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

/* Framework / Steps */

.framework {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.framework .card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.framework .card li + li {
  margin-top: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.step {
  background: #f0f6fd;
  border: 1px solid #cfe0f3;
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 700;
}

.step span {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

/* Team / Metrics */

.team-card .role {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.92rem;
}

.metric-card {
  text-align: center;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat {
  background: #f7f9fc;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.stat h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin: 0 0 6px;
}

/* Contact */

.contact-box {
  padding: 32px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.contact-list li::before {
  content: "●";
  color: var(--accent);
  font-weight: 800;
  margin-right: 8px;
}

.contact-form {
  margin-top: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.12);
}

.form-submit {
  width: 100%;
  margin-top: 12px;
  font-size: 1.05rem;
}

/* Footer */

.footer {
  background: #0f2446;
  color: rgba(255, 255, 255, 0.9);
  padding: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer h3,
.footer h4 {
  margin-top: 0;
  color: #ffffff;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  margin-top: 20px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid,
  .framework,
  .grid-4,
  .grid-3,
  .grid-2,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-points,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .nav,
  .header-actions {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section,
  .problems {
    padding: 56px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

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

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .service-card-image img {
    height: 180px;
  }
  .problem-card {
  position: relative;
  border-left: 5px solid var(--secondary);
}

.problem-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.problem-title .icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef5fb;
  font-size: 1.35rem;
}

.problem-title h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.15rem;
  line-height: 1.35;
}

.problem-card p {
  margin: 0 0 16px;
}

.problem-link {
  display: inline-flex;
  margin-top: 6px;
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.95rem;
}

}
