:root {
  --ink: #1d2a3a;
  --muted: #5c6f86;
  --accent: #1f6fa1;
  --accent-soft: #cfe2f1;
  --sand: #eaf0f6;
  --line: #d2dbe6;
  --bg: #eef4f9;
  --accent-deep: #24336a;
  --accent-teal: #33aebc;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(33, 51, 77, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", Tahoma, Geneva, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 252, 254, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-size: 1rem;
}

.brand-person {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  padding: 6px 0;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero {
  padding: 80px 0 70px;
  background: linear-gradient(180deg, #f6f8fb 0%, #fbfcfe 60%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.2px;
  color: var(--accent-deep);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 2vw + 1.8rem, 3rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn {
  background: linear-gradient(120deg, var(--accent-deep), var(--accent-teal));
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(76, 106, 136, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(76, 106, 136, 0.25);
}

.link {
  color: var(--accent-deep);
  font-weight: 500;
}

.hero-visual {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.abstract-illustration {
  width: min(420px, 90vw);
  padding: 12px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.hero-logo {
  width: min(320px, 70vw);
  height: auto;
}

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

.section {
  padding: 70px 0;
}

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

.section-header {
  margin-bottom: 40px;
}

.section-header p {
  color: var(--muted);
  margin-top: 8px;
}

.about-grid,
.method-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 14px;
  color: var(--muted);
}

.portrait {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #d9e3ee;
  box-shadow: 0 10px 24px rgba(33, 51, 77, 0.12);
  margin: 0 auto;
}

.photo-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.card {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(33, 51, 77, 0.08);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

.service-benefit {
  font-weight: 500;
  margin: 10px 0 12px;
  color: var(--ink);
}

.service-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--muted);
}

.service-list li {
  padding-left: 22px;
  position: relative;
}

.service-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent-deep);
  position: absolute;
  left: 0;
  top: 6px;
}

.service-output {
  font-size: 0.95rem;
  color: var(--muted);
}

.examples-block {
  margin-top: 40px;
}

.examples-block h3 {
  margin-bottom: 14px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.example-item {
  background: white;
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.services-cta {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.services-cta-note {
  color: var(--muted);
  font-size: 0.95rem;
}
.method-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.method-list li {
  padding-left: 28px;
  position: relative;
  color: var(--muted);
}

.method-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent-deep);
  position: absolute;
  left: 0;
  top: 6px;
}

.method-note {
  color: var(--muted);
}

.line-illustration {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 360px;
}

.line-illustration span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d6e7f4 0%, #e6f4f6 100%);
}

.line-illustration span:nth-child(2) {
  width: 80%;
}

.line-illustration span:nth-child(3) {
  width: 60%;
}

.method-caption {
  color: var(--muted);
  margin-top: 16px;
}

.method-image {
  width: min(380px, 85vw);
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-form {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1rem;
  background: #fcfdff;
}

.contact-form .hidden {
  display: none;
}

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.2em;
}

.form-status.success {
  color: #1b6f4a;
}

.form-status.error {
  color: #9b2c2c;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #f7f9fc;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .method-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: 5vw;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 18px;
    flex-direction: column;
    gap: 10px;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-logo {
    width: min(260px, 70vw);
  }

  .logo {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-bottom: 40px;
  }

  .section {
    padding: 50px 0;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-text {
    line-height: 1.05;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-person {
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 3vw + 1.2rem, 2.4rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .link {
    display: inline-flex;
    padding: 6px 0;
  }

  .contact-form {
    padding: 20px;
  }

  .method-image {
    width: min(320px, 85vw);
  }

  .portrait {
    width: 160px;
    height: 160px;
  }
}
