:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --text: #17324d;
  --muted: #6f7f91;
  --line: #dbe4ed;

  --accent: #496ca4;
  --accent-dark: #063d70;

  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}


/* Header */

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 150px;
  height: auto;
  display: block;
}

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

.main-nav a {
  font-size: 15px;
  color: #496ca4;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.55;
}


/* Hero */

.hero-title {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -3px;
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--text);
}

.hero {
  background: var(--surface);
  min-height: 650px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  max-width: 900px;
  text-align: center;
  padding: 85px 0 90px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 32px;
color: var(--accent-dark);
}

.hero h1 {
  font-size: clamp(74px, 11vw, 145px);
  line-height: 0.85;
  letter-spacing: -8px;
  font-weight: 700;
  margin-bottom: 44px;
}

.hero h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.hero-text {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 18px;
}

.primary-button {
  display: inline-flex;
  padding: 18px 30px;
  background: var(--accent);
  color: white;
  font-size: 15px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}


/* General sections */

.section {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 105px 0;
}

.section:nth-of-type(even) {
  background: var(--bg);
}

.section-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 75px;
}

.section-label span,
.section-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.section-label p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 34px;
}

.section-content > h2 {
  font-size: clamp(38px, 5vw, 64px);
  max-width: 740px;
  line-height: 1.08;
  letter-spacing: -2.8px;
  font-weight: 500;
  margin-bottom: 42px;
}

.section-content > p {
  font-size: 20px;
  color: var(--muted);
  max-width: 800px;
  margin-bottom: 24px;
}

.section-content .small-text {
  font-size: 15px;
}


/* Services */

.services-list {
  margin-top: 65px;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.service-number {
  color: var(--muted);
  font-size: 12px;
}

.service-item h3 {
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 7px;
}

.service-item p {
  color: var(--muted);
  font-size: 15px;
}


/* Business info */

.business-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 90px;
  margin-top: 60px;
}

.info-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.info-row span {
  color: var(--muted);
}

.info-row strong {
  font-weight: 500;
}

.business-address {
  border-left: 1px solid var(--line);
  padding-left: 50px;
}

.info-heading {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  margin: 4px 0 15px;
}

.business-address > p:not(.info-heading) {
  color: #625c63;
  margin-bottom: 36px;
}

.business-address a {
  display: inline-block;
  margin-bottom: 36px;
  font-size: 18px;
}


/* Contact */

.contact-section {
  background: var(--surface-soft);
  padding: 110px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
  align-items: end;
}

.contact-grid h2 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -3px;
  font-weight: 500;
  margin: 42px 0 26px;
}

.contact-grid > div:first-child > p:last-child {
  color: var(--muted);
}

.contact-details {
  border-top: 1px solid var(--line);
}

.contact-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row span {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 7px;
}

.contact-row a {
  font-size: clamp(22px, 3vw, 34px);
}


/* Footer */

.site-footer {
  background: var(--surface);
  padding: 58px 0 25px;
}

.footer-top {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 60px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-brand {
  font-size: 28px;
  letter-spacing: -1px;
}

.footer-business {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  opacity: 0.55;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Legal pages */

.legal-page {
  background: var(--surface);
}

.legal-hero {
  padding: 100px 0 70px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(52px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -4px;
  font-weight: 600;
  margin-top: 20px;
}

.legal-updated {
  color: var(--muted);
  margin-top: 22px;
  font-size: 14px;
}

.legal-section {
  padding: 90px 0 110px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
}

.legal-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.legal-sidebar p {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}

.legal-sidebar span {
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  max-width: 820px;
}

.legal-intro {
  font-size: 21px;
  color: #526274;
  line-height: 1.7;
  margin-bottom: 55px;
}

.legal-content section {
  margin-bottom: 55px;
}

.legal-content h2 {
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: var(--text);
}

.legal-content p {
  color: #627181;
  margin-bottom: 16px;
  font-size: 16px;
}

.legal-content ul {
  margin: 18px 0 22px 22px;
  color: #627181;
}

.legal-content li {
  margin-bottom: 9px;
}

.legal-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-contact {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 28px;
  margin-top: 20px;
}

.legal-contact strong {
  display: block;
  font-size: 20px;
  margin-bottom: 14px;
}


/* Responsive */

@media (max-width: 900px) {

  .main-nav {
    gap: 20px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .business-address {
    border-left: 0;
    padding-left: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .legal-layout {
  grid-template-columns: 1fr;
  gap: 45px;
}

.legal-sidebar {
  position: static;
}
}


@media (max-width: 650px) {

    .brand img {
  width: 120px;
}

  .nav-wrapper {
    min-height: 72px;
  }

  .brand {
    font-size: 23px;
  }

  .main-nav a:not(:last-child) {
    display: none;
  }

  .main-nav {
    gap: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 90px 0 80px;
  }

  .hero h1 {
    letter-spacing: -4px;
  }

  .section {
    padding: 75px 0;
  }

  .service-item {
    grid-template-columns: 38px 1fr;
    gap: 15px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-section {
    padding: 75px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .legal-hero {
  padding: 75px 0 50px;
}

.legal-section {
  padding: 65px 0 80px;
}

.legal-hero h1 {
  letter-spacing: -2px;
}

}

.footer-logo {
  width: 130px;
  height: auto;
  display: block;
}