:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #14b8a6;
  --accent-soft: #ccfbf1;
  --border: #e2e8f0;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
}

.section-subtitle {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 720px;
}

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

.stack {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

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

.bg-white {
  background: var(--surface);
}

.bg-soft {
  background: var(--surface-alt);
}

.shadow {
  box-shadow: var(--shadow);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.border {
  border: 1px solid var(--border);
}

.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.py-1 { padding-block: .25rem; }
.py-2 { padding-block: .5rem; }
.py-3 { padding-block: .75rem; }
.py-4 { padding-block: 1rem; }
.py-6 { padding-block: 1.5rem; }
.py-8 { padding-block: 2rem; }

.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

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

.justify-center {
  justify-content: center;
}

.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.wrap {
  flex-wrap: wrap;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.hidden {
  display: none !important;
}

.text-sm {
  font-size: .925rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
}

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

.text-white {
  color: #fff;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.leading-tight {
  line-height: 1.15;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  font-weight: 800;
  flex: 0 0 auto;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: .82rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
  transition: .2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

.mobile-menu {
  display: none;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  display: block;
  padding: .85rem 0;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid #f1f5f9;
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #052e2b, #0f766e);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(5, 46, 43, .85), rgba(15, 118, 110, .70));
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .18;
}

.hero-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
  padding: 5.5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: .93rem;
}

.hero h1,
.hero h2 {
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 1.05;
  font-weight: 800;
  max-width: 12ch;
  margin-top: 1rem;
}

.hero p {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: #dbeafe;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: .25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #0ea5a5;
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, .25);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .10);
}

.btn-dark {
  background: var(--primary);
  color: white;
}

.btn-dark:hover {
  background: var(--primary-dark);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .12);
}

.stat strong {
  display: block;
  font-size: 1rem;
  margin-bottom: .25rem;
}

.stat span {
  color: #dbeafe;
  font-size: .92rem;
}

.hero-image {
  background: rgba(255, 255, 255, .95);
  padding: .9rem;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 22px;
}

.cards-grid,
.services-grid,
.features-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: .7rem;
}

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

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #ecfeff, #f8fafc);
}

.page-hero h1,
.page-hero h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
}

.page-hero p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 720px;
}

.form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  font-size: .95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .95rem 1rem;
  background: white;
  color: var(--text);
  outline: none;
  transition: .2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, .10);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 600;
}

.cta {
  background: var(--primary);
  color: white;
  border-radius: 32px;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.cta p {
  margin-top: .8rem;
  color: #dbeafe;
}

.footer {
  background: #020617;
  color: #cbd5e1;
  padding: 2rem 0;
}

.footer a {
  color: inherit;
}

.footer a:hover {
  color: white;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.small {
  font-size: .88rem;
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu.open {
    display: block;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-inner {
    padding: 4.5rem 0;
  }

  .hero-image img {
    height: 320px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .services-grid,
  .grid-2,
  .grid-3,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1200px, calc(100% - 1.2rem));
  }

  .btn {
    width: 100%;
  }

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

  .card-image {
    height: 200px;
  }
}