:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #18324f;
  --muted: #5c728d;
  --primary: #ff7a00;
  --primary-dark: #c85600;
  --border: #dce4ef;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
html { scroll-behavior: smooth; }
body { scroll-margin-top: 90px; }

.site-header {
  background: linear-gradient(90deg, #0f172a 0%, #121827 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}
.nav-wrap, .footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: white;
}
.brand img { width: 44px; height: 44px; }
.nav-wrap { position: relative; }
.site-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-nav a {
  color: #cbd5e1;
  font-weight: 600;
  transition: color 0.2s ease;
}
.site-nav a.active, .site-nav a:hover { color: var(--primary); }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.3rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  border-radius: 999px;
}

.page-hero, .section, .card, .quote-card, .site-footer {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-hero.is-visible, .section.is-visible, .card.is-visible, .quote-card.is-visible, .site-footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-cta,
.back-to-top {
  position: fixed;
  right: 1.25rem;
  z-index: 25;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}
.floating-cta {
  bottom: 1.25rem;
  background: var(--primary);
  color: white;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
}
.back-to-top {
  bottom: 5.2rem;
  width: 46px;
  height: 46px;
  background: #0f172a;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}
.floating-cta:hover, .back-to-top:hover { transform: translateY(-2px); }
.form-status {
  min-height: 1.4rem;
  margin-top: 0.85rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, #fff4e8 0%, #f7fbff 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.24), transparent 70%);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2rem, 3.5vw, 3rem); }
.hero-copy { font-size: 1.05rem; color: var(--muted); max-width: 650px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.button.primary {
  background: var(--primary);
  color: white;
}
.button.primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.section { padding: 3.5rem 0; }
.section-muted { background: #f8fafc; }

.card, .page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(24, 50, 79, 0.06);
}
.card h3 { margin: 0 0 0.75rem; color: var(--text); }
.card p { margin: 0; color: var(--muted); }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.contact-list li {
  background: #fff;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  color: var(--muted);
}

.form-card {
  padding: 1.5rem;
  max-width: 860px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}
input, select, textarea {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2rem 0;
}
.footer-wrap {
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { color: white; }

@media (max-width: 760px) {
  .nav-wrap, .footer-wrap { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .cards-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.9rem 0 0.2rem;
  }
  .site-nav.is-open { display: flex; }
  .floating-cta { right: 0.85rem; left: 0.85rem; text-align: center; }
  .back-to-top { right: 0.85rem; }
}
