:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --accent: #1E3A8A;
  --navy: #0B1B3A;
  --text: #1F2937;
  --muted: #6B7280;
  --line: #E5E7EB;
  --soft: #F3F6FB;
  --white: #FFFFFF;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, calc(100% - 2.5rem)); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 10px;
  padding: .85rem 1.35rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: .2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: #D1D5DB; color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-1px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,231,235,.8);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--accent);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #374151;
  font-weight: 600;
  font-size: .95rem;
}
.nav-links a:hover { color: var(--primary); }
.mobile-nav-cta { display: none; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--accent);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  transition: transform .2s ease;
}
.nav-links a:hover .nav-icon { transform: translateY(-1px); }
.button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(37,99,235,.08), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(37,99,235,.06), transparent 25%),
    linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy {
  position: relative;
  isolation: isolate;
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 470px;
  height: 470px;
  left: auto;
  right: -3rem;
  top: -4rem;
  background-image: var(--hero-watermark);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .09;
  pointer-events: none;
}
.hero-copy > * {
  position: relative;
  z-index: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--primary);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.15);
  padding: .45rem .85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 1.1rem;
}
.hero-copy > .badge {
  padding: .6rem 1.05rem;
  font-size: 1.05rem;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #111827;
  letter-spacing: -.02em;
}
.hero-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.hero-title-row h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.hero-emblem {
  width: 180px;
  height: 180px;
  flex: 0 0 180px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 18px rgba(15,23,42,.16));
}
.hero-emblem-motion {
  position: relative;
  display: block;
}
.hero-emblem-motion img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.hero-emblem-center { z-index: 1; }
.hero-emblem-gear {
  z-index: 2;
  transform-origin: center;
  animation: emblemGearRock 14s ease-in-out infinite;
  will-change: transform;
}
@keyframes emblemGearRock {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 1.8rem;
}
.hero-brand-name {
  font-size: calc(1em + 2px);
  color: var(--text);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #DBEAFE, #EFF6FF);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-live img {
  animation: heroIndustrialMove 10s ease-in-out infinite alternate;
  transform-origin: 68% 44%;
}
.hero-photo-live::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 73% 44%, rgba(255,255,255,.95) 0, rgba(132,211,255,.52) 2%, rgba(46,149,255,.18) 7%, transparent 15%);
  mix-blend-mode: screen;
  animation: weldingGlow .85s ease-in-out infinite alternate;
}
.hero-photo-live::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 73%;
  top: 44%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  background: #fff;
  box-shadow:
    18px -18px 0 #FFD166,
    34px -7px 0 #FFF3B0,
    26px 15px 0 #FFB703,
    -18px -13px 0 #FFF3B0,
    -31px 9px 0 #FFB703,
    8px 29px 0 #FFD166;
  animation: weldingSparks 1.15s ease-out infinite;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.12);
  padding: .85rem 1rem;
  animation: float 4.5s ease-in-out infinite;
}
.float-card.chart { left: -18px; top: 18%; }
.float-card.cloud { right: 8%; bottom: 10%; color: var(--primary); }
.bars { display: flex; align-items: end; gap: 4px; height: 36px; }
.bars span {
  width: 8px; border-radius: 4px;
  background: linear-gradient(180deg, #60A5FA, var(--primary));
}
.bars span:nth-child(1){height:45%} .bars span:nth-child(2){height:70%}
.bars span:nth-child(3){height:55%} .bars span:nth-child(4){height:90%}
.bars span:nth-child(5){height:65%}

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

@keyframes heroIndustrialMove {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.2%, -.8%, 0); }
}

@keyframes weldingGlow {
  0%, 25% { opacity: .38; filter: brightness(.9); }
  40% { opacity: 1; filter: brightness(1.35); }
  55%, 100% { opacity: .58; filter: brightness(1.05); }
}

@keyframes weldingSparks {
  0% { opacity: 0; transform: scale(.25) rotate(0deg); }
  18% { opacity: 1; }
  72% { opacity: .7; }
  100% { opacity: 0; transform: scale(1.8) rotate(18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-live img,
  .hero-photo-live::before,
  .hero-photo-live::after,
  .hero-emblem-gear {
    animation: none;
  }
}

.section { padding: 4.5rem 0; }
.section.soft { background: var(--soft); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head h2, .section h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -.02em;
}
.section-sub { color: var(--muted); margin: 0; }
.link-more {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}

.clients { text-align: center; padding: 2.5rem 0; background: #F8FAFC; }
.clients h3 { margin: 0 0 1.5rem; color: var(--muted); font-weight: 600; font-size: 1rem; }
.client-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.2rem; align-items: center;
}
.client-logo {
  color: #9CA3AF; font-weight: 800; letter-spacing: .08em; opacity: .85;
  filter: grayscale(1); min-width: 90px; text-align: center;
}
.client-logo img { height: 28px; margin: 0 auto; object-fit: contain; filter: grayscale(1) opacity(.7); }
.client-brand-board {
  max-width: 1015px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15,23,42,.08);
}
.client-brand-board img {
  display: block;
  width: 100%;
  height: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}
.about-intro {
  max-width: 850px;
  margin-bottom: 2rem;
}
.about-intro h2 { margin-bottom: .65rem; }
.about-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.about-image {
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
  background: linear-gradient(135deg, #BFDBFE, #DBEAFE);
  box-shadow: var(--shadow);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.about-copy p { color: var(--muted); margin: 0 0 1.5rem; }
.value-list { display: grid; gap: 1rem; }
.value-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
}
.value-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(37,99,235,.08); color: var(--primary);
  display: grid; place-items: center;
}
.value-item h4 { margin: 0 0 .2rem; }
.value-item p { margin: 0; color: var(--muted); font-size: .95rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.services-grid.services-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  transition: .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,.25);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(37,99,235,.1); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.service-card h3 { margin: 0 0 .55rem; font-size: 1.1rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.service-card-clickable {
  cursor: pointer;
  position: relative;
}
.service-card-clickable::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color .2s ease;
}
.service-card-clickable:hover::after,
.service-card-clickable:focus-visible::after { border-color: var(--primary); }
.service-card-clickable:focus-visible { outline: none; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 800;
}
.service-card-link span { transition: transform .2s ease; }
.service-card-clickable:hover .service-card-link span { transform: translateX(4px); }

body.modal-open { overflow: hidden; }
.repair-modal[hidden] { display: none; }
.repair-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.repair-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5,16,36,.72);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.repair-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.mechanical-modal-dialog {
  width: min(1100px, 100%);
  max-height: calc(100vh - 3rem);
  overflow: hidden;
  background: #0F172A;
}
.mechanical-modal-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  background: rgba(15,23,42,.78);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.mechanical-slider { background: #0F172A; }
.mechanical-slide {
  display: none;
  width: 100%;
  max-height: calc(100vh - 3rem);
}
.mechanical-slide.is-active {
  display: grid;
  place-items: center;
  animation: repairFade .3s ease;
}
.mechanical-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 3rem);
  object-fit: contain;
}
.mechanical-modal-dialog .repair-slider-footer {
  border-top: 1px solid rgba(255,255,255,.14);
  color: #fff;
  background: #0F172A;
}
.mechanical-modal-dialog .repair-slider-arrow { color: #fff; }
.repair-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.6rem 1.25rem;
}
.repair-modal-header h2 {
  margin: .25rem 0 .4rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}
.repair-modal-header p { margin: 0; color: var(--muted); }
.repair-modal-kicker {
  color: var(--primary);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.repair-modal-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 0;
  border-radius: 50%;
  color: #334155;
  background: #F1F5F9;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.repair-slide {
  display: none;
  grid-template-columns: 1.35fr .65fr;
  height: 400px;
  min-height: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.repair-slide.is-active { display: grid; animation: repairFade .3s ease; }
.repair-slide > * { min-width: 0; }
.repair-slide-image {
  width: 100%;
  height: 400px;
  min-height: 0;
  background: #E2E8F0;
  overflow: hidden;
}
.repair-slide-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.repair-slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(145deg, #F8FAFC, #EFF6FF);
}
.repair-slide-copy > span { color: var(--primary); font-weight: 800; font-size: .85rem; letter-spacing: .08em; }
.repair-slide-copy h3 { margin: .55rem 0 .7rem; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.25; }
.repair-slide-copy p { margin: 0; color: var(--muted); }
.repair-client-logo { margin-top: 1.25rem; }
.repair-client-logo small {
  display: block;
  margin-bottom: .4rem;
  color: #94A3B8;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.repair-client-logo img {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
}
.repair-slider-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}
.repair-slider-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 0;
  color: var(--accent);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.repair-slider-dots { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.repair-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #CBD5E1;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.repair-slider-dots button.is-active { width: 24px; background: var(--primary); }
.repair-photo-credit { padding: 0 1.5rem 1rem; color: #94A3B8; text-align: right; font-size: .72rem; }
@keyframes repairFade {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.repair-section {
  background:
    radial-gradient(circle at 85% 15%, rgba(17,157,209,.1), transparent 28%),
    linear-gradient(135deg, #F8FAFC, #EFF8FC);
}
.repair-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.repair-grid-copy-only {
  grid-template-columns: 1fr;
}
.repair-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 560px;
  background: #E0F2FE;
  box-shadow: var(--shadow);
}
.repair-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: top center;
}
.repair-visual-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1rem;
  border-radius: 12px;
  color: #fff;
  background: rgba(11,27,58,.9);
  backdrop-filter: blur(8px);
  font-weight: 700;
}
.repair-label-icon { width: 20px; height: 20px; }
.repair-copy h2 {
  margin: 0 0 .8rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
}
.repair-copy > p { color: var(--muted); margin: 0 0 1.4rem; }
.repair-badge-icon { width: 16px; height: 16px; }
.repair-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem 1rem;
}
.repair-item {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .94rem;
  font-weight: 600;
}
.repair-item-image {
  display: block;
  width: 62px;
  height: 78px;
  flex: 0 0 62px;
  margin-top: -5px;
  border: 1px solid rgba(148,163,184,.3);
  border-radius: 5px;
  background: #fff;
  object-fit: contain;
}
.repair-item-image-button {
  flex: 0 0 62px;
  margin: -5px 0 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}
.repair-item-image-button:hover,
.repair-item-image-button:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(15,23,42,.2);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.repair-image-lightbox {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}
.repair-image-lightbox[hidden] { display: none; }
.repair-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2,6,23,.9);
  cursor: zoom-out;
}
.repair-image-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(94vw, 1200px);
  height: min(92vh, 900px);
}
.repair-image-lightbox-dialog > img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}
.repair-image-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(15,23,42,.8);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.repair-check {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(17,157,209,.12);
}
.repair-check-icon { width: 14px; height: 14px; }
.repair-cta { margin-top: 1.6rem; }

.stats-bar {
  background: linear-gradient(90deg, var(--primary), #3B82F6);
  color: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  box-shadow: 0 16px 40px rgba(37,99,235,.25);
}
.stat-item {
  display: flex; align-items: center; gap: .85rem; justify-content: center;
  padding: .4rem;
}
.stat-item strong { display: block; font-size: 1.55rem; line-height: 1.1; }
.stat-item span { opacity: .92; font-size: .9rem; }

.portfolio-grid, .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.portfolio-card, .testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: .2s ease;
}
.portfolio-card:hover, .testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.portfolio-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #DBEAFE, #F8FAFC);
}
.portfolio-image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.portfolio-image-button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.portfolio-body, .testimonial-card { padding: 1.2rem 1.25rem 1.35rem; }
.portfolio-body h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.portfolio-cat { color: var(--primary); font-weight: 700; font-size: .82rem; margin-bottom: .4rem; display: block; }
.portfolio-body p, .testimonial-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.testimonial-card { display: flex; flex-direction: column; gap: 1rem; }
.testimonial-user { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: #DBEAFE; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; color: var(--primary);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.stars { color: #F59E0B; letter-spacing: 1px; font-size: .9rem; }

.cta-banner {
  background: linear-gradient(90deg, var(--primary), #1D4ED8);
  color: #fff;
  border-radius: 22px;
  padding: 2rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 18px 45px rgba(29,78,216,.28);
}
.cta-banner h2 { margin: 0; font-size: clamp(1.3rem, 2.5vw, 1.8rem); max-width: 34rem; }
.cta-left { display: flex; align-items: center; gap: 1rem; }
.cta-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,255,255,.15);
  display: grid; place-items: center; flex-shrink: 0;
}

.site-footer {
  background: var(--navy);
  color: #CBD5E1;
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .85fr .9fr 1.45fr 1.35fr;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.footer-column { min-width: 0; }
.site-footer h4 { color: #fff; margin: 0 0 1rem; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { color: #fff; font-weight: 800; letter-spacing: .04em; margin-bottom: .8rem; display: flex; gap: .6rem; align-items: center; }
.footer-desc { margin: 0 0 1rem; font-size: .92rem; line-height: 1.65; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff;
}
.contact-list { display: grid; gap: .85rem; font-size: .92rem; }
.contact-list div { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; min-width: 0; }
.contact-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
}
.contact-list span { min-width: 0; overflow-wrap: anywhere; }
.newsletter-form { display: flex; gap: .45rem; margin-top: .8rem; }
.newsletter-form input {
  flex: 1 1 auto; width: 100%; min-width: 0; border: 0; border-radius: 8px; padding: .7rem .8rem; outline: none;
}
.newsletter-form button {
  border: 0; border-radius: 8px; background: var(--primary); color: #fff;
  font-weight: 700; padding: .7rem .9rem; cursor: pointer;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.2rem;
  text-align: center;
  font-size: .88rem;
  color: #94A3B8;
}

.home-wrap {
  min-height: 100vh;
  background: linear-gradient(180deg, #EFF6FF, #fff 40%);
  padding: 4rem 0;
}
.home-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.25rem; box-shadow: var(--shadow);
}
.home-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.home-item {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px;
}

@media (max-width: 960px) {
  .nav { position: relative; }
  .desktop-nav-cta { display: none; }
  .menu-toggle {
    display: block;
    flex: 0 0 44px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    gap: .25rem;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 18px 35px rgba(15,23,42,.14);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    width: 100%;
    padding: .8rem .85rem;
    border-radius: 9px;
  }
  .nav-links a:hover { background: rgba(37,99,235,.07); }
  .mobile-nav-cta {
    display: block;
    margin-top: .3rem;
    border-top: 1px solid var(--line);
    padding-top: .45rem;
  }
  .mobile-nav-cta a {
    justify-content: center;
    color: #fff;
    background: #25D366;
  }
  .mobile-nav-cta .nav-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    stroke-width: 2;
  }
  .mobile-nav-cta a:hover { color: #fff; background: #1EBE5D; }
  .hero-grid, .about-grid, .repair-grid { grid-template-columns: 1fr; }
  .repair-visual { min-height: 460px; }
  .repair-visual img { min-height: 460px; }
  .services-grid, .portfolio-grid, .testimonial-grid, .stats-bar, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .hero { padding-bottom: 1.25rem; }
  #tentang.section { padding-top: 1.5rem; }
  .services-grid, .portfolio-grid, .testimonial-grid, .stats-bar, .footer-grid {
    grid-template-columns: 1fr;
  }
  .services-grid.services-count-4 { grid-template-columns: 1fr; }
  .float-card.chart, .float-card.cloud { display: none; }
  .hero-title-row { align-items: flex-start; gap: .7rem; }
  .hero-copy > .badge { font-size: .92rem; }
  .hero-emblem { width: 108px; height: 108px; flex-basis: 108px; }
  .hero-title-row h1 { font-size: clamp(1.45rem, 6.8vw, 1.9rem); }
  .hero-copy::before {
    width: 330px;
    height: 330px;
    left: auto;
    right: -2rem;
    top: -1.5rem;
    opacity: .07;
  }
  .repair-list { grid-template-columns: 1fr; }
  .repair-visual, .repair-visual img { min-height: 400px; }
  .repair-modal { padding: .65rem; }
  .repair-modal-dialog { max-height: calc(100vh - 1.3rem); border-radius: 18px; }
  .mechanical-modal-dialog,
  .mechanical-slide,
  .mechanical-slide img {
    max-height: calc(100vh - 1.3rem);
  }
  .repair-modal-header { padding: 1rem; }
  .repair-modal-header p { font-size: .88rem; }
  .repair-slide,
  .repair-slide.is-active { grid-template-columns: 1fr; }
  .repair-slide,
  .repair-slide.is-active { height: auto; }
  .repair-slide-image,
  .repair-slide-image img {
    height: 230px;
    min-height: 0;
  }
  .repair-slide-copy { padding: 1.2rem; }
  .repair-slider-footer { padding: .85rem 1rem; gap: .4rem; }
  .repair-slider-arrow { font-size: 0; }
  .repair-slider-arrow span { font-size: 1.35rem; }
  .repair-photo-credit { padding: 0 1rem .8rem; }
}
