:root {
  --bg: #fcfcfb;
  --text: #1d2330;
  --muted: #6e7686;
  --accent: #1aa6c2;
  --border: #e6e4df;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Header & nav */
header {
  padding: 36px 0 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand img {
  height: 30px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-name span {
  color: var(--accent);
}

.brand-tagline {
  display: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  border-color: var(--accent);
}

/* Hero */
.hero {
  padding: 120px 0 88px;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.hero .slogan {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 28px;
}

.hero p {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 36px;
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease, gap 0.15s ease;
}

.link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 13px;
}

.link-arrow.muted {
  color: var(--muted);
  border-color: var(--border);
}

.link-arrow.muted:hover {
  color: var(--text);
  border-color: var(--text);
}

/* Sections */
section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}

/* Numbered service list */
.service-list {
  margin-top: 36px;
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 64px 220px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.service-number {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.service-title h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.service-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-body ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.service-body ul li {
  margin-bottom: 10px;
}

.service-body ul li:last-child {
  margin-bottom: 0;
}

.service-body ul ul {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-body ul ul li {
  margin-bottom: 6px;
}

.subservice-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}

.subservice h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.subservice ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.subservice ul li {
  margin-bottom: 6px;
}

@media (max-width: 720px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-number {
    order: -1;
  }
}

/* Contact */
.contact-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.contact-item h3 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-item p {
  margin: 0;
  color: var(--text);
}

/* About / profile */
.profile {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--border);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 38%;
  filter: grayscale(1);
}

.profile h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.profile-intro {
  color: var(--muted);
}

.profile-block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.profile-block h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.profile-block p {
  margin: 0;
  color: var(--muted);
}

.profile-block a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.profile-block a:hover {
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .profile {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

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

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

footer a:hover {
  color: var(--text);
  border-color: var(--text);
}
