/* ==========================================================================
   FFG � Finest Foods Germany | Warehousing & Logistics
   Shared stylesheet
   ========================================================================== */

:root {
  --navy-950: #061529;
  --navy-900: #0b2545;
  --navy-800: #123259;
  --navy-700: #1a4270;
  --teal-500: #00b4d8;
  --teal-400: #2dd4e8;
  --teal-050: #e6fbff;
  --ice-100: #f4f8fb;
  --ice-200: #e8eef4;
  --gray-500: #5c6b7a;
  --gray-300: #b9c4cd;
  --white: #ffffff;
  --success: #16a34a;
  --danger: #dc2626;

  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(6, 21, 41, 0.06);
  --shadow-md: 0 12px 30px rgba(6, 21, 41, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 21, 41, 0.18);

  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--navy {
  background: var(--navy-900);
  color: var(--white);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--ice {
  background: var(--ice-100);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--gray-500);
  font-size: 17px;
}

.section--navy .section-head p,
.section--navy .eyebrow {
  color: var(--gray-300);
}

.section--navy .eyebrow {
  color: var(--teal-400);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--teal-500);
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(0, 180, 216, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 180, 216, 0.45);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn--navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn--navy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.btn--ghost:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-950);
  color: var(--gray-300);
  font-size: 13.5px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar__contacts {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gray-300);
  transition: color 0.2s ease;
}

.topbar__contacts a:hover {
  color: var(--teal-400);
}

.topbar__contacts svg {
  width: 14px;
  height: 14px;
  color: var(--teal-400);
  flex-shrink: 0;
}

.topbar__tag {
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--teal-400);
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(6, 21, 41, 0.06);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
}

.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer .brand img {
  height: 60px;
  padding: 8px 16px;
  background: var(--white);
  border-radius: 12px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--teal-500);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--teal-500);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(6, 21, 41, 0.94) 20%, rgba(6, 21, 41, 0.78) 55%, rgba(0, 84, 110, 0.55) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 0 100px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}

.hero__badge svg {
  width: 15px;
  height: 15px;
  color: var(--teal-400);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5.4vw, 58px);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--teal-400);
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__stats .stat {
  padding: 26px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__stats .stat:last-child {
  border-right: none;
}

.stat__num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--teal-400);
}

.stat__label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

/* ---------- Page hero (secondary pages) ---------- */
.page-hero {
  position: relative;
  padding: 76px 0 66px;
  color: var(--white);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 21, 41, 0.95), rgba(11, 37, 69, 0.86));
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--gray-300);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--teal-400);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(30px, 4.4vw, 46px);
  max-width: 720px;
}

.page-hero p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  font-size: 16.5px;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}

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

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

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

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ice-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--teal-050);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: var(--gray-500);
  font-size: 15px;
}

.card__meta {
  display: inline-flex;
  margin-top: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ice-200);
  color: var(--navy-800);
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* ---------- Service detail rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-row + .service-row {
  margin-top: 90px;
}

.service-row.reverse .service-row__media {
  order: 2;
}

.service-row__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-row__media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.service-row__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(6, 21, 41, 0.75);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-row__tag svg {
  width: 15px;
  height: 15px;
  color: var(--teal-400);
}

.service-row__body h3 {
  font-size: 28px;
  margin-bottom: 14px;
}

.service-row__body p {
  color: var(--gray-500);
  margin-bottom: 18px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--navy-800);
  font-size: 15px;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--teal-500);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Feature list (icon + text row) ---------- */
.feature-list {
  display: grid;
  gap: 22px;
}

.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal-050);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature h4 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.feature p {
  color: var(--gray-500);
  font-size: 14.5px;
}

/* ---------- About / story ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  height: 460px;
  width: 100%;
  object-fit: cover;
}

.split__media-badge {
  position: absolute;
  bottom: -26px;
  right: -26px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.split__media-badge .stat__num {
  font-size: 32px;
}

.split__media-badge .stat__label {
  color: rgba(255, 255, 255, 0.75);
}

.split__body p {
  color: var(--gray-500);
  margin-bottom: 16px;
}

/* ---------- Values grid ---------- */
.value-card {
  text-align: center;
  padding: 34px 22px;
}

.value-card .card__icon {
  margin: 0 auto 20px;
}

/* ---------- Quote / CEO ---------- */
.quote-block {
  position: relative;
  padding: 56px 60px;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.quote-block::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 160px;
  font-family: Georgia, serif;
  color: rgba(0, 180, 216, 0.18);
  line-height: 1;
}

.quote-block p {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.quote-block__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.quote-block__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.quote-block__author strong {
  display: block;
  font-size: 15.5px;
}

.quote-block__author span {
  font-size: 13.5px;
  color: var(--gray-300);
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ice-200);
}

.testimonial__stars {
  display: flex;
  gap: 4px;
  color: #f5a623;
  margin-bottom: 18px;
}

.testimonial__stars svg {
  width: 18px;
  height: 18px;
}

.testimonial p {
  font-size: 17px;
  color: var(--navy-800);
  margin-bottom: 24px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------- Reasons (why-us) ---------- */
.reason {
  display: flex;
  gap: 20px;
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--ice-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.reason__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--teal-500);
  background: var(--teal-050);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.reason p {
  color: var(--gray-500);
  font-size: 14.5px;
}

/* ---------- Certification badges ---------- */
.cert-card {
  text-align: center;
  padding: 40px 26px;
}

.cert-card__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 180, 216, 0.3);
}

.cert-card__icon svg {
  width: 34px;
  height: 34px;
}

.cert-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 14px;
  color: var(--gray-500);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.35), transparent 70%);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
}

.cta-band__actions {
  display: flex;
  gap: 14px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

/* ---------- Locations ---------- */
.location-card {
  display: flex;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--ice-200);
  box-shadow: var(--shadow-sm);
}

.location-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--teal-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-card__icon svg {
  width: 22px;
  height: 22px;
}

.location-card h4 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.location-card p {
  font-size: 14px;
  color: var(--gray-500);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 26px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--ice-200);
  box-shadow: var(--shadow-sm);
}

.contact-info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-050);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-card h4 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.contact-info-card p, .contact-info-card a {
  font-size: 14.5px;
  color: var(--gray-500);
  display: block;
}

.contact-info-card a:hover {
  color: var(--teal-500);
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ice-200);
}

.map-wrap iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ice-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--navy-800);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ice-200);
  background: var(--ice-100);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--navy-900);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gray-500);
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 14.5px;
  font-weight: 500;
}

.form-alert--success {
  background: #e9f9ef;
  color: var(--success);
  border: 1px solid #bbe8cc;
}

.form-alert--error {
  background: #fdecec;
  color: var(--danger);
  border: 1px solid #f7c6c6;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: var(--gray-300);
  padding-top: 76px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__about {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--gray-300);
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer__social a:hover {
  background: var(--teal-500);
  transform: translateY(-3px);
}

.footer__social svg {
  width: 17px;
  height: 17px;
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  font-size: 15.5px;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 14.5px;
  color: var(--gray-300);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__links a:hover {
  color: var(--teal-400);
  padding-left: 4px;
}

.footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 14.5px;
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  color: var(--teal-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  gap: 10px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer__bottom a:hover {
  color: var(--teal-400);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: none;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--teal-500);
  color: var(--navy-950);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 26px;
    box-shadow: -12px 0 40px rgba(6, 21, 41, 0.15);
    transition: right 0.3s ease;
    z-index: 600;
  }

  .nav__links.is-open {
    right: 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .nav__toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 21, 41, 0.5);
    z-index: 550;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

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

  .service-row, .split, .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-row.reverse .service-row__media {
    order: 0;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stats .stat:nth-child(2) {
    border-right: none;
  }

  .hero__stats .stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

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

@media (max-width: 720px) {
  .topbar__contacts span.topbar__tag-desktop {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .grid--3, .grid--4, .grid--2 {
    grid-template-columns: 1fr;
  }

  .quote-block {
    padding: 40px 26px;
  }

  .cta-band {
    padding: 40px 28px;
    flex-direction: column;
    text-align: center;
  }

  .cta-band__actions {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .split__media img {
    height: 320px;
  }

  .split__media-badge {
    right: 12px;
    bottom: -20px;
    padding: 16px 18px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-form-card {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__content {
    padding: 96px 0 70px;
  }

  .topbar .container {
    justify-content: center;
  }

  .topbar__tag {
    display: none;
  }
}
