:root {
  --primary: #1e3a5f;
  --accent: #ff6b35;
  --bg: #f5f7fa;
  --text-dark: #1a202c;
  --text-light: #a0aec0;
  --border: #e2e8f1;
  --footer-bg: #0d1f2d;
  --footer-text: #e2e8f1;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

/* ---- Navigation ---- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--bg);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-family: "Georgia", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links .active {
  color: var(--accent);
  position: relative;
}

.nav-links .active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: var(--accent);
  color: var(--bg);
  font-weight: 500;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.cta-btn:hover {
  background-color: #ff5722;
}

/* ---- Mobile Nav ---- */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

.mobile-nav {
  position: fixed;
  top: 70px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 70px);
  background-color: var(--bg);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  transition: left 0.3s ease;
  z-index: 99;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
}

/* ---- Hero ---- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  background-color: var(--bg);
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.hero .btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Services Grid ---- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: white;
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ---- Credentials Strip ---- */

.credentials {
  background-color: var(--primary);
  color: var(--bg);
  padding: 32px 0;
  margin: 48px 0;
}

.credentials .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.cred-item .icon {
  width: 20px;
  height: 20px;
}

/* ---- CTA Strip ---- */

.cta-strip {
  background-color: var(--primary);
  color: var(--bg);
  padding: 48px 0;
  text-align: center;
  margin-top: 48px;
}

.cta-strip h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-strip p {
  color: var(--bg);
  opacity: 0.8;
  margin-bottom: 24px;
}

/* ---- Page Hero Band ---- */

.page-hero {
  min-height: 250px;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0;
}

.page-hero h1 {
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  max-width: 600px;
}

/* ---- Footer ---- */

.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 20px;
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 24px;
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 24px;
  color: var(--footer-text);
  opacity: 0.8;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--footer-text);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--footer-text);
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--footer-text);
  opacity: 0.7;
}

/* ---- Mobile ---- ---- */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .footer .container {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .service-card {
    padding: 24px 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}