:root {
  --primary: #0d7a66;
  --primary-dark: #102e2a;
  --primary-light: #26a69a;
  --accent: #ffa726;
  --accent-soft: #fff3dc;
  --success: #10b981;
  --danger: #ef4444;
  --info: #3b82f6;
  --bg: #f0f8f5;
  --surface: #ffffff;
  --surface-tint: #f7fbf8;
  --text: #1f2937;
  --muted: #6b7280;
  --light: #9ca3af;
  --border: #e1e8e4;
  --shadow: 0 12px 32px rgba(16, 46, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 46, 42, 0.14);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  margin-bottom: 1rem;
}

header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(225, 232, 228, 0.88);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
}

nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 72px;
  padding: 0 20px;
}

.logo {
  align-items: center;
  color: var(--primary);
  display: flex;
  font-size: 1.6rem;
  font-weight: 900;
  gap: 10px;
}

.logo::before {
  background: url("../images/fesy.jpg") center/cover;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(13, 122, 102, 0.2);
  content: "";
  height: 38px;
  width: 38px;
}

.nav-menu {
  align-items: center;
  display: none;
  gap: 8px;
  list-style: none;
}

.nav-menu.active {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  left: 0;
  padding: 16px 20px 24px;
  position: absolute;
  right: 0;
  top: 72px;
}

.nav-menu a {
  border-radius: var(--radius);
  color: var(--text);
  display: block;
  font-weight: 700;
  padding: 10px 12px;
}

.nav-menu a:hover {
  background: #e8fff6;
  color: var(--primary);
}

.hamburger {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 30px;
  width: 34px;
}

.hamburger span {
  background: var(--primary-dark);
  display: block;
  height: 2px;
  margin: 7px 0;
  transition: 0.2s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 20px;
}

.section {
  padding: 84px 20px;
}

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

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

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

.text-white {
  color: #fff;
}

.hero {
  background:
    linear-gradient(115deg, rgba(16, 46, 42, 0.92), rgba(13, 122, 102, 0.76)),
    url("../images/fesy-work.jpg") center/cover;
  color: #fff;
  min-height: calc(100vh - 72px);
  padding: 82px 20px 42px;
}

.hero .container {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
}

.hero h1,
.hero p {
  color: #fff;
}

.hero p {
  font-size: 1.1rem;
  max-width: 660px;
  opacity: 0.92;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  max-width: 460px;
}

.btn {
  align-items: center;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--accent);
  color: #241a06;
}

.btn-secondary:hover {
  background: #f59e0b;
  color: #241a06;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid currentColor;
  color: var(--primary);
}

.hero .btn-outline {
  color: #fff;
}

.btn-outline:hover {
  background: rgba(13, 122, 102, 0.08);
}

.btn-lg {
  min-height: 54px;
  padding: 14px 28px;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
  justify-self: center;
  max-width: 360px;
  padding: 16px;
  width: 100%;
}

.app-shot {
  background: #f7f8f6;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
}

.app-shot img {
  height: 178px;
  object-fit: cover;
  width: 100%;
}

.app-shot-body {
  padding: 20px;
}

.route-line {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  height: 8px;
  margin: 16px 0;
}

.route-row {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.route-dot {
  background: var(--primary);
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

.route-dot.drop {
  background: var(--accent);
}

.stats-container,
.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 38px;
}

.stat-box,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.card {
  transition: 0.2s ease;
}

.card:hover,
.stat-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-icon {
  align-items: center;
  background: #e8fff6;
  border-radius: var(--radius);
  color: var(--primary);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  min-width: 42px;
  padding: 0 10px;
}

.stat-box {
  text-align: left;
}

.stat-number {
  color: var(--primary);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text);
  font-weight: 800;
}

.stat-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 8px;
}

.grid-2 {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

.steps {
  counter-reset: step;
  list-style: none;
}

.steps li {
  align-items: flex-start;
  counter-increment: step;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.steps li::before {
  align-items: center;
  background: var(--primary);
  border-radius: 999px;
  color: #fff;
  content: counter(step);
  display: inline-flex;
  flex: 0 0 30px;
  font-weight: 900;
  height: 30px;
  justify-content: center;
}

.metric-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.metric-table table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.metric-table th,
.metric-table td {
  border-bottom: 1px solid var(--border);
  padding: 16px;
  text-align: left;
}

.metric-table th {
  background: var(--primary-dark);
  color: #fff;
}

.metric-table td:nth-child(2) {
  color: var(--primary);
  font-weight: 900;
  text-align: right;
}

footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 60px 20px 24px;
}

.footer-content {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin: 0 auto 32px;
  max-width: 1180px;
}

.footer-section h4,
.footer-section p {
  color: #fff;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 auto;
  max-width: 1180px;
  padding-top: 20px;
  text-align: center;
}

form {
  margin: 0 auto;
  max-width: 560px;
}

.form-group {
  margin-bottom: 18px;
}

label {
  color: var(--text);
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

input,
textarea,
select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 122, 102, 0.12);
  outline: none;
}

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

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.pulse {
  animation: pulse 1.4s infinite;
}

.fade-in {
  animation: fadeIn 0.45s ease both;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .hero {
    display: flex;
    align-items: center;
  }

  .hero .container {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  }

  .hero-buttons {
    flex-direction: row;
  }

  .stats-container {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .footer-content {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .nav-menu {
    display: flex !important;
  }

  .hamburger {
    display: none;
  }

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

@media (max-width: 520px) {
  .section {
    padding: 56px 16px;
  }

  .hero {
    min-height: auto;
    padding: 58px 16px 32px;
  }

  .stat-box,
  .card {
    padding: 20px;
  }
}
