:root {
  --ink: #17202a;
  --muted: #5d6a78;
  --line: #d8e0e8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #006eb8;
  --cyan: #00a7c8;
  --green: #3a8f62;
  --orange: #f47b20;
  --shadow: 0 18px 45px rgba(20, 38, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 70px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 25px rgba(31, 45, 61, 0.1);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-copy small {
  color: currentColor;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0.75;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 720px;
  height: 92vh;
  max-height: 860px;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 19, 31, 0.84) 0%, rgba(9, 19, 31, 0.52) 40%, rgba(9, 19, 31, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08) 48%, rgba(247, 249, 251, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(720px, calc(100% - 40px));
  min-height: inherit;
  margin-left: clamp(20px, 7vw, 90px);
  padding-top: 70px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  background: var(--orange);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
}

section {
  padding: 86px clamp(20px, 6vw, 80px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.about-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.about-panel p:not(.eyebrow),
.solution-card p,
.advantage-list p,
.news-item span {
  color: var(--muted);
  line-height: 1.7;
}

.solutions {
  background: var(--paper);
}

.service-hero {
  min-height: 610px;
  height: 72vh;
}

.contact-hero {
  min-height: 560px;
  height: 68vh;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(20, 38, 58, 0.03);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.solution-card:hover {
  border-color: rgba(0, 110, 184, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-number {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.solution-card h3 {
  margin: 26px 0 12px;
  font-size: 22px;
}

.solution-card a {
  position: absolute;
  bottom: 28px;
  left: 30px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.service-overview {
  background: var(--paper);
}

.service-category {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.service-category:first-of-type {
  margin-top: 0;
}

.service-category-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-category-head h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.service-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-product-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(20, 38, 58, 0.03);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-product-card:hover {
  border-color: rgba(0, 110, 184, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.logo-image {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  flex: 0 0 50px;
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ftlogo-image {
  position: relative;
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  flex: 0 0 50px;
}
.ftlogo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-image {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 110, 184, 0.1), rgba(58, 143, 98, 0.08)),
    var(--paper);
}

.product-image::before {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  content: "Upload Image";
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image img[src=""],
.product-image img.is-missing {
  display: none;
}

.service-product-card span {
  display: block;
  padding: 0 22px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-product-card h4 {
  margin: 0;
  padding: 0 22px 24px;
  font-size: 20px;
  line-height: 1.25;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17, 25, 32, 0.96), rgba(0, 110, 184, 0.88)),
    linear-gradient(90deg, var(--blue), var(--green));
}

.service-cta div {
  max-width: 780px;
}

.service-cta .eyebrow,
.service-cta h2 {
  color: var(--white);
}

.service-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.service-cta p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.contact-locations {
  background: var(--paper);
}

.contact-office {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.map-placeholder {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.location-card {
  display: grid;
  gap: 22px;
  align-content: start;
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(20, 38, 58, 0.03);
}

.location-card-featured {
  border-color: rgba(0, 110, 184, 0.28);
  box-shadow: var(--shadow);
}

.location-tag {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(0, 110, 184, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.location-card h3 {
  margin: 0;
  font-size: 26px;
}

.location-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.location-card dt {
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.location-card dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.location-card a {
  color: var(--ink);
  font-weight: 700;
}

.location-card a:hover {
  color: var(--blue);
}

.branch-presence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 22px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.branch-presence span {
  margin-right: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.branch-presence strong {
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(58, 143, 98, 0.1);
  color: var(--green);
  font-size: 14px;
}

.advantages {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(18, 42, 61, 0.96), rgba(30, 91, 87, 0.94)),
    radial-gradient(circle at 90% 10%, rgba(244, 123, 32, 0.32), transparent 34%);
}

.advantages .section-heading .eyebrow,
.advantages .section-heading h2 {
  color: var(--white);
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.advantage-list article {
  min-height: 210px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.advantage-list span {
  display: block;
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 800;
}

.advantage-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.about-news {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) /*minmax(320px, 0.65fr)*/;
  gap: 34px;
  align-items: stretch;
}

.about-panel,
.news-panel {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-panel {
  background: var(--white);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.metrics span {
  padding: 18px;
  border-left: 4px solid var(--cyan);
  background: var(--paper);
  color: var(--muted);
  line-height: 1.4;
}

.metrics strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
}

.news-panel {
  background: var(--paper);
}

.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-head a {
  color: var(--blue);
  font-weight: 800;
}

.news-item {
  display: grid;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.news-item:first-of-type {
  margin-top: 12px;
}

.news-item time {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
}

.news-item time strong {
  margin-right: 8px;
  font-size: 30px;
}

.news-item span {
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 54px clamp(20px, 6vw, 80px) 28px;
  color: rgba(255, 255, 255, 0.82);
  background: #111920;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 25px;
}

.footer-brand span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.footer-contact,
.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--white);
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
    gap: 10px;
  }

  .hero {
    min-height: 680px;
    height: 86vh;
  }

  .solution-grid,
  .service-product-grid,
  .contact-office,
  .advantage-list,
  .about-news,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .service-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-panel,
  .news-panel,
  .site-footer p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .main-nav {
    top: 68px;
  }

  .hero {
    min-height: 620px;
    height: auto;
  }

  .service-hero {
    min-height: 590px;
  }

  .hero-content {
    justify-content: flex-end;
    min-height: 620px;
    margin: 0;
    padding: 120px 20px 76px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p:not(.eyebrow) {
    font-size: 16px;
  }

  section {
    padding: 62px 20px;
  }

  .solution-grid,
  .service-product-grid,
  .contact-office,
  .advantage-list,
  .about-news,
  .metrics,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 260px;
  }

  .service-product-card {
    min-height: 0;
  }

  .about-panel,
  .news-panel {
    padding: 28px;
  }
}
