:root {
  --bg: #f8fafc;
  --bg-soft: #eef3fb;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.86);
  --line: rgba(99, 102, 241, 0.16);
  --text: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --secondary: #3b82f6;
  --accent: #4f46e5;
  --accent-soft: #60a5fa;
  --shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 18px 42px rgba(99, 102, 241, 0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1200px;
  --nav-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  touch-action: manipulation;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fafc 42%, #eff4fb 100%);
  color: var(--text);
  overflow-x: hidden;
  touch-action: manipulation;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button,
input,
textarea {
  font: inherit;
  touch-action: manipulation;
}

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.42;
  animation: drift 20s ease-in-out infinite;
}

.orb-one {
  width: 420px;
  height: 420px;
  top: 5%;
  left: -10%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.38),
    transparent 70%
  );
}

.orb-two {
  width: 380px;
  height: 380px;
  right: -8%;
  top: 22%;
  animation-delay: -6s;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.28),
    transparent 68%
  );
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 88%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.8),
      transparent 28%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(96, 165, 250, 0.12),
      transparent 18%
    ),
    radial-gradient(circle at 40% 80%, rgba(79, 70, 229, 0.08), transparent 20%);
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 18px 0;
  transition:
    padding 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-height);
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.navbar.scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(99, 102, 241, 0.14);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  align-self: center;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: auto;
  height: 35px;
  object-fit: contain;
  display: block;
  object-position: left center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.96rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-menu a {
  position: relative;
  font-size: 0.96rem;
  color: rgba(15, 23, 42, 0.84);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto 5px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.alt-section {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.38),
    rgba(255, 255, 255, 0.7)
  );
}

.hero {
  padding-top: 170px;
}

.hero-layout,
.section-grid,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.section-grid.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.eyebrow,
.section-tag,
.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.08);
}

.hero-copy h1,
.section-copy h2,
.section-heading h2 {
  margin: 20px 0 18px;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
}

.hero-slogan {
  margin: 0 0 20px;
  color: #0f172a;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
}

.section-copy h2,
.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.hero-subtitle {
  margin: 0 0 18px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.88);
  max-width: 60ch;
}

.hero-text,
.section-copy p,
.section-heading p,
.glass-panel p,
.feature-card p,
.quote-card p,
.contact-item span {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 34px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), var(--accent-soft));
  box-shadow:
    0 14px 28px rgba(59, 130, 246, 0.24),
    0 0 18px rgba(37, 99, 235, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow:
    0 18px 34px rgba(59, 130, 246, 0.28),
    0 0 24px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  border: 1px solid rgba(99, 102, 241, 0.16);
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 12px 30px rgba(15, 23, 42, 0.06);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 580px;
}

.metric-card,
.glass-panel,
.quote-card,
.gallery-card {
  position: relative;
  contain: layout paint;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 24px;
}

.metric-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.28rem;
}

.hero-media {
  position: relative;
}

.floating-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.52)
  );
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-glow);
  animation: float 8s ease-in-out infinite;
}

.floating-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 30px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.32),
    rgba(96, 165, 250, 0.1)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 420px;
  background: linear-gradient(135deg, #dbe4ff, #ebe8ff);
  box-shadow: 0 20px 42px rgba(79, 70, 229, 0.18);
}

.video-shell iframe,
.video-shell img,
.hero-video {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.video-shell img,
.hero-video {
  height: 100%;
  object-fit: cover;
}

.video-placeholder,
.local-video-placeholder {
  cursor: pointer;
  isolation: isolate;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.28)),
    radial-gradient(circle at center, rgba(99, 102, 241, 0.14), transparent 42%);
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.95),
    rgba(96, 165, 250, 0.95)
  );
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.24);
}

.play-button::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 53%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
}

.section-copy,
.section-heading {
  max-width: 700px;
}

.glass-panel {
  padding: 34px;
}

.about-copy-card {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.about-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-vision {
  margin: 0;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: left;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  justify-self: auto;
  width: auto;
}

.team-carousel {
  position: relative;
  display: grid;
  gap: 14px;
  justify-self: center;
  width: min(100%, 340px);
  justify-items: center;
}

.team-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(20, 46, 144, 0.08)),
    linear-gradient(
      145deg,
      rgba(10, 24, 78, 0.96),
      rgba(20, 46, 144, 0.92),
      rgba(59, 130, 246, 0.26)
    );
  box-shadow: 0 16px 30px rgba(20, 46, 144, 0.2);
}

.team-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.985);
  backface-visibility: hidden;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
  border-radius: 24px;
  overflow: hidden;
}

.team-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.team-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}

.team-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.34)),
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.16),
      transparent 28%
    );
}

.team-counter {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.8rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.team-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.team-arrows {
  display: flex;
  gap: 12px;
}

.team-arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(96, 165, 250, 0.14)
  );
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.team-arrow:hover,
.team-arrow:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.14);
}

.team-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.team-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.44);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.team-dot.is-active {
  transform: scale(1.12);
  background: linear-gradient(135deg, var(--secondary), var(--accent-soft));
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.services-layout {
  display: grid;
  gap: 34px;
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 30px;
}

.catalog-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 22px;
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #142e90, #2563eb);
  box-shadow: 0 16px 34px rgba(20, 46, 144, 0.24);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.catalog-download:hover,
.catalog-download:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(20, 46, 144, 0.3);
}

.services-heading-visual {
  display: flex;
  justify-content: flex-end;
}

.services-heading-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(20, 46, 144, 0.12)),
    linear-gradient(
      145deg,
      rgba(10, 24, 78, 0.96),
      rgba(20, 46, 144, 0.9),
      rgba(59, 130, 246, 0.24)
    );
  box-shadow: 0 18px 32px rgba(20, 46, 144, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-heading-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.28)),
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.18),
      transparent 28%
    );
  pointer-events: none;
}

.services-heading-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 5%;
}

.services-stack {
  display: grid;
  gap: 28px;
}

.service-carousel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82),
      rgba(255, 255, 255, 0.7)
    ),
    radial-gradient(
      circle at top right,
      rgba(59, 130, 246, 0.14),
      transparent 34%
    );
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  contain: layout paint;
  content-visibility: auto;
  contain-intrinsic-size: 640px;
}

.service-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(79, 70, 229, 0.04), transparent 35%),
    radial-gradient(
      circle at 90% 10%,
      rgba(96, 165, 250, 0.14),
      transparent 22%
    );
  pointer-events: none;
}

.service-carousel-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.service-carousel-header h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  letter-spacing: -0.04em;
}

.service-carousel-header p {
  max-width: 60ch;
  margin: 0;
}

.service-badge {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-carousel-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.service-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(20, 46, 144, 0.08)),
    linear-gradient(
      145deg,
      rgba(10, 24, 78, 0.97),
      rgba(20, 46, 144, 0.92),
      rgba(59, 130, 246, 0.24)
    );
  box-shadow: 0 20px 40px rgba(20, 46, 144, 0.22);
  contain: layout paint;
  isolation: isolate;
}

.service-track {
  position: relative;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  transform: translateZ(0);
}

.service-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.992);
  backface-visibility: hidden;
  will-change: opacity, transform;
  transition:
    opacity 0.36s ease-out,
    transform 0.36s ease-out;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
}

.service-slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.service-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: inherit;
  transform: translateZ(0);
}

.service-slide.image-top img {
  object-fit: cover;
  object-position: center center;
}

.service-slide.image-center img {
  object-position: center center;
}

.service-slide.image-scan img {
  object-position: center center;
}

.service-slide.image-fill-top img {
  object-position: center top;
}

.service-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.28)),
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.18),
      transparent 28%
    );
}

.service-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.service-caption strong {
  color: #fff;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.service-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.86rem;
}

.service-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  contain: layout paint;
}

.service-content {
  min-height: 180px;
}

.service-content h4 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  letter-spacing: -0.04em;
}

.service-content p {
  margin: 0;
}

.service-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.service-arrows {
  display: flex;
  gap: 12px;
}

.service-arrow {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(96, 165, 250, 0.14)
  );
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.service-arrow:hover,
.service-arrow:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.14);
}

.service-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.44);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.service-dot.is-active {
  transform: scale(1.15);
  background: linear-gradient(135deg, var(--secondary), var(--accent-soft));
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-meta span:last-child {
  color: var(--primary);
  font-weight: 700;
}

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

.feature-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.feature-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 800;
}

.feature-card h3,
.timeline-item strong,
.contact-item strong {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

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

.timeline-item {
  padding-left: 24px;
  border-left: 2px solid rgba(99, 102, 241, 0.18);
}

.section-heading {
  margin-bottom: 34px;
}

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

.testimonial-hero,
.testimonial-grid {
  display: grid;
  gap: 24px;
}

.testimonial-hero {
  grid-template-columns: 1.15fr 0.85fr;
  margin-bottom: 24px;
}

.featured-testimonial {
  position: relative;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 30px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.68)
    ),
    radial-gradient(
      circle at top left,
      rgba(99, 102, 241, 0.14),
      transparent 40%
    );
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.featured-testimonial p {
  margin: 20px 0 24px;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.9;
  color: rgba(15, 23, 42, 0.88);
}

.featured-testimonial strong {
  font-size: 1rem;
}

.testimonial-chip {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(99, 102, 241, 0.14);
}

.testimonial-metrics {
  display: grid;
  gap: 18px;
}

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.quote-card,
.gallery-card {
  padding: 30px;
}

.testimonial-grid .quote-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 38%);
}

.testimonial-grid .quote-card p {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.82;
  color: rgba(15, 23, 42, 0.84);
}

.quote-card strong {
  display: block;
  margin-top: 20px;
}

.testimonial-grid .quote-card strong {
  color: var(--primary);
  font-size: 0.98rem;
}

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

.gallery-card {
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.2)),
    radial-gradient(
      circle at top left,
      rgba(99, 102, 241, 0.34),
      transparent 42%
    ),
    linear-gradient(135deg, rgba(79, 70, 229, 0.78), rgba(15, 23, 42, 0.9));
  color: #fff;
}

.gallery-card span {
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-card {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.contact-item:last-of-type {
  border-bottom: 0;
  padding-bottom: 6px;
}

.contact-link {
  color: var(--primary);
  font-weight: 700;
  word-break: break-word;
}

.contact-link:hover,
.contact-link:focus-visible {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.contact-actions .btn {
  min-width: 150px;
}

.whatsapp-form {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.service-field {
  margin: 0;
  padding: 0;
  border: 0;
  grid-column: 1 / -1;
}

.form-field span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.service-field legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font: inherit;
  resize: vertical;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(71, 85, 105, 0.78);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

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

.service-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.16);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.service-option:hover {
  border-color: rgba(37, 99, 235, 0.24);
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-1px);
}

.service-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2563eb;
}

.service-option span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.contact-socials {
  gap: 10px;
}

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

.hero .reveal {
  opacity: 1;
  transform: none;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bg-orb,
  .floating-card,
  .reveal {
    animation: none;
    transition: none;
  }

  .service-slide,
  .team-slide,
  .service-arrow,
  .team-arrow,
  .service-dot,
  .team-dot {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -24px, 0) scale(1.04);
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .section-grid,
  .section-grid.reverse,
  .contact-layout,
  .service-carousel-shell,
  .testimonial-hero,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .grid-cards,
  .testimonial-grid,
  .testimonial-row,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 150px;
  }

  .services-heading {
    grid-template-columns: 1fr;
  }

  .services-heading-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .service-carousel,
  .service-visual,
  .service-track,
  .service-slide {
    content-visibility: visible;
    contain: none;
  }

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .bg-orb {
    opacity: 0.28;
    filter: blur(56px);
  }

  .orb-one {
    width: 280px;
    height: 280px;
    top: 2%;
    left: -18%;
  }

  .orb-two {
    width: 240px;
    height: 240px;
    top: 18%;
    right: -16%;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-shell {
    min-height: 76px;
    padding: 0 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .section {
    min-height: auto;
    padding: 118px 0 64px;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-layout,
  .section-grid,
  .contact-layout {
    gap: 28px;
  }

  .services-heading {
    gap: 20px;
  }

  .catalog-download {
    width: 100%;
    max-width: 280px;
  }

  .services-heading-visual {
    justify-content: center;
  }

  .services-heading-card {
    width: min(100%, 400px);
    aspect-ratio: 6 / 4.4;
    border-radius: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
    margin: 10px 0 14px;
  }

  .hero-subtitle {
    font-size: 1.06rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .hero-text,
  .section-copy p,
  .section-heading p {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .hero-actions {
    gap: 12px;
    margin: 24px 0;
  }

  .btn {
    min-width: 0;
    padding: 14px 20px;
  }

  .hero-metrics {
    gap: 14px;
  }

  .metric-card {
    padding: 18px;
  }

  .metric-card strong {
    font-size: 1.12rem;
  }

  .floating-card {
    padding: 14px;
  }

  .service-carousel {
    padding: 18px;
    border-radius: 24px;
  }

  .team-frame {
    width: min(100%, 260px);
  }

  .team-controls {
    justify-content: space-between;
  }

  .team-arrow {
    width: 40px;
    height: 40px;
  }

  .team-counter {
    top: 12px;
    right: 12px;
    min-width: 48px;
    padding: 6px 10px;
    font-size: 0.74rem;
  }

  .service-visual {
    min-height: auto;
    aspect-ratio: 16 / 11;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(12, 25, 84, 0.98), rgba(20, 46, 144, 0.92)),
      radial-gradient(
        circle at top right,
        rgba(96, 165, 250, 0.18),
        transparent 30%
      );
    box-shadow: 0 22px 38px rgba(20, 46, 144, 0.24);
  }

  .service-visual.is-portrait-slide {
    aspect-ratio: 4 / 5;
  }

  .service-details {
    padding: 16px 18px 18px;
    border-radius: 24px;
    margin-top: 0;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
      0 14px 28px rgba(15, 23, 42, 0.08),
      inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  }

  .service-controls,
  .service-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    top: auto;
    gap: 12px;
  }

  .service-caption strong {
    font-size: 1rem;
    line-height: 1.35;
    max-width: 72%;
    text-shadow: 0 6px 20px rgba(15, 23, 42, 0.32);
  }

  .service-counter {
    min-width: 52px;
    padding: 7px 10px;
    font-size: 0.76rem;
  }

  .service-content {
    min-height: auto;
  }

  .service-content h4 {
    font-size: 1.26rem;
    line-height: 1.15;
  }

  .service-content p,
  .service-carousel-header p {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .service-carousel-header {
    margin-bottom: 16px;
  }

  .service-carousel-header h3 {
    margin: 0 0 8px;
    font-size: 1.5rem;
  }

  .service-arrows {
    width: 100%;
    justify-content: space-between;
  }

  .service-arrow {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .service-dots {
    width: 100%;
    justify-content: center;
  }

  .service-meta {
    gap: 8px;
    font-size: 0.88rem;
  }

  .section-copy h2,
  .section-heading h2 {
    margin: 0 0 14px;
    font-size: clamp(1.95rem, 8vw, 3rem);
    line-height: 1.05;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .video-shell,
  .video-shell iframe,
  .video-shell img,
  .hero-video {
    min-height: 280px;
  }

  .floating-card,
  .service-carousel,
  .glass-panel,
  .quote-card,
  .gallery-card,
  .metric-card {
    padding: 22px;
  }

  .glass-panel:has(.team-carousel) {
    padding: 18px 14px 16px;
    display: grid;
    justify-items: center;
  }

  .team-carousel {
    width: min(100%, 380px);
    gap: 12px;
  }

  .team-frame {
    aspect-ratio: 4 / 4.75;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(20, 46, 144, 0.16);
  }

  .team-slide,
  .team-slide.is-active {
    border-radius: 20px;
  }

  .team-slide::after {
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.01), rgba(15, 23, 42, 0.22)),
      radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.12),
        transparent 26%
      );
  }

  .team-controls {
    width: 100%;
    max-width: 380px;
    gap: 12px;
  }

  .team-arrow {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .team-counter {
    top: 12px;
    right: 12px;
    min-width: 46px;
    padding: 6px 10px;
  }

  .glass-panel,
  .metric-card,
  .quote-card,
  .gallery-card,
  .service-carousel {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  }

  .timeline {
    gap: 16px;
  }

  .timeline-item {
    padding-left: 18px;
  }

  .featured-testimonial {
    padding: 24px;
    border-radius: 24px;
  }

  .featured-testimonial p {
    font-size: 1rem;
    line-height: 1.75;
    margin: 16px 0 18px;
  }

  .testimonial-grid,
  .testimonial-hero,
  .gallery-grid {
    gap: 18px;
  }

  .quote-card,
  .gallery-card {
    padding: 22px;
  }

  .testimonial-grid .quote-card {
    padding: 24px;
    border-radius: 24px;
  }

  .testimonial-grid .quote-card p {
    font-size: 1rem;
    line-height: 1.72;
  }

  .gallery-card {
    min-height: 220px;
  }

  .gallery-card span {
    font-size: 0.98rem;
  }

  .contact-card {
    gap: 18px;
  }

  .contact-item {
    gap: 6px;
    padding-bottom: 16px;
  }

  .whatsapp-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-options {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    width: 100%;
    gap: 10px;
  }

  .contact-actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .nav-shell {
    min-height: 68px;
    padding: 0 12px;
    gap: 14px;
  }

  .brand {
    gap: 0;
  }

  .brand-mark {
    width: auto;
    height: auto;
  }

  .brand-mark img {
    height: 30px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .menu-toggle span {
    width: 18px;
  }

  .section {
    padding: 108px 0 56px;
  }

  .hero {
    padding-top: 118px;
  }

  .service-carousel-shell {
    gap: 8px;
  }

  .service-carousel {
    justify-self: center;
    padding: 3px;
    border-radius: 26px;
  }

  .service-visual {
    min-height: auto;
    aspect-ratio: 16 / 12.5;
    border-radius: 24px;
    box-shadow: 0 18px 30px rgba(20, 46, 144, 0.2);
  }

  .service-visual.is-portrait-slide {
    aspect-ratio: 4 / 5.4;
  }

  .service-slide,
  .team-slide {
    display: grid;
    place-items: center;
  }

  .service-slide img,
  .team-slide img {
    object-position: center center;
    margin: 0 auto;
  }

  .team-slide img {
    object-fit: cover;
    object-position: center 58%;
  }

  .service-slide.image-top img {
    object-position: center center;
  }

  .service-slide.image-scan img {
    object-position: center center;
    transform: translateZ(0);
  }

  .service-slide.image-fill-top img {
    object-position: center top;
    transform: translateZ(0) scale(1.18);
  }

  .service-slide.image-distalador img {
    object-position: center 36%;
    transform: translateZ(0) scale(1.52);
  }

  .service-slide.image-hyrax img {
    object-position: center 36%;
    transform: translateZ(0) scale(1.52);
  }

  .service-slide.image-pfm img,
  .service-slide.image-funcional img,
  .service-slide.image-twinblock img {
    object-position: center 0%;
    transform: translateZ(0) scale(1.52);
  }

  .service-slide.image-totales img {
    object-position: center center;
    transform: translateZ(0) scale(1.08);
  }

  .service-slide img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: rgba(255, 255, 255, 0.02);
  }

  .service-slide::after {
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.18)),
      radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.1),
        transparent 28%
      );
  }

  .service-slide,
  .service-slide.is-active {
    border-radius: 23px;
  }

  .service-details {
    padding: 14px 16px 16px;
    border-radius: 22px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
      0 12px 24px rgba(15, 23, 42, 0.08),
      inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  }

  .service-carousel-header h3 {
    font-size: 1.35rem;
  }

  .service-content h4 {
    font-size: 1.15rem;
  }

  .service-content p,
  .service-carousel-header p {
    font-size: 0.9rem;
  }

  .service-content h4 {
    margin-bottom: 10px;
  }

  .section-copy h2,
  .section-heading h2 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-text,
  .section-copy p,
  .section-heading p,
  .about-vision {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .glass-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .glass-panel:has(.team-carousel) {
    padding: 16px 12px 14px;
    display: grid;
    justify-items: center;
  }

  .team-carousel {
    width: min(100%, 320px);
    max-width: 320px;
    gap: 12px;
    justify-self: center;
  }

  .services-heading-visual {
    justify-content: center;
  }

  .services-heading-card {
    width: min(100%, 100%);
    aspect-ratio: 16 / 11;
    border-radius: 20px;
  }

  .service-carousel {
    width: min(100%, 100%);
    justify-self: center;
  }

  .team-frame {
    aspect-ratio: 4 / 4.55;
    border-radius: 18px;
  }

  .team-slide,
  .team-slide.is-active {
    border-radius: 18px;
  }

  .team-controls {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 320px;
    align-items: center;
    justify-items: center;
    gap: 12px;
  }

  .team-dots {
    gap: 7px;
    min-width: 0;
    justify-content: center;
    order: 2;
  }

  .team-dot {
    width: 9px;
    height: 9px;
  }

  .team-arrows {
    gap: 8px;
    order: 1;
  }

  .team-arrow {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .team-counter {
    top: 10px;
    right: 10px;
    min-width: 44px;
    padding: 5px 9px;
    font-size: 0.7rem;
  }

  .featured-testimonial {
    padding: 20px;
  }

  .quote-card,
  .gallery-card,
  .metric-card {
    padding: 18px;
  }

  .gallery-card {
    min-height: 190px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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