/* CEMCON — light premium 3D theme */
:root {
  --primary: #1485d8;
  --primary-dark: #0a5a9c;
  --primary-soft: #e3f2fc;
  --accent: #e8a317;
  --accent-soft: #fff6df;
  --ink: #0f2840;
  --text: #243b53;
  --muted: #627d98;
  --line: rgba(20, 133, 216, 0.14);
  --surface: #ffffff;
  --surface-muted: #f4f8fc;
  --bg: #eef3f9;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-3d: 0 22px 45px rgba(15, 40, 64, 0.1), 0 8px 18px rgba(15, 40, 64, 0.06);
  --shadow-float: 0 30px 60px rgba(20, 133, 216, 0.18);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(20, 133, 216, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 5%, rgba(232, 163, 23, 0.12), transparent 50%),
    linear-gradient(180deg, #f7fafd 0%, var(--bg) 40%, #e9f0f8 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: radial-gradient(rgba(20, 133, 216, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

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

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.container-narrow {
  width: min(860px, 92vw);
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.84rem;
  padding: 0.5rem 0;
}

.topbar a {
  color: rgba(255, 255, 255, 0.92);
}

.topbar a:hover {
  color: #fff;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.topbar-social {
  display: flex;
  gap: 0.5rem;
}

.topbar-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(15, 40, 64, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.logo-link img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(20, 133, 216, 0.25));
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.nav-desktop a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 133, 216, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
  color: #fff;
}

.btn-accent {
  background: linear-gradient(135deg, #f5c842, var(--accent));
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(232, 163, 23, 0.35);
}

.btn-outline {
  background: var(--surface);
  color: var(--primary-dark);
  border: 2px solid rgba(20, 133, 216, 0.35);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  font-size: 1.1rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
}

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

.mobile-nav a {
  padding: 0.55rem 0;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

/* Hero home */
.hero-home {
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.home-page .hero-home {
  padding: 3.25rem 0 2.5rem;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 55%, #f3f8fc 100%);
}

.home-page .hero-home-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 15%, rgba(20, 133, 216, 0.12), transparent 60%),
    radial-gradient(40% 40% at 10% 80%, rgba(232, 163, 23, 0.08), transparent 55%);
  pointer-events: none;
}

.home-page .hero-trust {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-page .hero-trust li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(20, 133, 216, 0.15);
}

.home-page .hero-media {
  position: relative;
  margin: 0;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid rgba(20, 133, 216, 0.18);
  box-shadow:
    0 12px 32px rgba(6, 21, 37, 0.1),
    0 32px 64px rgba(6, 21, 37, 0.12);
  background: #fff;
}

.home-page .hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.home-page .hero-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  transform: none;
}

.home-page .hero-orb {
  width: 180px;
  height: 180px;
  top: -30px;
  right: -10px;
}

.home-page .stats-strip.home-stats {
  margin-top: -1.25rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.home-page .stats-strip .stat-card {
  background: #fff;
  border: 1px solid rgba(20, 133, 216, 0.12);
  box-shadow: 0 16px 40px rgba(6, 21, 37, 0.08);
}

.home-about {
  padding: 0 0 3.5rem;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.home-about-media {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
}

.home-about-media img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.home-about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--ink);
  margin: 0.35rem 0 0.75rem;
}

.home-about-copy p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 0.85rem;
}

.home-section-head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.home-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--ink);
  margin: 0.25rem 0 0;
}

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

.home-section-cta {
  text-align: center;
  margin: 1.75rem 0 0;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.home-service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(6, 21, 37, 0.1);
}

.home-service-thumb {
  height: 160px;
  overflow: hidden;
}

.home-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-service-card h3 {
  margin: 0;
  padding: 1rem 1.15rem 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

.home-service-card p {
  margin: 0;
  padding: 0 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.home-service-link {
  display: block;
  margin: 0.85rem 1.15rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.home-projects {
  padding: 3.25rem 0;
}

.home-page .project-card {
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(6, 21, 37, 0.1);
}

.home-products {
  padding: 0 0 3.25rem;
}

.home-product-cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.home-product-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.1rem 0.75rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f4f9fd);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
  text-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease;
  color: inherit;
}

.home-product-cat:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 133, 216, 0.35);
  color: inherit;
}

.home-product-cat span {
  font-size: 1.35rem;
}

.home-product-cat strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink);
}

.home-product-cat small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.home-partners {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, #fff 0%, #f6f9fc 100%);
  border-block: 1px solid var(--line);
}

.home-section-head--center {
  text-align: center;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.home-partners-logos {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
}

.home-partners-logos li {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  max-width: 200px;
  padding: 0.35rem 0.5rem;
}

.home-partners-logos img {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.92;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.home-partners-logos li:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .home-partners-logos {
    gap: 1.25rem;
  }

  .home-partners-logos li {
    flex: 1 1 40%;
    max-width: 46%;
  }
}

.home-cta {
  background: linear-gradient(135deg, #061525 0%, #0b3354 55%, #082238 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-cta h2,
.home-cta p {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 992px) {
  .home-about-grid,
  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-product-cats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .home-product-cats {
    grid-template-columns: 1fr;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 163, 23, 0.35);
  border-radius: 999px;
  color: #9a6b00;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-home h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 1rem;
}

.hero-home h1 span {
  background: linear-gradient(120deg, var(--primary), #0eb5ff 40%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38ch;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual-wrap {
  position: relative;
  perspective: 1000px;
}

.hero-card-3d {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  padding: 1rem;
  background: linear-gradient(145deg, #fff, #f0f6fc);
  box-shadow: var(--shadow-3d);
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-card-3d img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -12px;
  left: -12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-3d);
  border: 1px solid var(--line);
  transform: translateZ(40px);
}

.hero-badge strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.hero-badge span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-orb {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(20, 133, 216, 0.25), rgba(232, 163, 23, 0.2));
  filter: blur(2px);
  top: -20px;
  right: -20px;
  z-index: -1;
  animation: pulseOrb 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: rotateY(-8deg) rotateX(4deg) translateY(0);
  }
  50% {
    transform: rotateY(-4deg) rotateX(2deg) translateY(-12px);
  }
}

@keyframes pulseOrb {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

/* Page hero inner (all inner pages — home uses .hero-home) */
.page-hero {
  position: relative;
  padding: 3.25rem 0 2.75rem;
  margin-bottom: 2.5rem;
  border-bottom: none;
  background:
    linear-gradient(105deg, rgba(6, 21, 37, 0.92) 0%, rgba(11, 51, 84, 0.78) 55%, rgba(8, 34, 56, 0.85) 100%),
    url("../assets/images/calc-hero-motor.jpg") center / cover no-repeat;
  color: #fff;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.35rem;
}

.breadcrumb a {
  color: #7ec8ff;
  font-weight: 600;
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
}

.page-hero .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.page-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: #fff;
}

/* Sections */
section {
  padding: 3.25rem 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  color: var(--ink);
  margin: 0 0 0.65rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-3d);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.card[data-tilt]:hover {
  box-shadow: var(--shadow-float);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 0.55rem;
  line-height: 1.35;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, var(--primary-soft), #fff);
  border: 1px solid var(--line);
  box-shadow: inset 0 -4px 12px rgba(20, 133, 216, 0.08);
}

/* Stats */
.stats-strip {
  margin-top: -1.5rem;
  position: relative;
  z-index: 5;
  padding-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
}

.stat-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  color: var(--primary-dark);
  display: block;
  line-height: 1.1;
}

.stat-card strong.gold {
  color: var(--accent);
}

.stat-card span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Project cards (home + legacy) */
.project-card {
  padding: 0;
  overflow: hidden;
}

.project-card .thumb {
  height: 190px;
  overflow: hidden;
}

.project-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.project-card:hover .thumb img {
  transform: scale(1.06);
}

.project-card .body {
  padding: 1.25rem 1.4rem 1.4rem;
}

.project-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

/* Projects page */
.projects-intro {
  padding: 0 0 2rem;
  margin-top: -0.5rem;
}

.projects-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, var(--primary-soft) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
}

.projects-intro-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0.35rem 0 0.65rem;
  color: var(--ink);
}

.projects-intro-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.projects-intro-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.projects-intro-stats li {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(20, 133, 216, 0.15);
}

.projects-intro-stats strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--primary-dark);
  line-height: 1.1;
}

.projects-intro-stats span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.projects-showcase {
  padding: 0 0 3rem;
}

.projects-feature-grid {
  display: grid;
  gap: 1.5rem;
}

.project-feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 1.05fr;
  gap: 0;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 133, 216, 0.14);
  box-shadow:
    0 4px 8px rgba(6, 21, 37, 0.04),
    0 22px 48px rgba(6, 21, 37, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 133, 216, 0.3);
  box-shadow: 0 28px 56px rgba(6, 21, 37, 0.12);
}

.project-feature-card:nth-child(even) {
  grid-template-columns: 1.05fr minmax(260px, 0.95fr);
}

.project-feature-card:nth-child(even) .project-feature-media {
  order: 2;
}

.project-feature-media {
  position: relative;
  min-height: 280px;
  background: #0b3354;
}

.project-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.project-feature-card:hover .project-feature-media img {
  transform: scale(1.04);
}

.project-feature-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 20px rgba(6, 21, 37, 0.25);
}

.project-feature-body {
  padding: 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-client {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.project-feature-body h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
  line-height: 1.25;
}

.project-feature-body > p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

.project-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.project-feature-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.45;
}

.project-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.projects-stats-section .section-head p {
  margin-top: 0.35rem;
}

.projects-cta {
  background: linear-gradient(135deg, #061525 0%, #0b3354 55%, #082238 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.projects-cta h2,
.projects-cta p {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .projects-intro-grid {
    grid-template-columns: 1fr;
  }

  .project-feature-card,
  .project-feature-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .project-feature-card:nth-child(even) .project-feature-media {
    order: 0;
  }

  .project-feature-media,
  .project-feature-media img {
    min-height: 220px;
  }
}

/* Services page */
.services-intro {
  padding: 0 0 2rem;
  margin-top: -0.5rem;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, #f3f9ff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
}

.services-intro-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0.35rem 0 0.65rem;
  color: var(--ink);
}

.services-intro-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.services-intro-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.services-intro-pills li {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 133, 216, 0.18);
}

.services-core {
  padding: 0 0 3rem;
}

.services-section-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.services-section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 52rem;
}

.services-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--ink);
  margin: 0.25rem 0 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 133, 216, 0.14);
  box-shadow:
    0 4px 8px rgba(6, 21, 37, 0.04),
    0 20px 44px rgba(6, 21, 37, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 133, 216, 0.32);
  box-shadow: 0 26px 52px rgba(6, 21, 37, 0.12);
}

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0b3354;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.service-card-body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
}

.service-card-body > p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.service-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin-top: auto;
}

.service-card-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.45;
}

.service-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.services-consultancy {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.services-consult-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-consult-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-consult-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(6, 21, 37, 0.1);
}

.service-consult-media {
  height: 170px;
  overflow: hidden;
}

.service-consult-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-consult-card:hover .service-consult-media img {
  transform: scale(1.05);
}

.service-consult-body {
  padding: 1.15rem 1.2rem 1.25rem;
}

.service-consult-body h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
}

.service-consult-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.services-cta {
  background: linear-gradient(135deg, #061525 0%, #0b3354 55%, #082238 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.services-cta h2,
.services-cta p {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 992px) {
  .services-intro-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 1100px) and (min-width: 993px) {
  .services-consult-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-consult-grid .service-consult-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
    width: 100%;
  }
}

/* Team */
.team-card {
  text-align: center;
}

.avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 14px 28px rgba(20, 133, 216, 0.3);
}

.team-card h4 {
  margin: 0 0 0.2rem;
  color: var(--ink);
}

.team-card p {
  margin: 0;
  font-size: 0.85rem;
}

/* Products */
.product-pill {
  display: inline-flex;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(15, 40, 64, 0.06);
}

.product-pill:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
  transform: perspective(900px) rotateY(-5deg);
}

.media-frame img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 2.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-float);
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
}

.cta-band p {
  margin: 0;
  opacity: 0.92;
}

.cta-band .btn-accent {
  flex-shrink: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-list h4 {
  margin: 1.1rem 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.contact-list h4:first-child {
  margin-top: 0;
}

.contact-list p,
.contact-list a {
  margin: 0.15rem 0;
  color: var(--muted);
  display: block;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 0.78rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fbfdff;
  font: inherit;
  color: var(--text);
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 133, 216, 0.15);
}

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

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Contact page */
.contact-hero .contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-quick-strip {
  margin-top: -1.25rem;
  position: relative;
  z-index: 3;
  padding-bottom: 0.5rem;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.contact-quick-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow-3d);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.contact-quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  background: linear-gradient(145deg, var(--primary-soft), #fff);
  border: 1px solid var(--line);
}

.contact-quick-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink);
}

.contact-quick-card p,
.contact-quick-card a {
  margin: 0.1rem 0;
  font-size: 0.86rem;
  color: var(--muted);
  display: block;
}

.contact-quick-card a:hover {
  color: var(--primary-dark);
}

.contact-main {
  padding-top: 2.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form-panel {
  padding: 1.75rem;
}

.contact-form-panel h2 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0.35rem 0 0.5rem;
  font-size: 1.55rem;
}

.contact-form-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-offices-head h2 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0.35rem 0 1rem;
  font-size: 1.45rem;
}

.contact-office-list {
  display: grid;
  gap: 0.75rem;
}

.contact-office-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  box-shadow: 0 10px 24px rgba(15, 40, 64, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-office-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-3d);
}

.contact-office-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.contact-office-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.contact-office-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.55rem;
}

.contact-office-links a {
  font-size: 0.84rem;
  font-weight: 600;
}

.contact-map-section {
  padding-top: 2rem;
}

.contact-map-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-3d);
}

.contact-map-copy {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #fff 0%, var(--primary-soft) 100%);
}

.contact-map-copy h2 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.contact-map-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-map-frame {
  min-height: 280px;
  background: #e8eef5;
}

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

@media (max-width: 992px) {
  .contact-quick-grid,
  .contact-layout,
  .contact-map-wrap {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .contact-quick-grid {
    grid-template-columns: 1fr;
  }
}

.calc-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-3d);
}

.calc-panel h2 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0.35rem 0 1rem;
  font-size: 1.4rem;
}

.calc-presets {
  padding: 0 0 1rem;
  margin-top: -0.5rem;
}

.calc-presets-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.calc-preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.calc-preset-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.calc-preset-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.calc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

.calc-main {
  padding-top: 0;
}

.calc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.calc-table th {
  text-align: left;
  padding: 0.65rem 0.75rem;
  background: var(--surface-muted);
  color: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calc-table td {
  padding: 0.45rem 0.5rem;
  border-top: 1px solid var(--line);
}

.calc-table input[type="text"],
.calc-table input[type="number"] {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fbfdff;
}

.calc-table input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(20, 133, 216, 0.12);
}

.calc-remove-row {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.calc-remove-row:hover {
  color: #b42318;
  border-color: #fecaca;
  background: #fff5f5;
}

.calc-add-row {
  width: 100%;
  margin-bottom: 1.1rem;
}

.calc-options {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.calc-options label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.calc-options select {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font: inherit;
  background: #fbfdff;
}

.calc-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.55rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
}

.calc-check input {
  width: auto;
}

.calc-live-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}

.calc-live-total span {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
}

.calc-live-total strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.calc-submit {
  width: 100%;
}

.calc-aside {
  display: grid;
  gap: 1rem;
}

.calc-info h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.05rem;
}

.calc-steps {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.calc-formula {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
}

.calc-formula code {
  background: var(--surface-muted);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.calc-note-box p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.calc-note-box .btn {
  width: 100%;
}

.calc-results-section {
  padding-top: 1rem;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.calc-result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-3d);
}

.calc-result-card span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.calc-result-card strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink);
  line-height: 1.1;
}

.calc-result-card p {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.calc-result-card.highlight {
  border-color: rgba(20, 133, 216, 0.35);
  background: linear-gradient(180deg, #fff, var(--primary-soft));
}

.calc-result-card.accent strong {
  color: var(--primary-dark);
}

.calc-result-card.wide {
  grid-column: 1 / -1;
}

.calc-result-card.wide h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.calc-summary-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.92rem;
}

.calc-legacy {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  padding-bottom: 1rem;
}

@media (max-width: 992px) {
  .calc-layout,
  .calc-results-grid {
    grid-template-columns: 1fr;
  }

  .calc-result-card.wide {
    grid-column: auto;
  }
}

/* Tabbed load calculator (live site categories) */
.calc-page .page-hero {
  padding: 3.5rem 0 3rem;
  margin-bottom: 0;
}

.calc-tabs-section {
  padding: 0 0 3.5rem;
  margin-top: -1.25rem;
}

.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3d);
}

.calc-tab {
  flex: 1 1 auto;
  min-width: 8.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.calc-tab-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.calc-tab:hover {
  color: var(--ink);
  background: var(--surface-muted);
}

.calc-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 8px 22px rgba(20, 133, 216, 0.35);
  transform: translateY(-1px);
}

.calc-tab-panel {
  padding: 0;
  overflow: hidden;
}

.calc-table-head,
.calc-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.4fr) minmax(100px, 0.85fr) minmax(90px, 0.75fr) minmax(90px, 0.75fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1.15rem;
}

.calc-table-head {
  background: var(--surface-muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc-row {
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.calc-row:last-child {
  border-bottom: none;
}

.calc-row-label {
  font-weight: 600;
  color: var(--ink);
}

.calc-qty-select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fbfdff;
  cursor: pointer;
}

.calc-qty-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(20, 133, 216, 0.12);
}

.calc-row-watt,
.calc-row-kva {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text);
}

.calc-totals-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.calc-total-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-3d);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.calc-total-box span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc-total-box strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
  line-height: 1.15;
}

.calc-total-box.highlight {
  border-color: rgba(20, 133, 216, 0.35);
  background: linear-gradient(180deg, #fff, var(--primary-soft));
}

.calc-total-box.accent strong {
  color: var(--primary-dark);
}

.calc-total-box.suggest {
  background: linear-gradient(135deg, #fff9eb 0%, #fff 100%);
  border-color: rgba(232, 163, 23, 0.35);
}

.calc-total-box.suggest strong {
  color: #9a6700;
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .calc-totals-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .calc-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .calc-tab {
    flex: 0 0 auto;
    min-width: 7.5rem;
  }

  .calc-table-head {
    display: none;
  }

  .calc-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem 0.75rem;
    padding: 1rem;
  }

  .calc-row-label {
    grid-column: 1 / -1;
  }

  .calc-row-watt::before,
  .calc-row-kva::before {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.15rem;
  }

  .calc-row-watt::before {
    content: "Watt";
  }

  .calc-row-kva::before {
    content: "kVA";
  }

  .calc-totals-bar {
    grid-template-columns: 1fr;
  }
}

/* Certificates — framed slider */
.certificates-section {
  padding: 0 0 3.5rem;
  margin-top: -0.5rem;
}

.cert-showcase {
  display: grid;
  gap: 1.25rem;
}

.cert-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.cert-cat-tab {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cert-cat-tab:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.cert-cat-tab.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 10px 24px rgba(20, 133, 216, 0.32);
}

.cert-frame {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f6f9fc 100%);
  border: 1px solid rgba(20, 133, 216, 0.22);
  border-radius: calc(var(--radius) + 4px);
  box-shadow:
    0 24px 50px rgba(6, 21, 37, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.cert-frame-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent));
}

.cert-frame-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.cert-frame-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.cert-frame-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--ink);
  line-height: 1.25;
}

.cert-frame-counter {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.cert-viewport {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.65rem 0.5rem;
  min-height: min(62vh, 520px);
}

.cert-slide {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(20, 133, 216, 0.03),
      rgba(20, 133, 216, 0.03) 8px,
      transparent 8px,
      transparent 16px
    );
  border: 1px dashed rgba(20, 133, 216, 0.18);
  border-radius: var(--radius-sm);
  min-height: min(56vh, 460px);
}

.cert-slide img {
  max-width: 100%;
  max-height: min(54vh, 440px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(6, 21, 37, 0.14);
  cursor: zoom-in;
  background: #fff;
}

.cert-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-dark);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-3d);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cert-nav:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: var(--primary-soft);
}

.cert-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.cert-frame-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.35rem 1.25rem;
  border-top: 1px solid var(--line);
}

.cert-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cert-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(20, 133, 216, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cert-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

.cert-expand {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.cert-expand:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.cert-thumb-rail {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.cert-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 4px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--surface);
  box-shadow: var(--shadow-3d);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.cert-thumb.active {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cert-footer-note {
  text-align: center;
  color: var(--muted);
  margin: 2rem 0 0;
  font-size: 0.95rem;
}

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 21, 37, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cert-lightbox[hidden] {
  display: none !important;
}

.cert-lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.cert-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

body.cert-lightbox-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .cert-viewport {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cert-viewport .cert-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .cert-viewport .cert-nav:hover:not(:disabled) {
    transform: translateY(calc(-50% - 2px));
  }

  .cert-nav-prev {
    left: 0.35rem;
  }

  .cert-nav-next {
    right: 0.35rem;
  }

  .cert-frame-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .cert-expand {
    width: 100%;
    text-align: center;
  }
}

/* Footer */
.site-footer {
  position: relative;
  margin-top: 4rem;
  padding: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(180deg, rgba(232, 163, 23, 0.12) 0, transparent 120px),
    linear-gradient(165deg, #061525 0%, #0b3354 45%, #082238 100%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--primary), transparent);
  opacity: 0.85;
}

.footer-wave {
  color: var(--bg);
  line-height: 0;
  margin-bottom: 1.75rem;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 80px);
}

.footer-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 133, 216, 0.22), transparent 68%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 23, 0.12), transparent 70%);
  bottom: -120px;
  left: -60px;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-top: 0.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.05fr 1.15fr;
  gap: 2rem 1.75rem;
  margin-bottom: 2rem;
}

.footer-eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 163, 23, 0.95);
}

.footer-about {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.footer-trust span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
}

.footer-social-label {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  color: #fff;
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.footer-title span {
  display: inline-block;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(232, 163, 23, 0.85);
}

.footer-social {
  display: flex;
  gap: 0.55rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: rgba(20, 133, 216, 0.35);
  border-color: rgba(45, 168, 232, 0.5);
  color: #fff;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.footer-product-grid a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.footer-product-grid a:hover {
  transform: translateY(-2px);
  background: rgba(20, 133, 216, 0.22);
  border-color: rgba(45, 168, 232, 0.45);
  color: #fff;
}

.footer-product-grid a:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

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

.footer-contact-list > li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  background: linear-gradient(145deg, rgba(20, 133, 216, 0.35), rgba(232, 163, 23, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-contact-list a {
  display: block;
  margin: 0.1rem 0;
}

.footer-contact-list p {
  margin: 0.1rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.footer-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 0.2rem;
}

.footer-locations {
  display: grid;
  gap: 0.65rem;
}

.footer-location-card {
  padding: 0.75rem 0.85rem 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(232, 163, 23, 0.75);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-location-card:hover {
  border-color: rgba(45, 168, 232, 0.35);
  border-left-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.footer-location-card strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.footer-location-card p {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.footer-location-card a {
  display: inline-block;
  font-size: 0.8rem;
  margin-right: 0.65rem;
}

.footer-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  justify-content: center;
  padding: 0 0 1.15rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-quick a {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

.footer-quick a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 0.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom .m-0 {
  margin: 0;
}

.footer-quote-link {
  font-weight: 700;
  color: var(--accent) !important;
  letter-spacing: 0.02em;
}

.footer-quote-link:hover {
  color: #ffd56a !important;
}

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

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

/* Products hub (main catalog page) */
.products-hub {
  padding: 0 0 0.5rem;
  margin-top: -1rem;
}

.products-sticky-nav {
  position: sticky;
  top: 0.65rem;
  z-index: 40;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.45rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(6, 21, 37, 0.08);
  backdrop-filter: blur(10px);
  -webkit-overflow-scrolling: touch;
}

.products-nav-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.products-nav-link:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.products-nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 20px rgba(20, 133, 216, 0.28);
}

.products-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.products-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #fff 0%, #f3f8fc 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.products-cat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent));
  opacity: 0.85;
}

.products-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 133, 216, 0.35);
  box-shadow: 0 20px 44px rgba(6, 21, 37, 0.12);
  color: inherit;
}

.products-cat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.25rem;
  background: var(--primary-soft);
  border: 1px solid rgba(20, 133, 216, 0.15);
}

.products-cat-card h3 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
}

.products-cat-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  flex: 1;
}

.products-cat-count {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.products-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.products-section-copy {
  max-width: 52rem;
}

.products-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--ink);
  margin: 0 0 0.45rem;
}

.products-section-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  text-align: right;
}

.products-brand-tag {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid rgba(20, 133, 216, 0.2);
}

.products-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.products-page .product-category-block {
  scroll-margin-top: 5.5rem;
}

.products-cta-section {
  padding-top: 0.5rem;
}

.products-cta {
  background: linear-gradient(135deg, #061525 0%, #0b3354 55%, #082238 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.products-cta h2,
.products-cta p {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1100px) {
  .products-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .products-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .products-section-meta {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .products-cat-grid {
    grid-template-columns: 1fr;
  }
}

/* About page */
.about-story {
  padding: 0 0 3rem;
  margin-top: -0.5rem;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.about-story-media {
  position: relative;
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(20, 133, 216, 0.18);
  box-shadow:
    0 8px 24px rgba(6, 21, 37, 0.08),
    0 28px 56px rgba(6, 21, 37, 0.12);
}

.about-story-media img {
  width: 100%;
  min-height: 340px;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.about-story-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: rgba(6, 21, 37, 0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-story-badge strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
}

.about-story-badge span {
  font-size: 0.78rem;
  opacity: 0.85;
}

.about-story-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--ink);
  margin: 0.35rem 0 0.75rem;
}

.about-story-copy p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.about-story-highlights {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.about-story-highlights li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.about-story-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.about-section-head {
  margin-bottom: 1.35rem;
}

.about-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--ink);
  margin: 0.25rem 0 0;
}

.about-section-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 42rem;
}

.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.about-mv-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
}

.about-mv-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid rgba(20, 133, 216, 0.15);
}

.about-mv-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.about-mv-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

.about-stats {
  margin-top: 1.5rem;
}

.about-team-section {
  padding: 3rem 0;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.about-team-card {
  text-align: center;
  padding: 1.35rem 1rem 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3d);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 133, 216, 0.3);
  box-shadow: 0 20px 40px rgba(6, 21, 37, 0.1);
}

.about-team-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 22px rgba(20, 133, 216, 0.28);
}

.about-team-card h4 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.35;
}

.about-team-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.about-cta {
  background: linear-gradient(135deg, #061525 0%, #0b3354 55%, #082238 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-cta h2,
.about-cta p {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 992px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-mv-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .about-team-grid {
    grid-template-columns: 1fr;
  }
}

/* Product catalog */
.product-category-block {
  padding: 2.5rem 0;
}

.product-category-block:nth-child(even) {
  background: var(--surface-muted);
  border-block: 1px solid var(--line);
}

.product-grid {
  gap: 1.35rem;
}

.product-card {
  padding: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(20, 133, 216, 0.12);
  background: #fff;
  box-shadow:
    0 4px 6px rgba(6, 21, 37, 0.04),
    0 18px 40px rgba(6, 21, 37, 0.06);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  transform-style: flat;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(20, 133, 216, 0.32);
  box-shadow:
    0 8px 16px rgba(20, 133, 216, 0.08),
    0 28px 56px rgba(6, 21, 37, 0.12);
}

.product-card-link {
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-link:hover {
  color: inherit;
}

.product-card-thumb {
  position: relative;
  height: 232px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(20, 133, 216, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #f7fbff 0%, #edf3f9 100%);
}

.product-card-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 133, 216, 0.25), transparent);
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem 1.15rem;
  transition: transform 0.35s ease;
}

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

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
  padding: 1.2rem 1.25rem 1.15rem;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
  padding-left: 0.65rem;
  border-left: 3px solid var(--primary);
}

.product-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
}

.product-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: auto;
  padding: 0.62rem 1rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid rgba(20, 133, 216, 0.2);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.product-card-cta::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.22s ease;
}

.product-card:hover .product-card-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

.product-card:hover .product-card-cta::after {
  transform: translateX(3px);
}

.product-card-placeholder {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.product-card-placeholder.large {
  min-height: 280px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.product-error {
  color: #b42318;
  background: #fff5f5;
  border: 1px solid #fecaca;
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: start;
}

.product-detail-media {
  padding: 1rem;
}

.product-detail-media img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.product-detail-copy h1 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.35rem 0 0.75rem;
}

.product-lead {
  color: var(--muted);
  font-size: 1.02rem;
}

.product-body {
  color: var(--text);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

.surface-section {
  background: var(--surface-muted);
  border-block: 1px solid var(--line);
}

@media (max-width: 992px) {
  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .grid-3,
  .grid-4,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual-wrap {
    order: -1;
  }

  .hero-card-3d {
    transform: none;
    animation: none;
  }
}

@media (max-width: 720px) {
  .nav-desktop,
  .hide-mobile {
    display: none !important;
  }

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

  .grid-2,
  .grid-3,
  .grid-4,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
