:root {
  --primary: #0f766e;
  --primary-dark: #0b4f4a;
  --primary-light: #2dd4bf;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --ink: #0f172a;
  --muted: #5b6b7c;
  --bg: #ffffff;
  --bg-soft: #f6f9f9;
  --border: #e6ecec;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow: 0 20px 40px -16px rgba(11, 79, 74, 0.28);
  --max-width: 1152px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 20px) scale(1.05); }
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

nav.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav.main-nav a:not(.btn):hover { color: var(--primary); }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(15, 118, 110, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(15, 118, 110, 0.65);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--primary-dark), var(--primary) 55%, #0d8f80);
  color: #fff;
  padding: 110px 24px 96px;
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: 0;
  animation: floatBlob 10s ease-in-out infinite;
}

.hero::before {
  width: 380px;
  height: 380px;
  background: var(--accent);
  top: -140px;
  right: -80px;
  opacity: 0.28;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: var(--primary-light);
  bottom: -160px;
  left: -60px;
  opacity: 0.3;
  animation-delay: -4s;
}

.hero > * {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.7s ease both;
}

.hero > *:nth-child(2) { animation-delay: 0.08s; }
.hero > *:nth-child(3) { animation-delay: 0.16s; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 88px 24px;
}

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

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(15, 118, 110, 0.08);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ink);
}

.section-intro {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

section:not(.hero):not(.cta-banner) > h2,
section:not(.hero):not(.cta-banner) > .eyebrow {
  text-align: center;
  display: block;
}

section:not(.hero):not(.cta-banner) > .eyebrow { text-align: center; display: inline-block; margin-left: 50%; transform: translateX(-50%); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.icon-badge svg { width: 26px; height: 26px; }

.card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}

.card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul li { margin-bottom: 5px; }

/* CTA banner */
section.cta-banner {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), #0d8f80);
  border-radius: 28px;
  padding: 64px 44px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

section.cta-banner::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.22;
  filter: blur(60px);
  top: -100px;
  right: -60px;
}

section.cta-banner h2 { color: #fff; position: relative; }
section.cta-banner p { color: rgba(255, 255, 255, 0.9); margin-bottom: 30px; position: relative; }

section.cta-banner .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(245, 158, 11, 0.55);
  position: relative;
}

section.cta-banner .btn-primary:hover {
  box-shadow: 0 14px 30px -8px rgba(245, 158, 11, 0.65);
}

/* Pricing note */
.pricing-note {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(15, 118, 110, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 20px 26px;
  margin: 0 auto 44px;
  max-width: var(--max-width);
  color: var(--ink);
  font-weight: 500;
}

/* Form */
form.quote-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

form.quote-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
  font-size: 0.92rem;
  color: var(--ink);
}

form.quote-form input,
form.quote-form select,
form.quote-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--bg-soft);
}

form.quote-form input:focus,
form.quote-form select:focus,
form.quote-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  background: #fff;
}

form.quote-form textarea { resize: vertical; }

form.quote-form .btn-primary {
  justify-self: start;
  border: none;
  font-size: 1rem;
}

/* Footer */
footer.site-footer {
  background: linear-gradient(180deg, var(--ink), #030b16);
  color: #94a3b8;
  padding: 56px 24px 30px;
  font-size: 0.92rem;
}

footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

footer.site-footer a {
  color: #5eead4;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer.site-footer a:hover { color: #99f6e4; }

footer .footer-col h4 {
  color: #fff;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #475569;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .hero { padding: 84px 20px 72px; }
  .hero h1 { font-size: 2.1rem; }
  section { padding: 60px 20px; }
  section.cta-banner { padding: 44px 26px; border-radius: 22px; }
  nav.main-nav { gap: 14px; }
  form.quote-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
}
