:root {
  --container: 1680px;
  --gutter: 20px;
  --header-h: 75px;
  --blue: #1b75b7; /* rgb(27,117,183) */
  --red: #d52619;  /* rgb(213,38,25) */
  --text: #1e1e1c;
  --muted: rgba(30, 30, 28, 0.7);
  --paper: #ffffff;
  --soft: #f4f3f4;
  --radius: 15px;
  --radius-btn: 10px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.45;
  background: var(--paper);
  padding-top: var(--header-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-120%);
  background: var(--text);
  color: #fff;
  padding: 10px 12px;
  z-index: 9999;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 30, 28, 0.08);
  z-index: 50;
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 36px; width: auto; }

.primary-nav { justify-self: center; }
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-link {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.nav-link:hover { color: var(--blue); }

.has-dropdown { position: relative; }
.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.dropdown {
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  min-width: 260px;
  background: var(--soft);
  border-radius: var(--radius);
  box-shadow: rgba(0, 0, 0, 0.12) -2px 2px 18px;
  display: none;
}
.dropdown a {
  display: block;
  padding: 10px 10px;
  text-decoration: none;
  font-size: 14px;
}
.dropdown a:hover { color: var(--blue); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }

.header-cta {
  justify-self: end;
  width: fit-content;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(30, 30, 28, 0.18);
  background: #fff;
  border-radius: var(--radius-btn);
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle__label { font-weight: 600; font-size: 13px; }
.nav-toggle__icon {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin-left: 10px;
  position: relative;
  top: -2px;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  padding: 10px 24px 9px;
  font-weight: 600;
  letter-spacing: 0.01em;
  width: fit-content;
}
.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: #f4f3f4;
  transition: background-color 180ms ease, color 180ms ease;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 1px;
  transition: all .15s linear;
}
.btn--primary:hover {
  background: transparent;
  color: white;
  border-color: white;
}
.text-link {
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
}
.text-link:hover {color: var(--blue);margin-right: 10px;}

.text-link::after {
  content: "→";
  color: var(--black);
  transition:all .15s linear;
}

.text-link:hover::after {
  margin-left:3px;
    color: var(--blue);

}




/* Hero */
.hero {
  height: 650px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("../img/hero.jpg") center/cover no-repeat;
  transform: translateY(-35px);
}
.hero-inner {
  position: relative;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 12px;
  /* border: 2px solid white; */
}
.hero-kicker {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 1px;
}
.hero-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: 36px;
  line-height: 1.5;
  font-weight: 600;
}

/* Services tabs */
.services {
  position: relative;
  padding: 60px 0 72px;
  overflow: hidden;
}
.services-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.services-bg__base {
  position: absolute;
  right: -120px;
  top: 20px;
  width: 900px;
  opacity: 1;
}
.services-bg__top {
  position: absolute;
  right: -120px;
  top: 0;
  width: 900px;
}
.services-inner { position: relative; }

.tabs { max-width: 760px; }
.tabs-list {
  display: flex;
  gap: 75px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.tab {
  border: 0;
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 10px 0;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  transition: all .15s linear;
}
.tab.is-active {color: var(--blue);}
.tab-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: inline-block;
}
.tab-icon svg { width: 100%; height: 100%; display: block; }
.tab-icon svg path { fill: currentColor; }
.panel h2 {
  margin: 10px 0 14px;
  font-size: 33px;
  font-weight: 600;
}
.panel p { margin: 0 0 18px; color: var(--text); }
.panel { padding: 16px 0 0; }

.services-note {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--text);
}

/* About / values */
.about {
  position: relative;
  padding: 90px 0 90px;
  overflow: hidden;
}
.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.about-bg__mask {
  position: absolute;
  right: -140px;
  top: -120px;
  width: 520px;
  opacity: 0.22;
}
.about-card {
  position: relative;
  background: var(--soft);
  padding: 30px 0;
  display: grid;
  grid-template-columns: 33% 1fr;
  overflow: visible;
  /* max-height: 370px; */
  grid-auto-flow: column;
  justify-content: center;
}
.about-media { position: relative; }
.about-photo {
  width: 400px;
  height: auto;
  transform: translateY(-97px);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.12));
  position: absolute;
  top: 0;
  right: 0;
}
.about-content { max-width: 520px; }
.about h2 {
  margin: 0 0 10px;
  font-size: 33px;
}
.about p { margin: 0 0 14px; max-width: 560px; }

p {
    color: rgba(30, 30, 28, 1);
    line-height: 1.7;
    letter-spacing: 0em;
    font-size: 18px;
    text-align: left;
    font-family: 'Plus Jakarta Sans';
    font-weight: 400;
    font-style: normal;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding: 40px 0 28px;
}
.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "legal meta"
    "nav meta";
  gap: 16px 28px;
  align-items: start;
}
.footer-legal { grid-area: legal; }
.footer-meta {
  grid-area: meta;
  justify-self: end;
  text-align: right;
}
.footer-nav {
  grid-area: nav;
  justify-self: start;
}
.footer-legal__link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.footer-legal__link:hover { text-decoration: underline; }

.footer-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  justify-items: end;
}
.footer-meta__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 4px;
}
.footer-meta__value {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}
.footer-meta__value:hover { text-decoration: underline; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 10px;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.footer-nav a:hover { text-decoration: underline; }

.footer-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}
.footer-bg__img {
  position: absolute;
  right: -160px;
  top: -60px;
  width: 720px;
}

/* Responsive */
@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .primary-nav { justify-self: end; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .primary-nav { display: none; }
  .primary-nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(30, 30, 28, 0.08);
    padding: 14px var(--gutter);
  }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dropdown { position: static; display: block; box-shadow: none; padding: 0; margin: 6px 0 12px; background: transparent; }
  .dropdown a { padding: 6px 0; }

  .services-bg__base,
  .services-bg__top { right: -240px; width: 860px; opacity: 0.55; }

  .about { padding: 70px 0; }
  .about-bg__mask { right: -220px; top: -140px; width: 560px; opacity: 0.18; }
  .about-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 18px;
  }
  .about-photo {
    transform: translateX(0);
    width: min(320px, 100%);
  }
  .about-content { max-width: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "legal"
      "meta"
      "nav";
  }
  .footer-meta { justify-self: start; text-align: left; justify-items: start; }
  .footer-nav { justify-self: start; }
}

@media (max-width: 560px) {
  body { padding-top: 68px; }
  :root { --header-h: 68px; }
  .brand-logo { height: 32px; }
  .hero { height: 560px; }
  .hero-title { font-size: 28px; }
  .hero-kicker { font-size: 14px; }
  .tabs-list { gap: 12px; }
  .tab { font-size: 12px; }
  .panel h2, .about h2 { font-size: 28px; }
  .services-bg__base, .services-bg__top { display: none; }
}

