:root {
  color-scheme: light;
  --navy: #082b4d;
  --navy-deep: #041b32;
  --steel: #3f5862;
  --teal: #2f6f67;
  --gold: #d6a43a;
  --gold-dark: #9b7120;
  --concrete: #f2f4f4;
  --paper: #ffffff;
  --ink: #18242d;
  --muted: #60717d;
  --line: #d9e0e2;
  --shadow: 0 18px 42px rgba(4, 27, 50, 0.14);
  --radius: 8px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.has-scrolled .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(8, 43, 77, 0.12);
  box-shadow: 0 10px 30px rgba(4, 27, 50, 0.08);
}

img,
video {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

img {
  pointer-events: none;
}

.gallery-modal-media {
  touch-action: pan-y;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.section-shell {
  width: min(100% - 40px, var(--shell));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 10px max(20px, calc((100% - var(--shell)) / 2));
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 7px;
  object-fit: cover;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.brand small {
  color: var(--steel);
  font-size: 12px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (min-width: 1181px) {
  .main-nav {
    display: grid;
    flex: 1 1 auto;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 2px;
    align-items: stretch;
    max-width: 1000px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header .main-nav a {
    min-height: 46px;
    padding: 7px 5px;
    font-size: 13.3px;
  }
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 12.6px;
  font-weight: 700;
  line-height: 1.16;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.main-nav a[href="#about"],
.main-nav a[href="/#about"],
.main-nav a[href="/index.html#about"],
.main-nav a[href="/index.html?lang=en#about"] {
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(214, 164, 58, 0.15);
  color: var(--navy-deep);
}

.main-nav .language-link {
  border: 1px solid rgba(214, 164, 58, 0.45);
  color: var(--gold-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
  margin-top: 76px;
  background: var(--concrete);
}

.image-only-hero {
  display: grid;
  place-items: center;
}

.hero-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.hero-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -8px;
}

.hero-picture {
  display: block;
  width: 100%;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: calc(100svh - 76px);
  object-fit: contain;
  object-position: center;
}

.hero-shade {
  display: none;
}

.hero-content {
  display: none;
  color: var(--paper);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-intro {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.65;
}

.hero-announcement {
  display: inline-flex;
  max-width: 760px;
  margin: 18px 0 0;
  padding: 10px 12px;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e4b64c;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.36);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.stat-item {
  width: 164px;
  min-height: 82px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(4, 27, 50, 0.42);
  backdrop-filter: blur(6px);
}

.stat-item strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.stat-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.value-strip {
  background: var(--navy);
  color: var(--paper);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.value-item {
  display: flex;
  gap: 16px;
  min-height: 118px;
  align-items: center;
  padding: 22px;
  background: var(--navy);
}

.stat-strip-item {
  align-items: center;
}

.stat-strip-value {
  min-width: 108px;
  color: var(--gold);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.value-item .stat-strip-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.value-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.value-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.value-item p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  padding: 84px 0;
}

.section:nth-of-type(even) {
  background: var(--concrete);
}

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

.compact-heading {
  margin-bottom: 24px;
}

.section-link-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 24px;
}

.section h2 {
  margin: 0;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading p:last-child,
.lead-text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.service-grid,
.project-grid,
.current-grid,
.team-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.service-card,
.project-card,
.current-card,
.team-card,
.portfolio-card,
.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(8, 43, 77, 0.06);
}

.service-card-action {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card-action:hover,
.service-card-action:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(214, 164, 58, 0.58);
  box-shadow: 0 16px 32px rgba(8, 43, 77, 0.12);
  outline: none;
}

.portfolio-card {
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(214, 164, 58, 0.58);
  box-shadow: 0 16px 32px rgba(8, 43, 77, 0.12);
  outline: none;
}

.gallery-preview-media,
.gallery-preview-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.gallery-preview-media:hover,
.gallery-preview-media:focus-visible,
.gallery-preview-card:hover,
.gallery-preview-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(214, 164, 58, 0.64);
  box-shadow: 0 18px 36px rgba(8, 43, 77, 0.14);
  outline: none;
}

.gallery-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.projects-section .project-grid,
.current-section .current-grid,
.designed-built-section .project-grid,
.about-old-objects .project-grid {
  grid-template-columns: minmax(0, 760px);
}

.service-card img,
.project-card img,
.current-card img,
.portfolio-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.card-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
}

.local-seo-section {
  background: var(--paper);
}

.local-link-grid,
.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.local-link-card,
.seo-link-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(8, 43, 77, 0.05);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.local-link-card:hover,
.local-link-card:focus-visible,
.seo-link-card:hover,
.seo-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(214, 164, 58, 0.58);
  box-shadow: 0 16px 32px rgba(8, 43, 77, 0.11);
  outline: none;
}

.local-link-card span,
.seo-link-card span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.local-link-card strong,
.seo-link-card strong {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.3;
}

.service-detail-section {
  background: var(--concrete);
}

.service-detail-section:nth-child(even) {
  background: var(--paper);
}

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

.service-detail-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(8, 43, 77, 0.06);
}

.service-detail-button {
  display: grid;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-detail-button:hover,
.service-detail-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(214, 164, 58, 0.58);
  box-shadow: 0 16px 32px rgba(8, 43, 77, 0.12);
  outline: none;
}

.service-detail-button img {
  transition: transform 220ms ease;
}

.service-detail-button:hover img,
.service-detail-button:focus-visible img {
  transform: scale(1.035);
}

.service-detail-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-layout,
.info-layout,
.design-layout,
.offer-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.rich-text p {
  margin: 16px 0 0;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.78;
}

.feature-figure,
.wide-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--concrete);
}

.feature-figure img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center top;
}

.about-old-objects {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.section.info-section {
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(8, 43, 77, 0.96), rgba(47, 111, 103, 0.88)),
    linear-gradient(90deg, var(--navy), var(--teal));
  color: var(--paper);
}

.section.info-section h2,
.section.info-section .section-kicker {
  color: var(--paper);
}

.section.info-section .section-kicker {
  color: #f1c768;
}

.section.info-section .lead-text {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

.section.info-section .detail-item p {
  color: rgba(255, 255, 255, 0.92);
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-item,
.check-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}

.detail-item span,
.check-item span {
  width: 11px;
  height: 11px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.detail-item p,
.check-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.6;
}

.design-layout {
  grid-template-columns: 1.08fr 0.92fr;
}

.wide-figure img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.check-item p {
  color: var(--steel);
}

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

.design-project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(8, 43, 77, 0.06);
}

.design-project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.design-project-card div {
  padding: 18px;
}

.design-project-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.design-project-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.gallery-page {
  background: var(--concrete);
}

.seo-page {
  background: var(--paper);
}

.seo-hero {
  margin-top: 76px;
  padding: 74px 0 54px;
  background:
    linear-gradient(90deg, rgba(4, 27, 50, 0.94), rgba(47, 111, 103, 0.76)),
    url("/assets/images/concrete-plant.jpg") center / cover;
  color: var(--paper);
}

.seo-hero .section-kicker,
.seo-hero h1,
.seo-hero p {
  color: var(--paper);
}

.seo-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
}

.seo-hero p:last-child {
  max-width: 790px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 44px;
  align-items: start;
}

.seo-copy p,
.seo-copy li,
.seo-aside p {
  color: var(--steel);
  font-size: 16px;
  line-height: 1.75;
}

.seo-copy h2,
.seo-aside h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.2;
}

.seo-copy h3 {
  margin: 28px 0 12px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.25;
}

.seo-copy ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.seo-aside {
  display: grid;
  gap: 18px;
}

.seo-aside-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--concrete);
}

.seo-aside-card p {
  margin: 0;
}

.seo-aside-card .button {
  margin-top: 18px;
}

.seo-figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.seo-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.seo-related {
  border-top: 1px solid var(--line);
}

body.is-modal-open {
  overflow: hidden;
}

.gallery-hero {
  margin-top: 76px;
  padding: 72px 0 48px;
  background:
    linear-gradient(90deg, rgba(4, 27, 50, 0.94), rgba(47, 111, 103, 0.78)),
    url("/assets/images/concrete-plant.jpg") center / cover;
  color: var(--paper);
}

.gallery-hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
}

.gallery-hero #galleryLead {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.gallery-list-section {
  background: var(--concrete);
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 18px;
  align-items: start;
}

.gallery-group {
  overflow: hidden;
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(8, 43, 77, 0.06);
}

.gallery-cover-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.gallery-cover-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.gallery-cover-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-cover-button:hover .gallery-cover-figure img,
.gallery-cover-button:focus-visible .gallery-cover-figure img {
  transform: scale(1.035);
}

.gallery-cover-button:focus-visible {
  outline: 3px solid rgba(214, 164, 58, 0.45);
  outline-offset: 3px;
}

.gallery-photo-count {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(4, 27, 50, 0.84);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.gallery-cover-figure figcaption,
.gallery-empty-card,
.gallery-card-body {
  padding: 16px;
}

.gallery-cover-figure figcaption {
  display: grid;
  gap: 6px;
}

.gallery-cover-figure .section-kicker,
.gallery-empty-card .section-kicker {
  margin-bottom: 0;
}

.gallery-cover-figure strong,
.gallery-empty-card h2 {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.22;
}

.gallery-cover-figure span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
}

.gallery-card-body {
  padding-top: 0;
}

.gallery-card-body .lead-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.gallery-group-head {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.gallery-group-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.22;
}

.gallery-meta {
  margin: 9px 0 0;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
}

.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.gallery-photo-card {
  margin: 0;
  background: var(--paper);
}

.gallery-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-photo-card figcaption {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.gallery-photo-card strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35;
}

.gallery-photo-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.gallery-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 27, 50, 0.86);
}

.gallery-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(100%, 1120px);
  max-height: min(92svh, 860px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.gallery-modal-media {
  position: relative;
  display: grid;
  min-height: 0;
  background: var(--navy-deep);
}

.gallery-modal-media img {
  width: 100%;
  max-height: 72svh;
  object-fit: contain;
  background: var(--navy-deep);
}

.gallery-modal-close,
.gallery-modal-nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(4, 27, 50, 0.18);
}

.gallery-modal-close {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.gallery-modal-nav {
  top: 50%;
  width: 46px;
  height: 58px;
  border-radius: var(--radius);
  font-size: 42px;
  transform: translateY(-50%);
}

.gallery-modal-nav.is-prev {
  left: 14px;
}

.gallery-modal-nav.is-next {
  right: 14px;
}

.gallery-modal-caption {
  display: grid;
  gap: 6px;
  padding: 18px 22px 22px;
}

.gallery-modal-caption .section-kicker {
  margin-bottom: 0;
}

.gallery-modal-caption h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.gallery-modal-caption .lead-text {
  margin: 4px 0 0;
  font-size: 14px;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.meta-row span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(47, 111, 103, 0.12);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.location-line {
  color: var(--navy) !important;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.team-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center top;
  background: var(--concrete);
}

.team-card .role {
  color: var(--gold-dark);
  font-weight: 800;
}

.section.offer-section {
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(90deg, rgba(4, 27, 50, 0.98) 0%, rgba(4, 27, 50, 0.94) 48%, rgba(8, 43, 77, 0.86) 100%),
    url("/assets/images/backhoe.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--paper);
}

.offer-copy {
  max-width: 560px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
}

.offer-section h2,
.offer-section .section-kicker {
  color: var(--paper);
}

.offer-section .section-kicker {
  color: #f1c768;
}

.offer-section .lead-text {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

.offer-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.offer-form label {
  display: grid;
  gap: 7px;
}

.offer-form span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.offer-form input,
.offer-form select,
.offer-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

.offer-form textarea {
  resize: vertical;
  min-height: 132px;
}

.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 164, 58, 0.18);
}

.full-row,
.offer-form button,
.form-status {
  grid-column: 1 / -1;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.contact-layout {
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list a,
.contact-list p {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--gold-dark);
}

.contact-layout iframe {
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--concrete);
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 28px 0;
}

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

.footer-layout p {
  margin: 0;
}

.footer-layout strong {
  color: var(--paper);
}

.footer-layout a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .site-header {
    min-height: 70px;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    min-height: 44px;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

  .hero-subtitle {
    font-size: 26px;
  }

  .service-grid,
  .service-detail-grid,
  .project-grid,
  .current-grid,
  .portfolio-grid,
  .local-link-grid,
  .seo-link-grid,
  .team-grid,
  .video-grid,
  .design-projects,
  .gallery-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .info-layout,
  .design-layout,
  .offer-layout,
  .contact-layout,
  .seo-content-grid {
    grid-template-columns: 1fr;
  }

  .feature-figure img {
    height: 540px;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(100% - 28px, var(--shell));
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 15px;
  }

  .hero {
    margin-top: 70px;
    padding: 0;
  }

  .gallery-hero {
    margin-top: 70px;
    padding: 46px 0 34px;
  }

  .seo-hero {
    margin-top: 70px;
    padding: 48px 0 36px;
  }

  .gallery-hero h1 {
    font-size: 34px;
  }

  .seo-hero h1 {
    font-size: 34px;
  }

  .hero-image {
    max-height: calc(100svh - 70px);
  }

  .hero-shade {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.06;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-intro {
    font-size: 15px;
    line-height: 1.6;
  }

  .button {
    width: 100%;
  }

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

  .stat-item {
    width: auto;
    min-height: 84px;
    padding: 12px 9px;
  }

  .stat-item strong {
    font-size: 22px;
  }

  .stat-item span {
    font-size: 11px;
  }

  .value-grid,
  .service-grid,
  .service-detail-grid,
  .project-grid,
  .current-grid,
  .portfolio-grid,
  .local-link-grid,
  .seo-link-grid,
  .team-grid,
  .video-grid,
  .design-projects,
  .gallery-photo-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    min-height: 96px;
    padding: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .section h2 {
    font-size: 30px;
  }

  .section-heading p:last-child,
  .lead-text {
    font-size: 15px;
  }

  .service-card img,
  .project-card img,
  .current-card img,
  .portfolio-card img {
    height: 216px;
  }

  .feature-figure img {
    height: 460px;
  }

  .wide-figure img {
    height: 270px;
  }

  .offer-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .contact-layout iframe {
    min-height: 330px;
  }

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

  .section-link-row .button {
    width: 100%;
  }

  .gallery-group-head {
    padding: 16px;
  }

  .gallery-group-head h2 {
    font-size: 21px;
  }

  .gallery-cover-figure strong,
  .gallery-empty-card h2 {
    font-size: 20px;
  }

  .gallery-modal {
    padding: 10px;
  }

  .gallery-modal-panel {
    max-height: 94svh;
  }

  .gallery-modal-media img {
    max-height: 66svh;
  }

  .gallery-modal-nav {
    width: 40px;
    height: 50px;
    font-size: 34px;
  }

  .gallery-modal-nav.is-prev {
    left: 8px;
  }

  .gallery-modal-nav.is-next {
    right: 8px;
  }

  .gallery-modal-caption {
    padding: 15px;
  }

  .gallery-modal-caption h2 {
    font-size: 21px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 34px;
  }

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

  .stat-item {
    min-height: 82px;
  }

  .feature-figure img {
    height: 390px;
  }
}
