* {
  box-sizing: border-box;
}

:root {
  --bg: #f3ecde;
  --bg-soft: rgba(255, 250, 242, 0.76);
  --ink: #15120f;
  --muted: #625d55;
  --line: rgba(21, 18, 15, 0.1);
  --panel: rgba(255, 250, 242, 0.9);
  --panel-dark: #121d1a;
  --panel-dark-2: #162723;
  --cream: #f7f2e8;
  --accent: #0f766e;
  --accent-strong: #0a5e57;
  --accent-warm: #ba6b28;
  --shadow: 0 20px 60px rgba(43, 34, 24, 0.12);
  --shadow-soft: 0 12px 30px rgba(43, 34, 24, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(186, 107, 40, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f2e7 0%, #f2eadb 45%, #efe4d4 100%);
  font-family: "Noto Sans SC", "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(21, 18, 15, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 18, 15, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    radial-gradient(rgba(21, 18, 15, 0.16) 0.7px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, 0.28) 0.7px, transparent 0.7px);
  background-position: 0 0, 14px 14px;
  background-size: 28px 28px;
  pointer-events: none;
}

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

button {
  font: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(247, 242, 232, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-strong);
  font-size: 0.9rem;
}

.badge::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.lang-button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.lang-button:hover {
  color: var(--ink);
}

.lang-button.is-active {
  background: var(--ink);
  color: #fff;
}

main {
  display: grid;
  gap: 28px;
}

.panel,
.fit-item,
.service-card,
.proof-card,
.trust-item {
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.78fr);
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(18, 29, 26, 0.97), rgba(17, 24, 22, 0.88)),
    linear-gradient(135deg, rgba(15, 118, 110, 0.2), transparent 40%);
  color: var(--cream);
  overflow: hidden;
  position: relative;
}

.hero::after {
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 107, 40, 0.2), transparent 70%);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-warm);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow:empty {
  display: none;
}

.eyebrow-soft {
  color: rgba(247, 242, 232, 0.72);
}

h1,
h2,
h3,
.button,
.service-title,
.proof-title,
.fit-title,
.trust-title {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
}

h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead,
.section-intro,
.about-text,
.contact-note,
.service-description,
.proof-description,
.trust-text,
.fit-text {
  color: var(--muted);
  line-height: 1.75;
}

.hero .lead {
  max-width: 56ch;
  margin: 18px 0 0;
  color: rgba(247, 242, 232, 0.82);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #1f9c92);
  color: #fefbf5;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15, 118, 110, 0.25);
}

.button-ghost {
  border-color: rgba(247, 242, 232, 0.18);
  background: rgba(247, 242, 232, 0.08);
  color: var(--cream);
}

.button-ghost:hover {
  box-shadow: none;
  background: rgba(247, 242, 232, 0.14);
}

.link-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.link-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: 18px;
  background: rgba(247, 242, 232, 0.07);
  color: rgba(247, 242, 232, 0.88);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.link-pills a:hover {
  transform: translateY(-1px);
  border-color: rgba(247, 242, 232, 0.32);
  background: rgba(247, 242, 232, 0.12);
}

.link-pills a svg,
.contact-actions a svg {
  width: 22px;
  height: 22px;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(247, 242, 232, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(247, 242, 232, 0.08), rgba(247, 242, 232, 0.04)),
    rgba(10, 18, 16, 0.5);
}

.hero-card h2 {
  margin-top: 4px;
  color: var(--cream);
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
}

.hero-card-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-card-list li {
  padding: 12px 0;
  border-top: 1px solid rgba(247, 242, 232, 0.12);
  color: rgba(247, 242, 232, 0.82);
  line-height: 1.5;
}

.section {
  display: grid;
  gap: 18px;
}

.section-heading {
  max-width: 980px;
}

.section-intro {
  margin: 10px 0 0;
  font-size: 0.98rem;
  max-width: 72ch;
  text-wrap: pretty;
}

.section-intro:empty,
.contact-note:empty {
  display: none;
}

.cards-grid,
.trust-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.proof-card,
.trust-item,
.about-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.service-card,
.trust-item,
.about-card,
.contact-card {
  padding: 24px;
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.service-card::before,
.about-card::before,
.contact-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  content: "";
}

.service-title,
.proof-title,
.trust-title {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.15;
}

.service-description,
.proof-description,
.trust-text {
  margin: 12px 0 0;
}

.cards-grid {
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card-featured {
  border-color: rgba(15, 118, 110, 0.3);
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(255, 250, 242, 0.92)),
    var(--panel);
}

.service-meta {
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.service-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.service-list li::before {
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  content: "";
  transform: translateY(-50%);
}

.service-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.cards-grid-dark .proof-card {
  padding: 24px;
  background:
    linear-gradient(160deg, rgba(18, 29, 26, 0.98), rgba(22, 39, 35, 0.9));
  color: var(--cream);
}

.proof-label {
  color: rgba(247, 242, 232, 0.62);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-card .proof-description {
  color: rgba(247, 242, 232, 0.76);
}

.proof-stat {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 242, 232, 0.12);
  color: rgba(247, 242, 232, 0.88);
  font-size: 0.95rem;
  font-weight: 700;
}

.proof-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid rgba(247, 242, 232, 0.18);
  border-radius: 999px;
  background: rgba(247, 242, 232, 0.08);
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.proof-actions .proof-link {
  margin-top: 0;
}

.proof-link:hover {
  transform: translateY(-1px);
  border-color: rgba(247, 242, 232, 0.32);
  background: rgba(247, 242, 232, 0.14);
}

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

.trust-item {
  padding: 22px;
  background: rgba(255, 252, 245, 0.7);
  backdrop-filter: blur(10px);
}

.trust-title {
  font-size: 1.1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.contact-actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.contact-note {
  margin: 18px 0 0;
  font-size: 0.95rem;
}

.hero,
.service-card,
.proof-card,
.trust-item,
.about-card,
.contact-card {
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .fit-item,
  .service-card,
  .proof-card,
  .trust-item,
  .about-card,
  .contact-card,
  .button,
  .proof-link,
  .lang-button,
  .link-pills a {
    animation: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .cards-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 16px;
  }

  .topbar {
    top: 10px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .topbar-actions {
    justify-content: space-between;
  }

  .badge {
    flex: 1;
    justify-content: center;
  }

  .hero,
  .service-card,
  .proof-card,
  .trust-item,
  .about-card,
  .contact-card {
    padding: 22px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact-actions a {
    width: 52px;
    height: 52px;
  }
}
