:root {
  --bg: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --secondary: #1e293b;
  --card-bg: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 20px 25px -5px rgba(0,0,0,0.05),
            0 10px 10px -5px rgba(0,0,0,0.02);
  --radius: 16px;
  --gutter: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 var(--gutter);
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: -0.8px;
}

.desktop-menu {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.desktop-menu a.active {
  position: relative;
}

.desktop-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Remove underline & visited color from header navigation */
nav .desktop-menu a,
nav .mobile-menu a,
nav .desktop-menu a:visited,
nav .mobile-menu a:visited {
  text-decoration: none;
  color: var(--secondary);
}

nav .desktop-menu a:hover,
nav .mobile-menu a:hover {
  opacity: 0.8;
}
nav a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  padding: 16px 32px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(13,148,136,0.2);
}

.btn-secondary {
  background: var(--secondary);
}

.button-group {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Hero */
.hero {
  padding: clamp(80px, 10vh, 140px) 0;
  background: radial-gradient(circle at 70% 30%, #f1f5f9 0%, #ffffff 100%);
  text-align: center;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero p {
  font-size: clamp(18px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* Sections */
section { padding: 100px 0; }

h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 16px;
  color: var(--secondary);
  text-align: center;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 56px;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 56px auto;
}

/* Grid + Cards */
.grid { display: grid; gap: 24px; }

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: 0.3s;
}

.card:hover {
  background: #fff;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-top: 48px;
  text-align: center;
}

.stat-item h4 {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 800;
}

.stat-item p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
}

/* Forms */
.contact-box {
  max-width: 580px;
  margin: 0 auto;
}

form { display: grid; gap: 16px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input, textarea {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 16px;
  width: 100%;
  transition: 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13,148,136,0.08);
}

#form-status {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

#form-status h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* Footer */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .desktop-menu { display: none; }
  .button-group { flex-direction: column; padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
}
