:root {
  --navy-950: #0a162f;
  --navy-900: #112749;
  --navy-800: #193760;
  --navy-700: #21466f;
  --navy-600: #2d5a81;
  --charcoal: #1d1d1f;
  --black: #0a0a0d;
  --slate: #e7ebf1;
  --silver: #ebeff3;
  --muted: #5c6878;
  --muted-2: #7f8a99;
  --paper: #f5f5f7;
  --white: #ffffff;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 20px 45px rgba(16, 23, 42, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --header-height: 124px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.section {
  padding: 110px 0;
}

.section-alt {
  background: #f1f3f7;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-dark {
  color: var(--navy-700);
}

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

h1,
h2,
h3,
h4 {
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

p {
  font-size: 1.03rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, #163151 0%, #0b1f3d 100%);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(11, 23, 54, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(17, 39, 73, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

main {
  padding-top: var(--header-height);
}

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

.utility-bar {
  min-height: 60px;
  background: #101827;
  color: #cbd2df;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.utility-inner,
.utility-contact,
.utility-actions {
  display: flex;
  align-items: center;
}

.utility-inner {
  justify-content: space-between;
  min-height: 60px;
  gap: 24px;
}

.nav {
  transition: box-shadow 0.3s ease;
}

.site-header .container {
  width: min(1120px, calc(100% - 32px));
}

.utility-contact {
  gap: 32px;
}

.utility-contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #cbd2df;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.utility-contact a:hover {
  color: var(--white);
}

.utility-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #293448;
  color: var(--white);
  font-size: 0.85rem;
}

.utility-actions {
  gap: 16px;
}

.utility-actions > a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #293448;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s ease;
}

.utility-actions > a:hover {
  background: #386da5;
  transform: translateY(-2px);
}

.utility-divider {
  width: 1px;
  height: 28px;
  margin: 0 2px;
  background: rgba(255, 255, 255, 0.2);
}

.site-header.scrolled {
  height: 124px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 39, 73, 0.08);
  box-shadow: 0 8px 22px rgba(16, 23, 42, 0.04);
}

.settings {
  position: relative;
  flex: 0 0 auto;
}

.settings-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 39, 73, 0.14);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.settings-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.settings-toggle:hover,
.settings-toggle[aria-expanded="true"] {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-2px);
}

.settings-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 4;
  width: 210px;
  padding: 16px;
  border: 1px solid rgba(17, 39, 73, 0.12);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.settings-group + .settings-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 39, 73, 0.1);
}

.settings-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.settings-options button {
  min-height: 34px;
  border: 1px solid rgba(17, 39, 73, 0.14);
  border-radius: 8px;
  background: transparent;
  color: var(--navy-900);
  font-size: 0.78rem;
  cursor: pointer;
}

.settings-options button:hover,
.settings-options button.active {
  border-color: var(--navy-700);
  background: var(--navy-700);
  color: var(--white);
}

html[data-theme="dark"] body {
  background: #101827;
  color: #eef3f8;
}

html[data-theme="dark"] main,
html[data-theme="dark"] footer {
  background: #101827;
}

html[data-theme="dark"] .section-alt {
  background: #0d1627;
}

html[data-theme="dark"] .material-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .team-card,
html[data-theme="dark"] .testimonial-card,
html[data-theme="dark"] .contact-form-wrap,
html[data-theme="dark"] .leadership-card {
  background: #17243a;
  color: #eef3f8;
}

html[data-theme="dark"] main h2,
html[data-theme="dark"] main h3,
html[data-theme="dark"] main h4,
html[data-theme="dark"] main p,
html[data-theme="dark"] main .section-subtitle,
html[data-theme="dark"] footer h2,
html[data-theme="dark"] footer h3,
html[data-theme="dark"] footer p,
html[data-theme="dark"] footer a,
html[data-theme="dark"] footer li {
  color: #eef3f8;
}

html[data-theme="dark"] main p,
html[data-theme="dark"] footer p {
  color: #b7c3d4;
}

/* Keep the fixed navigation on its original light theme. */
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header.scrolled,
html[data-theme="dark"] .settings-menu {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-900);
}

html[data-theme="dark"] .nav-menu a,
html[data-theme="dark"] .settings-toggle,
html[data-theme="dark"] .settings-label,
html[data-theme="dark"] .settings-options button {
  color: var(--navy-900);
}

html[data-theme="dark"] .settings-options button:hover,
html[data-theme="dark"] .settings-options button.active {
  color: var(--white);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 292px;
  padding: 12px 0;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--navy-900);
  font-size: 0.93rem;
  font-weight: 600;
}

.nav-menu a {
  position: relative;
  transition: color 0.3s ease;
  color: var(--navy-900);
}

.nav-menu a:hover {
  color: var(--navy-700);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: rgba(16, 35, 73, 0.78);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.nav-contact {
  position: relative;
  flex: 0 0 auto;
  list-style: none;
}

.nav-contact-toggle {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-contact-toggle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--navy-700);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-contact-toggle:hover::after,
.nav-contact-toggle[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.nav-contact-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  z-index: 5;
  width: 240px;
  padding: 14px;
  border: 1px solid rgba(17, 39, 73, 0.12);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.nav-contact-title {
  display: block;
  margin: 2px 6px 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  border-radius: 10px;
  color: var(--navy-900);
}

.nav-contact-item:hover {
  background: var(--slate);
}

.nav-contact-icon {
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  font-weight: 700;
}

.nav-contact-item strong,
.nav-contact-item small {
  display: block;
}

.nav-contact-item strong {
  font-size: 0.88rem;
}

.nav-contact-item small {
  color: var(--muted);
  font-size: 0.76rem;
}

html[data-theme="dark"] .nav-contact-toggle {
  color: var(--white);
}

html[data-theme="dark"] .nav-contact-menu {
  background: var(--navy-900);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .nav-contact-item {
  color: var(--white);
}

html[data-theme="dark"] .nav-contact-item:hover {
  background: var(--navy-800);
}

.nav-cta {
  margin-left: 4px;
  border-radius: 10px;
  min-height: 64px;
  padding-inline: 38px;
}

.nav-menu a.nav-cta,
.nav-menu a.nav-cta:hover,
.nav-menu a.nav-cta:focus-visible {
  color: var(--white);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #cbd2df;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.language-label {
  min-width: 18px;
  line-height: 1;
  text-align: center;
  opacity: 0.58;
  transition: opacity 0.25s ease;
}

.language-toggle[aria-pressed="true"] .language-label:first-child,
.language-toggle[aria-pressed="false"] .language-label:last-child {
  opacity: 1;
}

.language-switch-track {
  position: relative;
  width: 28px;
  height: 16px;
  flex: 0 0 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.25s ease;
}

.language-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(4, 11, 21, 0.35);
  transition: transform 0.25s ease;
}

.language-toggle[aria-pressed="true"] .language-switch-track {
  background: #dce5ef;
}

.language-toggle[aria-pressed="true"] .language-switch-thumb {
  transform: translateX(12px);
  background: var(--white);
}

.language-toggle[aria-pressed="false"] .language-switch-track {
  background: rgba(255, 255, 255, 0.45);
}

.language-toggle[aria-pressed="false"] .language-switch-thumb {
  background: #d9e7f5;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, rgba(4, 11, 21, 0.84), rgba(15, 31, 58, 0.72));
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: slowPan 18s ease-in-out alternate infinite;
  filter: saturate(0.9) contrast(1.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 13, 26, 0.9) 0%, rgba(11, 23, 54, 0.76) 38%, rgba(11, 23, 54, 0.18) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 36px;
  width: min(var(--container), calc(100% - 32px));
  min-height: 760px;
  padding: 80px 0 90px;
}

.hero-copy {
  max-width: none;
  color: var(--white);
}

.hero-copy h1,
.hero-copy p {
  color: var(--white);
}

.hero-quote {
  min-height: 2.4em;
  display: flex;
  align-items: center;
  max-width: none;
  width: 100%;
  font-size: clamp(1.9rem, 3.8vw, 3.8rem);
  line-height: 1.08;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-quote.is-changing {
  opacity: 0;
  transform: translateY(12px);
}

.hero-subtitle {
  margin-bottom: 18px;
  font-size: clamp(0.95rem, 1.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.hero-description {
  max-width: 620px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

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

.trust-indicator {
  margin-top: 28px;
  font-size: 0.84rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.hero-window-panel {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1.1;
  background: linear-gradient(135deg, rgba(255,255,255,0.45), rgba(190,198,210,0.18));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 80px rgba(2, 7, 18, 0.4);
  clip-path: polygon(50% 0%, 100% 18%, 100% 82%, 50% 100%, 0% 82%, 0% 18%);
  transform: rotate(-8deg);
}

.panel-inner {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,0.8);
  clip-path: polygon(50% 0%, 100% 18%, 100% 82%, 50% 100%, 0% 82%, 0% 18%);
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(9, 16, 29, 0.08));
}

.panel-inner span {
  position: absolute;
  inset: 0;
}

.panel-inner span:nth-child(1) {
  width: 34%;
  height: 100%;
  left: 33%;
  border-left: 2px solid rgba(255,255,255,.7);
  border-right: 2px solid rgba(255,255,255,.7);
}

.panel-inner span:nth-child(2) {
  left: 0;
  right: 0;
  top: 51%;
  height: 16%;
  border-top: 2px solid rgba(255,255,255,.7);
  border-bottom: 2px solid rgba(255,255,255,.7);
}

.panel-inner span:nth-child(3) {
  inset: 10%;
  border: 1px solid rgba(255,255,255,.65);
  clip-path: polygon(50% 0%, 100% 18%, 100% 82%, 50% 100%, 0% 82%, 0% 18%);
}

.floating-label {
  position: absolute;
  z-index: 2;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(11, 23, 54, 0.7);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(10px);
  animation: floatLabel 7s ease-in-out infinite;
}

.label-one { top: 12%; left: 10%; }
.label-two { top: 22%; right: 10%; animation-delay: 0.8s; }
.label-three { bottom: 14%; left: 22%; animation-delay: 1.5s; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.section-subtitle {
  max-width: 740px;
  font-size: 1.08rem;
}

.swipe-hint {
  display: none;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.material-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11, 23, 54, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.card-image {
  height: 260px;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.material-card:hover .card-image {
  transform: scale(1.09);
}

.image-uPVC { background-image: url("Products/upvc.jpg"); }
.image-aluminium { background-image: url("Products/alum.jpg"); }
.image-wpc { background-image: url("Products/wpc panel.jpg"); }
.image-steel { background-image: url("Products/steel.jpg"); }
.image-glass { background-image: url("Products/glass.jpg"); }

.material-content {
  padding: 26px 22px 30px;
}

.material-content h3 {
  margin-bottom: 12px;
}

.material-content p {
  margin-bottom: 18px;
}

.material-content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-900);
}

.product-scroll-wrap {
  overflow: hidden;
}

.product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.333% - 17.34px);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.product-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(7, 13, 26, 0.7);
  backdrop-filter: blur(10px);
  color: var(--white);
}

.product-info span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.product-info h3 {
  margin: 0;
  font-size: 1.46rem;
}

.button-row {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.project-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.333% - 17.34px);
  gap: 26px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.project-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 420px;
  background: var(--navy-950);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.15);
}

.project-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px 22px;
  background: linear-gradient(180deg, rgba(7, 13, 26, 0) 0%, rgba(7, 13, 26, 0.8) 100%);
  color: var(--white);
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.project-overlay h3 {
  margin-bottom: 6px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.project-overlay p {
  margin: 0;
  color: rgba(255,255,255,0.76);
}

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

.service-item {
  padding: 30px 18px 22px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(11, 23, 54, 0.06);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-6px);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(11, 23, 54, 0.08);
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

.service-item h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-item p {
  font-size: 0.97rem;
}

.why-header {
  margin-bottom: 42px;
}

.why-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid rgba(11, 23, 54, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.feature-list strong {
  font-size: 1.15rem;
  color: var(--charcoal);
}

.feature-list span {
  color: var(--muted);
}

.why-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.process-visual {
  position: relative;
  border-radius: 14px;
}

.process-visual video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.process-video-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 8px 24px rgba(10, 22, 47, 0.2), inset 0 1px rgba(255, 255, 255, 0.8);
  color: var(--navy-950);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.process-video-toggle:hover {
  background: rgba(255, 255, 255, 0.9);
}

.process-video-toggle:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.timeline-item {
  position: relative;
  padding: 28px 22px 24px;
  min-height: 220px;
  background: var(--white);
  border: 1px solid rgba(11, 23, 54, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: rgba(11, 23, 54, 0.12);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 40px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  position: relative;
  margin-bottom: 20px;
}

.timeline-item h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
}

.about-text p {
  font-size: 1.04rem;
}

.about-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.about-points li {
  position: relative;
  padding-left: 24px;
  color: var(--charcoal);
  font-weight: 500;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy-900);
}

.about-media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.stats-strip {
  background: linear-gradient(180deg, #08152b 0%, #0d1d3a 100%);
  padding: 30px 0;
}

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

.stat {
  text-align: center;
  padding: 20px 16px;
  color: var(--white);
}

.stat strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  letter-spacing: -0.05em;
  font-weight: 800;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.78);
}

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

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

.leadership-card {
  display: grid;
  grid-template-columns: minmax(150px, 39%) minmax(0, 1fr);
  min-height: 390px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(17, 39, 73, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 23, 42, 0.06);
}

.leadership-photo {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #e7ebf1;
}

.leadership-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leadership-quote {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 39, 73, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
}

.leadership-quote::before {
  content: "\201C";
  color: var(--navy-700);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.leadership-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 30px 26px;
}

.leadership-content h3 {
  margin: 0 0 8px;
  color: var(--navy-950);
  font-size: 1.35rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.leadership-role {
  margin: 0 0 18px;
  color: var(--navy-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leadership-role::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  margin: 0 10px 3px 0;
  background: var(--navy-600);
}

.leadership-content > p:not(.leadership-role) {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.leadership-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 39, 73, 0.1);
}

.leadership-contact,
.leadership-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(17, 39, 73, 0.12);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.leadership-contact {
  gap: 8px;
  background: var(--navy-700);
  color: var(--white);
}

.leadership-contact span {
  font-size: 1rem;
}

.leadership-whatsapp {
  color: var(--navy-900);
}

.leadership-contact:hover,
.leadership-whatsapp:hover {
  transform: translateY(-2px);
}

.team-members-head {
  margin-top: 72px;
}

.team-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(11, 23, 54, 0.08);
  box-shadow: var(--shadow-card);
}

.team-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.team-info {
  padding: 22px 18px 25px;
}

.team-info h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.role {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.testimonial-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.testimonial-track {
  position: relative;
  min-height: 260px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 36px 32px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(11, 23, 54, 0.08);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.testimonial-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.stars {
  color: #f5b700;
  letter-spacing: 0.2em;
  font-size: 1.1rem;
}

.testimonial-card p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--charcoal);
  line-height: 1.6;
}

.client-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
}

.testimonial-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(11, 23, 54, 0.1);
  background: var(--white);
  color: var(--navy-900);
  font-size: 1.5rem;
  cursor: pointer;
}

.before-after-wrap {
  display: flex;
  justify-content: center;
}

.before-after-slider {
  position: relative;
  width: min(100%, 1100px);
  height: 620px;
  overflow: hidden;
  border-radius: 28px;
  background: #dfe5ec;
  box-shadow: var(--shadow-soft);
}

.before-after-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
}

.after-layer {
  overflow: hidden;
  border-right: 3px solid rgba(255,255,255,0.9);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.slider-handle span {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 3px solid rgba(11, 23, 54, 0.4);
  position: relative;
}

.slider-handle span::before,
.slider-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--navy-900);
  border-left: 2px solid var(--navy-900);
}

.slider-handle span::before {
  right: 12px;
  transform: translateY(-50%) rotate(-45deg);
}

.slider-handle span::after {
  left: 12px;
  transform: translateY(-50%) rotate(135deg);
}

.before-after-slider input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: col-resize;
}

.masonry-grid {
  columns: 3 260px;
  column-gap: 18px;
}

.masonry-grid img {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.cta-section {
  padding: 26px 0 110px;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 24px;
  background: linear-gradient(120deg, #09172e 0%, #12294c 100%);
  border-radius: 28px;
  padding: 42px 34px;
  box-shadow: var(--shadow-soft);
}

.cta-box h2,
.cta-box p {
  color: var(--white);
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-list div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-list span {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-700);
  font-weight: 700;
}

.contact-list a,
.contact-list p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--charcoal);
}

.contact-cta-row {
  margin-top: 26px;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 26px;
  padding: 26px;
  border: 1px solid rgba(11, 23, 54, 0.08);
  box-shadow: var(--shadow-card);
}

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

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

.field-row.single {
  grid-template-columns: 1fr;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--charcoal);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(11, 23, 54, 0.12);
  background: #f8f9fb;
  border-radius: 14px;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(11, 23, 54, 0.4);
  box-shadow: 0 0 0 4px rgba(11, 23, 54, 0.08);
}

.map-frame {
  position: relative;
  margin-top: 20px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-directions {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.site-footer {
  background: #ffffff;
  color: var(--navy-900);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 28px;
  padding-bottom: 42px;
}

.footer-branding img {
  width: 150px;
}

.footer-branding p {
  margin-top: 18px;
  color: var(--navy-900);
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  margin-bottom: 18px;
  font-size: 1rem;
  color: var(--navy-900);
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a,
.footer-contact li,
.footer-links li {
  color: var(--navy-900);
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 35, 73, 0.05);
  border: 1px solid rgba(16, 35, 73, 0.08);
  color: var(--navy-900);
}

.footer-bottom {
  border-top: 1px solid rgba(16, 35, 73, 0.08);
  padding: 18px 0 26px;
}

.footer-bottom p {
  margin: 0;
  color: var(--navy-700);
  text-align: center;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.project-modal.visible {
  display: flex;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 21, 0.7);
}

.project-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.modal-content {
  padding: 30px 28px 24px;
}

.modal-content h3 {
  margin-bottom: 20px;
}

.project-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}

.project-facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(11, 23, 54, 0.08);
  padding-bottom: 8px;
}

.project-facts span {
  color: var(--muted);
}

.project-facts strong {
  color: var(--charcoal);
}

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

.modal-section h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.modal-section ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  font-size: 1.8rem;
  background: rgba(255,255,255,0.94);
  color: var(--charcoal);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowPan {
  0% { transform: scale(1.08) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(0, -12px, 0); }
}

@keyframes floatLabel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 18px;
  }

  .brand {
    width: 230px;
  }

  .nav-cta {
    padding-inline: 24px;
  }

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

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

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

  .project-grid {
    grid-auto-columns: calc(50% - 13px);
  }

  .product-track {
    grid-auto-columns: calc(50% - 13px);
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 90px;
  }

  .utility-inner {
    min-height: 48px;
  }

  .utility-bar {
    min-height: 48px;
  }

  .site-header.scrolled {
    height: 90px;
  }

  .utility-contact {
    gap: 0;
  }

  .utility-contact a {
    font-size: 0;
  }

  .utility-contact a + a {
    display: none;
  }

  .utility-icon {
    width: 28px;
    height: 28px;
  }

  .utility-actions {
    gap: 10px;
  }

  .utility-actions > a {
    width: 28px;
    height: 28px;
  }

  .utility-divider {
    height: 24px;
    margin: 0 4px;
  }

  .nav {
    min-height: 78px;
  }

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

  .settings-menu {
    right: -4px;
  }

  .brand {
    width: 190px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle span {
    background: var(--navy-900);
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
    background: rgba(7, 13, 26, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    color: var(--white);
  }

  .nav-menu .nav-cta {
    margin-left: 0;
    width: auto;
  }

  .nav-contact {
    width: 100%;
  }

  .nav-contact-toggle {
    display: block;
    width: 100%;
    padding: 6px 0;
    color: var(--white);
    text-align: left;
  }

  .nav-contact-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }

  .hero-inner,
  .about-grid,
  .why-layout,
  .contact-grid,
  .project-modal-dialog {
    grid-template-columns: 1fr;
  }

  .project-modal {
    align-items: flex-start;
    padding: 12px;
  }

  .project-modal-dialog {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    border-radius: 20px;
  }

  .modal-gallery img {
    display: block;
    height: min(42vh, 240px);
    min-height: 0;
  }

  .modal-content {
    padding: 24px 20px 20px;
  }

  .modal-content h3 {
    margin-right: 36px;
    margin-bottom: 16px;
  }

  .modal-close {
    right: 10px;
    top: 10px;
    width: 38px;
    height: 38px;
  }

  .hero-inner {
    padding-top: 110px;
  }

  .hero {
    min-height: 680px;
  }

  .section {
    padding: 85px 0;
  }

  .material-grid,
  .stats-grid,
  .service-grid,
  .leadership-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .material-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86%, 320px);
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px 14px;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .material-card {
    scroll-snap-align: start;
  }

  .material-card .card-image {
    height: 220px;
  }

  .material-content {
    min-height: 190px;
    padding: 22px 18px 24px;
  }

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

  .stat {
    padding: 12px 2px;
  }

  .stat strong {
    font-size: 1.35rem;
    letter-spacing: 0;
  }

  .stat span {
    font-size: 0.68rem;
    line-height: 1.25;
    text-wrap: balance;
  }

  .team-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84%, 320px);
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px 14px;
    scroll-snap-type: x mandatory;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: -20px 2px 14px;
    animation: swipe-hint-pulse 2.4s ease-in-out infinite;
  }

  .swipe-hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--navy-600);
    font-size: 1.45rem;
    line-height: 1;
    animation: swipe-mark 1.8s ease-in-out infinite;
  }

  html[data-theme="dark"] .swipe-hint-icon {
    color: var(--white);
  }

  .team-card {
    scroll-snap-align: start;
  }

  .project-grid {
    grid-auto-columns: min(88%, 360px);
    gap: 16px;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .project-card {
    scroll-snap-align: start;
  }

  .leadership-card {
    grid-template-columns: minmax(130px, 36%) minmax(0, 1fr);
    min-height: 340px;
  }

  .leadership-content {
    padding: 24px 20px;
  }

  .product-track {
    direction: ltr;
    grid-auto-columns: min(88%, 360px);
    gap: 16px;
    scroll-snap-type: x mandatory;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .product-card {
    scroll-snap-align: start;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .leadership-card {
    grid-template-columns: 1fr;
  }

  .leadership-photo {
    height: 280px;
    min-height: 0;
  }

  .before-after-slider {
    height: 420px;
  }

  .testimonial-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
  }

  .testimonial-track {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
  }

  .testimonial-card {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    min-width: 0;
    justify-content: flex-start;
    gap: 16px;
    padding: 26px 22px;
    border-radius: 14px;
    transform: translateX(0);
  }

  .testimonial-control {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .testimonial-control.prev {
    grid-column: 2;
    grid-row: 2;
  }

  .testimonial-control.next {
    grid-column: 3;
    grid-row: 2;
  }
}

@keyframes swipe-hint-pulse {
  0%, 100% { opacity: 0.58; }
  50% { opacity: 1; }
}

@keyframes swipe-mark {
  0%, 100% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
}

@media (prefers-reduced-motion: reduce) {
  .swipe-hint {
    animation: none;
  }

  .swipe-hint-icon {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
