﻿:root {
  --bg: #f5f7f4;
  --paper: #ffffff;
  --ink: #122022;
  --muted: #5f6e72;
  --brand: #0f766e;
  --brand-2: #d97706;
  --line: #d8e1dd;
  --shadow: 0 18px 45px rgba(18, 32, 34, 0.12);
}

* {
  box-sizing: border-box;
}

body.site-body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 118, 110, 0.13), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(217, 119, 6, 0.15), transparent 34%),
    linear-gradient(180deg, #f8fbf9 0%, var(--bg) 52%, #edf3ef 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Merriweather", Georgia, serif;
  letter-spacing: 0.2px;
}

.bg-orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
  animation: drift 16s ease-in-out infinite;
}

.orb-a {
  top: -120px;
  right: -100px;
  background: rgba(15, 118, 110, 0.22);
}

.orb-b {
  bottom: -140px;
  left: -110px;
  background: rgba(217, 119, 6, 0.2);
  animation-delay: 5s;
}

.site-shell {
  position: relative;
  z-index: 2;
}

.topbar {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(216, 225, 221, 0.8);
}

.brand-name {
  font-size: 1.05rem;
  color: var(--ink);
}

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

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

.nav-link {
  font-weight: 600;
  color: #214247;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  bottom: 0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: calc(100% - 1rem);
}

.hero {
  padding: 5.5rem 0 3rem;
}

.hero-panel,
.content-panel,
.card-soft {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  top: -120px;
  background: conic-gradient(from 120deg, rgba(15, 118, 110, 0.3), rgba(217, 119, 6, 0.26));
  border-radius: 50%;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin-bottom: 0.7rem;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(1.9rem, 2.9vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted);
  max-width: 65ch;
}

.btn-brand {
  background: linear-gradient(120deg, var(--brand), #0e8e83);
  color: #fff;
  border: none;
}

.btn-brand:hover {
  color: #fff;
  filter: brightness(1.06);
}

.btn-outline-brand {
  border-color: #80a8a2;
  color: #204449;
}

.btn-outline-brand:hover {
  background: #edf7f5;
  color: #14373c;
}

.section-title {
  margin-bottom: 1rem;
}

.card-soft {
  padding: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-soft:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 35px rgba(18, 32, 34, 0.14);
}

.card-soft h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

.content-panel {
  padding: 1.8rem;
}

.doc-list,
.clean-list {
  padding-left: 1.2rem;
}

.doc-list li,
.clean-list li {
  margin-bottom: 0.45rem;
}

.form-control,
.form-select {
  border-color: #c9d6d1;
}

.form-control:focus,
.form-select:focus {
  border-color: #48a59a;
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.footer {
  padding: 2rem 0 2.4rem;
  color: #3d5458;
}

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

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

.article-copy p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.portrait-wrap {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.6rem;
  box-shadow: 0 16px 30px rgba(18, 32, 34, 0.14);
}

.portrait-image {
  width: 100%;
  max-width: 290px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.portrait-caption {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

.portrait-wrap-page {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.portrait-image-page {
  max-width: 340px;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(20px) translateX(-12px);
  }
}

@media (max-width: 991px) {
  .hero {
    padding-top: 4.6rem;
  }

  .nav-logo {
    width: 46px;
    height: 46px;
  }

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

  .hero-panel {
    padding: 1.6rem;
  }

  .portrait-image {
    max-width: 240px;
  }
}
