:root {
  --navy: #111542;
  --navy-2: #171c55;
  --navy-3: #222868;
  --red: #9d1d27;
  --red-2: #c43840;
  --ink: #131623;
  --muted: #646879;
  --line: #e1e3ea;
  --paper: #f5f6f8;
  --white: #fff;
  --shadow: 0 22px 60px rgba(15, 20, 62, .12);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 12px 16px; background: white; color: var(--navy); border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(18,21,66,.08);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 12px 35px rgba(16,20,63,.1); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; width: 118px; height: 68px; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a { text-decoration: none; font-size: .92rem; font-weight: 700; color: #343746; }
.primary-nav a:hover { color: var(--red); }
.primary-nav .nav-cta { padding: 11px 17px; color: white; background: var(--navy); border-radius: 999px; }
.primary-nav .nav-cta:hover { background: var(--red); color: white; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: transform .2s, opacity .2s; }

.hero {
  min-height: 840px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 150px 0 70px;
  color: white;
  background:
    radial-gradient(circle at 75% 36%, rgba(197,56,64,.21), transparent 28%),
    linear-gradient(125deg, #0c1038 0%, #151a50 52%, #0b0f34 100%);
}
.hero::after { content: ""; position: absolute; inset: auto -11% -42% 42%; height: 600px; border-radius: 50%; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); transform: rotate(-12deg); }
.hero-grid { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.hero-orbit-one { width: 560px; height: 560px; right: 4%; top: 130px; }
.hero-orbit-two { width: 760px; height: 760px; right: -10%; top: 30px; }
.hero-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 20px; font-size: .77rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.74); }
.eyebrow span { display: inline-block; width: 42px; height: 2px; vertical-align: middle; margin-right: 13px; background: var(--red-2); }
.eyebrow.dark { color: var(--red); }
.eyebrow.light { color: rgba(255,255,255,.72); }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3.25rem, 6vw, 6.2rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: #ef5359; font-style: normal; }
.hero-intro { max-width: 660px; margin: 30px 0 0; font-size: 1.12rem; color: rgba(255,255,255,.73); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--red), var(--red-2)); box-shadow: 0 14px 35px rgba(157,29,39,.27); }
.button-secondary { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.button-white { background: white; color: var(--navy); }
.button-outline { color: white; border-color: rgba(255,255,255,.32); background: transparent; }
.hero-trust { margin-top: 46px; display: flex; align-items: center; flex-wrap: wrap; gap: 11px; color: rgba(255,255,255,.58); font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-trust i { width: 3px; height: 3px; background: var(--red-2); border-radius: 50%; }
.hero-panel { position: relative; min-height: 520px; padding: 34px; border-radius: 30px; background: linear-gradient(150deg, rgba(255,255,255,.11), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 40px 100px rgba(0,0,0,.22); backdrop-filter: blur(16px); overflow: hidden; }
.hero-panel::before { content: ""; position: absolute; width: 280px; height: 420px; background: linear-gradient(var(--red-2), transparent); opacity: .18; transform: skewX(-22deg) rotate(24deg); right: 20px; top: -100px; }
.panel-kicker { position: relative; z-index: 2; font-size: .74rem; letter-spacing: .2em; font-weight: 800; color: rgba(255,255,255,.62); }
.engineering-mark { position: relative; height: 270px; display: grid; place-items: center; }
.meter-ring { width: 198px; height: 198px; display: grid; place-items: center; border-radius: 50%; border: 20px solid rgba(255,255,255,.08); border-top-color: #ef5359; border-right-color: rgba(239,83,89,.45); transform: rotate(-25deg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 50px rgba(239,83,89,.12); }
.meter-ring::after { content: ""; width: 118px; height: 118px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.28); }
.meter-ring span { position: absolute; font-size: 2.1rem; font-weight: 800; transform: rotate(25deg); }
.signal { position: absolute; height: 7px; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.46), transparent); transform: rotate(-17deg); }
.signal-a { width: 230px; top: 58px; right: -48px; }
.signal-b { width: 180px; top: 88px; right: -18px; }
.signal-c { width: 280px; bottom: 46px; left: -70px; }
.hero-stat-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stat-grid div { padding: 20px 12px 8px; }
.hero-stat-grid strong, .hero-stat-grid span { display: block; }
.hero-stat-grid strong { font-size: 1.12rem; }
.hero-stat-grid span { font-size: .77rem; color: rgba(255,255,255,.58); }

.credibility-bar { background: #fff; border-bottom: 1px solid var(--line); }
.credibility-items { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 25px; overflow-x: auto; scrollbar-width: none; }
.credibility-items::-webkit-scrollbar { display: none; }
.capability-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 86px;
  white-space: nowrap;
  color: #727585;
  font-size: .76rem;
  letter-spacing: .11em;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}
.capability-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.capability-tab:hover,
.capability-tab:focus-visible,
.capability-tab.active { color: var(--navy); }
.capability-tab:hover::after,
.capability-tab:focus-visible::after,
.capability-tab.active::after { transform: scaleX(1); }
.capability-tab:focus-visible { outline: 2px solid rgba(157,29,39,.35); outline-offset: 6px; border-radius: 4px; }

.section { padding: 118px 0; }
.section-heading { max-width: 650px; }
.section-heading.centered { text-align: center; margin: 0 auto 58px; }
.section-heading h2, .contact h2 { margin: 0; font-size: clamp(2.35rem, 4.2vw, 4.5rem); line-height: 1.06; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.split-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; }
.about-copy .lead { margin-top: 4px; font-size: 1.32rem; line-height: 1.55; color: var(--navy); }
.about-copy > p:not(.lead) { color: var(--muted); }
.about-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 35px; }
.about-highlights div { padding: 18px; background: var(--paper); border-left: 3px solid var(--red); }
.about-highlights b, .about-highlights span { display: block; }
.about-highlights b { color: var(--red); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.about-highlights span { margin-top: 5px; font-weight: 800; font-size: .9rem; }
.vision-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vision-card { min-height: 300px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.vision-card .number { color: var(--red); font-size: .77rem; font-weight: 800; letter-spacing: .13em; }
.vision-card h3 { margin: 65px 0 12px; font-size: 1.45rem; }
.vision-card p { color: var(--muted); }
.accent-card { color: white; border: 0; background: linear-gradient(145deg, var(--navy), #252c70); box-shadow: var(--shadow); }
.accent-card .number, .accent-card p { color: rgba(255,255,255,.7); }

.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 405px; padding: 32px; border-radius: var(--radius); background: white; border: 1px solid transparent; scroll-margin-top: 145px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(157,29,39,.18); }
.service-card:target,
.service-card.tab-highlight { transform: translateY(-5px); box-shadow: 0 22px 60px rgba(15,20,62,.16); border-color: rgba(157,29,39,.55); }
.service-card:focus { outline: none; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: white; background: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.service-card h3 { margin: 35px 0 13px; font-size: 1.35rem; line-height: 1.25; }
.service-card p { color: var(--muted); }
.service-card ul { margin: 22px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); }
.service-card li { position: relative; margin: 7px 0; padding-left: 17px; color: #535665; font-size: .89rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }

.products { color: white; background: linear-gradient(140deg, #0e123d, #1a2059); }
.products-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.products-layout .product-list { grid-column: 2; grid-row: 2; }
.products .section-heading { position: sticky; top: 125px; }
.products .section-heading p { color: rgba(255,255,255,.65); }
.text-link { display: inline-flex; gap: 12px; margin-top: 18px; color: white; font-weight: 800; text-decoration: none; }
.text-link span { color: #f05a60; }
.product-list > div { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.13); }
.product-list > div:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.product-list span { color: #f05a60; font-weight: 800; }
.product-list h3 { margin: 0; font-size: 1.5rem; }
.product-list p { grid-column: 2; margin: -10px 0 0; color: rgba(255,255,255,.63); }

.project-heading { max-width: none; display: grid; grid-template-columns: 1fr .7fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.project-heading > p { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-card { min-height: 520px; display: grid; grid-template-rows: 245px 1fr; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: white; transition: box-shadow .25s, transform .25s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-visual { position: relative; overflow: hidden; display: grid; place-items: center; background: #131743; }
.project-visual::before, .project-visual::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.19); }
.project-visual::before { width: 290px; height: 290px; }
.project-visual::after { width: 190px; height: 190px; border-style: dashed; }
.project-visual span { position: relative; z-index: 2; color: white; font-size: 3.4rem; font-weight: 900; letter-spacing: -.05em; }
.visual-metering { background: radial-gradient(circle at 60% 45%, rgba(196,56,64,.45), transparent 28%), linear-gradient(145deg, #111542, #20265f); }
.visual-solar { background: repeating-linear-gradient(110deg, rgba(255,255,255,.08) 0 2px, transparent 2px 34px), linear-gradient(145deg, #1a2057, #9d1d27); }
.visual-hmi { background: linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), #111542; background-size: 35px 35px; }
.visual-panel { background: radial-gradient(circle at 50% 55%, rgba(255,255,255,.12), transparent 35%), linear-gradient(145deg, #7e171f, #15194b); }
.project-content { padding: 28px 30px 31px; }
.project-meta { margin: 0; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-content h3 { margin: 10px 0 10px; font-size: 1.55rem; line-height: 1.25; }
.project-content > p:not(.project-meta) { color: var(--muted); }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.project-tags span { padding: 6px 10px; border-radius: 999px; background: var(--paper); color: #535665; font-size: .72rem; font-weight: 800; }

.industries { color: white; background: #0c1037; }
.industries-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 95px; }
.industry-intro h2 { margin: 0; font-size: clamp(2.5rem, 4.4vw, 4.7rem); line-height: 1.04; letter-spacing: -.045em; }
.industry-intro > p:last-child { color: rgba(255,255,255,.65); }
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.industry-grid article { min-height: 265px; padding: 30px; border-left: 1px solid rgba(255,255,255,.13); border-top: 1px solid rgba(255,255,255,.13); }
.industry-grid span { color: #ef5359; font-size: .72rem; font-weight: 800; }
.industry-grid h3 { margin: 56px 0 9px; font-size: 1.35rem; }
.industry-grid p { color: rgba(255,255,255,.6); font-size: .94rem; }

.delivery { background: white; }
.delivery-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 55px; }
.delivery-flow::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 1px; background: var(--line); }
.delivery-flow article { position: relative; padding: 0 18px; text-align: center; }
.delivery-flow span { position: relative; z-index: 2; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--paper); color: var(--red); font-size: .75rem; font-weight: 900; border: 1px solid var(--line); }
.delivery-flow h3 { margin: 25px 0 7px; }
.delivery-flow p { color: var(--muted); font-size: .91rem; }

.contact { padding: 110px 0; color: white; background: linear-gradient(135deg, #971c26, #b92c35); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.76); font-size: 1.08rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-form { padding: 35px; border-radius: var(--radius); color: var(--ink); background: white; box-shadow: 0 32px 80px rgba(81,0,6,.22); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; margin-bottom: 14px; color: #353846; font-size: .79rem; font-weight: 800; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; color: var(--ink); background: #fbfbfc; outline: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(157,29,39,.1); }
.form-submit { width: 100%; border: 0; }
.form-note { margin: 13px 0 0; color: #7b7e8b; font-size: .72rem; line-height: 1.5; }

.locations { padding: 70px 0; background: #f3f4f7; }
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; }
.location-label { margin: 0; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.location-grid h3 { margin: 7px 0 10px; }
.location-grid p:not(.location-label) { color: var(--muted); }
.location-grid a { color: var(--navy); text-decoration: none; font-weight: 700; }

.site-footer { padding: 52px 0; color: rgba(255,255,255,.63); background: #090c2c; }
.footer-layout { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 45px; align-items: end; }
.footer-brand img { width: 220px; padding: 8px; border-radius: 8px; background: white; }
.footer-brand p { margin-bottom: 0; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 2px 0; }

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

@media (max-width: 1000px) {
  .primary-nav { position: fixed; inset: 82px 18px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px; border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 13px; }
  .menu-toggle { display: block; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { min-height: auto; }
  .hero-layout, .split-layout, .products-layout, .industries-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-panel { min-height: 440px; }
  .split-layout, .products-layout, .industries-layout, .contact-layout { gap: 50px; }
  .products .section-heading { position: static; }
  .products-layout .product-list { grid-column: 1; grid-row: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-heading { grid-template-columns: 1fr; gap: 20px; }
  .delivery-flow { grid-template-columns: repeat(2, 1fr); gap: 35px; }
  .delivery-flow::before { display: none; }
}

@media (max-width: 720px) {
  :root { --container: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 72px; }
  .brand { width: 92px; height: 58px; }
  .primary-nav { top: 72px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .hero-panel { min-height: 400px; padding: 24px; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  .credibility-items { justify-content: start; }
  .section { padding: 82px 0; }
  .section-heading h2, .contact h2, .industry-intro h2 { font-size: 2.55rem; }
  .about-highlights, .vision-grid, .service-grid, .project-grid, .industry-grid, .location-grid, .footer-layout { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .project-card { min-height: auto; grid-template-rows: 210px auto; }
  .delivery-flow { grid-template-columns: 1fr; }
  .delivery-flow article { text-align: left; display: grid; grid-template-columns: 68px 1fr; gap: 18px; }
  .delivery-flow h3 { margin: 5px 0; }
  .delivery-flow p { grid-column: 2; margin-top: -30px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .footer-meta { text-align: left; }
}

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


/* V3: Project photography extracted from the official company profile */
.hero-panel { padding: 20px; display: flex; flex-direction: column; }
.panel-kicker { padding: 10px 12px 14px; }
.hero-photo { position: relative; z-index: 1; flex: 1; min-height: 315px; margin: 0; border-radius: 22px; overflow: hidden; background: #0b0e2e; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,10,36,.9), transparent 55%); }
.hero-photo img { width: 100%; height: 100%; min-height: 315px; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 2; color: white; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-stat-grid { margin-top: 15px; }

.service-card { overflow: hidden; padding: 0 28px 30px; min-height: 510px; }
.service-media { height: 175px; margin: 0 -28px 26px; overflow: hidden; background: #dfe2e8; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-media img { transform: scale(1.045); }
.service-icon { position: absolute; top: 146px; right: 22px; border: 4px solid white; box-shadow: 0 8px 22px rgba(15,20,62,.16); }
.service-card h3 { margin-top: 18px; }

.product-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.product-proof { position: relative; min-height: 225px; margin: 0; overflow: hidden; border-radius: 18px; background: #0b0e2e; }
.product-proof::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,8,30,.94), transparent 64%); }
.product-proof img { width: 100%; height: 100%; min-height: 225px; object-fit: cover; }
.product-proof figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.product-proof figcaption span, .product-proof figcaption strong { display: block; }
.product-proof figcaption span { color: #ef5359; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.product-proof figcaption strong { margin-top: 4px; color: white; line-height: 1.25; }

.project-photo::before, .project-photo::after { display: none; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-photo img { transform: scale(1.04); }
.project-photo::after { content: ""; display: block; position: absolute; inset: 0; border: 0; border-radius: 0; background: linear-gradient(to top, rgba(7,10,38,.72), transparent 58%); }
.project-photo .visual-badge { position: absolute; left: 22px; bottom: 20px; z-index: 2; padding: 7px 11px; border-radius: 999px; color: white; background: rgba(157,29,39,.94); font-size: .72rem; letter-spacing: .08em; }
.project-photo small { position: absolute; right: 20px; bottom: 22px; z-index: 2; color: rgba(255,255,255,.8); font-size: .65rem; font-weight: 700; }

.gallery { background: #f5f6f8; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 105px; gap: 14px; }
.gallery-item { position: relative; grid-column: span 4; grid-row: span 3; min-height: 315px; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #151944; cursor: zoom-in; text-align: left; box-shadow: 0 10px 28px rgba(15,20,62,.08); }
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 7; }
.gallery-item:nth-child(2), .gallery-item:nth-child(7) { grid-column: span 5; }
.gallery-item:nth-child(3), .gallery-item:nth-child(8) { grid-column: span 5; }
.gallery-item:nth-child(4), .gallery-item:nth-child(9) { grid-column: span 7; }
.gallery-item:nth-child(10), .gallery-item:nth-child(11) { grid-column: span 6; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .35s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,9,34,.92), rgba(6,9,34,.02) 66%); }
.gallery-item:hover img { transform: scale(1.045); filter: saturate(1.05); }
.gallery-caption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; color: white; }
.gallery-caption small, .gallery-caption strong, .gallery-caption span { display: block; }
.gallery-caption small { color: #ef5359; font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.gallery-caption strong { margin: 3px 0; font-size: 1.15rem; }
.gallery-caption span { color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.4; }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 70px 24px 28px; background: rgba(4,6,23,.94); backdrop-filter: blur(14px); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 78vh; border-radius: 14px; box-shadow: 0 32px 90px rgba(0,0,0,.5); }
.lightbox p { margin: 14px 0 0; color: rgba(255,255,255,.75); text-align: center; }
.lightbox-close { position: absolute; right: 26px; top: 18px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: white; background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; min-height: 260px; }
}
@media (max-width: 720px) {
  .hero-photo, .hero-photo img { min-height: 250px; }
  .service-card { min-height: auto; }
  .product-proof-grid, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 280px; }
  .gallery-item, .gallery-item:nth-child(n) { min-height: 280px; }
  .gallery-caption span { display: none; }
  .project-photo small { display: none; }
}
