:root {
  --brand-red: #a73236;
  --brand-red-dark: #7e2629;
  --brand-light: #d9d9d9;
  --brand-mid: #8a8a8a;
  --brand-charcoal: #353238;
  --ink: #1d1f24;
  --muted: #5f636d;
  --bg: #f3f5f7;
  --card: #ffffff;
  --line: #dde2e8;
  --radius: 10px;
  --max: 1220px;
  --shadow: 0 18px 46px rgba(17, 20, 26, 0.12);
  --display-font: "Monument Extended", "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Montserrat", sans-serif;
  line-height: 1.55;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

video {
  display: block;
  max-width: 100%;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid #e2e5ea;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.header-mobile-actions {
  display: none;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.header-call-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(167, 50, 54, 0.16);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  box-shadow: 0 12px 24px rgba(167, 50, 54, 0.24);
}

.header-call-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: #3f4450;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand-red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: min(720px, 78svh);
  color: #fff;
  background: #20262d;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: -26px 0 0;
  will-change: transform;
  transition: transform 180ms ease-out;
}

.hero-image {
  position: absolute;
  inset: 0 -2vw;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
  transform-origin: center center;
  will-change: transform;
  animation: heroSoftZoom 34s ease-in-out infinite alternate;
}

@keyframes heroSoftZoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.12);
  }
}

.hero::before {
  position: absolute;
  inset: -20% -8%;
  background:
    radial-gradient(circle at 15% 24%, rgba(167, 50, 54, 0.24) 0%, rgba(167, 50, 54, 0) 54%),
    radial-gradient(circle at 84% 72%, rgba(145, 198, 255, 0.2) 0%, rgba(145, 198, 255, 0) 50%);
  content: "";
  pointer-events: none;
  z-index: 0;
  animation: heroHazeDrift 14s ease-in-out infinite alternate;
}

@keyframes heroHazeDrift {
  from {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1.8%, 1.4%, 0) scale(1.05);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(88deg, rgba(15, 17, 22, 0.82) 0%, rgba(15, 17, 22, 0.34) 62%, rgba(15, 17, 22, 0.28) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 40px;
  padding: clamp(84px, 15vh, 160px) 0 62px;
}

.hero h1 {
  margin-bottom: 18px;
  font-family: var(--display-font);
  font-size: clamp(2rem, 5.3vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-emphasis {
  color: var(--brand-red);
  font-style: italic;
}

.hero-copy {
  max-width: 760px;
}

.hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.kicker {
  margin-bottom: 10px;
  font-family: var(--display-font);
  color: #f3b8ba;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

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

.hero-inline-media {
  display: none;
}

.hero-inline-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(17, 21, 29, 0.36);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: #1d222b;
  border-color: #cfd6df;
  background: #fff;
}

.text-link {
  color: var(--brand-red);
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
}

.hero-stat-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(22, 27, 35, 0.48);
  backdrop-filter: blur(6px);
}

.hero-stat-panel article {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-stat-panel strong {
  display: block;
  color: #fff;
  font-size: 1.6rem;
}

.hero-stat-panel span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.logo-rail {
  overflow: hidden;
  padding-block: 2px;
}

.logo-rail-track {
  display: flex;
  gap: 18px;
  width: max-content;
  align-items: center;
  animation: logoRailDrift 34s linear infinite;
}

.logo-rail-track img,
.logo-rail-track span {
  height: 42px;
  min-width: 124px;
  padding: 8px 14px;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  background: #fff;
}

.logo-rail-track img {
  object-fit: contain;
}

.logo-rail-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #404857;
  font-size: 0.79rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-stat-panel .logo-rail {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-panel .logo-rail-track img,
.hero-stat-panel .logo-rail-track span {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(250, 252, 255, 0.96);
}

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

section.block {
  padding: clamp(68px, 10vw, 118px) 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 980px;
}

.block-compact {
  padding: clamp(42px, 7vw, 74px) 0;
}

.block-tight-top {
  padding-top: clamp(24px, 4.4vw, 42px);
}

.block-soft {
  background: #edf1f5;
}

.page-hero {
  padding: clamp(70px, 9vw, 110px) 0 44px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #181d25 0%, #232b35 100%);
  color: #fff;
}

.page-hero-tight {
  padding: clamp(46px, 7vw, 74px) 0 20px;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-family: var(--display-font);
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 1.02;
}

.page-hero .lead {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3.1vw, 3.1rem);
  line-height: 1.05;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-actions {
  margin-top: 20px;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: #c9d2dd;
  box-shadow: 0 22px 44px rgba(18, 23, 30, 0.18);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
}

.service-icon {
  aspect-ratio: 1.08;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  position: relative;
}

.service-icon::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 108%, rgba(167, 50, 54, 0.18) 0%, rgba(167, 50, 54, 0) 62%);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover .service-icon::after {
  opacity: 1;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.service-card-content {
  padding: 18px;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-best-for {
  margin-top: 10px !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 180ms ease, opacity 180ms ease;
}

.service-best-for strong {
  color: #313a49;
}

.service-card:hover .service-best-for,
.service-card:focus-within .service-best-for {
  max-height: 80px;
  opacity: 1;
}

.card-actions {
  margin-top: 12px;
}

.service-grid-compact .service-icon {
  aspect-ratio: 1.28;
}

.service-grid-compact .service-card-content {
  padding: 14px;
}

.service-grid-compact .service-card h3 {
  font-size: 1.04rem;
}

.service-grid-compact .service-card p {
  font-size: 0.86rem;
}

.service-grid-compact .service-best-for,
.service-grid-compact .card-actions {
  display: none;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.panel-inner {
  padding: 24px;
}

.panel-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.flow-step {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow-step strong {
  display: block;
  margin-bottom: 4px;
}

.flow-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.project-reel {
  margin-bottom: 16px;
  overflow: hidden;
}

.project-reel-video {
  width: 100%;
  aspect-ratio: 2.2;
  object-fit: cover;
}

.project-filter-dropdown {
  margin-bottom: 14px;
}

.project-filter-details {
  position: relative;
  width: min(420px, 100%);
}

.project-filter-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #d0d8e2;
  border-radius: 8px;
  color: #2f3949;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
}

.project-filter-summary::-webkit-details-marker {
  display: none;
}

.project-filter-summary-icon {
  width: 16px;
  height: 2px;
  background: #2c3646;
  box-shadow: 0 -5px 0 #2c3646, 0 5px 0 #2c3646;
}

.project-filter-menu {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  display: grid;
  gap: 6px;
  max-height: 280px;
  overflow: auto;
  padding: 8px;
  border: 1px solid #d0d8e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.project-filter-option {
  text-align: left;
  min-height: 36px;
  border: 1px solid #d0d8e2;
  border-radius: 7px;
  color: #344053;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: none;
}

.project-filter-option.is-active {
  color: #fff;
  border-color: var(--brand-red);
  background: var(--brand-red);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.gallery-item img {
  aspect-ratio: 1.18;
  width: 100%;
  object-fit: cover;
}

.gallery-item span {
  display: block;
  padding: 10px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #424852;
}

.gallery-open {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card .inner {
  padding: 22px;
}

.card h3 {
  font-size: 1.16rem;
}

.card p {
  color: var(--muted);
}

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

.career-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}

.career-card:hover,
.career-card:focus-visible {
  border-color: #c9d2dd;
  transform: translateY(-2px);
}

.career-card:focus-visible {
  outline: 2px solid rgba(167, 50, 54, 0.34);
  outline-offset: 2px;
}

.career-detail {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.career-card.is-open .career-detail {
  display: block;
}

.career-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.quote-form,
.contact-form,
.career-form,
.admin-form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #404754;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #ccd4dd;
  border-radius: 8px;
  padding: 10px 12px;
  color: #1f2329;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(167, 50, 54, 0.14);
  outline: 0;
}

.notice {
  margin: 0;
  color: #3c4655;
  font-size: 0.89rem;
}

.clean-list {
  margin: 16px 0 0;
  padding-left: 16px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d3dae2;
  color: #485160;
  background: #f5f7fa;
  font-size: 0.76rem;
  font-weight: 700;
}

.spares-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.3fr);
  gap: 12px;
  margin-bottom: 14px;
}

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

.spare-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.spare-card img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
}

.spare-body {
  padding: 14px;
}

.spare-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.spare-body h3 {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.spare-body p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.spare-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.spare-price {
  color: #27303d;
  font-weight: 800;
  font-size: 0.86rem;
}

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

.testimonial {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.testimonial p {
  margin-bottom: 12px;
  color: #303744;
}

.testimonial strong {
  display: block;
  font-size: 0.92rem;
}

.muted {
  color: var(--muted);
}

.cta-band {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-charcoal), #1f242e);
  color: #fff;
}

.cta-band h3 {
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.partner-carousel {
  overflow: hidden;
  padding: 4px 0;
}

.partner-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: partnerMarquee 38s linear infinite;
}

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

.partner-card {
  width: min(280px, 74vw);
  min-width: min(280px, 74vw);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.partner-card img {
  width: 100%;
  height: 88px;
  object-fit: contain;
  margin-bottom: 10px;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.partner-card-text {
  display: grid;
  align-content: center;
}

.partner-card-text strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.feature-video {
  background: #0f1319;
}

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: #1fa45a;
  box-shadow: 0 14px 34px rgba(14, 73, 41, 0.36);
  font-size: 0.88rem;
  font-weight: 800;
  gap: 8px;
}

.floating-whatsapp svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.quick-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 84;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16, 20, 27, 0.94);
  backdrop-filter: blur(6px);
  transform: translateY(115%);
  transition: transform 180ms ease;
}

.quick-cta-bar.is-visible {
  transform: translateY(0);
}

.quick-cta-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  font-size: 0.82rem;
  font-weight: 800;
}

.quick-cta-item-alt {
  background: #1a9a56;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.map-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8fb;
}

.map-card h4 {
  margin: 0 0 6px;
}

.map-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.map-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.site-footer {
  margin-top: 66px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  align-items: center;
  min-height: 84px;
  padding: 14px 0;
}

.footer-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.9rem;
}

.footer-contact-line .text-link {
  font-weight: 700;
}

.admin-shell {
  min-height: calc(100svh - 76px);
  padding: 34px 0 70px;
}

.admin-auth h1 {
  margin-bottom: 8px;
}

.admin-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.admin-topbar h2 {
  margin: 0;
}

.admin-top-actions {
  display: flex;
  gap: 10px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-metrics article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-metrics strong {
  display: block;
  font-size: 1.4rem;
}

.admin-metrics span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-tab {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #c9d2dc;
  border-radius: 8px;
  background: #f3f6fa;
  color: #2e3642;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-tab.is-active {
  color: #fff;
  border-color: var(--brand-red);
  background: var(--brand-red);
}

.admin-stack {
  display: grid;
  gap: 16px;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-pane-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.44fr) minmax(0, 0.56fr);
  gap: 18px;
  align-items: start;
}

.admin-pane-form h3,
.admin-pane-preview h4 {
  margin-top: 0;
}

.admin-preview-list {
  display: grid;
  gap: 10px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.admin-preview-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-preview-card img {
  width: 96px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
}

.admin-preview-card-quote {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-preview-card-text {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-preview-copy strong {
  display: block;
  margin-bottom: 4px;
}

.admin-preview-copy p {
  margin: 0 0 6px;
  color: #525a68;
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-item-actions {
  display: grid;
  gap: 6px;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edit-button,
.delete-button {
  min-height: 32px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
}

.edit-button {
  border: 1px solid #b7c6d8;
  color: #234266;
  background: #e8f1fb;
}

.admin-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.delete-button {
  border: 1px solid #e9b9be;
  color: #7d2b32;
  background: #fdecef;
}

.hidden-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.image-dropzone {
  position: relative;
  display: grid;
  gap: 8px;
  place-items: center;
  padding: 16px;
  border: 1px dashed #b8c7d7;
  border-radius: 8px;
  background: #f6f9fc;
  text-align: center;
  cursor: pointer;
}

.image-dropzone-hint {
  margin: 0;
  color: #4f5f73;
  font-size: 0.82rem;
}

.image-dropzone-preview {
  width: 100%;
  max-height: 170px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #d2dce7;
}

.image-dropzone.is-hover {
  border-color: #7d99b8;
  background: #edf4fb;
}

.image-dropzone.is-processing::after {
  content: "Processing image...";
  position: absolute;
  inset: auto 10px 10px 10px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(24, 31, 42, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
}

.timeline-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline-item.is-done {
  border-color: #b8dfc9;
  background: #e9f6ef;
}

.timeline-item.is-active {
  border-color: #f0c6ca;
  background: #fcedef;
}

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

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.85);
}

.gallery-modal-panel {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  padding: 12px;
  border-radius: 10px;
  background: #fff;
}

.gallery-modal-panel img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 1px solid #d4dae1;
  border-radius: 50%;
  color: #1f242c;
  background: #fff;
  font-size: 1.3rem;
}

#gallery-modal-title {
  margin: 10px 2px 4px;
  font-weight: 700;
}

body.modal-open {
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.message {
  padding: 10px;
  border-radius: 8px;
  font-size: 0.87rem;
}

.message.ok {
  color: #225a39;
  background: #e7f7ee;
  border: 1px solid #bce8cf;
}

.message.err {
  color: #732129;
  background: #fdeaea;
  border: 1px solid #f0b8bd;
}

.message:empty {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .partner-track,
  .logo-rail-track {
    animation: none;
  }
}

@media (max-width: 1040px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .header-mobile-actions,
  .header-call-button,
  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-open .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .site-header.is-open .site-nav a {
    padding: 12px;
  }

  .hero-inner,
  .section-head,
  .split-band,
  .admin-pane-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .card-grid,
  .careers-grid,
  .testimonial-grid,
  .spares-grid,
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 30px);
  }

  .header-row {
    gap: 12px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .header-mobile-actions {
    gap: 8px;
  }

  .hero {
    min-height: auto;
    color: var(--ink);
    background: #fff;
  }

  .hero::before,
  .hero-media,
  .hero-overlay {
    display: none;
  }

  .hero-inner {
    gap: 24px;
    padding: 30px 0 42px;
  }

  .hero .kicker {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 0.74rem;
  }

  .hero h1 {
    margin-bottom: 0;
    color: var(--ink);
    font-size: clamp(1.55rem, 8.8vw, 2.45rem);
    line-height: 1.02;
  }

  .hero-inline-media {
    display: block;
    margin: 14px 0 18px;
    background: #fff;
  }

  .hero p {
    color: #3f4651;
    font-size: 0.98rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

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

  .hero-chip {
    color: #364050;
    border-color: #d7dce4;
    background: #fff;
  }

  .hero-stat-panel {
    display: none;
  }

  .service-grid,
  .card-grid,
  .careers-grid,
  .gallery-grid,
  .testimonial-grid,
  .spares-grid,
  .form-row,
  .spares-toolbar,
  .flow-grid,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .footer-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .quick-cta-bar {
    display: grid;
  }
}
