:root {
  --color-primary: #57b8c1;
  --color-primary-dark: #2f8f98;
  --color-secondary: #eb5600;
  --color-secondary-dark: #c94800;
  --color-text: #142326;
  --color-muted: #607174;
  --color-bg: #ffffff;
  --color-bg-soft: #f4fafb;
  --color-border: rgba(20, 35, 38, 0.12);
  --color-secondary-soft: rgba(235, 86, 0, 0.08);
  --color-primary-soft: rgba(87, 184, 193, 0.12);
  --shadow-soft: 0 24px 70px rgba(20, 35, 38, 0.12);
  --shadow-accent: 0 18px 36px rgba(235, 86, 0, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1120px;
  --header-height: 82px;
  --mobile-header-height: 132px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding: 96px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section-light {
  background: var(--color-primary);
}

.section-light .eyebrow,
.section-light h2 {
  color: #ffffff;
}

.section-light .eyebrow::before {
  background: var(--color-secondary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
}

.header-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-content {
  min-height: var(--header-height);
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-secondary);
  transition: width 0.2s ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--color-secondary);
}

.main-nav a:hover::after {
  width: 100%;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(87, 184, 193, 0.24), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
}

.hero-grid,
.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-secondary);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.8vw, 5.4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 36px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-intro {
  max-width: 650px;
  color: var(--color-muted);
  font-size: 1.2rem;
  font-weight: 400;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: var(--color-secondary);
  box-shadow: var(--shadow-accent);
}

.button-primary:hover {
  background: var(--color-secondary-dark);
}

.button-secondary {
  color: var(--color-primary-dark);
  background: #ffffff;
  border: 1px solid rgba(47, 143, 152, 0.25);
}

.button-secondary:hover {
  color: #ffffff;
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 14px 28px rgba(47, 143, 152, 0.18);
}

.hero-card,
.contact-card,
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: 18px;
}

.hero-card-image {
  width: 100%;
  aspect-ratio: 1200 / 630;
  margin-bottom: 24px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.hero-card p,
.card p,
.contact-card p,
.step p {
  color: var(--color-muted);
}

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

.card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card::before {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(235, 86, 0, 0.24);
  box-shadow: 0 28px 80px rgba(20, 35, 38, 0.14);
}

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

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover {
  transform: translateX(4px);
  border-color: rgba(235, 86, 0, 0.3);
}

.step span {
  color: var(--color-secondary);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.step p {
  margin-bottom: 0;
}

.contact-section {
  grid-template-rows: 1fr auto;
  background: var(--color-primary);
  padding-bottom: 0;
}

.contact-card {
  max-width: 780px;
  padding: clamp(32px, 6vw, 64px);
}

.contact-card .eyebrow {
  color: var(--color-primary-dark);
}

.site-footer {
  padding: 28px 0;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
}

.contact-footer {
  width: 100%;
  color: rgba(255, 255, 255, 0.82);
  border-top-color: rgba(255, 255, 255, 0.22);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 36px rgba(20, 35, 38, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  backdrop-filter: blur(14px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top[hidden] {
  display: inline-flex;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-top:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 44px rgba(20, 35, 38, 0.18);
}

.legal-main {
  padding: 96px 0;
  background: var(--color-bg-soft);
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  margin-bottom: 48px;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--color-border);
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

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

.legal-list {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--color-muted);
}

.legal-list li + li {
  margin-top: 6px;
}

.legal-section a {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.legal-section a:hover {
  color: var(--color-secondary);
}

@media (max-width: 880px) {
  html {
    scroll-padding-top: var(--mobile-header-height);
    scroll-snap-type: none;
  }

  .section {
    min-height: calc(100vh - var(--mobile-header-height));
    min-height: calc(100svh - var(--mobile-header-height));
    padding: 72px 0;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .contact-section {
    padding-bottom: 0;
  }

  .hero-grid,
  .split-layout,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split-layout {
    gap: 36px;
  }

  .hero {
    padding-top: 18px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.88rem;
  }
}

@media (max-width: 560px) {
  :root {
    --mobile-header-height: 128px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .header-content {
    min-height: var(--mobile-header-height);
    padding: 14px 0 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(244, 250, 251, 0.9);
    box-shadow: 0 8px 24px rgba(20, 35, 38, 0.06);
  }

  .main-nav a {
    flex: 1;
    min-width: 0;
    padding: 9px 8px;
    border-radius: 999px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-muted);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover {
    color: #ffffff;
    background: var(--color-secondary);
  }

  .hero {
    padding-top: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text .eyebrow {
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-intro {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    padding: 14px;
  }

  .hero-card-image {
    border-radius: 16px;
  }

  .card {
    min-height: auto;
    padding: 26px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step:hover {
    transform: translateY(-2px);
  }

  .contact-card {
    text-align: center;
  }

  .contact-card .eyebrow {
    justify-content: center;
  }

  .footer-content {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 390px) {
  :root {
    --mobile-header-height: 122px;
  }

  .main-nav a {
    padding: 8px 5px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: 2.45rem;
  }
}
