/* Reer Steel — brand theme from logo blue #003898 */
:root {
  --brand: #003898;
  --brand-hover: #002e7a;
  --brand-soft: #e8eef8;
  --bg: #f7f8fb;
  --bg-elevated: #ffffff;
  --bg-muted: #eef1f6;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --steel: #6b7280;
  --steel-light: #b3b3b3;
  --ink: #0a0a0a;
  --ink-soft: #222222;
  --border: rgba(10, 10, 10, 0.12);
  --header-h: 80px;
  --container: min(1140px, calc(100% - 2.5rem));
  --font-display: "Barlow", "Source Sans 3", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 8px 24px rgba(0, 56, 152, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 32%, #f3f4f6 100%);
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--brand);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

p { margin: 0 0 1rem; }

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header — light */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  transition:
    transform 0.35s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 18px rgba(18, 20, 23, 0.05);
}

.site-header.is-hidden {
  transform: translateY(-110%);
  box-shadow: none;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: var(--container);
  margin-inline: auto;
}

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

.brand-logo {
  height: 80px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-list a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--ink);
}

.nav-list a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.lang-switch a {
  padding: 0.35rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.lang-switch a.is-active {
  background: var(--brand);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn--primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #fff;
}

.btn--ghost {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  border-color: #fff;
  background: #fff;
  color: var(--brand);
}

.btn--outline {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn--outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn--sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

.text-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
  white-space: nowrap;
}

/* Hero — reduced height */
.hero {
  position: relative;
  min-height: 58vh;
  max-height: 560px;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 1rem) 0 2.5rem;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.hero-slide.is-active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroZoom 14s linear infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.28) 0%, rgba(10, 10, 10, 0.45) 45%, rgba(10, 10, 10, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.55) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 0.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  font-weight: 600;
  max-width: 22ch;
  margin-bottom: 0.85rem;
  color: #fff;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.33rem;
  max-width: 48ch;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
}

.hero-dots button.is-active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

/* Sections */
.section { padding: 4.5rem 0; }

.section--muted { background: var(--bg-muted); }

.section--intro {
  padding-top: 3.25rem;
  padding-bottom: 1.5rem;
}

.section--services {
  padding-top: 2.5rem;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 36rem;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
}

.section-head p,
.lead {
  color: var(--text-muted);
}

.intro-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.intro-panel__content {
  padding: 2.25rem 2.25rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-panel__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.85rem;
}

.intro-panel__content h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin: 0 0 1rem;
}

.intro-panel__content .lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.intro-panel__media {
  position: relative;
  min-height: 280px;
  background: #e8ebf0;
}

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

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

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 56, 152, 0.08);
  border-radius: 4px;
  padding: 2rem 1.75rem 2.1rem;
  box-shadow: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 56, 152, 0.2);
  box-shadow: 0 18px 40px rgba(0, 56, 152, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__index {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 56, 152, 0.18);
}

.service-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

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

.project-card {
  background: #fff;
  border: 1px solid rgba(0, 56, 152, 0.08);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 56, 152, 0.2);
  box-shadow: 0 18px 40px rgba(0, 56, 152, 0.1);
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8ebf0;
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 10, 0.35));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.project-card:hover .project-card__media::after {
  opacity: 1;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-card__media img {
  transform: scale(1.06);
}

.project-card__badge {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  z-index: 1;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
}

.project-card__body {
  padding: 1.35rem 1.35rem 1.5rem;
  border-top: 1px solid rgba(0, 56, 152, 0.08);
  flex: 1;
}

.project-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.project-card__body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* Home projects slider */
.projects-slider {
  position: relative;
}

.projects-slider__viewport {
  overflow: hidden;
}

.projects-slider__track {
  display: flex;
  gap: 1.35rem;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.projects-slider__slide {
  flex: 0 0 calc((100% - 2.7rem) / 3);
  min-width: 0;
}

.projects-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.projects-slider__dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.projects-slider__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(0, 56, 152, 0.22);
  cursor: pointer;
}

.projects-slider__dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--brand);
}

/* References */
.refs-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.refs-marquee__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: refs-marquee 45s linear infinite;
}

.refs-marquee:hover .refs-marquee__track {
  animation-play-state: paused;
}

.refs-marquee__item {
  flex: 0 0 auto;
  width: 168px;
  min-height: 100px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 1rem;
  box-shadow: 0 6px 20px rgba(18, 20, 23, 0.05);
}

.refs-marquee__item img {
  max-height: 48px;
  max-width: 85%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}

.refs-marquee__item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes refs-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.refs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}

.refs-grid__item {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1.1rem;
  box-shadow: 0 6px 20px rgba(18, 20, 23, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.refs-grid__item img {
  max-height: 52px;
  max-width: 85%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.refs-grid__item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 56, 152, 0.18);
  box-shadow: 0 14px 32px rgba(0, 56, 152, 0.1);
}

.refs-grid__item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

/* CTA */
.section--cta { padding-top: 2rem; }

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-panel h2 { margin-bottom: 0.35rem; }

.cta-panel p {
  color: var(--text-muted);
  margin: 0;
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 34vh;
  max-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2.25rem) 0 2.25rem;
  overflow: hidden;
}

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

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.35), rgba(10, 10, 10, 0.72));
}

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

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 40rem;
}

.page-hero--compact {
  min-height: 220px;
}

.section--legal {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.legal-doc {
  max-width: 52rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 56, 152, 0.08);
  border-radius: 4px;
  padding: 2.25rem 2rem 2.5rem;
}

.legal-doc__meta {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.legal-doc__lead {
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
}

.legal-doc__section {
  margin-bottom: 1.6rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(0, 56, 152, 0.08);
}

.legal-doc__section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-doc__section h2 {
  margin: 1.15rem 0 0.7rem;
  font-size: 1.05rem;
  color: var(--brand);
}

.legal-doc__section p {
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.7;
  font-size: 0.97rem;
}

.legal-doc__note {
  margin: 1.5rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(0, 56, 152, 0.08);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* About */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.about-value-card {
  background: #fff;
  border: 1px solid rgba(0, 56, 152, 0.08);
  border-radius: 4px;
  padding: 1.85rem 1.6rem 2rem;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.about-value-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.about-value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 56, 152, 0.2);
  box-shadow: 0 18px 40px rgba(0, 56, 152, 0.1);
}

.about-value-card:hover::before {
  opacity: 1;
}

.about-value-card__index {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(0, 56, 152, 0.18);
}

.about-value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.about-value-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.about-story {
  display: grid;
  gap: 1.25rem;
  max-width: 920px;
  margin-inline: auto;
}

.about-story__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(0, 56, 152, 0.08);
  border-radius: 4px;
  padding: 1.5rem 1.6rem;
}

.about-story__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--brand);
  min-width: 2rem;
  padding-top: 0.15rem;
}

.about-story__item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Contact */
.section--contact {
  padding-top: 3.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(0, 56, 152, 0.08);
  border-radius: 4px;
  padding: 1.25rem 1.2rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.contact-card:hover {
  border-color: rgba(0, 56, 152, 0.2);
  box-shadow: 0 12px 28px rgba(0, 56, 152, 0.08);
  transform: translateY(-2px);
}

.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-card h2 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.contact-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-card a {
  color: var(--text);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--brand);
}

.contact-map {
  background: #fff;
  border: 1px solid rgba(0, 56, 152, 0.08);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 260px;
}

.contact-map__head {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(0, 56, 152, 0.08);
  flex-shrink: 0;
}

.contact-map__head h2 {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact-map__frame {
  position: relative;
  flex: 1;
  min-height: 260px;
}

.contact-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

.quote-panel {
  background: #fff;
  border: 1px solid rgba(0, 56, 152, 0.08);
  border-radius: 12px;
  padding: 2rem 1.85rem 1.85rem;
  box-shadow: 0 10px 30px rgba(0, 56, 152, 0.06);
  position: relative;
}

.quote-panel__head {
  margin-bottom: 1.5rem;
}

.quote-panel__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.55rem;
}

.quote-panel__head h2 {
  margin-bottom: 0.45rem;
  font-size: 1.55rem;
}

.quote-panel__head p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.form-row {
  margin-bottom: 1.05rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 56, 152, 0.14);
  border-radius: 4px;
  background: #f8f9fc;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #9aa3b2;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 56, 152, 0.12);
}

.form-select {
  position: relative;
}

.form-select select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn--block {
  width: 100%;
  margin-top: 0.35rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--primary:disabled:hover,
.btn--primary[disabled]:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: none;
}

.form-consent {
  margin: 0.35rem 0 1rem;
}

.form-consent__label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.form-consent__label input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}

.form-consent__label a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent__label a:hover {
  color: var(--brand-hover);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-alert {
  padding: 0.9rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.15rem;
  font-size: 0.95rem;
}

.form-alert--success {
  background: rgba(60, 140, 90, 0.1);
  border: 1px solid rgba(60, 140, 90, 0.35);
  color: #1f6b3a;
}

.form-alert--error {
  background: rgba(180, 60, 60, 0.08);
  border: 1px solid rgba(180, 60, 60, 0.3);
  color: #8a2a2a;
}

/* Footer */
.site-footer {
  background: #1a1d22;
  color: #e8eaed;
  padding-top: 3.25rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  max-width: 34ch;
}

.footer-col h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-col a:hover { color: #fff; }

.footer-contact-list li {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #121417;
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.footer-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer-bar a { color: rgba(255, 255, 255, 0.7); }

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-credit img {
  height: 34px;
  width: auto;
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.footer-credit:hover { color: #fff; }
.footer-credit:hover img { opacity: 1; }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(18, 20, 23, 0.12);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s ease;
}

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

.back-to-top:hover {
  background: var(--brand);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide img { animation: none; }
  .refs-marquee__track { animation: none; }
  .site-header {
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .site-header.is-hidden {
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .nav-actions { justify-content: space-between; }
  .refs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .projects-grid--page {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-slider__slide {
    flex-basis: calc((100% - 1.35rem) / 2);
  }
  .intro-panel {
    grid-template-columns: 1fr;
  }
  .intro-panel__content {
    padding: 1.5rem 1.35rem 1.6rem;
  }
  .intro-panel__media {
    min-height: 220px;
  }
  .about-values,
  .services-grid,
  .about-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .refs-marquee__item { width: 140px; min-height: 88px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    min-height: 48vh;
    max-height: 460px;
  }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .brand-logo { height: 46px; }
  .refs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid--page {
    grid-template-columns: 1fr;
  }
  .projects-slider__slide {
    flex-basis: 100%;
  }
  .refs-marquee__item { width: 128px; }
  .hero { padding-bottom: 2.5rem; min-height: 44vh; }
  .footer-credit img { height: 28px; }
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .quote-panel {
    padding: 1.5rem 1.25rem 1.35rem;
  }
  .legal-doc {
    padding: 1.5rem 1.2rem 1.75rem;
  }
  .back-to-top {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}
