/*
  Thenura Suppliers Website Styles
  Theme: Enterprise-level, minimal dark construction website using blue and red accents.
  Edit brand colors from the :root variables below.
*/

:root {
  --primary-blue: #0b5cff;
  --deep-blue: #071a38;
  --accent-red: #e01e37;
  --sand-gold: #d8aa50;
  --safety-yellow: #f2c94c;
  --concrete-gray: #9aa4b2;
  --dark-bg: #050912;
  --dark-card: rgba(7, 16, 31, 0.84);
  --text-light: #f4f7fb;
  --text-muted: #9fb0c8;
  --border-soft: rgba(255, 255, 255, 0.12);
  --border-card: rgba(201, 221, 255, 0.44);
  --border-card-strong: rgba(232, 240, 255, 0.6);
  --shadow-blue: rgba(11, 92, 255, 0.35);
  --shadow-red: rgba(224, 30, 55, 0.25);
  --button-glass: rgba(5, 12, 24, 0.3);
  --button-glass-strong: rgba(5, 12, 24, 0.54);
  --button-border: rgba(232, 240, 255, 0.4);
  --header-height: 86px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-light);
  background: var(--dark-bg);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.lang-si {
  font-family: "Noto Sans Sinhala", "Nirmala UI", "Iskoola Pota", "Inter", sans-serif;
}

a { text-decoration: none; }

h1, h2, h3, h4, h5, h6,
p, a, button, li, span, small, strong {
  overflow-wrap: anywhere;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 22px);
}

body.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #071a38;
  background: #050912;
  opacity: 1;
  visibility: visible;
  transition: opacity .55s ease, visibility .55s ease;
}

.site-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #050912;
}

.site-loader::after {
  content: none;
}

.loader-done .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__panel {
  position: relative;
  z-index: 1;
  width: min(330px, calc(100vw - 48px));
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: 1.8rem 1.7rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(239, 244, 251, .94));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.site-loader__logo {
  width: min(210px, 64vw);
  height: auto;
  display: block;
  object-fit: contain;
  animation: loaderLogoPulse 1.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 10px 20px rgba(7, 26, 56, .12));
}

.site-loader__bar {
  width: min(220px, 68vw);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 26, 56, .12);
}

.site-loader__bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
  animation: loaderBuild 1.12s ease-in-out infinite;
}

@keyframes loaderBuild {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(255%); }
}

@keyframes loaderLogoPulse {
  0% { opacity: .88; transform: translateY(0) scale(.995); }
  100% { opacity: 1; transform: translateY(-2px) scale(1); }
}

/* Navbar */
.site-header {
  background: rgba(248, 251, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 26, 56, 0.12);
  box-shadow: 0 16px 42px rgba(5, 9, 18, 0.14);
}

.navbar {
  min-height: 86px;
  padding: .35rem 0;
  --bs-navbar-color: rgba(7, 26, 56, 0.72);
  --bs-navbar-hover-color: #071a38;
  --bs-navbar-active-color: #071a38;
  --bs-navbar-toggler-border-color: rgba(7, 26, 56, 0.22);
}

.navbar-brand {
  min-width: 0;
  padding: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 72px;
  max-height: 72px;
  max-width: 210px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
  color: white;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 12px 30px var(--shadow-blue);
}

.brand-text { font-weight: 800; letter-spacing: 0; }

.nav-link {
  color: rgba(7, 26, 56, 0.72) !important;
  font-weight: 700;
  font-size: 0.94rem;
  padding-inline: .42rem !important;
}

.nav-link:hover,
.nav-link.active { color: #071a38 !important; }

.navbar-toggler {
  border: 2px solid rgba(7, 26, 56, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .1), rgba(224, 30, 55, .08)),
    rgba(255, 255, 255, .44);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  border-color: rgba(7, 26, 56, 0.42);
  box-shadow: 0 10px 24px rgba(7, 26, 56, .16);
  transform: translateY(-1px);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%287, 26, 56, 0.86%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: .18rem;
  padding: 0.25rem;
  border: 2px solid rgba(7, 26, 56, 0.14);
  border-radius: 999px;
  background: rgba(7, 26, 56, 0.05);
}

.language-switcher-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(7, 26, 56, .78);
  background: rgba(255, 255, 255, .38);
  font-size: .98rem;
}

.lang-btn {
  border: 1px solid transparent;
  color: rgba(7,26,56,.7);
  background: rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform .22s ease, color .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
  white-space: normal;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: #071a38;
  border-color: rgba(7, 26, 56, .18);
  background: rgba(255, 255, 255, .56);
  box-shadow: 0 8px 18px rgba(7, 26, 56, .12);
  transform: translateY(-1px);
}

.lang-btn.active {
  color: white;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
  box-shadow: 0 12px 22px rgba(0,0,0,.24);
}

.language-hint {
  position: fixed;
  top: calc(var(--header-height) + 14px);
  right: max(16px, calc((100vw - 1320px) / 2 + 16px));
  z-index: 1040;
  width: min(360px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: .72rem;
  padding: .78rem .82rem;
  border: 1px solid rgba(7, 26, 56, .14);
  border-radius: 14px;
  color: #071a38;
  background: rgba(248, 251, 255, .96);
  box-shadow: 0 18px 44px rgba(5, 9, 18, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.language-hint.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.language-hint__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
  font-size: 1rem;
}

.language-hint p {
  flex: 1 1 auto;
  color: inherit;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.45;
}

.language-hint p span {
  display: block;
}

.language-hint p span + span {
  margin-top: .12rem;
  color: rgba(7, 26, 56, .76);
}

.language-hint__close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: rgba(7, 26, 56, .72);
  background: rgba(7, 26, 56, .08);
  transition: color .2s ease, background .2s ease;
}

.language-hint__close:hover,
.language-hint__close:focus-visible {
  color: #071a38;
  background: rgba(7, 26, 56, .14);
}

.btn-whatsapp {
  color: white;
  background:
    linear-gradient(135deg, rgba(33, 192, 99, .42), rgba(12, 168, 75, .32)),
    var(--button-glass);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.05;
  box-shadow: 0 14px 32px rgba(33, 192, 99, 0.18);
  backdrop-filter: blur(12px) saturate(1.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  white-space: nowrap;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible,
.btn-whatsapp:active {
  color: #ffffff;
  border-color: rgba(255,255,255,.52);
  background:
    linear-gradient(135deg, rgba(33, 192, 99, .66), rgba(12, 168, 75, .56)),
    rgba(5, 12, 24, .56);
  box-shadow: 0 18px 38px rgba(33, 192, 99, .28);
  transform: translateY(-2px);
}

.nav-whatsapp-copy {
  display: grid;
  gap: .08rem;
  text-align: left;
}

.nav-contact-number {
  font-size: .74rem;
  font-weight: 800;
  opacity: .92;
}

/* General sections */
.section-padding,
.compact-section {
  position: relative;
}

.section-padding { padding: 110px 0; }
.compact-section { padding: 38px 0; }
.border-section {
  border-top: 2px solid var(--border-soft);
  border-bottom: 2px solid var(--border-soft);
  background: rgba(10, 25, 48, 0.12);
}

.hero-section::after,
.section-padding::after,
.compact-section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  z-index: 4;
  width: min(82vw, 980px);
  height: 10px;
  pointer-events: none;
  transform: translateX(-50%) rotate(-0.12deg);
  opacity: .76;
  background:
    linear-gradient(90deg, transparent 0%, rgba(111, 150, 199, .28) 12%, rgba(255, 255, 255, .86) 50%, rgba(224, 30, 55, .26) 88%, transparent 100%),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 255, 255, .34) 43px 46px, transparent 47px 84px);
  clip-path: polygon(0 42%, 12% 37%, 25% 46%, 39% 38%, 53% 51%, 67% 39%, 82% 48%, 100% 40%, 100% 66%, 82% 62%, 67% 70%, 53% 59%, 39% 68%, 25% 58%, 12% 66%, 0 59%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .12),
    0 7px 22px rgba(11, 92, 255, .12);
}

.hero-section { --kicker-accent: #8fbfff; }
#services { --kicker-accent: #7fb0ff; }
#projects { --kicker-accent: #ff8a98; }
#process { --kicker-accent: #f2c94c; }
#about { --kicker-accent: #7fd6bf; }
#construction-projects { --kicker-accent: #c9a6ff; }
#contact { --kicker-accent: #63d8ff; }

.section-kicker {
  --kicker-grid: rgba(255, 255, 255, .08);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.44rem;
  max-width: 100%;
  color: #f4f8ff;
  padding: 0.46rem 0.72rem;
  border: 2px solid rgba(222, 234, 255, .2);
  border-left: 3px solid var(--kicker-accent, #8fbfff);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .16), rgba(224, 30, 55, .1)),
    linear-gradient(var(--kicker-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--kicker-grid) 1px, transparent 1px),
    rgba(5, 12, 24, .72);
  background-size: auto, 18px 18px, 18px 18px, auto;
  backdrop-filter: blur(12px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 14px 32px rgba(0, 0, 0, .24);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.section-kicker i {
  color: var(--kicker-accent, #8fbfff);
  font-size: 0.95rem;
  line-height: 1;
}

.section-title,
.section-mini-title,
.hero-title {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-title { font-size: clamp(2.7rem, 7vw, 5.8rem); }
.section-title { font-size: clamp(2.1rem, 4vw, 4rem); }
.section-mini-title { font-size: 1.8rem; }

.section-title,
.section-mini-title,
.hero-title {
  display: inline-block;
  color: #ffffff;
  background-color: #f6f9ff;
  background-image:
    linear-gradient(rgba(83, 126, 183, .34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 126, 183, .3) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #d8e3f2 100%);
  background-position: center;
  background-size: 13px 13px, 13px 13px, 100% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .28px rgba(255, 255, 255, .28);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .08)) drop-shadow(0 10px 24px rgba(5, 9, 18, .2));
}

.section-title::after,
.section-mini-title::after,
.hero-title::after {
  content: "";
  display: block;
  width: min(48%, 360px);
  height: 4px;
  margin-top: .24em;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .68), rgba(111, 150, 199, .34), rgba(224, 30, 55, .16), transparent),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(255,255,255,.22) 37px 38px, transparent 39px 70px);
  clip-path: polygon(0 45%, 22% 41%, 45% 50%, 68% 43%, 100% 47%, 100% 58%, 68% 62%, 45% 56%, 22% 61%, 0 55%);
  opacity: .72;
}

body.lang-si .hero-title,
body.lang-si .section-title {
  letter-spacing: 0;
  line-height: 1.3;
}

body.lang-si .hero-title { font-size: clamp(2.15rem, 5.8vw, 4.95rem); }
body.lang-si .section-title { font-size: clamp(1.85rem, 3.55vw, 3.35rem); }

body.lang-si .section-kicker,
body.lang-si .nav-link,
body.lang-si .btn,
body.lang-si .service-card,
body.lang-si .process-card,
body.lang-si .about-card,
body.lang-si .map-card {
  line-height: 1.65;
}

.section-subtitle,
.hero-text {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}
.text-muted-custom { color: var(--text-muted) !important; }

/* Hero */
.hero-section {
  position: relative;
  padding: calc(var(--header-height) + 56px) 0 80px;
}

.btn-primary-custom,
.btn-outline-custom {
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 900;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  white-space: normal;
  min-height: 48px;
  backdrop-filter: blur(12px) saturate(1.12);
  box-shadow:
    0 14px 34px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.1);
}

.btn-primary-custom {
  color: white;
  border: 2px solid var(--button-border);
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .38), rgba(224, 30, 55, .28)),
    var(--button-glass);
}

.btn-primary-custom:hover,
.btn-outline-custom:hover,
.btn-primary-custom:focus-visible,
.btn-outline-custom:focus-visible,
.btn-primary-custom:active,
.btn-outline-custom:active {
  color: white;
  border-color: rgba(255,255,255,.68);
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .64), rgba(224, 30, 55, .5)),
    var(--button-glass-strong);
  box-shadow:
    0 18px 42px rgba(11, 92, 255, .26),
    0 8px 26px rgba(224, 30, 55, .16),
    inset 0 1px 0 rgba(255,255,255,.16);
  transform: translateY(-3px);
}

.btn-outline-custom {
  color: white;
  border: 2px solid var(--border-card);
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .12), rgba(224, 30, 55, .08)),
    var(--button-glass);
}

.btn-primary-custom,
.btn-outline-custom,
.btn-whatsapp,
.btn-card-action,
.filter-btn,
.lang-btn,
.language-hint__close,
.carousel-control-btn,
.carousel-dot,
.back-to-top,
.navbar-toggler {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary-custom:focus-visible,
.btn-outline-custom:focus-visible,
.btn-whatsapp:focus-visible,
.btn-card-action:focus-visible,
.filter-btn:focus-visible,
.lang-btn:focus-visible,
.language-hint__close:focus-visible,
.carousel-control-btn:focus-visible,
.carousel-dot:focus-visible,
.back-to-top:focus-visible,
.navbar-toggler:focus-visible {
  outline: 2px solid rgba(242, 201, 76, .76);
  outline-offset: 3px;
}

.hero-stats-wrap {
  width: 100%;
  margin-top: 1.25rem;
}

.hero-stats {
  align-items: stretch;
}

.hero-stats .col {
  display: flex;
}

.stat-card {
  height: 100%;
  width: 100%;
  min-height: 116px;
  padding: 1.08rem 1rem;
  border: 2px solid var(--border-card);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .14), rgba(224, 30, 55, .1)),
    linear-gradient(rgba(232, 240, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 240, 255, .06) 1px, transparent 1px),
    rgba(5, 12, 24, .76);
  background-size: auto, 20px 20px, 20px 20px, auto;
  backdrop-filter: blur(14px) saturate(1.12);
  box-shadow:
    0 18px 46px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.08);
  text-align: center;
}
.stat-card strong { display: block; color: white; font-size: clamp(1.2rem, 1.7vw, 1.48rem); font-weight: 900; line-height: 1.12; }
.stat-card span { display: block; color: var(--text-muted); margin-top: 0.32rem; font-size: 0.98rem; font-weight: 800; line-height: 1.35; }
.hero-stats .col:nth-child(-n+2) .stat-card strong {
  font-size: clamp(2rem, 3.25vw, 3rem);
  line-height: .98;
}

.hero-visual { position: relative; min-height: 540px; }
.construction-panel {
  position: absolute;
  inset: 50px 0 40px 0;
  z-index: 1;
  border: 2px solid var(--border-card);
  border-radius: 36px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.construction-panel::before,
.construction-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.construction-panel::before {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.02), rgba(5, 9, 18, 0.34)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.045) 19px, transparent 21px);
}

.construction-panel::after {
  z-index: 7;
  opacity: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.72) 0 1px, transparent 2px 13px),
    repeating-linear-gradient(105deg, rgba(242,201,76,.38) 0 2px, transparent 3px 24px);
  mix-blend-mode: screen;
}

.construction-panel.is-sketching::after {
  animation: categorySketchPass .72s steps(8, end);
}

.panel-grid {
  position: absolute; inset: 0; z-index: 2; opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Category carousel: one category card is displayed at a time inside the construction panel. */
.category-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.category-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.category-slide.is-active {
  display: block;
  animation: categoryCardSketchIn .62s steps(7, end) both;
}

.category-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(1.04) contrast(1.02) brightness(1);
  transform: scale(1.02);
}

.category-slide-caption {
  position: absolute;
  left: 28px;
  right: 104px;
  bottom: 30px;
  z-index: 4;
  padding: .85rem 1rem;
  border: 2px solid rgba(255,255,255,.16);
  border-left: 3px solid var(--safety-yellow);
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .14), rgba(224, 30, 55, .08)),
    rgba(5, 12, 24, .82);
  backdrop-filter: blur(12px);
}

.category-slide-caption span {
  display: block;
  color: #ffffff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.category-slide-caption p {
  margin: .35rem 0 0;
  color: #dfe8fb;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.45;
}

.category-slide.is-active .category-slide-caption {
  animation: categoryTextSketch .52s steps(6, end) .12s both;
}

.category-carousel-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem;
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(5, 12, 24, .82);
  backdrop-filter: blur(14px);
}

.carousel-control-btn,
.carousel-dot {
  border: 2px solid rgba(255,255,255,.16);
  color: white;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .12), rgba(224, 30, 55, .08)),
    rgba(5, 12, 24, .52);
  box-shadow:
    0 10px 22px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(10px) saturate(1.08);
}

.carousel-control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.carousel-control-btn:hover,
.carousel-control-btn:focus-visible,
.carousel-control-btn:active {
  border-color: rgba(255,255,255,.58);
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .64), rgba(224, 30, 55, .5)),
    var(--button-glass-strong);
  box-shadow: 0 14px 30px rgba(11, 92, 255, .24);
  transform: translateY(-2px);
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  opacity: .7;
  transition: width .22s ease, opacity .22s ease, background .22s ease, transform .22s ease, border-color .22s ease;
}

.carousel-dot:hover,
.carousel-dot:focus-visible,
.carousel-dot:active {
  opacity: 1;
  border-color: rgba(255,255,255,.58);
  transform: scale(1.15);
}

.carousel-dot.is-active {
  width: 22px;
  opacity: 1;
  background: var(--safety-yellow);
}

@keyframes categoryCardSketchIn {
  0% {
    opacity: .22;
    filter: grayscale(1) contrast(1.45);
    clip-path: polygon(0 0, 18% 0, 13% 100%, 0 100%);
  }
  48% {
    opacity: .72;
    clip-path: polygon(0 0, 70% 0, 63% 100%, 0 100%);
  }
  100% {
    opacity: 1;
    filter: grayscale(0) contrast(1);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes categoryTextSketch {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); }
  56% { opacity: .75; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes categorySketchPass {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); }
  22% { opacity: .82; }
  70% { opacity: .6; clip-path: inset(0 0 0 0); }
  100% { opacity: 0; clip-path: inset(0 0 0 100%); }
}

body.lang-si .category-slide-caption span,
body.lang-si .project-overlay span,
body.lang-si .construction-project-content span {
  letter-spacing: 0;
  text-transform: none;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex; align-items: center; gap: .7rem;
  padding: .9rem 1rem;
  border: 2px solid var(--border-card);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .14), rgba(224, 30, 55, .08)),
    rgba(5, 12, 24, .82);
  backdrop-filter: blur(14px);
  font-size: 1.02rem;
  font-weight: 900;
  box-shadow: 0 20px 48px rgba(0,0,0,.28);
  animation: floatY 5s ease-in-out infinite;
}
.floating-card i { color: #fff; font-size: 1.35rem; }
.card-1 { top: 15px; left: 20px; }
.card-2 { right: 12px; bottom: 4px; animation-delay: 1s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Areas */
.area-list, .brand-strip, .supply-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.area-list span, .brand-strip span, .supply-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid rgba(214, 229, 255, .22);
  color: #eaf1ff;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .12), rgba(224, 30, 55, .08)),
    rgba(5, 12, 24, .74);
  backdrop-filter: blur(10px) saturate(1.08);
  padding: .65rem .85rem;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.45;
}

/* Cards */
.service-card, .process-card, .about-card, .map-card {
  border: 2px solid var(--border-card);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(11,92,255,.12), rgba(224,30,55,.08)),
    var(--dark-card);
  backdrop-filter: blur(20px) saturate(1.12);
  box-shadow:
    0 24px 70px rgba(0,0,0,.2),
    0 0 0 1px rgba(255,255,255,.035),
    inset 0 1px 0 rgba(255,255,255,.075);
}
.service-card {
  padding: 2rem;
  cursor: pointer;
  transition: .35s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(11,92,255,.16), rgba(224,30,55,.12));
  opacity: 0; transition: .35s ease;
}
.service-card:hover { transform: translateY(-10px); border-color: var(--border-card-strong); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 58px; height: 58px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.service-card h3, .process-card h3, .about-card h3 { font-weight: 900; font-size: 1.35rem; }
.service-card p, .process-card p { color: var(--text-muted); line-height: 1.75; }
.service-card ul { color: #dfe8fb; padding-left: 1.1rem; line-height: 1.8; }
.btn-card-action {
  color: white;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .13), rgba(224, 30, 55, .09)),
    var(--button-glass);
  border: 2px solid var(--border-card);
  border-radius: 999px;
  font-weight: 900;
  margin-top: .5rem;
  white-space: normal;
  backdrop-filter: blur(10px) saturate(1.08);
  box-shadow:
    0 12px 28px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn-card-action:hover,
.btn-card-action:focus-visible,
.btn-card-action:active {
  color: white;
  border-color: rgba(255,255,255,.62);
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .64), rgba(224, 30, 55, .5)),
    var(--button-glass-strong);
  box-shadow: 0 16px 34px rgba(11,92,255,.22);
  transform: translateY(-2px);
}

/* Projects */
.project-section { background: rgba(10,25,48,.1); border-top: 2px solid var(--border-soft); border-bottom: 2px solid var(--border-soft); }
.project-filter-summary {
  max-width: 760px;
  margin-top: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--kicker-accent, #ff8a98);
}
.project-filter-summary h3 {
  margin: 0 0 .34rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}
.project-filter-summary p {
  color: var(--text-muted);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.75;
}
.filter-buttons { display: inline-flex; gap: .45rem; flex-wrap: wrap; justify-content: flex-end; }
.filter-btn {
  border: 2px solid var(--border-card);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .12), rgba(224, 30, 55, .08)),
    var(--button-glass);
  backdrop-filter: blur(10px) saturate(1.08);
  color: white;
  padding: .62rem .9rem;
  font-weight: 900;
  box-shadow:
    0 12px 26px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
  white-space: normal;
}
.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn:active {
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .64), rgba(224, 30, 55, .5)),
    var(--button-glass-strong);
  border-color: rgba(255,255,255,.58);
  box-shadow: 0 16px 34px rgba(11,92,255,.22);
  transform: translateY(-2px);
}
.project-item { transition: .35s ease; }
.project-item.hide { opacity: 0; transform: scale(.96); display: none; }
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 320px;
  border: 2px solid var(--border-card);
  background: #0a1220;
  box-shadow:
    0 22px 56px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.project-gallery {
  position: relative;
  height: 320px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 4px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.project-gallery--quad {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.project-gallery img:only-child,
.project-gallery img:last-child:nth-child(odd):not(:only-child) {
  grid-column: 1 / -1;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  filter: saturate(.95) brightness(.78);
  transition: .45s ease;
}

.project-gallery.is-expandable img {
  cursor: zoom-in;
}

.project-gallery.has-extra-images img:nth-of-type(n + 5) {
  display: none;
}

.project-card:hover .project-gallery img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(.9);
}

.project-gallery-expand {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .46rem;
  max-width: calc(100% - 2rem);
  min-height: 42px;
  padding: .62rem .8rem;
  border: 1px solid rgba(232,240,255,.48);
  border-radius: 12px;
  color: var(--text-light);
  background: rgba(5,12,24,.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.project-gallery-expand small {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 .28rem;
  border-radius: 999px;
  color: #071a38;
  background: #f4f7fb;
  font-size: .68rem;
  font-weight: 900;
}

.project-gallery-expand:hover,
.project-gallery-expand:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.72);
  background: rgba(7,26,56,.86);
  outline: none;
}

.project-overlay {
  position: absolute; inset: auto 0 0 0;
  z-index: 2;
  padding: 2rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.88));
}
.project-overlay span { color: #bcd0ff; font-weight: 900; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.project-overlay h3 {
  font-size: clamp(1.32rem, 2.2vw, 1.68rem);
  line-height: 1.16;
  font-weight: 900;
  margin-top: .45rem;
}

body.lang-si .project-overlay h3 {
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.48;
  font-weight: 800;
}

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

.project-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.project-gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(1,7,16,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.project-gallery-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(820px, calc(100vh - 2rem));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(232,240,255,.34);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(11,92,255,.14), rgba(224,30,55,.1)),
    rgba(5,12,24,.96);
  box-shadow: 0 30px 90px rgba(0,0,0,.48);
}

.project-gallery-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: .2rem .2rem 0;
}

.project-gallery-modal__eyebrow {
  display: inline-flex;
  margin-bottom: .35rem;
  color: #bcd0ff;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.lang-si .project-gallery-modal__eyebrow {
  text-transform: none;
  letter-spacing: 0;
}

.project-gallery-modal__header h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 900;
}

.project-gallery-modal__close,
.project-gallery-modal__nav,
.project-gallery-modal__thumb {
  border: 1px solid rgba(232,240,255,.36);
  color: var(--text-light);
  background: rgba(5,12,24,.74);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.project-gallery-modal__close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.project-gallery-modal__stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0,0,0,.28);
}

.project-gallery-modal__stage img {
  width: 100%;
  height: min(62vh, 590px);
  object-fit: contain;
}

.project-gallery-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.project-gallery-modal__nav--prev { left: 1rem; }
.project-gallery-modal__nav--next { right: 1rem; }

.project-gallery-modal__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72px, 96px);
  gap: .65rem;
  overflow-x: auto;
  padding: .1rem .1rem .25rem;
}

.project-gallery-modal__thumb {
  height: 68px;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  opacity: .68;
}

.project-gallery-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery-modal__thumb.is-active {
  opacity: 1;
  border-color: rgba(255,255,255,.78);
  box-shadow: 0 0 0 2px rgba(11,92,255,.34);
}

.project-gallery-modal__close:hover,
.project-gallery-modal__close:focus-visible,
.project-gallery-modal__nav:hover,
.project-gallery-modal__nav:focus-visible,
.project-gallery-modal__thumb:hover,
.project-gallery-modal__thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.72);
  background: rgba(7,26,56,.86);
  outline: none;
}

.project-gallery-modal__nav:hover,
.project-gallery-modal__nav:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

/* Construction Projects */
.construction-projects-section {
  position: relative;
  background: rgba(10,25,48,.08);
  border-top: 2px solid var(--border-soft);
  border-bottom: 2px solid var(--border-soft);
}

.construction-project-carousel {
  position: relative;
  padding: 1rem;
  overflow: hidden;
}

.construction-project-frame {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 2px solid var(--border-card);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(11,92,255,.14), rgba(224,30,55,.1)),
    #08111f;
}

.construction-project-frame::before,
.construction-project-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.construction-project-frame::before {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(5,9,18,0), rgba(5,9,18,.24)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.045) 19px, transparent 21px);
}

.construction-project-frame::after {
  z-index: 7;
  opacity: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.72) 0 1px, transparent 2px 13px),
    repeating-linear-gradient(105deg, rgba(242,201,76,.38) 0 2px, transparent 3px 24px);
  mix-blend-mode: screen;
}

.construction-project-carousel.is-sketching .construction-project-frame::after {
  animation: categorySketchPass .72s steps(8, end);
}

.construction-project-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .1;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 36px 36px;
}

.construction-project-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.construction-project-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.construction-project-slide.is-active {
  display: block;
  animation: categoryCardSketchIn .62s steps(7, end) both;
}

.construction-project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02) brightness(.98);
  transform: scale(1.02);
}

.construction-project-content {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  z-index: 4;
  max-width: 620px;
  padding: 1.25rem 1.35rem;
  border: 2px solid var(--border-card);
  border-left: 4px solid var(--safety-yellow);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .14), rgba(224, 30, 55, .08)),
    rgba(5, 12, 24, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 48px rgba(0,0,0,.28);
}

.construction-project-slide.is-active .construction-project-content {
  animation: categoryTextSketch .52s steps(6, end) .12s both;
}

.construction-project-content span {
  display: block;
  color: #bcd0ff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.construction-project-content h3 {
  margin: .55rem 0 .45rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  font-weight: 900;
  line-height: 1.12;
}

.construction-project-content p {
  margin: 0;
  color: #dfe8fb;
  line-height: 1.7;
}

.construction-project-content small {
  display: inline-flex;
  margin-top: .85rem;
  padding: .42rem .62rem;
  border: 2px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-weight: 900;
}

.construction-project-controls {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem;
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(5, 12, 24, .82);
  backdrop-filter: blur(14px);
}

/* Process */
.process-card { padding: 2rem; min-height: 245px; }
.process-number {
  display: inline-flex;
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.7);
}

/* About */
.about-section { position: relative; }
.about-card { padding: 2rem; }
.supply-grid { margin-top: 1.5rem; }
.supply-grid span { border-radius: 16px; }
.major-brands-card {
  width: 100%;
  overflow: hidden;
  text-align: center;
}
.major-brands-title {
  font-weight: 900;
  line-height: 1.3;
}
.major-brand-logos {
  --brand-logo-height: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  width: 100%;
}
.major-brand-logos img {
  display: block;
  flex: 0 1 auto;
  width: auto;
  height: var(--brand-logo-height);
  max-width: min(220px, 100%);
  background: #ffffff;
  border: 1px solid #ffffff !important;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  margin-inline: 0 !important;
}

/* Contact */
.contact-section { background: rgba(10,25,48,.1); }
.contact-list { display: grid; gap: .8rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
  border: 2px solid var(--border-card);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .12), rgba(224, 30, 55, .08)),
    rgba(5, 12, 24, .76);
  backdrop-filter: blur(12px) saturate(1.08);
  color: white;
  transition: .25s ease;
}
.contact-item:hover { color: white; transform: translateX(6px); border-color: rgba(255,255,255,.26); }
.contact-item i {
  width: 45px; height: 45px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
  font-size: 1.2rem;
}
.contact-item span { display: grid; }
.contact-item small {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}
.whatsapp-special {
  background: linear-gradient(135deg, rgba(33,192,99,.2), rgba(11,92,255,.08));
  box-shadow: 0 18px 45px rgba(33,192,99,.14);
}
.whatsapp-special i { background: linear-gradient(135deg, #21c063, #0ca84b); }
.map-card { padding: 1rem; }
.map-header { display: flex; justify-content: space-between; gap: 1rem; align-items: start; padding: 1rem; }
.map-header h3 { font-weight: 900; }
.map-header p { color: var(--text-muted); margin-bottom: 0; }
.map-card iframe { width: 100%; min-height: 460px; border: 0; border-radius: 24px; filter: grayscale(.2) invert(.9) contrast(.9); }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--button-border);
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .14), rgba(224, 30, 55, .1)),
    var(--button-glass);
  backdrop-filter: blur(14px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255,255,255,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible,
.back-to-top:active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .64);
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .64), rgba(224, 30, 55, .5)),
    var(--button-glass-strong);
  box-shadow: 0 18px 40px rgba(11, 92, 255, .22);
  transform: translateY(-2px);
}

.back-to-top i {
  font-size: 1.2rem;
  line-height: 1;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .12), rgba(224, 30, 55, .08)),
    rgba(5, 9, 18, .96);
  box-shadow: 0 -20px 60px rgba(0,0,0,.24);
}

.site-footer__top {
  padding: 52px 0 34px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.7rem);
}

.footer-column {
  min-width: 0;
}

.footer-brand {
  margin: 0 0 .78rem;
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.25;
}

.footer-title {
  margin: .12rem 0 1rem;
  color: #ffffff;
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-text,
.footer-area,
.footer-contact-line,
.footer-bottom p {
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.72;
}

.footer-area {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-list,
.footer-contact-list {
  display: grid;
  gap: .58rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a,
.footer-contact-line,
.footer-bottom-links a,
.footer-dev a {
  color: #dfe8fb;
  transition: color .2s ease, transform .2s ease;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.45;
}

.footer-list a i {
  color: var(--safety-yellow);
  font-size: .86rem;
  line-height: 1;
}

.footer-contact-line {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: .55rem;
  align-items: start;
  overflow-wrap: anywhere;
}

.footer-contact-line i {
  color: var(--safety-yellow);
  font-size: 1rem;
  line-height: 1.65;
}

.footer-contact-line strong {
  display: block;
  color: #ffffff;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.35;
}

.footer-list a:hover,
.footer-list a:focus-visible,
.footer-contact-line:hover,
.footer-contact-line:focus-visible,
.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible,
.footer-dev a:hover,
.footer-dev a:focus-visible {
  color: #ffffff;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  transform: translateX(3px);
}

.site-footer__bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(5, 9, 18, .42);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.3rem;
}

.footer-bottom-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .62rem;
  color: rgba(223, 232, 251, .58);
  font-size: .9rem;
}

.footer-bottom-links a,
.footer-dev {
  font-size: .9rem;
  font-weight: 600;
}

.footer-dev {
  color: var(--text-muted);
}

.footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.6;
}

/* Legal pages */
.legal-section {
  min-height: 100vh;
  padding: calc(var(--header-height) + 72px) 0 92px;
}

.legal-shell {
  max-width: 980px;
  margin-inline: auto;
}

.legal-card {
  padding: clamp(1.35rem, 3.6vw, 2.6rem);
  border: 2px solid var(--border-card);
  border-radius: 24px;
  font-family: "Inter", sans-serif;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, .12), rgba(224, 30, 55, .08)),
    rgba(5, 12, 24, .88);
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow:
    0 24px 70px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.legal-eyebrow {
  margin-bottom: .75rem;
  color: var(--text-muted);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
}

.legal-title {
  margin-bottom: 1rem;
}

.legal-intro,
.legal-card p,
.legal-card li {
  color: #dfe8fb;
  line-height: 1.8;
}

.legal-intro {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.legal-card h2 {
  margin: 2rem 0 .75rem;
  color: #ffffff;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.3;
}

.legal-card ul {
  margin: .65rem 0 0;
  padding-left: 1.2rem;
}

.legal-card li + li {
  margin-top: .32rem;
}

.legal-contact {
  display: grid;
  gap: .45rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
}

.legal-contact p {
  margin: 0;
}

.legal-contact a {
  color: #ffffff;
}

.legal-card a {
  color: #ffffff;
  font-weight: 700;
}

.legal-card a:hover,
.legal-card a:focus-visible {
  color: var(--safety-yellow);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: .75s ease; }
[data-reveal].show { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .site-loader,
  .site-loader__logo,
  .site-loader__bar span {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: .7rem;
    padding: 1rem;
    border: 1px solid rgba(7, 26, 56, 0.12);
    border-radius: 18px;
    background: rgba(248, 251, 255, 0.98);
    box-shadow: 0 20px 50px rgba(5, 9, 18, .18);
  }
  .navbar-nav {
    align-items: stretch !important;
    text-align: center;
  }
  .nav-link { padding: .72rem 1rem; }
  .language-switcher {
    margin: .7rem auto;
    justify-content: center;
  }
  .btn-whatsapp { width: min(100%, 260px); margin-inline: auto; }
  .hero-section,
  .compact-section,
  .section-padding {
    text-align: center;
  }
  .hero-actions,
  .area-list,
  .brand-strip,
  .supply-grid,
  .filter-buttons {
    justify-content: center;
  }
  .hero-stats { justify-content: center; }
  .hero-visual {
    min-height: 440px;
    max-width: 520px;
    margin-inline: auto;
  }
  .contact-list {
    max-width: 580px;
    margin-inline: auto;
  }
  .contact-item { text-align: left; }
  .map-header {
    text-align: center;
    align-items: center;
  }
  .project-section .row.align-items-end { text-align: center; }
  .project-filter-summary {
    margin-inline: auto;
    padding-top: .25rem;
    padding-left: 0;
    border-top: 0;
    border-left: 0;
  }
  .section-padding { padding: 82px 0; }
  .service-card ul { text-align: left; }
  .construction-project-frame {
    min-height: 500px;
  }
  .construction-project-content {
    max-width: calc(100% - 48px);
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-nav {
    gap: .1rem !important;
  }
  .nav-link {
    font-size: .84rem;
  }
  .btn-whatsapp {
    padding-inline: .68rem;
    gap: .28rem;
  }
  .nav-contact-number {
    font-size: .68rem;
  }
  .brand-logo {
    max-width: 178px;
  }
}

@media (max-width: 575px) {
  :root { --header-height: 76px; }
  .navbar { min-height: 76px; }
  .brand-logo {
    height: 60px;
    max-height: 60px;
    max-width: 165px;
  }
  .hero-section { padding-top: calc(var(--header-height) + 42px); }
  .hero-title { font-size: clamp(2.1rem, 11vw, 2.75rem); }
  body.lang-si .hero-title { font-size: clamp(1.78rem, 9.5vw, 2.35rem); }
  .hero-text,
  .section-subtitle { font-size: 1rem; line-height: 1.75; }
  .hero-actions .btn {
    width: 100%;
  }
  .section-kicker {
    width: auto;
    border-radius: 10px;
  }
  .filter-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-content: stretch;
  }
  .filter-btn { width: 100%; }
  .map-header { flex-direction: column; }
  .map-card iframe { min-height: 330px; }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
  .service-card,
  .process-card,
  .about-card { padding: 1.35rem; }
  .major-brand-logos {
    --brand-logo-height: 82px;
    justify-content: center;
    gap: 1rem;
  }
  .major-brand-logos img {
    height: var(--brand-logo-height);
    max-width: min(154px, 100%);
  }
  .service-card ul {
    display: inline-block;
    max-width: 100%;
    text-align: left;
  }
  .project-card,
  .project-gallery { height: 280px; min-height: 280px; }
  .project-gallery-expand {
    top: .8rem;
    right: .8rem;
    max-width: calc(100% - 1.6rem);
    min-height: 38px;
    padding: .54rem .66rem;
    font-size: .72rem;
  }
  .project-overlay {
    padding: 1.35rem;
    text-align: center;
  }
  .project-gallery-modal {
    padding: .7rem;
  }
  .project-gallery-modal__panel {
    max-height: calc(100vh - 1.4rem);
    gap: .75rem;
    padding: .75rem;
    border-radius: 18px;
  }
  .project-gallery-modal__header {
    align-items: center;
  }
  .project-gallery-modal__header h3 {
    font-size: 1.15rem;
  }
  .project-gallery-modal__stage img {
    height: min(58vh, 470px);
  }
  .project-gallery-modal__nav {
    width: 38px;
    height: 38px;
  }
  .project-gallery-modal__nav--prev { left: .55rem; }
  .project-gallery-modal__nav--next { right: .55rem; }
  .project-gallery-modal__thumbs {
    grid-auto-columns: 68px;
    gap: .5rem;
  }
  .project-gallery-modal__thumb {
    height: 58px;
  }
  .construction-project-carousel {
    padding: .65rem;
  }
  .construction-project-frame {
    min-height: 520px;
    border-radius: 22px;
  }
  .construction-project-content {
    left: 16px;
    right: 16px;
    bottom: 18px;
    max-width: none;
    padding: 1rem;
    text-align: left;
  }
  .construction-project-content h3 {
    font-size: 1.45rem;
  }
  .construction-project-content p {
    font-size: .95rem;
  }
  .construction-project-controls {
    top: 14px;
    right: 14px;
  }
  .category-slide-caption {
    left: 18px;
    right: 18px;
    bottom: 84px;
    padding: .72rem .82rem;
    text-align: left;
  }
  .category-slide-caption p { font-size: .84rem; }
  .category-carousel-controls {
    top: 14px;
    right: 14px;
  }
  .carousel-control-btn {
    width: 34px;
    height: 34px;
  }
  .floating-card {
    max-width: calc(100% - 16px);
    padding: .75rem .85rem;
  }
  .card-1 { left: 0; }
  .card-2 { right: 0; }
  .language-hint {
    top: calc(var(--header-height) + 10px);
    right: 12px;
    left: 12px;
    width: auto;
  }
  .site-footer__top {
    padding: 40px 0 28px;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    text-align: left;
  }
  .footer-title {
    margin-bottom: .72rem;
  }
  .footer-list {
    gap: .5rem;
  }
  .footer-bottom,
  .footer-bottom-links {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
