:root {
  --bg: #fbfaf8;
  --text: #252527;
  --card: #fff;
  --red: #dc292e;
  --red-dark: #b91f24;
  --blue: #1267b8;
  --blue-dark: #0c4f91;
  --gold: #9a5a22;
  --gold-dark: #754116;
  --water-bg: #f4faff;
  --water-muted: #e8f4fc;
  --civil-bg: #fffaf3;
  --civil-muted: #f4eadc;
  --muted: #f1f0ed;
  --muted-text: #6b6b71;
  --border: #e4e2df;
  --ink: #202022;
  --ink-soft: #2f2f32;
  --ink-text: #faf9f7;
  --ink-muted: #aaa9ad;
  --green: #25d366;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(25, 25, 28, 0.06), 0 12px 32px -12px rgba(25, 25, 28, 0.18);
  --red-shadow: 0 12px 30px -10px rgba(220, 41, 46, 0.55);
  --display: "Playfair Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.container {
  width: 100%;
  max-width: 1216px;
  margin-inline: auto;
  padding-inline: 20px;
}
.section {
  padding: 80px 0;
}
section[id] {
  scroll-margin-top: 120px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}
h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0;
}
em {
  color: var(--red);
  font-weight: inherit;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: var(--radius);
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  transition: 0.2s;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--red-shadow);
}
.btn-primary:hover {
  background: var(--red-dark);
}
.btn-outline-light {
  border: 1.5px solid currentColor;
  color: var(--ink-text);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--ink-text);
  color: var(--ink);
}
.btn-light {
  background: #fff;
  color: var(--red);
  box-shadow: 0 8px 24px -8px rgba(70, 10, 15, 0.4);
}
.btn-ghost-light {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover {
  background: #fff;
  color: var(--red);
}
.btn-whatsapp {
  background: var(--green);
  color: #fff;
  width: max-content;
}
.btn-whatsapp:hover {
  background: #1fb958;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar {
  background: var(--ink);
  color: var(--ink-text);
}
.topbar-inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
}
.topbar-contact,
.topbar-contact a {
  display: flex;
  align-items: center;
}
.topbar-contact {
  gap: 20px;
}
.topbar-contact a {
  gap: 6px;
}
.topbar-contact a:hover {
  color: var(--red);
}
.topbar-slogan {
  color: var(--ink-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-shell {
  border-bottom: 1px solid var(--border);
  background: rgba(251, 250, 248, 0.95);
  backdrop-filter: blur(10px);
}
.navbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  flex: none;
}
.brand img {
  width: auto;
  height: 48px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(37, 37, 39, 0.8);
  transition: 0.2s;
}
.desktop-nav a:hover {
  color: var(--red);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  place-items: center;
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
}
.menu-close {
  display: none;
}
.menu-toggle[aria-expanded="true"] .menu-open {
  display: none;
}
.menu-toggle[aria-expanded="true"] .menu-close {
  display: block;
}
.mobile-nav {
  display: none;
}
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-text);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: 112px;
  padding-bottom: 112px;
}
.rise {
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.slider-wrap.rise {
  animation-delay: 0.15s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1 {
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  margin: 24px 0;
}
.hero-copy > p {
  max-width: 540px;
  color: var(--ink-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}
.cursor {
  display: inline-block;
  margin-left: 4px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  margin-top: 48px;
}
.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.35;
}
.trust-list svg {
  color: var(--red);
  margin-top: 2px;
}
.slider-wrap {
  position: relative;
}
.slider-wrap:before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid rgba(220, 41, 46, 0.5);
}
.slider {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 250, 248, 0.9);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: 0.2s;
}
.slider-arrow:hover {
  background: var(--red);
  color: #fff;
}
.slider-arrow.prev {
  left: 12px;
}
.slider-arrow.next {
  right: 12px;
}
.caption {
  position: absolute;
  z-index: 4;
  bottom: 16px;
  left: 16px;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  box-shadow: var(--red-shadow);
}
.caption strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1;
}
.caption span {
  display: block;
  margin-top: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.slider-dots {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.slider-dots button.active {
  background: var(--red);
}
.section-heading {
  max-width: 672px;
}
.section-heading h2,
.specialty-grid h2,
.projects-heading h2,
.why h2,
.detail-intro h2,
.process h2,
.detail-why h2 {
  margin-top: 16px;
}
.section-heading p,
.specialty-grid p,
.projects-heading > p,
.detail-intro > div > p {
  margin: 16px 0 0;
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.7;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.service-card.dark {
  background: var(--ink);
  color: var(--ink-text);
}
.service-image {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.service-card:hover .service-image img {
  transform: scale(1.05);
}
.service-icon {
  position: absolute;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--red);
  color: #fff;
  font-size: 1.5rem;
}
.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}
.service-body h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.service-body h3 a:hover {
  color: var(--red);
}
.service-body > p {
  color: var(--muted-text);
  font-size: 0.875rem;
}
.dark .service-body > p {
  color: var(--ink-muted);
}
.service-body ul {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.service-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
}
.service-body li svg {
  color: var(--red);
  margin-top: 2px;
}
.text-link {
  align-self: flex-start;
  margin-top: 28px;
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 700;
}
.specialties {
  background: var(--muted);
}
.specialty-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}
.specialty-grid ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.specialty-grid li {
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 4px solid var(--red);
  background: #fff;
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.specialty-grid li span {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--red);
}
.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.projects-heading > div {
  max-width: 672px;
}
.projects-heading > p {
  max-width: 384px;
}
.project-list {
  display: grid;
  gap: 64px;
  margin-top: 56px;
}
.project-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 56px;
}
.project-row.reverse .project-image {
  order: 2;
}
.project-image {
  position: relative;
}
.project-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.project-image span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--ink);
  color: var(--ink-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.project-number {
  font-family: var(--display);
  font-size: 3.75rem;
  font-weight: 600;
  color: rgba(220, 41, 46, 0.2);
}
.project-copy h3 {
  font-size: 1.875rem;
  margin: 8px 0 0;
}
.project-copy p {
  margin: 16px 0 0;
  color: var(--muted-text);
  line-height: 1.7;
}
.project-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
}
.project-copy li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}
.project-copy li svg {
  color: var(--red);
}
.service-gallery {
  background: var(--muted);
}
.gallery-heading {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.gallery-heading .eyebrow:before {
  display: none;
}
.gallery-heading h2 {
  margin-top: 16px;
}
.gallery-heading p {
  margin: 16px auto 0;
  color: var(--muted-text);
  line-height: 1.7;
}
.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 40px auto 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  padding: 5px;
  box-shadow: var(--shadow);
}
.gallery-tabs button,
.gallery-subtabs button {
  min-width: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.gallery-tabs button {
  padding: 13px 16px;
  font-size: 0.875rem;
}
.gallery-tabs button:hover,
.gallery-subtabs button:hover {
  color: var(--red);
}
.gallery-tabs button[aria-selected="true"] {
  background: var(--red);
  color: #fff;
  box-shadow: var(--red-shadow);
}
.gallery-tabs button:focus-visible,
.gallery-subtabs button:focus-visible {
  outline: 3px solid rgba(220, 41, 46, 0.3);
  outline-offset: 2px;
}
.service-gallery-panel[hidden],
.gallery-grid[hidden] {
  display: none;
}
.service-gallery-panel {
  animation: gallery-in 0.35s ease both;
}
.gallery-subtabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 28px;
}
.gallery-subtabs button {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 10px 18px;
  color: var(--muted-text);
  font-size: 0.8rem;
}
.gallery-subtabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ink-text);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  animation: gallery-in 0.4s ease both;
}
.gallery-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}
.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
}
.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover img {
  transform: scale(1.04);
}
.gallery-card > div {
  padding: 24px;
}
.gallery-card h3 {
  margin: 0;
  font-size: 1.35rem;
}
.gallery-card p {
  margin: 8px 0 0;
  color: var(--muted-text);
  font-size: 0.875rem;
  line-height: 1.65;
}
.gallery-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.gallery-card:hover .gallery-link span {
  display: inline-block;
  transform: translateX(3px);
}
@keyframes gallery-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.why {
  position: relative;
  background: var(--ink);
  color: var(--ink-text);
}
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.why blockquote {
  margin: 32px 0 0;
  border-left: 4px solid var(--red);
  padding-left: 20px;
  color: var(--ink-muted);
  font-family: var(--display);
  font-size: 1.25rem;
  font-style: italic;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.why-cards article {
  background: var(--ink);
  padding: 28px;
  transition: 0.2s;
}
.why-cards article:hover {
  background: var(--ink-soft);
}
.why-icon {
  color: var(--red);
  font-size: 1.7rem;
  font-weight: 700;
}
.why-cards h3 {
  margin: 20px 0 0;
  font-size: 1.125rem;
}
.why-cards p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}
.contact-section {
  padding: 80px 0 112px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
.contact-grid h2 {
  margin-top: 16px;
}
.contact-grid > div > p {
  margin: 16px 0 0;
  color: var(--muted-text);
  line-height: 1.7;
}
.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: 0.2s;
}
.contact-card:hover {
  border-color: var(--red);
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
}
.contact-icon.dark {
  background: var(--ink);
}
.contact-card small {
  display: block;
  color: var(--muted-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact-card strong {
  display: block;
  font-size: 1.25rem;
  margin-top: 2px;
}
.quote-form {
  align-self: start;
  border-radius: 8px;
  background: var(--ink);
  color: var(--ink-text);
  padding: 40px;
  box-shadow: var(--shadow);
}
.quote-form h3 {
  font-size: 1.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #d7d5d2;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 12px 16px;
  font-size: 0.875rem;
  outline: none;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(220, 41, 46, 0.3);
}
.form-grid select,
.form-grid textarea {
  grid-column: 1/-1;
}
.quote-form > .btn {
  width: 100%;
  margin-top: 24px;
}
.form-note {
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.75rem;
  margin: 12px 0 0;
}
.home-cta {
  background: var(--red);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.home-cta .kicker,
.detail-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.home-cta h2 {
  margin-top: 12px;
}
.home-cta h2 em {
  color: rgba(255, 255, 255, 0.9);
}
.home-cta > div > p:not(.kicker) {
  max-width: 672px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.9);
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
footer {
  border-top: 1px solid var(--border);
  background: var(--muted);
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.footer-main img {
  height: 48px;
  width: auto;
}
.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.875rem;
  font-weight: 600;
}
.footer-main a:hover {
  color: var(--red);
}
.footer-slogan {
  padding: 16px;
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.footer-copy {
  padding: 16px;
  text-align: center;
  color: var(--muted-text);
  font-size: 0.75rem;
}
.detail-hero {
  position: relative;
  isolation: isolate;
  min-height: 512px;
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-text);
}
.detail-hero > img,
.detail-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.detail-hero > img {
  z-index: -2;
  object-fit: cover;
}
.detail-overlay {
  z-index: -1;
  background: rgba(32, 32, 34, 0.75);
}
.detail-hero-inner {
  min-height: 512px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-top: 80px;
  padding-bottom: 80px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.breadcrumb a:hover,
.breadcrumb strong {
  color: var(--red);
}
.detail-hero h1 {
  max-width: 896px;
  margin: 20px 0 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
}
.detail-hero-inner > p {
  max-width: 672px;
  margin: 20px 0 0;
  color: var(--ink-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.detail-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 64px;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
}
.solution-grid article {
  background: #fff;
  padding: 28px;
}
.solution-grid article > span,
.process-grid li > span {
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 600;
  color: rgba(220, 41, 46, 0.3);
}
.solution-grid h3,
.process-grid h3 {
  margin: 12px 0 0;
  font-size: 1.25rem;
}
.solution-grid p,
.process-grid p {
  margin: 8px 0 0;
  color: var(--muted-text);
  font-size: 0.875rem;
  line-height: 1.7;
}
.process {
  background: var(--muted);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.process-grid li {
  position: relative;
  border-top: 4px solid var(--red);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}
.process-grid li > span {
  font-size: 3rem;
  color: rgba(220, 41, 46, 0.2);
}
.detail-why {
  background: var(--ink);
  color: var(--ink-text);
}
.detail-why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}
.detail-why p {
  max-width: 672px;
  margin: 20px 0 0;
  color: var(--ink-muted);
  line-height: 1.7;
}
.detail-why ul {
  display: grid;
  gap: 12px;
}
.detail-why li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  font-weight: 600;
}
.detail-why li svg {
  color: var(--red);
}
.detail-cta {
  background: var(--red);
  color: #fff;
  padding: 56px 0;
}
.detail-cta > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.detail-cta h2 {
  margin: 8px 0 0;
  font-size: 2.25rem;
}
.detail-cta > .container > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 1023px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .mobile-nav > a:not(.btn) {
    border-radius: var(--radius);
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
  }
  .mobile-nav > a:not(.btn):hover {
    background: var(--muted);
  }
  .mobile-nav .btn {
    margin-top: 8px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .specialty-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .detail-intro {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }
  .topbar-slogan {
    display: none;
  }
  .hero-grid {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .trust-list {
    grid-template-columns: 1fr;
  }
  .slider-arrow {
    display: none;
  }
  .services-grid {
    margin-top: 40px;
  }
  .specialty-grid ol {
    grid-template-columns: 1fr;
  }
  .projects-heading {
    align-items: start;
    flex-direction: column;
  }
  .project-list {
    gap: 48px;
    margin-top: 40px;
  }
  .project-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .project-row.reverse .project-image {
    order: 0;
  }
  .why-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding: 64px 0 80px;
  }
  .detail-why-grid {
    grid-template-columns: 1fr;
  }
  .detail-cta > .container {
    align-items: start;
    flex-direction: column;
  }
  .footer-main {
    align-items: start;
    flex-direction: column;
  }
  .footer-main nav {
    flex-direction: column;
  }
  .detail-hero-inner {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .detail-intro {
    gap: 36px;
  }
}
@media (max-width: 639px) {
  .gallery-tabs {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .gallery-tabs button {
    width: 100%;
  }
  .gallery-subtabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .gallery-subtabs button {
    width: 100%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card > div {
    padding: 20px;
  }
  .container {
    padding-inline: 20px;
  }
  .topbar-email,
  .desktop-contact {
    display: none;
  }
  .navbar {
    height: 72px;
  }
  .brand img {
    height: 44px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
  .caption {
    right: 16px;
  }
  .caption strong {
    font-size: 1rem;
  }
  .caption span {
    letter-spacing: 0.1em;
  }
  .slider-dots {
    bottom: auto;
    top: 16px;
  }
  .why-cards {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    gap: 40px;
  }
  .quote-form {
    padding: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid select,
  .form-grid textarea {
    grid-column: auto;
  }
  .contact-card strong {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }
  .process-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .detail-actions {
    flex-direction: column;
  }
  .detail-actions .btn {
    width: 100%;
  }
  .detail-cta > .container > div:last-child {
    width: 100%;
    flex-direction: column;
  }
  .detail-cta .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Fire system gallery cards */
.fire-solutions .gallery-grid,
.route-gallery .gallery-grid {
  gap: 20px;
}
.fire-gallery-card {
  border-radius: 10px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.fire-gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 41, 46, 0.3);
  box-shadow: 0 18px 42px -18px rgba(25, 25, 28, 0.3);
}
.gallery-image {
  display: block;
  overflow: hidden;
}
.fire-gallery-card > div {
  position: relative;
  min-height: 182px;
  padding: 22px 72px 22px 22px;
}
.gallery-category {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fire-gallery-card h3 {
  font-size: 1.3rem;
}
.fire-gallery-card p {
  font-size: 0.82rem;
  line-height: 1.55;
}
.gallery-arrow {
  position: absolute;
  right: 20px;
  bottom: 22px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(220, 41, 46, 0.09);
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 800;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.fire-gallery-card:hover .gallery-arrow {
  background: var(--red);
  color: #fff;
  transform: translateX(3px);
}
.route-gallery .gallery-grid {
  margin-top: 40px;
}
@media (max-width: 639px) {
  .fire-category-tabs {
    grid-template-columns: 1fr;
  }
  .fire-gallery-card > div {
    min-height: 168px;
    padding: 20px 68px 20px 20px;
  }
  .gallery-arrow {
    right: 18px;
    bottom: 20px;
  }
}

/* Interactive three-category services showcase */
.services-showcase {
  --service-accent: var(--red);
  --service-accent-dark: var(--red-dark);
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--bg), var(--card) 52%, var(--muted));
  padding-block: 72px;
  transition: background 0.35s ease;
}
.services-showcase.theme-water {
  --service-accent: #1267b8;
  --service-accent-dark: #0c4f91;
  background: linear-gradient(115deg, #f4faff, var(--card) 52%, #e8f4fc);
}
.services-showcase.theme-civil {
  --service-accent: #9a5a22;
  --service-accent-dark: #754116;
  background: linear-gradient(115deg, #fffaf3, var(--card) 52%, #f4eadc);
}
.services-showcase-heading {
  max-width: 780px;
}
.services-showcase-heading .eyebrow {
  color: var(--service-accent);
  font-size: 0.64rem;
  letter-spacing: 0.3em;
}
.services-showcase-heading .eyebrow:before,
.services-showcase-heading .eyebrow:after {
  display: block;
  content: "";
  width: 38px;
  height: 1px;
  background: var(--service-accent);
}
.services-showcase-heading h2 {
  margin-top: 8px;
  font-size: clamp(2.35rem, 4vw, 3.45rem);
}
.services-showcase-heading h2 em {
  color: var(--service-accent);
}
.services-showcase-heading p {
  max-width: 680px;
  margin-top: 8px;
  font-size: 0.84rem;
}
.solution-service-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1000px;
  margin: 30px auto 34px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 32px -18px rgba(25, 25, 28, 0.3);
}
.solution-service-tabs button {
  display: flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-right: 1px solid var(--border);
  background: var(--card);
  padding: 12px 18px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}
.solution-service-tabs button:last-child {
  border-right: 0;
}
.solution-service-tabs button:hover {
  color: var(--service-accent);
}
.solution-service-tabs button[aria-selected="true"] {
  position: relative;
  z-index: 1;
  background: var(--service-accent);
  color: var(--card);
  box-shadow: 0 10px 25px -10px color-mix(in srgb, var(--service-accent) 62%, transparent);
}
.solution-service-tabs button:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid color-mix(in srgb, var(--service-accent) 30%, transparent);
  outline-offset: -3px;
}
.solution-service-tabs svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}
.service-solution-panel[hidden] {
  display: none;
}
.service-solution-panel {
  animation: gallery-in 0.4s ease both;
}
.service-gallery-intro {
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}
.service-gallery-intro > span {
  color: var(--service-accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.service-gallery-intro h3 {
  margin: 7px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.1;
}
.service-gallery-intro p {
  max-width: 720px;
  margin: 8px auto 0;
  color: var(--muted-text);
  font-size: 0.82rem;
  line-height: 1.6;
}
.solution-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.solution-gallery-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 6px 18px -12px rgba(25, 25, 28, 0.32);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}
.solution-card-image {
  display: block;
  aspect-ratio: 16/8.8;
  overflow: hidden;
  background: var(--muted);
}
.solution-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.solution-gallery-card strong {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 12px 15px;
  font-size: 0.78rem;
  line-height: 1.35;
}
.solution-gallery-card:hover {
  border-color: var(--service-accent);
  box-shadow: 0 15px 30px -16px rgba(25, 25, 28, 0.42);
  transform: translateY(-4px);
}
.solution-gallery-card:hover img {
  transform: scale(1.05);
}
@media (max-width: 1023px) {
  .solution-service-tabs {
    max-width: 760px;
  }
  .solution-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .services-showcase {
    padding-block: 56px;
  }
  .solution-service-tabs {
    grid-template-columns: 1fr;
    margin-block: 24px;
  }
  .solution-service-tabs button {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .solution-service-tabs button:last-child {
    border-bottom: 0;
  }
  .solution-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .solution-gallery-card strong {
    font-size: 0.84rem;
  }
  .service-gallery-intro {
    margin-bottom: 20px;
  }
}

/* ==========================================================
   Additions & fixes (PHP version)
   ========================================================== */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
body.no-scroll { overflow: hidden; }
:focus-visible { outline: 3px solid rgba(220, 41, 46, 0.45); outline-offset: 2px; }

/* Header */
.site-header .nav-shell { transition: box-shadow 0.25s ease, background 0.25s ease; }
.site-header.scrolled .nav-shell { background: rgba(255, 255, 255, 0.97); box-shadow: 0 8px 24px -16px rgba(25, 25, 28, 0.35); }
.desktop-nav a { position: relative; padding: 6px 0; }
.desktop-nav a.active { color: var(--red); }
.desktop-nav a.active:after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); border-radius: 2px; }
.mobile-nav a.active { color: var(--red); }
.brand img { width: auto; }

/* Hero background photo + typewriter */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; filter: saturate(0.9); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(32, 32, 34, 0.97) 0%, rgba(32, 32, 34, 0.86) 45%, rgba(32, 32, 34, 0.6) 100%); }
.hero .grid-lines { z-index: 0; }
.hero-grid { z-index: 1; }
.type-line { display: inline-block; min-height: 1.05em; white-space: nowrap; }
.cursor { color: var(--red); font-style: normal; font-weight: 400; margin-left: 2px; }
.type-line.typing .cursor { animation: none; opacity: 1; }
.slider-progress { position: absolute; left: 0; right: 0; top: 0; z-index: 6; height: 3px; background: rgba(255, 255, 255, 0.15); }
.slider-progress span { display: block; height: 100%; width: 0; background: var(--red); }
.slider.paused .slider-progress span, .slider-wrap.paused .slider-progress span { opacity: 0.4; }
.slide { visibility: hidden; transition: opacity 0.7s ease, visibility 0s linear 0.7s; }
.slide.active { visibility: visible; transition: opacity 0.7s ease, visibility 0s; }
.slide img { transform: scale(1.04); transition: transform 6s ease; }
.slide.active img { transform: scale(1); }

/* Service cards: themed icon badges */
.service-icon svg { width: 26px; height: 26px; stroke-width: 1.8; }
.service-card.theme-water .service-icon { background: var(--blue); }
.service-card.theme-civil .service-icon { background: var(--gold); }
.service-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(25,25,28,.06), 0 22px 44px -18px rgba(25,25,28,.3); }
.text-link span { display: inline-block; transition: transform 0.2s; }
.text-link:hover span { transform: translateX(4px); }
.specialty-grid .text-link { display: inline-block; margin-top: 24px; }

/* Showcase tabs */
.solution-service-tabs button span { text-align: left; }
.solution-gallery-card strong { justify-content: space-between; gap: 8px; }
.solution-gallery-card strong span { color: var(--service-accent); transition: transform 0.2s; }
.solution-gallery-card:hover strong span { transform: translateX(3px); }
.panel-in { animation: gallery-in 0.4s ease both; }
.panel-more { display: flex; justify-content: center; margin-top: 32px; }
.btn-accent { background: var(--service-accent, var(--red)); color: #fff; box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--service-accent, var(--red)) 70%, transparent); }
.btn-accent:hover { background: var(--service-accent-dark, var(--red-dark)); }
.btn-outline { border: 1.5px solid var(--border); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* Why icons (now SVG) */
.why-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: rgba(220, 41, 46, 0.12); }
.why-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }

/* Enquiry form */
.form-sub { margin: 4px 0 0; color: var(--ink-muted); font-size: 0.9rem; }
.form-grid .field { display: grid; gap: 6px; min-width: 0; }
.form-grid .field > span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.form-grid .field.full { grid-column: 1 / -1; }
.form-grid select { grid-column: auto; }
.form-grid textarea { resize: vertical; min-height: 110px; }
.form-grid .invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(220, 41, 46, 0.35) !important; }
.quote-form .btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; border-radius: var(--radius); font-size: 0.9rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.success { padding: 12px 16px; background: rgba(37, 211, 102, 0.14); border: 1px solid rgba(37, 211, 102, 0.45); color: #c9f7da; }
.form-status.error { padding: 12px 16px; background: rgba(220, 41, 46, 0.16); border: 1px solid rgba(220, 41, 46, 0.5); color: #ffd3d4; }
.contact-card .address { font-size: 1rem; line-height: 1.45; }
.btn-whatsapp .wa-logo { width: 20px; height: 20px; }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 10px 28px -8px rgba(18, 140, 70, 0.7); transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .wa-logo { width: 30px; height: 30px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin: 16px 0 0; color: var(--muted-text); font-size: 0.9rem; line-height: 1.7; max-width: 340px; }
.site-footer h3 { margin: 0 0 16px; font-family: var(--sans); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); }
.site-footer ul { display: grid; gap: 10px; font-size: 0.9rem; }
.site-footer ul a { color: var(--muted-text); transition: color 0.2s; }
.site-footer ul a:hover { color: var(--red); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted-text); line-height: 1.5; }
.footer-contact svg { color: var(--red); margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #fff; transition: 0.2s; }
.footer-social a:hover { border-color: var(--red); color: var(--red); }

/* Detail pages */
.detail-intro h2 em { color: var(--red); }
.feature-title { margin: 32px 0 14px; font-size: 1.25rem; }
.feature-list { display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 0.95rem; }
.feature-list svg { color: var(--red); margin-top: 2px; }
.solution-grid article { transition: background 0.2s; }
.solution-grid article:hover { background: #fffafa; }
.fire-gallery-card.current { border-color: var(--red); box-shadow: 0 0 0 2px rgba(220, 41, 46, 0.25), var(--shadow); }
.system-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; font-size: 0.85rem; }
.system-switch > span { color: var(--muted-text); font-weight: 600; }
.system-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-weight: 700; transition: 0.2s; }
.system-switch a:hover { border-color: var(--red); color: var(--red); }
.system-switch svg { color: var(--red); }

/* Fire systems tabs (fire safety page) */
.system-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; margin: 36px auto 28px; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.system-tabs button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; border: 0; border-right: 1px solid var(--border); background: #fff; font-size: 0.85rem; font-weight: 800; cursor: pointer; transition: background 0.2s, color 0.2s; }
.system-tabs button:last-child { border-right: 0; }
.system-tabs button:hover { color: var(--red); }
.system-tabs button[aria-selected="true"] { background: var(--red); color: #fff; }
.system-tabs svg { width: 22px; height: 22px; }
.system-panel[hidden] { display: none; }
.system-lead { max-width: 760px; margin: 0 auto 28px; text-align: center; color: var(--muted-text); line-height: 1.7; }
.system-lead a { color: var(--red); font-weight: 700; white-space: nowrap; }

/* Work gallery with lightbox */
.work-gallery { background: var(--muted); }
.work-gallery.theme-water { background: linear-gradient(115deg, #f4faff, #fff 52%, #e8f4fc); }
.work-gallery.theme-civil { background: linear-gradient(115deg, #fffaf3, #fff 52%, #f4eadc); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.photo-tile { position: relative; display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 3 / 2; background: var(--ink); box-shadow: var(--shadow); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s; }
.photo-tile:hover img { transform: scale(1.06); opacity: 0.85; }
.photo-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); color: #fff; font-weight: 700; font-size: 0.9rem; }
.photo-zoom { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); opacity: 0; transform: scale(0.8); transition: 0.25s; }
.photo-tile:hover .photo-zoom, .photo-tile:focus-visible .photo-zoom { opacity: 1; transform: scale(1); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(15, 15, 17, 0.92); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { margin-top: 12px; text-align: center; color: #fff; font-weight: 600; }
.lightbox button { flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lightbox .lb-close { position: absolute; top: 16px; right: 16px; }

/* Other services cards */
.other-services { background: #fff; }
.other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.other-card { position: relative; display: block; min-height: 260px; overflow: hidden; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.other-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 0.6s ease, opacity 0.3s; }
.other-card:hover img { transform: scale(1.05); opacity: 0.4; }
.other-body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 28px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); }
.other-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--red); margin-bottom: 6px; }
.other-body strong { font-family: var(--display); font-size: 1.6rem; }
.other-body small { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }

/* 404 */
.not-found { padding: 120px 0; background: var(--bg); }
.not-found h1 { margin: 20px 0 0; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.1; }
.not-found p { margin: 18px 0 0; color: var(--muted-text); max-width: 560px; line-height: 1.7; }

/* Reveal on scroll (only when JS is running) */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.js-reveal .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .other-grid { grid-template-columns: 1fr; }
  .system-tabs { grid-template-columns: 1fr; }
  .system-tabs button { border-right: 0; border-bottom: 1px solid var(--border); }
  .system-tabs button:last-child { border-bottom: 0; }
  .lightbox { padding: 12px; }
  .lightbox .lb-prev, .lightbox .lb-next { position: absolute; bottom: 20px; }
  .lightbox .lb-prev { left: calc(50% - 56px); }
  .lightbox .lb-next { right: calc(50% - 56px); }
}
@media (max-width: 639px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .photo-grid { grid-template-columns: 1fr; }
  .form-grid .field.full { grid-column: auto; }
  .hero h1 { font-size: 2.7rem; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .hero-bg { opacity: 0.2; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; }
}
.slider-arrow { color: var(--ink); }
.slider-arrow:hover { color: #fff; }
@media (max-width: 639px) { .hero .eyebrow { letter-spacing: 0.14em; font-size: 0.66rem; } }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; }
.form-note svg { color: var(--green); }
.cf-turnstile { margin-top: 20px; min-height: 65px; }

/* Specialised Work: compact, wide project photos */
.project-list { gap: 48px; }
.project-row { grid-template-columns: 1fr 1.1fr; gap: 48px; }
.project-image img { height: auto; aspect-ratio: 16 / 10; max-height: 340px; }
@media (max-width: 767px) {
  .project-row { grid-template-columns: 1fr; gap: 20px; }
  .project-image img { aspect-ratio: 16 / 9; max-height: 240px; }
  .project-number { font-size: 2.6rem; }
}
.project-row.reverse { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 767px) { .project-row.reverse { grid-template-columns: 1fr; } }
