:root {
  --bg: #ffffff;
  --text: #2d3436;
  --text-light: #636e72;
  --muted: #95a5a6;
  --primary: #00b894;
  --primary-dark: #00a281;
  --accent: #fdcb6e;
  --accent-dark: #f39c12;
  --surface: #fafbfc;
  --surface-light: #ffffff;
  --border: #dfe6e9;
  --border-light: #f1f3f4;
  --success: #00b894;
  --warm: #fd79a8;
  --gradient-1: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  --gradient-2: linear-gradient(135deg, #fdcb6e 0%, #f39c12 100%);
  --gradient-3: linear-gradient(135deg, #74b9ff 0%, #a29bfe 100%);
  --gradient-warm: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { width: min(1200px, 90%); margin: 0 auto; }
.container-wide { width: min(1400px, 92%); margin: 0 auto; }
.container-narrow { width: min(960px, 90%); margin: 0 auto; }

/* Header */
.site-header { 
  position: fixed; 
  top: 0; 
  left: 0;
  right: 0;
  z-index: 1000; 
  background: rgba(255,255,255,0.8); 
  backdrop-filter: saturate(200%) blur(20px);
  -webkit-backdrop-filter: saturate(200%) blur(20px);
  border-bottom: 1px solid rgba(229,231,235,0.5);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 20px 0; 
  transition: padding 0.3s ease;
}
.site-header.scrolled .header-inner { padding: 15px 0; }
.site-nav {
  display: flex;
  align-items: center;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 55px; width: auto; display: block; transition: height 0.3s ease; }
.site-header.scrolled .brand-logo { height: 45px; }
.nav-toggle { display: none; }
.mobile-menu-overlay { display: none; }
.mobile-nav-header { display: none; }
.mobile-nav-cta { display: none; }
.desktop-nav-cta { 
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.desktop-nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-list { 
  display: flex; 
  gap: 8px; 
  list-style: none; 
  margin: 0; 
  padding: 0;
  align-items: center;
  flex-shrink: 0;
}

#primaryNav {
  display: flex;
  align-items: center;
  gap: 30px;
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  padding: 0;
  box-shadow: none;
  transition: none;
  overflow: visible;
}
.nav-link { 
  text-decoration: none; 
  color: var(--text); 
  font-weight: 500; 
  font-size: 15px;
  padding: 10px 20px; 
  border-radius: 50px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.nav-link:hover { 
  color: var(--primary);
  background: var(--surface);
}
.nav-link.active { 
  background: var(--gradient-1);
  color: #fff; 
  box-shadow: 0 4px 15px rgba(0,184,148,0.3);
}
.header-cta {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}
main { padding-top: 85px; }

/* Hero */
.hero { 
  position: relative; 
  min-height: 85vh; 
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.hero-bg { 
  position: absolute; 
  inset: 0; 
  z-index: 0;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1677085972255-502037a2601f?fm=jpg&q=60&w=3000&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
  filter: brightness(1.15) contrast(0.9);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,184,148,0.05) 0%, rgba(253,203,110,0.05) 100%);
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.95) 100%);
}
.hero-inner { 
  position: relative; 
  z-index: 1; 
  flex: 1;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
}
.hero-content-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero-main-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.hero h1,
.hero-title { 
  font-family: "Playfair Display", Georgia, serif; 
  font-weight: 800; 
  font-size: clamp(48px, 7vw, 76px); 
  line-height: 1.1; 
  margin: 0 0 24px; 
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.hero-subtitle { 
  font-size: clamp(18px, 2vw, 21px); 
  color: var(--text-light); 
  margin: 0 0 40px;
  line-height: 1.6;
  max-width: 815px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero Features Grid */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.hero-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.hero-feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-warm);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary-dark);
}

.hero-feature-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--text);
}

.hero-feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* Hero Bottom Card */
.hero-bottom-card {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 -20px 60px rgba(0,0,0,0.08);
  border-top: 3px solid var(--primary);
}

.specialties-bar {
  padding: 50px 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.specialties-label {
  font-weight: 700;
  color: var(--text);
  font-size: 20px;
  font-family: "Playfair Display", serif;
  position: relative;
  padding-right: 30px;
}

.specialties-label::after {
  content: ":";
  position: absolute;
  right: 10px;
  color: var(--primary);
}

.specialties-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
}

.specialty-tag {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--text);
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 2px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.specialty-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  transition: left 0.3s ease;
  z-index: -1;
}

.specialty-tag:hover {
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,184,148,0.2);
}

.specialty-tag:hover::before {
  left: 0;
}

.btn { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px; 
  padding: 14px 32px; 
  text-decoration: none; 
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary { 
  background: var(--gradient-1);
  color: #fff; 
  box-shadow: 0 4px 15px rgba(0,184,148,0.3);
}
.btn-primary:hover { 
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,184,148,0.4);
}
.btn-secondary { 
  color: var(--primary); 
  background: var(--surface); 
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-outline {
  color: var(--text);
  background: transparent;
  border: 2px solid var(--border);
}
.btn-outline:hover {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}
.btn-small {
  padding: 10px 24px;
  font-size: 14px;
}

/* Sections */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 64px auto; }
.feature { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, #fafbff); border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: 0 10px 30px rgba(16,24,40,.04); }
.feature::after { content: ""; position: absolute; right: -20px; bottom: -20px; width: 120px; height: 120px; background: radial-gradient(closest-corner, rgba(145,86,255,.15), transparent); transform: rotate(25deg); }
.feature h3 { margin: 0 0 6px; }

.cta { margin: 48px auto 80px; }
.cta-card { text-align: center; padding: 36px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, #fff, #f7f7ff); box-shadow: 0 16px 40px rgba(16,24,40,.06); }

/* Page hero */
.page-hero { background: linear-gradient(180deg, #ffffff, #f8f9fe); border-bottom: 1px solid var(--border); }
.page-hero.small { padding: 56px 0; }
.page-hero h1 { font-family: "Playfair Display", Georgia, serif; margin: 0 0 8px; font-size: clamp(34px, 5vw, 46px); }

/* Cards & grids */
.cards { display: grid; gap: 24px; margin: 32px auto 72px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }

.content-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; margin: 32px auto 80px; }

.checklist { padding-left: 18px; }
.checklist li { margin-bottom: 6px; }

/* Forms */
.form .field { margin-bottom: 16px; }
.form .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea { width: 100%; padding: 12px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 16px; background: #fff; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(58,105,255,0.15); }
.error { color: #b00020; font-size: 13px; min-height: 18px; margin: 6px 0 0; }
.invalid input, .invalid textarea { border-color: #b00020; }
.form-status { margin-left: 16px; font-weight: 600; }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 36px 0; margin-top: 80px; }
.footer-inner { display: grid; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 50px; width: auto; filter: brightness(1.1); }
.footer-cols { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-nav a { color: #e2e8f0; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { margin: 8px 0 0; color: #94a3b8; font-size: 14px; }


