:root {
  --navy: #0f1c2e;
  --blue: #1c4a7e;
  --sky: #e6f0ff;
  --surface: #ffffff;
  --text: #12263a;
  --muted: #5c7392;
  --accent: #f8b24b;
  --border: #d9e4f2;
  --shadow: 0 14px 34px rgba(15, 28, 46, 0.08);
  --shadow-strong: 0 22px 50px rgba(15, 28, 46, 0.14);
  --nav-offset: clamp(100px, 18vw, 140px);
  --header-offset: clamp(4.6rem, 14vw, 6.4rem);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Work Sans", "Josefin Sans", "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6f9fe 0%, #e7eef9 42%, #f4f7fb 100%);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--accent);
  color: var(--navy);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: var(--shadow-strong);
}

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

h1,
h2,
h3,
.brand-text .site-title,
.brand-text p {
  font-family: "Rajdhani", "Josefin Sans", "Segoe UI", sans-serif;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.brand:hover,
.brand:focus {
  text-decoration: none;
}

.brand:hover .brand-text .site-title,
.brand:focus .brand-text .site-title {
  text-decoration: none;
}

header {
  background: radial-gradient(circle at top left, rgba(28, 74, 126, 0.9), rgba(15, 28, 46, 0.96));
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 10px 24px rgba(15, 28, 46, 0.18);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  row-gap: 0.65rem;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 200px;
  min-width: 0;
}

.brand { 
  display: inline-flex;
  align-items: center;
  gap: clamp(0.65rem, 2.8vw, 1rem);
  color: white;
  min-width: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.05rem;
}

.brand img {
  width: clamp(60px, 18vw, 86px);
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.32));
  flex-shrink: 0;
}

.brand-text .site-title {
  font-family: "Rajdhani", "Josefin Sans", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 6vw, 2.1rem);
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.1;
}

.brand-text p {
  margin: 0;
  font-family: "Rajdhani", "Josefin Sans", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
  line-height: 1.1;
}


.primary-nav a:hover,
.primary-nav a:focus-visible {
  text-decoration: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #f6f8ff;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  margin-left: auto;
  position: relative;
  padding: 0;
  border-radius: 12px;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(248, 178, 75, 0.85);
  outline-offset: 4px;
}

.nav-toggle[aria-expanded="true"] {
  color: #f8b24b;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.35s ease, top 0.35s ease, bottom 0.35s ease;
}

.nav-toggle-icon::before {
  top: 0;
}

.nav-toggle-icon::after {
  bottom: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.primary-nav {
  flex-basis: 100%;
  display: none;
  padding: 0;
  order: 3;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.primary-nav[data-open="true"] {
  display: block;
  max-height: calc(100vh - var(--header-offset));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 0.15rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-family: "Rajdhani", "Josefin Sans", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4f7ff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  overflow: hidden;
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248, 178, 75, 0.35), rgba(140, 215, 255, 0.35));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-link span {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: rgba(248, 178, 75, 0.7);
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  opacity: 1;
}

.nav-link[aria-current="page"] {
  color: var(--navy);
  border-color: rgba(248, 178, 75, 0.85);
}

.nav-link[aria-current="page"]::after {
  opacity: 1;
  background: linear-gradient(120deg, rgba(248, 178, 75, 0.95), rgba(255, 214, 126, 0.95));
}

.sub-nav {
  list-style: none;
  margin: 0.4rem 0 0.75rem 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.sub-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 247, 255, 0.82);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.sub-nav a:hover,
.sub-nav a:focus-visible {
  color: #101b2c;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 28, 46, 0.1);
}

.primary-nav[data-open="true"] .sub-nav {
  margin-left: 1.25rem;
}

@media (min-width: 720px) {
  .header-inner {
    padding: 1.4rem 2rem 1.4rem;
  }

  .brand-text .site-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    flex-basis: auto;
    display: block;
    order: 2;
    width: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0;
  }

  .nav-item {
    padding-bottom: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
  }

  .nav-item:not(.nav-item-contact)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 1px;
    display: none;
  }

  .nav-link {
    border-radius: 16px;
    width: 100%;
    padding-inline: 0.95rem;
    font-size: 0.9rem;
  }

  .nav-item:not(.nav-item-contact):hover > .nav-link,
  .nav-item:not(.nav-item-contact):focus-within > .nav-link {
    box-shadow: 0 10px 22px rgba(9, 23, 40, 0.24);
  }

  .nav-item:not(.nav-item-contact):hover::after,
  .nav-item:not(.nav-item-contact):focus-within::after {
    display: block;
  }

  .sub-nav {
    position: absolute;
    left: 0;
    top: 100%;
    background: rgba(10, 22, 37, 0.96);
    padding: 0.85rem;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(9, 23, 40, 0.36), 0 2px 10px rgba(9, 23, 40, 0.2);
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    gap: 0.45rem;
    z-index: 5;
    min-width: max(100%, 18rem);
    width: max-content;
  }

  .nav-item:hover > .sub-nav,
  .nav-item:focus-within > .sub-nav {
    display: grid;
  }

  .sub-nav a {
    color: rgba(239, 245, 255, 0.92);
  }
}

.nav-item-contact .nav-link {
  border-color: rgba(248, 178, 75, 0.72);
  background: rgba(248, 178, 75, 0.08);
  box-shadow: inset 0 0 0 1px rgba(248, 178, 75, 0.08);
}

.nav-link-cta::after {
  opacity: 0;
  background: linear-gradient(120deg, rgba(248, 178, 75, 0.96), rgba(255, 218, 134, 0.96));
}

.nav-link-cta span {
  color: #ffd37a;
}

.nav-link-cta:hover,
.nav-link-cta:focus-visible {
  border-color: rgba(255, 218, 134, 0.95);
}

.nav-link-cta:hover span,
.nav-link-cta:focus-visible span {
  color: var(--navy);
}

@media (max-width: 500px) {
  .header-inner {
    padding: 0.85rem 0.85rem 0.95rem;
    gap: 0.55rem;
  }

  .brand {
    gap: clamp(0.35rem, 2.4vw, 0.6rem);
    align-items: center;
    text-align: left;
  }

  .brand img {
    width: clamp(50px, 16vw, 60px);
  }

  .brand-text {
    align-items: flex-start;
  }

  .brand-text .site-title {
    font-size: clamp(0.95rem, 4.8vw, 1.3rem);
    letter-spacing: 0.06em;
  }

  .brand-text p {
    font-size: 0.85rem;
    letter-spacing: 0.09em;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.95rem 1rem 1rem;
  }

  .brand-text .site-title {
    font-size: clamp(1.2rem, 5.8vw, 1.75rem);
  }

  .brand-text p {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: clamp(46px, 18vw, 56px);
  }

  .brand-text .site-title {
    font-size: clamp(0.9rem, 4.6vw, 1.15rem);
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 360px) {
  .header-inner {
    padding: 0.75rem 0.8rem 0.85rem;
  }

  .brand img {
    width: clamp(42px, 18vw, 50px);
  }

  .brand-text .site-title {
    font-size: clamp(0.85rem, 4.4vw, 1.05rem);
    letter-spacing: 0.05em;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
  }
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

html {
  scroll-padding-top: var(--nav-offset);
}

main [id] {
  scroll-margin-top: var(--nav-offset);
}

.hero {
  background: var(--surface);
  border: 1px solid rgba(217, 228, 242, 0.82);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  box-shadow: var(--shadow-strong);
}

#video-overview {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: "video illustration" "copy illustration";
  align-items: start;
}

#video-overview > video {
  grid-area: video;
}

#video-overview > div {
  grid-area: copy;
}

#video-overview > img {
  grid-area: illustration;
  align-self: start;
}

.hero h1,
.hero h2 {
  font-size: 2.1rem;
  margin: 0 0 1rem;
  color: var(--navy);
}

.hero p {
  font-size: 1.05rem;
}

.hero video,
.hero img {
  width: 100%;
  height: auto;
  align-self: center;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 28, 46, 0.16);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: "Rajdhani", "Josefin Sans", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: var(--navy);
  border-color: rgba(15, 28, 46, 0.06);
}

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

.button-secondary {
  background: rgba(28, 74, 126, 0.08);
  color: var(--blue);
  border-color: rgba(28, 74, 126, 0.2);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(28, 74, 126, 0.14);
}

.section {
  margin-top: 3.5rem;
}

.section h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.section h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  color: var(--blue);
}

.section p {
  margin-bottom: 1.5rem;
}

.highlight {
  background: var(--surface);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.technical-overview {
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.62)),
    url("assets/drawingBGhome.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover, contain;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.technical-overview > div {
  position: relative;
  max-width: 42rem;
  text-align: center;
}

.technical-overview h3 {
  margin-top: 0;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: center;
}

.grid-two img,
.grid-two video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(17, 39, 64, 0.12);
}

.card-stack {
  display: grid;
  gap: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-top: 1.25rem;
  box-shadow: 0 12px 26px rgba(15, 28, 46, 0.14);
}

.installation-index {
  margin-top: 1.25rem;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 28, 46, 0.06);
}

.installation-index > span {
  color: var(--navy);
  font-family: "Rajdhani", "Josefin Sans", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.installation-index > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.installation-index a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid rgba(28, 74, 126, 0.2);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.installation-index a:hover,
.installation-index a:focus-visible {
  color: var(--navy);
  background: rgba(248, 178, 75, 0.22);
  border-color: rgba(248, 178, 75, 0.7);
  text-decoration: none;
  transform: translateY(-1px);
}

.installations-page main > .card {
  min-height: 430px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.55fr);
  grid-template-rows: auto 1fr;
  column-gap: 0;
  overflow: hidden;
}

.installations-page main > .card .section-title {
  grid-column: 1;
  margin: 0;
  padding: 2rem 2rem 0.75rem;
  align-self: end;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.15;
}

.installations-page main > .card > .grid-two {
  grid-column: 1;
  padding: 0 2rem 2rem;
  display: block;
  align-self: start;
}

.installations-page main > .card > .grid-two p {
  margin-top: 0;
  margin-bottom: 1.15rem;
  color: #304861;
  font-size: 0.95rem;
}

.installations-page main > .card > .gallery {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  margin: 0;
  border-left: 1px solid var(--border);
}

.gallery {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 8px;
  background: #f2f5f8;
  box-shadow: 0 12px 26px rgba(15, 28, 46, 0.12);
  cursor: zoom-in;
}

.gallery img:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.gallery-viewer {
  height: auto;
  min-height: 460px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  background: #edf2f7;
}

.carousel-viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #edf2f7;
}

.carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.3s ease;
}

.gallery-viewer .carousel-image {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 360px;
  margin: 0;
  object-fit: contain;
  border-radius: 0;
  background: #edf2f7;
  box-shadow: none;
}

.carousel-controls {
  position: absolute;
  inset: 50% 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 0.75rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 0 0.1rem;
  border: 1px solid rgba(15, 28, 46, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-family: "Segoe UI", sans-serif;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 28, 46, 0.18);
  pointer-events: auto;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--accent);
  outline: 2px solid white;
  outline-offset: 2px;
}

.carousel-meta {
  min-height: 58px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.carousel-caption {
  margin: 0;
  color: #405870;
  font-size: 0.83rem;
  line-height: 1.35;
}

.carousel-counter {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: "Rajdhani", "Josefin Sans", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.lightbox-open {
  overflow: hidden;
}

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

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(8, 17, 30, 0.9);
}

.image-lightbox-image {
  display: block;
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 5rem);
  width: auto;
  height: auto;
  border-radius: 8px;
  background: #eef4fb;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

.image-lightbox-close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.25rem);
  right: clamp(0.75rem, 2vw, 1.25rem);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-family: "Rajdhani", "Josefin Sans", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: var(--accent);
  outline: 2px solid white;
  outline-offset: 3px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.info-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  display: inline-block;
  width: 1.2rem;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

th,
td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #e1e7f5;
}

th {
  background: var(--blue);
  color: white;
  font-weight: 600;
}

blockquote {
  margin: 1rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: rgba(248, 178, 75, 0.15);
  border-radius: 0 8px 8px 0;
}

footer {
  background: var(--navy);
  color: white;
  padding: 2.5rem 1.5rem 2rem;
}

footer p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

footer a {
  color: #d9ecff;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-brand img {
  width: 58px;
  height: auto;
  flex: 0 0 auto;
}

.footer-brand strong {
  display: block;
  font-family: "Rajdhani", "Josefin Sans", "Segoe UI", sans-serif;
  font-size: 1.3rem;
}

.footer-brand p,
address {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-bottom {
  max-width: 1120px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-item h3 {
  margin-top: 0;
  color: var(--blue);
}

.contact-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--blue);
  font-family: "Rajdhani", "Josefin Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.final-cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(230, 240, 255, 0.96));
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 1.5rem;
  align-items: center;
}

.final-cta h2,
.final-cta p {
  margin-top: 0;
}

.final-cta .cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 900px) {
  .installations-page main > .card {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .installations-page main > .card .section-title,
  .installations-page main > .card > .grid-two,
  .installations-page main > .card > .gallery {
    grid-column: 1;
  }

  .installations-page main > .card .section-title {
    grid-row: 1;
  }

  .installations-page main > .card > .grid-two {
    grid-row: 2;
  }

  .installations-page main > .card > .gallery {
    grid-row: 3;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .gallery-viewer {
    height: auto;
    min-height: 420px;
  }

  .gallery-viewer .carousel-image {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    text-align: left;
  }

  .brand {
    justify-content: flex-start;
  }

  .hero {
    padding: 2rem;
  }

  #video-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "video" "copy" "illustration";
  }

  .technical-overview {
    min-height: 300px;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
      url("assets/drawingBGhome.gif");
    background-position: center;
    background-size: cover, contain;
  }

  .footer-inner,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  nav a {
    padding: 0.45rem 0.75rem;
  }

  .hero {
    padding: 1.5rem;
  }

  main {
    padding: 2.5rem 1.25rem 3rem;
  }

  .card,
  .highlight {
    padding: 1.5rem;
  }

  .installations-page main > .card {
    padding: 0;
  }

  .installations-page main > .card .section-title {
    padding: 1.5rem 1.5rem 0.65rem;
  }

  .installations-page main > .card > .grid-two {
    padding: 0 1.5rem 1.5rem;
  }

  .gallery-viewer {
    height: auto;
    min-height: 350px;
  }

  .gallery-viewer .carousel-image {
    min-height: 290px;
  }

  .carousel-controls {
    padding: 0 0.5rem;
  }

  .carousel-button {
    width: 40px;
    height: 40px;
  }

  .carousel-meta {
    min-height: 60px;
    padding: 0.75rem 0.85rem;
  }
}


/* Section title headings (promoted h3 -> h2, same visual style) */
.section h2.section-title {
  font-size: 1.4rem;
  margin: 2rem 0 1.4rem;
  color: var(--blue);
}

/* Replaces former inline margins */
.section .grid-two + .grid-two,
.section .technical-overview + .grid-two {
  margin-top: 2.5rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
