:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #0b1320;
  --muted: #5a6575;
  --primary: #1a2a3a;
  --primary-dark: #0f1a26;
  --accent: #f5f5f5;
  --brand: #00c896;
  --border: #e2e8f0;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 12px 26px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius-lg: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Open Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-top: 76px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5%;
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.logo strong {
  color: var(--primary);
  margin-left: 4px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-menu a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  padding: 72px 0 40px;
  background: radial-gradient(circle at top left, rgba(0, 200, 150, 0.08), transparent 45%),
    radial-gradient(circle at top right, rgba(26, 42, 58, 0.08), transparent 50%);
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  line-height: 1.2;
  margin: 8px 0 16px;
  letter-spacing: -0.5px;
}

.hero-text .subtitle {
  color: var(--muted);
  margin-bottom: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--primary);
}

.hero-metrics {
  display: flex;
  gap: 24px;
  color: var(--muted);
}

.hero-metrics strong {
  color: var(--text);
  font-size: 1.2rem;
}

.section {
  padding: 64px 0;
}

.section-muted {
  background: var(--accent);
}

.section-header {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-media {
  padding: 0;
  overflow: hidden;
}

.card-media img {
  border-radius: 0;
  height: 230px;
  object-fit: cover;
}

.card-body {
  padding: 20px 24px 28px;
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 150, 0.12);
  color: var(--brand);
  border-radius: 14px;
  margin-bottom: 16px;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.contact-list li {
  margin-bottom: 16px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(0, 200, 150, 0.18);
  border-color: var(--brand);
}

.site-footer {
  background: #0f172a;
  color: #d6d9e1;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-top: 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.company-data {
  margin-top: 12px;
  color: #b6bcc9;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 32px;
  padding-top: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: #b6bcc9;
}

.simple-page {
  padding-top: 76px;
  background: var(--accent);
}

.policy {
  padding: 80px 0 72px;
}

.policy-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.policy section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
}

.policy h2 {
  margin-top: 0;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 20;
}

.back-to-top:hover,
.back-to-top:focus {
  background: var(--primary-dark);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 64px;
  }

  .nav {
    padding: 14px 5%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    right: 5%;
    top: 64px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .policy {
    padding: 64px 0;
  }

  .policy section {
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
