:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #fcfbf8;
  --surface-soft: #f7f5f1;
  --accent-soft: rgba(255, 169, 40, 0.14);
  --accent-soft-2: rgba(243, 204, 165, 0.26);
  --accent: #ffa928;
  --accent-strong: #f59b07;
  --text: #656565;
  --text-strong: #434343;
  --border: rgba(101, 101, 101, 0.16);
  --shadow: 0 18px 40px rgba(101, 101, 101, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, var(--accent-soft-2), transparent 36%),
    radial-gradient(circle at top right, rgba(255, 169, 40, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 22px 28px 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-logo {
  display: block;
  width: min(140px, 30vw);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding: 4px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-cta {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-strong);
  font-size: 0.95rem;
  font-weight: 600;
  margin-right: 10px;
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 169, 40, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  padding: 64px 0 36px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow,
.section-label,
.panel-label,
.step-number {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow,
.section-label {
  color: var(--accent-strong);
}

h1,
h2,
h3,
.brand,
.contact-email,
.button,
.header-cta,
.service-card,
.process-step,
.about-item {
  letter-spacing: -0.03em;
}

h1 {
  margin: 14px 0 18px;
  color: var(--text-strong);
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.97;
  max-width: 11ch;
}

.hero-text {
  max-width: 57ch;
  font-size: 1.08rem;
  line-height: 1.85;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  font-weight: 600;
  border: 1px solid transparent;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 12px 24px rgba(255, 169, 40, 0.25);
}

.button-secondary {
  color: var(--text-strong);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.85);
}

.hero-panel {
  position: relative;
  min-height: 520px;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 241, 0.92)),
    linear-gradient(135deg, rgba(255, 169, 40, 0.08), transparent 48%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 169, 40, 0.14), transparent 72%);
}

.hero-panel::before {
  width: 280px;
  height: 280px;
  top: -90px;
  right: -90px;
}

.hero-panel::after {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -60px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.panel-card {
  min-height: 170px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(101, 101, 101, 0.12);
  background: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-strong);
  box-shadow: 0 10px 24px rgba(101, 101, 101, 0.05);
}

.panel-card.accent {
  background: linear-gradient(180deg, rgba(243, 204, 165, 0.34), rgba(255, 255, 255, 0.92));
}

.panel-card.wide {
  grid-column: 1 / -1;
  min-height: 140px;
  background: linear-gradient(135deg, rgba(255, 169, 40, 0.14), rgba(255, 255, 255, 0.95));
}

.panel-label {
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.panel-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.18;
}

.panel-rail {
  position: absolute;
  inset: auto 28px 28px auto;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.panel-rail span {
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 169, 40, 0.18);
}

.content-section {
  padding: 58px 0 12px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  max-width: 13ch;
}

.split-section .section-heading h2 {
  max-width: 16ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid .service-card:nth-child(4),
.service-grid .service-card:nth-child(5) {
  grid-column: span 1;
}

.service-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 30px rgba(101, 101, 101, 0.05);
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.service-card h3,
.process-step h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.3rem;
  line-height: 1.15;
}

.service-card p,
.about-copy p,
.process-step p,
.contact-copy p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.8;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 169, 40, 0.16);
}

.icon-wrap svg {
  width: 26px;
  height: 26px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.about-copy {
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
}

.about-copy p {
  font-size: 1.08rem;
  max-width: 50ch;
}

.about-list {
  display: grid;
  gap: 14px;
}

.about-item {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(101, 101, 101, 0.12);
  background: linear-gradient(135deg, rgba(255, 169, 40, 0.1), rgba(255, 255, 255, 0.93));
  color: var(--text-strong);
  font-weight: 600;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(101, 101, 101, 0.04);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-number {
  color: var(--accent-strong);
}

.contact-section {
  padding-bottom: 42px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.contact-copy {
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 204, 165, 0.14));
}

.contact-email {
  display: inline-flex;
  margin-top: 22px;
  color: var(--text-strong);
  font-size: 1.04rem;
  font-weight: 700;
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 204, 165, 0.12));
  box-shadow: var(--shadow);
  max-width: 760px;
}

.contact-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 54ch;
}

.contact-email {
  color: var(--text-strong);
  font-weight: 700;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 14px;
  border-top: 1px solid rgba(101, 101, 101, 0.14);
  color: var(--text);
  font-size: 0.95rem;
}

.site-footer strong {
  display: block;
  color: var(--text-strong);
  margin-bottom: 4px;
}

.site-footer p {
  margin: 0;
}

.section-reveal {
  opacity: 1;
  transform: none;
  animation: fadeUp 720ms ease both;
  animation-delay: var(--reveal-delay, 0ms);
}

section[id] {
  scroll-margin-top: 120px;
}

@keyframes fadeUp {
  from {
    transform: translateY(18px);
  }

  to {
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .section-reveal {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .panel-grid,
  .card-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 18px 16px 22px;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
    padding: 14px 14px 12px;
  }

  .brand {
    margin-right: auto;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .header-cta {
    margin-right: 0;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    max-width: 12ch;
  }

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

  .panel-grid,
  .card-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 380px;
    padding: 18px;
  }

  .panel-card,
  .service-card,
  .process-step,
  .about-copy,
  .contact-card {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
  }
}
