:root {
  --accent: #f7901e;
  --ink: #10273d;
  --ink-2: #173552;
  --text: #29313a;
  --muted: #66717f;
  --line: #dfe5eb;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --cool: #dce9e5;
  --warm: #fff5e8;
  --shadow: 0 18px 45px rgba(16, 39, 61, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

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

a:hover,
a:focus {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 750;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 18px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.top-bar {
  background:
    linear-gradient(90deg, var(--ink), #183956 60%, #203f5a);
  color: #fff;
  font-size: 0.88rem;
  border-bottom: 3px solid var(--accent);
}

.top-bar__inner,
.nav-bar,
.quote-strip__inner,
.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-contact,
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar__message {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.top-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: #fff;
  font-weight: 700;
}

.top-contact__item:hover,
.top-contact__item:focus {
  color: #fff;
}

.top-contact__icon {
  display: grid;
  min-width: 26px;
  width: auto;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(247, 144, 30, 0.18);
  color: #ffd09d;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0 6px;
}

.top-contact__item--whatsapp .top-contact__icon {
  background: rgba(220, 233, 229, 0.18);
  color: #dce9e5;
}

.social-links span {
  color: rgba(255, 255, 255, 0.66);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.social-links a {
  color: #fff;
}

.social-links a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.social-links a:hover,
.social-links a:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(16, 39, 61, 0.08);
  backdrop-filter: blur(12px);
}

.nav-bar {
  min-height: 88px;
}

.brand img {
  width: 150px;
  max-height: 72px;
  object-fit: contain;
}

.primary-nav .menu,
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 14px 15px;
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--accent);
}

.nav-quote {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 10px 16px;
  text-transform: uppercase;
}

.nav-quote:hover,
.nav-quote:focus {
  background: var(--accent);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  display: grid;
  align-items: center;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: linear-gradient(90deg, rgba(7, 24, 40, 0.78), rgba(7, 24, 40, 0.4), rgba(7, 24, 40, 0.1)), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: min(38vw, 440px);
  height: 12px;
  content: "";
  background: var(--accent);
}

.hero .eyebrow {
  color: #ffd6a4;
}

.hero__inner {
  max-width: 1160px;
}

.hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.45rem, 5.2vw, 4.45rem);
}

.hero p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 8px 11px;
  text-transform: uppercase;
}

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

.hero-metrics div {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button,
button.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
  padding: 14px 22px;
  text-transform: uppercase;
}

.button:hover,
.button:focus {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.78);
}

.button--ghost:hover,
.button--ghost:focus {
  border-color: var(--accent);
  background: var(--accent);
}

.button--light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.button--light:hover,
.button--light:focus {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button--outline {
  background: #fff;
  color: var(--ink);
}

.button--outline:hover,
.button--outline:focus {
  color: #fff;
}

.button--whatsapp {
  border-color: #1c9b63;
  background: #1c9b63;
}

.button--whatsapp:hover,
.button--whatsapp:focus {
  border-color: var(--ink);
  background: var(--ink);
}

.quote-strip {
  background: var(--accent);
  color: #fff;
  padding: 28px 0;
}

.quote-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quote-strip h2,
.footer-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.section {
  padding: 86px 0;
}

.section--muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.35)),
    var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.split__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split__content {
  max-width: 620px;
}

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

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

.section-heading--split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.feature-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--warm);
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 12px;
}

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

.strength-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(16, 39, 61, 0.07);
}

.strength-card span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid rgba(247, 144, 30, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--warm), var(--cool));
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
}

.strength-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 39, 61, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(16, 39, 61, 0.13);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  filter: saturate(1.04) brightness(1.04);
  object-fit: cover;
}

.service-card__body {
  padding: 26px;
}

.service-tag {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(247, 144, 30, 0.12);
  color: #a95a07;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 10px;
  text-transform: uppercase;
}

.service-card__body h2,
.service-card__body h3 {
  font-size: 1.12rem;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.process-section {
  background: linear-gradient(135deg, #10273d 0%, #173552 58%, #24435d 100%);
  color: rgba(255, 255, 255, 0.78);
}

.process-section h2,
.process-section h3 {
  color: #fff;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.process-steps {
  position: relative;
  display: grid;
  gap: 18px;
}

.process-steps--lined::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 25px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--accent), rgba(247, 144, 30, 0));
}

.process-steps article {
  position: relative;
}

.process-steps article {
  display: grid;
  grid-template-columns: 70px 0.45fr 1fr;
  gap: 22px;
  align-items: start;
  border: 1px solid rgba(16, 39, 61, 0.12);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16, 39, 61, 0.08);
}

.process-section .process-steps article {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.process-steps span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
}

.process-steps h3 {
  margin-top: 8px;
  margin-bottom: 0;
}

.process-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-section .process-steps p {
  color: rgba(255, 255, 255, 0.74);
}

.page-hero {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  padding: 82px 0;
}

.page-hero h1,
.page-hero p {
  color: #fff;
}

.page-hero p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.banner-cta {
  position: relative;
  isolation: isolate;
  padding: 86px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.banner-cta::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: linear-gradient(rgba(16, 39, 61, 0.82), rgba(16, 39, 61, 0.82)), url("../img/s_3.jpg");
  background-position: center;
  background-size: cover;
}

.banner-cta h2 {
  color: #fff;
}

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

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: "Open";
  background: rgba(16, 39, 61, 0.58);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item:hover::after,
.gallery-item:focus::after {
  opacity: 1;
}

body.has-lightbox {
  overflow: hidden;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 14px;
  background: rgba(5, 15, 26, 0.92);
  padding: 34px;
}

.gallery-lightbox__figure {
  display: grid;
  min-width: 0;
  max-height: calc(100vh - 68px);
  justify-items: center;
  margin: 0;
}

.gallery-lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 128px);
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
}

.gallery-lightbox__figure figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  transition: background 160ms ease, transform 160ms ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus,
.gallery-lightbox__nav:hover,
.gallery-lightbox__nav:focus {
  background: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.gallery-lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
}

.gallery-lightbox__nav {
  width: 58px;
  height: 58px;
  font-size: 3rem;
  line-height: 1;
}

.gallery-lightbox__nav--prev {
  justify-self: start;
}

.gallery-lightbox__nav--next {
  justify-self: end;
}

.featured-gallery-section {
  background:
    linear-gradient(180deg, rgba(244, 246, 248, 0.82), rgba(255, 255, 255, 1)),
    var(--soft);
}

.featured-gallery {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 34px;
  align-items: stretch;
}

.featured-gallery__intro {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 39, 61, 0.94), rgba(23, 53, 82, 0.92)),
    url("../img/s_3.jpg");
  background-position: center;
  background-size: cover;
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(28px, 3.2vw, 40px);
}

.featured-gallery__intro::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 7px;
  content: "";
  background: var(--accent);
}

.featured-gallery__intro h2 {
  color: #fff;
}

.featured-gallery__intro .eyebrow {
  color: #ffd09d;
}

.featured-gallery__stats {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.featured-gallery__stats span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  padding: 12px 14px;
}

.featured-gallery__stats strong {
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.3rem;
}

.gallery-preview {
  display: grid;
  grid-template-columns: 1.25fr 0.78fr 0.92fr;
  grid-auto-rows: 190px;
  gap: 16px;
}

.gallery-preview figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: 0 12px 30px rgba(16, 39, 61, 0.12);
}

.gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-preview figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  background: rgba(16, 39, 61, 0.86);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 7px 10px;
  text-transform: uppercase;
}

.gallery-preview figure:hover img {
  transform: scale(1.04);
}

.gallery-preview figure:first-child {
  grid-row: span 2;
}

.gallery-preview figure:nth-child(4) {
  grid-column: span 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.contact-panel {
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--soft));
  padding: 28px;
  box-shadow: 0 12px 32px rgba(16, 39, 61, 0.08);
}

.contact-panel dl {
  margin: 26px 0 0;
}

.contact-panel dt {
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
}

.contact-panel dd {
  margin: 0 0 18px;
  color: var(--muted);
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form__full,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(247, 144, 30, 0.28);
  border-color: var(--accent);
}

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

.content {
  max-width: 820px;
}

.post-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding-bottom: 0;
}

.footer-cta {
  background:
    linear-gradient(90deg, rgba(247, 144, 30, 0.96), rgba(214, 112, 18, 0.94)),
    url("../img/s_2.jpg");
  background-position: center;
  background-size: cover;
  padding: 38px 0;
}

.footer-cta__eyebrow {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(150px, 0.75fr) minmax(220px, 1fr) minmax(260px, 1.05fr);
  gap: 34px;
  padding: 66px 0;
}

.footer-grid h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li,
.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.82);
}

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

.footer-logo {
  width: 150px;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: var(--radius);
  background: #fff;
}

.footer-brand p {
  max-width: 390px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.footer-badges span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 7px 10px;
  text-transform: uppercase;
}

.footer-contact-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  padding: 26px;
}

.footer-contact-card p {
  margin-bottom: 10px;
}

.footer-contact-card__button {
  display: inline-flex;
  margin-top: 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff !important;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 11px 14px;
  text-transform: uppercase;
}

.footer-contact-card__button:hover,
.footer-contact-card__button:focus {
  background: #fff;
  color: var(--ink) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 0.9rem;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a {
  color: #fff;
  font-weight: 700;
}

.mobile-action-bar {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 98;
  display: none;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(16, 39, 61, 0.25);
}

.mobile-action-bar a {
  flex: 1;
  background: var(--accent);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  padding: 14px;
  text-align: center;
  text-transform: uppercase;
}

.mobile-action-bar a:first-child {
  background: var(--ink);
}

@media (max-width: 900px) {
  .top-bar__inner {
    justify-content: center;
  }

  .top-bar__message {
    display: none;
  }

  .social-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-quote {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .menu,
  .primary-nav ul {
    display: block;
  }

  .primary-nav a {
    border-bottom: 1px solid var(--line);
    padding: 15px 18px;
  }

  .hero {
    min-height: 560px;
  }

  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid--services,
  .strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-steps article {
    grid-template-columns: 56px 1fr;
  }

  .process-steps p {
    grid-column: 2;
  }

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

  .featured-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox {
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    padding: 24px;
  }

  .gallery-lightbox__nav {
    width: 48px;
    height: 48px;
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .top-contact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    padding: 8px 0;
  }

  .top-contact__item {
    min-height: auto;
    font-size: 0.84rem;
  }

  .nav-bar {
    min-height: 76px;
  }

  .brand img {
    width: 128px;
  }

  .hero {
    min-height: 520px;
  }

  .hero__actions,
  .quote-strip__inner,
  .footer-cta__inner,
  .section-heading--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .quote-strip__actions {
    width: 100%;
  }

  .section,
  .banner-cta {
    padding: 60px 0;
  }

  .card-grid,
  .card-grid--services,
  .strength-grid,
  .gallery-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .gallery-preview {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 154px;
  }

  .gallery-preview figure:first-child,
  .gallery-preview figure:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-preview figcaption {
    right: 8px;
    bottom: 8px;
    font-size: 0.64rem;
    padding: 6px 8px;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    padding: 72px 16px 24px;
  }

  .gallery-lightbox__figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-lightbox__figure img {
    max-height: calc(100vh - 190px);
  }

  .gallery-lightbox__nav {
    grid-row: 2;
    width: 100%;
    border-radius: var(--radius);
  }

  .gallery-lightbox__nav--prev {
    grid-column: 1;
  }

  .gallery-lightbox__nav--next {
    grid-column: 2;
  }

  .mobile-action-bar {
    display: flex;
  }

  .footer-bottom__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: 62px;
  }

  .contact-form button {
    grid-column: auto;
  }

  .page-hero {
    padding: 62px 0;
  }
}
