:root {
  --navy: #12172e;
  --navy-soft: #2a2f4a;
  --coral: #ff6f81;
  --bg: #fafbfc;
  --surface: #ffffff;
  --text-muted: #5a6072;
  --border: #e7e9ee;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 251, 252, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand img {
  height: 36px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-soft);
}

.main-nav a:hover {
  color: var(--navy);
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-logo {
  width: 96px;
  height: 96px;
}

.hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin: 0 0 1.5rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--navy-soft);
}

.btn-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-light:hover {
  background: #fff;
  color: var(--navy);
}

/* Sections */

section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.section-lead {
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 60ch;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: 8px;
  padding: 1.75rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--text-muted);
  margin: 0;
}

/* About */

.about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about .container {
  max-width: 720px;
}

/* Contact */

.contact-box {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-box h2 {
  margin: 0;
  font-size: 1.5rem;
}

.contact-box p {
  margin: 0;
  color: #c7cbe0;
}

.contact-box .btn {
  align-self: flex-start;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* Legal pages */

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
}

.legal-page .container {
  max-width: 720px;
}

.legal-page p {
  color: var(--navy-soft);
}

.placeholder {
  color: var(--coral);
  font-weight: 700;
}

/* Responsive */

@media (min-width: 600px) {
  .hero h1 {
    font-size: 2.6rem;
  }
}

@media (min-width: 900px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
    order: 2;
  }

  .hero-text {
    order: 1;
    flex: 1;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
