﻿:root {
  --ink: #08162f;
  --steel: #242b35;
  --steel-2: #3d4652;
  --line: #d9e0e8;
  --mist: #eef3f6;
  --paper: #f8fafb;
  --white: #ffffff;
  --signal: #ff8a00;
  --signal-dark: #e66d00;
  --brand-blue: #082863;
  --cyan: #73d8ff;
  --shadow: 0 24px 70px rgba(12, 18, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Kanit", "Manrope", sans-serif;
  letter-spacing: 0;
}

body::selection {
  background: var(--signal);
  color: var(--white);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(11, 15, 20, 0.58);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  color: var(--white);
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(16, 20, 26, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  min-height: 54px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  background: #ffffff;
  color: #121820;
  overflow: hidden;
}

.brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.24));
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: currentColor;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a,
.header-cta {
  outline-offset: 5px;
}

.nav-links a:hover {
  color: var(--signal);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--signal);
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0 18px;
}

.facebook-icon {
  width: 48px;
  min-width: 48px;
  padding: 0;
  font-family: Arial, sans-serif;
}

.facebook-icon span {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(1px);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 380px);
  align-items: end;
  gap: 28px;
  overflow: hidden;
  padding: 168px max(24px, calc((100vw - 1180px) / 2)) 46px;
  background: #05080c;
  color: var(--white);
}

.hero-video,
.hero-shade,
.blueprint-grid {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero-shade {
  background:
    radial-gradient(circle at 72% 24%, rgba(115, 216, 255, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(4, 7, 11, 0.9) 0%, rgba(4, 7, 11, 0.62) 48%, rgba(4, 7, 11, 0.24) 100%),
    linear-gradient(0deg, rgba(4, 7, 11, 0.84) 0%, transparent 44%);
}

.blueprint-grid {
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-sound-icon {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff763c 0%, #ff9c4d 46%, #ffd37a 100%);
  color: #080b10;
  box-shadow: 0 16px 34px rgba(244, 107, 42, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-sound-icon span {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.hero-sound-icon.is-on {
  outline: 3px solid rgba(255, 255, 255, 0.46);
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--signal);
  font-family: "Manrope", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  font-weight: 700;
  line-height: 1;
}

.text-signal {
  color: var(--signal);
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  padding: 0 22px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--signal);
  color: var(--white);
}

.button.primary:hover {
  background: var(--signal-dark);
}

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

.button.sound {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff763c 0%, #ff9c4d 46%, #ffd37a 100%);
  color: #080b10;
  box-shadow: 0 16px 34px rgba(244, 107, 42, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  cursor: pointer;
  font-family: inherit;
  font-size: 1.03rem;
  font-weight: 800;
  padding-inline: 26px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.26);
}

.button.sound.is-on {
  background: linear-gradient(90deg, #ff763c 0%, #ff9c4d 46%, #ffd37a 100%);
}

.button.sound:not(.is-on) {
  background: linear-gradient(90deg, #2d3540 0%, #4a5563 100%);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  text-shadow: none;
}

.button.ghost.light {
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-panel {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  min-height: 118px;
  padding: 22px;
  background: rgba(5, 9, 14, 0.42);
}

.metric {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--steel-2);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-strip span:last-child {
  border-right: 0;
}

.section,
.platform,
.showcase,
.contact,
.site-footer {
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

.section {
  padding-block: 96px;
}

.intro-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 56px;
  align-items: end;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
}

.intro p,
.section-heading p,
.showcase-copy p,
.contact p {
  color: #596371;
  font-size: 1.05rem;
  line-height: 1.8;
}

.platform {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  padding-bottom: 96px;
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -82px;
  width: 210px;
  height: 210px;
  border: 26px solid rgba(115, 216, 255, 0.22);
  transform: rotate(45deg);
}

.feature-card.large {
  grid-row: span 2;
  min-height: 676px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 243, 246, 0.82)),
    repeating-linear-gradient(90deg, rgba(16, 20, 26, 0.05) 0 1px, transparent 1px 64px);
}

.feature-card.dark {
  background: var(--steel);
  color: var(--white);
}

.feature-card h3,
.service-grid h3,
.timeline h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.28;
}

.feature-card p,
.service-grid p,
.timeline p {
  position: relative;
  z-index: 1;
  color: #64707f;
  line-height: 1.75;
}

.feature-card.dark p {
  color: rgba(255, 255, 255, 0.66);
}

.card-index {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
  color: var(--signal);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.services {
  background: var(--mist);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.service-grid article {
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(16, 20, 26, 0.08);
  border-radius: 8px;
  background: var(--white);
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--signal);
  font-size: 1.35rem;
}

.company-page {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
  padding: 96px max(24px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.page-image {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1117;
  box-shadow: var(--shadow);
}

.page-image img {
  display: block;
  width: 100%;
  height: auto;
}

.page-info p {
  color: #596371;
  font-size: 1.05rem;
  line-height: 1.8;
}

.info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 30px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.info-list div {
  min-height: 112px;
  padding: 18px;
  background: var(--paper);
}

.info-list div:first-child {
  grid-column: 1 / -1;
}

.info-list dt {
  margin-bottom: 8px;
  color: var(--signal);
  font-family: "Manrope", sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-list dd {
  margin: 0;
  color: var(--steel);
  line-height: 1.65;
}

.info-list a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(244, 107, 42, 0.5);
  text-underline-offset: 4px;
}

.location-map {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: 28px;
  align-items: stretch;
  padding: 0 max(24px, calc((100vw - 1180px) / 2)) 96px;
  background:
    linear-gradient(90deg, rgba(8, 22, 47, 0.045) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(0deg, rgba(8, 22, 47, 0.045) 1px, transparent 1px) 0 0 / 92px 92px,
    var(--paper);
}

.map-copy {
  display: grid;
  align-content: center;
  padding: 32px;
  border: 1px solid rgba(8, 22, 47, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(12, 18, 28, 0.08);
}

.map-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.map-copy p {
  margin: 18px 0 24px;
  color: #596371;
  font-size: 1.02rem;
  line-height: 1.8;
}

.map-copy .button {
  width: fit-content;
}

.map-frame {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(8, 22, 47, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 22, 47, 0.05) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(0deg, rgba(8, 22, 47, 0.05) 1px, transparent 1px) 0 0 / 58px 58px,
    #dfe8ef;
  box-shadow: 0 24px 70px rgba(12, 18, 28, 0.16);
  overflow: hidden;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.map-marker-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.map-marker-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 56% 48%, rgba(255, 138, 0, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.08));
}

.map-road {
  position: absolute;
  display: block;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.74);
}

.main-road {
  left: -8%;
  top: 57%;
  width: 118%;
  height: 18px;
  background: #ffbf4a;
  transform: rotate(-7deg);
}

.soi-road {
  left: 48%;
  top: 16%;
  width: 14px;
  height: 72%;
  background: #ffffff;
  transform: rotate(18deg);
}

.cross-road {
  left: 16%;
  top: 30%;
  width: 72%;
  height: 11px;
  background: #ffffff;
  transform: rotate(24deg);
}

.map-label {
  position: absolute;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #415064;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 22, 47, 0.12);
}

.label-main {
  left: 10%;
  top: 63%;
}

.label-soi {
  right: 12%;
  top: 24%;
}

.map-pin {
  position: absolute;
  left: 54%;
  top: 45%;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, #ff6f2d 0%, #ff9c00 100%);
  color: #08162f;
  box-shadow: 0 18px 44px rgba(230, 109, 0, 0.34);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map-pin::before {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: #ffffff;
}

.map-pin span {
  position: relative;
  z-index: 1;
  display: block;
  color: #08162f;
  font-family: "Manrope", sans-serif;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  transform: rotate(45deg);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 60px;
  align-items: center;
  padding-block: 110px;
  background: #111720;
  color: var(--white);
}

.showcase-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.frame-diagram {
  position: relative;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(rgba(115, 216, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 216, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 68% 40%, rgba(244, 107, 42, 0.22), transparent 34%);
  background-size: 44px 44px, 44px 44px, auto;
  overflow: hidden;
}

.beam,
.joint {
  position: absolute;
  display: block;
}

.beam {
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, #dfe9f1, #65717f 48%, #f8fafb);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  transform-origin: left center;
}

.beam-a {
  width: 70%;
  left: 16%;
  top: 27%;
  transform: rotate(19deg);
}

.beam-b {
  width: 58%;
  left: 20%;
  top: 67%;
  transform: rotate(-24deg);
}

.beam-c {
  width: 62%;
  left: 22%;
  top: 47%;
  transform: rotate(90deg);
}

.joint {
  width: 22px;
  height: 22px;
  border: 4px solid var(--signal);
  border-radius: 50%;
  background: var(--white);
}

.joint-a {
  left: 16%;
  top: 25%;
}

.joint-b {
  right: 16%;
  top: 46%;
}

.joint-c {
  left: 21%;
  bottom: 25%;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.timeline li {
  min-height: 280px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--signal);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 390px;
  padding-block: 66px;
  background:
    linear-gradient(90deg, rgba(16, 20, 26, 0.12) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(0deg, rgba(16, 20, 26, 0.11) 1px, transparent 1px) 0 0 / 96px 96px,
    radial-gradient(circle at 72% 40%, rgba(255, 211, 122, 0.34), transparent 32%),
    linear-gradient(135deg, #f45e20 0%, #f46b2a 54%, #ff7d34 100%);
  color: var(--white);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 28px max(24px, calc((100vw - 1180px) / 2));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  pointer-events: none;
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  max-width: 720px;
  font-size: clamp(2.5rem, 3.25vw, 4.05rem);
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 14px 34px rgba(80, 18, 0, 0.2);
}

.contact .button.primary {
  background: var(--ink);
}

.contact-actions {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  max-width: 480px;
}

.contact-actions .button {
  min-height: 46px;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px;
  background: #080b10;
  color: rgba(255, 255, 255, 0.64);
}

.site-footer img {
  width: 132px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .intro-grid,
  .section-heading,
  .platform,
  .showcase,
  .company-page,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
    padding-top: 138px;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-strip,
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card.large {
    min-height: 420px;
  }

  .contact-actions {
    justify-self: start;
    justify-content: flex-start;
    margin-top: 0;
  }

  .location-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
  }

  .brand {
    width: 92px;
    min-height: 44px;
    padding: 6px 8px;
  }

  .brand img {
    width: auto;
    height: 46px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 12px;
  }

  .hero-sound-icon {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }

  .hero {
    padding-inline: 18px;
    padding-bottom: 26px;
  }

  h1 {
    font-size: clamp(2.55rem, 16vw, 4rem);
  }

  .hero-panel,
  .trust-strip,
  .service-grid,
  .company-page,
  .info-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    min-height: auto;
  }

  .section,
  .platform,
  .showcase,
  .contact,
  .site-footer,
  .location-map {
    padding-inline: 18px;
  }

  .location-map {
    padding-bottom: 72px;
  }

  .map-copy {
    padding: 24px;
  }

  .map-copy .button {
    width: 100%;
  }

  .map-frame {
    min-height: 340px;
  }

  .section,
  .showcase {
    padding-block: 72px;
  }

  .feature-card,
  .service-grid article,
  .timeline li {
    min-height: auto;
    padding: 24px;
  }

  .timeline li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline li:last-child {
    border-bottom: 0;
  }

  .frame-diagram {
    height: 330px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact {
    min-height: auto;
    padding-block: 58px;
  }

  .contact::before {
    inset: 18px;
  }

  .contact h2 {
    font-size: clamp(2.1rem, 11vw, 3rem);
    line-height: 1.12;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Services redesign */
.services {
  position: relative;
  scroll-margin-top: 112px;
  background:
    linear-gradient(90deg, rgba(16, 20, 26, 0.045) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(0deg, rgba(16, 20, 26, 0.045) 1px, transparent 1px) 0 0 / 92px 92px,
    var(--mist);
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 64px;
  right: max(24px, calc((100vw - 1180px) / 2));
  width: min(34vw, 420px);
  height: 8px;
  background: linear-gradient(90deg, var(--signal) 0%, #ffd37a 100%);
}

.services-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: stretch;
}

.services-lead {
  display: grid;
  align-content: start;
  min-height: 610px;
}

.services-lead h2 {
  max-width: 620px;
  margin-top: 12px;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
}

.services-lead p {
  max-width: 520px;
  margin: 22px 0 28px;
  color: #3f4b5a;
  font-size: 1.08rem;
  line-height: 1.85;
}

.services-photo {
  position: relative;
  min-height: 300px;
  margin: auto 0 0;
  border: 1px solid rgba(16, 20, 26, 0.12);
  border-radius: 8px;
  background: #080b10;
  box-shadow: 0 24px 70px rgba(12, 18, 28, 0.16);
  overflow: hidden;
}

.services-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.services-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 11, 16, 0.88) 100%);
}

.services-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.45;
}

.services .service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.services .service-grid article {
  position: relative;
  display: grid;
  min-height: 292px;
  align-content: end;
  padding: 28px;
  border: 1px solid rgba(16, 20, 26, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 251, 0.9)),
    repeating-linear-gradient(90deg, rgba(16, 20, 26, 0.04) 0 1px, transparent 1px 54px);
  box-shadow: 0 18px 46px rgba(12, 18, 28, 0.08);
  overflow: hidden;
}

.services .service-grid article:nth-child(2),
.services .service-grid article:nth-child(3) {
  transform: translateY(34px);
}

.services .service-grid article::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 130px;
  height: 130px;
  border: 18px solid rgba(244, 107, 42, 0.16);
  transform: rotate(45deg);
}

.service-index {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(16, 20, 26, 0.24);
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.services .service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid #d2dce6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--signal);
}

.services .service-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.2;
}

.services .service-grid p {
  margin: 0;
  color: #596371;
  line-height: 1.75;
}

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

  .services-lead {
    min-height: auto;
  }

  .services-photo {
    min-height: 360px;
  }

  .services .service-grid article:nth-child(2),
  .services .service-grid article:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 640px) {
  .services {
    padding-inline: 18px;
    scroll-margin-top: 96px;
  }

  .services::before {
    top: 36px;
    right: 18px;
    left: 18px;
    width: auto;
  }

  .services-layout {
    gap: 18px;
  }

  .services-lead h2 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .services-lead p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .services-photo {
    min-height: 250px;
    border-radius: 8px;
    margin-bottom: 2px;
  }

  .services .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services .service-grid article {
    min-height: 235px;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .hero-video {
    animation: none;
  }
}

/* Service cards alignment + icon redesign */
.services .service-grid {
  align-items: stretch;
}

.services .service-grid article,
.services .service-grid article:nth-child(2),
.services .service-grid article:nth-child(3) {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-content: stretch;
  min-height: 278px;
  transform: none !important;
}

.services .service-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  border: 1px solid #cad6e2;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(244, 107, 42, 0.12) 1px, transparent 1px) center / 13px 13px,
    linear-gradient(0deg, rgba(244, 107, 42, 0.12) 1px, transparent 1px) center / 13px 13px,
    #ffffff;
  color: transparent;
  font-size: 0;
  box-shadow: 0 10px 22px rgba(16, 20, 26, 0.08);
}

.services .service-icon::before,
.services .service-icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid var(--signal);
}

.services .service-grid article:nth-child(1) .service-icon::before {
  transform: rotate(0deg);
}

.services .service-grid article:nth-child(1) .service-icon::after {
  inset: 21px 10px;
  border-width: 2px 0 0;
}

.services .service-grid article:nth-child(2) .service-icon::before {
  transform: rotate(45deg);
}

.services .service-grid article:nth-child(2) .service-icon::after {
  inset: 12px 25px;
  border-width: 0 0 0 2px;
}

.services .service-grid article:nth-child(3) .service-icon::before {
  inset: 25px 13px;
  border-width: 2px 0 0;
}

.services .service-grid article:nth-child(3) .service-icon::after {
  inset: 13px 25px;
  border-width: 0 0 0 2px;
}

.services .service-grid article:nth-child(4) .service-icon::before {
  inset: 18px 11px 24px;
  border-width: 2px 0 0;
  transform: rotate(14deg);
}

.services .service-grid article:nth-child(4) .service-icon::after {
  inset: 24px 11px 18px;
  border-width: 2px 0 0;
  transform: rotate(-14deg);
}

.services .service-grid h3 {
  align-self: end;
}

@media (max-width: 640px) {
  .services .service-grid article,
  .services .service-grid article:nth-child(2),
  .services .service-grid article:nth-child(3) {
    min-height: 230px;
  }
}

/* System workflow redesign */
.intro {
  position: relative;
  padding-bottom: 32px;
  background:
    linear-gradient(90deg, rgba(16, 20, 26, 0.045) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(0deg, rgba(16, 20, 26, 0.045) 1px, transparent 1px) 0 0 / 92px 92px,
    var(--paper);
  overflow: hidden;
}

.intro::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  width: min(34vw, 460px);
  height: 8px;
  background: linear-gradient(90deg, var(--signal) 0%, #ffd37a 100%);
}

.intro .intro-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.86fr);
  align-items: center;
}

.intro-copy h2 {
  max-width: 700px;
}

.intro-summary {
  max-width: 650px;
  margin: 28px 0 0 auto;
  color: #3f4b5a;
  font-size: 1.06rem;
  line-height: 1.85;
}

.intro-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(16, 20, 26, 0.14);
  border-radius: 8px;
  background: #080b10;
  box-shadow: 0 28px 80px rgba(12, 18, 28, 0.18);
  overflow: hidden;
}

.intro-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.intro-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(180deg, transparent 40%, rgba(8, 11, 16, 0.86) 100%);
}

.intro-visual::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 180px;
  height: 180px;
  border: 24px solid rgba(255, 211, 122, 0.7);
  transform: rotate(45deg);
}

.intro-badge {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.76);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.intro-badge span {
  display: block;
  margin-bottom: 4px;
  color: #ffd37a;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-badge strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.35;
}

.platform {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 18px;
  scroll-margin-top: 120px;
  padding-top: 34px;
  background:
    linear-gradient(90deg, rgba(16, 20, 26, 0.045) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(0deg, rgba(16, 20, 26, 0.045) 1px, transparent 1px) 0 0 / 92px 92px,
    var(--paper);
}

.feature-card {
  display: grid;
  align-content: end;
  border-color: rgba(16, 20, 26, 0.11);
  box-shadow: 0 18px 46px rgba(12, 18, 28, 0.08);
}

.feature-card.large {
  min-height: 560px;
  padding: 0;
}

.feature-card.large .card-index,
.feature-card.large h3,
.feature-card.large p {
  margin-inline: 32px;
}

.feature-card.large p {
  margin-bottom: 32px;
}

.feature-media {
  position: relative;
  min-height: 260px;
  margin-bottom: 28px;
  background: #080b10;
  overflow: hidden;
}

.feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(180deg, transparent 46%, rgba(8, 11, 16, 0.38) 100%);
}

@media (max-width: 980px) {
  .intro .intro-grid,
  .platform {
    grid-template-columns: 1fr;
  }

  .intro-summary {
    margin-left: 0;
  }

  .feature-card.large {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .platform {
    scroll-margin-top: 96px;
    padding-top: 28px;
  }

  .intro {
    padding-top: 72px;
  }

  .intro::after {
    right: 18px;
    left: 18px;
    width: auto;
  }

  .intro .intro-grid {
    gap: 24px;
  }

  .intro-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .intro-visual {
    min-height: 250px;
  }

  .intro-summary {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .feature-card.large .card-index,
  .feature-card.large h3,
  .feature-card.large p {
    margin-inline: 24px;
  }

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

/* Matching images for workflow cards */
.feature-card .feature-thumb {
  position: relative;
  height: 170px;
  margin: -32px -32px 28px;
  background: #080b10;
  overflow: hidden;
}

.feature-card .feature-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card:nth-child(2) .feature-thumb img,
.contact-media img {
  object-position: center;
}

.feature-card:nth-child(3) .feature-thumb img,
.intro-visual img,
.services-photo img {
  object-position: center 42%;
}

.feature-media img,
.work-item img,
.work-item video {
  object-position: center 45%;
}

.feature-card .feature-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, transparent 42%, rgba(8, 11, 16, 0.44) 100%);
}

.feature-card.dark .feature-thumb::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, rgba(8, 11, 16, 0.08) 0%, rgba(8, 11, 16, 0.62) 100%);
}

.feature-card:not(.large) {
  padding-top: 32px;
}

.feature-card:not(.large):has(.feature-thumb) {
  padding-top: 32px;
}

.feature-card:not(.large) .card-index,
.feature-card:not(.large) h3,
.feature-card:not(.large) p {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .feature-card .feature-thumb {
    height: 150px;
    margin: -24px -24px 24px;
  }
}

/* Brand refresh with new CG logo and generated system banner */
.site-header {
  background: rgba(4, 16, 38, 0.72);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  width: 128px;
  min-height: 62px;
  padding: 7px 10px;
}

.brand img {
  width: 108px;
  height: auto;
  filter: none;
}

.intro-visual {
  background: #ffffff;
}

.intro-visual img,
.services-photo img {
  object-fit: cover;
  object-position: center;
}

.intro-visual:has(img[src*="cg-frame-system-banner"]) img,
.services-photo:has(img[src*="cg-frame-system-banner"]) img {
  object-fit: cover;
  object-position: center;
}

.intro-badge {
  background: rgba(8, 22, 47, 0.86);
  box-shadow: 0 18px 40px rgba(8, 22, 47, 0.18);
}

.feature-card.dark {
  background: linear-gradient(135deg, #08162f 0%, #16253a 100%);
}

.site-footer {
  background: #050d1c;
}

.site-footer img {
  width: 154px;
  padding: 10px;
}

.button,
.header-cta,
.button.primary,
.button.ghost,
.button.ghost.light,
.button.sound,
.button.sound.is-on,
.button.sound:not(.is-on),
.contact .button.primary {
  background: linear-gradient(90deg, #ff7a1a 0%, #ff9700 52%, #ffd16a 100%);
}

.button:hover,
.header-cta:hover {
  background: linear-gradient(90deg, #ff8a2d 0%, #ffa51a 52%, #ffdc85 100%);
}

@media (max-width: 640px) {
  .brand {
    width: 102px;
    min-height: 50px;
    padding: 6px 8px;
  }

  .brand img {
    width: 86px;
    height: auto;
  }

  .intro-visual:has(img[src*="cg-frame-system-banner"]),
  .services-photo:has(img[src*="cg-frame-system-banner"]) {
    min-height: 230px;
  }
}

/* Contact CTA without image */
.contact-panel {
  grid-template-columns: 1fr;
  width: min(500px, 100%);
  min-height: 260px;
}

.contact-panel .contact-actions {
  justify-content: center;
  padding: 32px;
}

.contact-panel .button {
  min-width: 190px;
}

@media (max-width: 640px) {
  .contact-panel {
    min-height: auto;
  }

  .contact-panel .contact-actions {
    padding: 18px;
  }

  .contact-panel .button {
    min-width: 0;
  }
}

/* Final override: contact CTA after removing image */
#contact.contact {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 42px;
}

#contact .contact-panel {
  display: block;
  width: min(500px, 100%);
  min-height: auto;
  justify-self: end;
  overflow: visible;
}

#contact .contact-actions {
  display: flex;
  width: 100%;
  max-width: none;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 32px;
}

#contact .contact-actions .button {
  min-width: 190px;
  max-width: 100%;
  white-space: nowrap;
}

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

  #contact .contact-panel {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  #contact .contact-actions {
    padding: 18px;
  }

  #contact .contact-actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}

/* Visible mini map inside the final CTA */
#contact .contact-map-preview {
  position: relative;
  display: block;
  width: calc(100% - 64px);
  height: 145px;
  margin: 0 32px 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 22, 47, 0.08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(8, 22, 47, 0.08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(135deg, #e8f0f6 0%, #f7fbfd 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 18px 34px rgba(95, 28, 0, 0.18);
  overflow: hidden;
}

#contact .contact-map-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 58% 48%, rgba(255, 138, 0, 0.22), transparent 28%);
}

.mini-road {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.76);
}

.mini-main {
  left: -12%;
  top: 58%;
  width: 124%;
  height: 14px;
  background: #ffbf4a;
  transform: rotate(-7deg);
}

.mini-soi {
  left: 48%;
  top: 8%;
  width: 12px;
  height: 88%;
  background: #ffffff;
  transform: rotate(18deg);
}

.mini-pin {
  position: absolute;
  z-index: 2;
  left: 56%;
  top: 43%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, #ff6f2d 0%, #ff9c00 100%);
  color: #08162f;
  font-family: "Manrope", sans-serif;
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 16px 32px rgba(230, 109, 0, 0.32);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mini-pin::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #ffffff;
}

.mini-pin {
  text-indent: -999px;
}

.mini-pin::after {
  content: "CG\A FRAME";
  position: relative;
  z-index: 1;
  color: #08162f;
  white-space: pre;
  text-indent: 0;
  transform: rotate(45deg);
}

.mini-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #415064;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 22, 47, 0.12);
}

@media (max-width: 640px) {
  #contact .contact-map-preview {
    width: calc(100% - 36px);
    height: 170px;
    margin: 0 18px 18px;
  }
}

/* Hero readability: keep video visible */
.hero {
  grid-template-columns: minmax(0, 0.78fr) minmax(270px, 380px);
  min-height: 92vh;
  padding-top: 150px;
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2rem, 3.55vw, 3.85rem);
  line-height: 1.04;
  text-wrap: balance;
}

.hero-copy {
  max-width: 610px;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.hero-shade {
  background:
    radial-gradient(circle at 74% 24%, rgba(115, 216, 255, 0.2), transparent 27%),
    linear-gradient(90deg, rgba(4, 7, 11, 0.82) 0%, rgba(4, 7, 11, 0.46) 44%, rgba(4, 7, 11, 0.14) 100%),
    linear-gradient(0deg, rgba(4, 7, 11, 0.74) 0%, transparent 42%);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 132px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(1.95rem, 7.2vw, 3.35rem);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 92vh;
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8.6vw, 2.55rem);
    line-height: 1.08;
  }
}

.button,
.header-cta,
.button.primary,
.button.ghost,
.button.ghost.light,
.button.sound,
.button.sound.is-on,
.button.sound:not(.is-on),
.contact .button.primary {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff763c 0%, #ff9c4d 46%, #ffd37a 100%);
  color: #080b10;
  box-shadow: 0 16px 34px rgba(244, 107, 42, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.26);
}

.button:hover,
.header-cta:hover {
  background: linear-gradient(90deg, #ff8b4f 0%, #ffad5b 46%, #ffe097 100%);
}

.header-cta.facebook-button {
  background: linear-gradient(90deg, #0866ff 0%, #1877f2 50%, #4aa3ff 100%);
  color: #ffffff;
  text-shadow: none;
  box-shadow: 0 16px 34px rgba(8, 102, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.header-cta.facebook-button:hover {
  background: linear-gradient(90deg, #1877f2 0%, #2f86ff 50%, #65b4ff 100%);
}

.showcase {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

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

.work-item {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #080b10;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.work-video {
  grid-column: 1 / -1;
  min-height: 430px;
}

.work-item img,
.work-item video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.work-item figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff763c 0%, #ff9c4d 46%, #ffd37a 100%);
  color: #080b10;
  font-weight: 800;
  line-height: 1.35;
  padding: 10px 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

@media (max-width: 980px) {
  .work-gallery {
    grid-template-columns: 1fr;
  }

  .work-video,
  .work-item {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .showcase {
    display: block;
    padding: 72px 0;
  }

  .showcase-copy {
    padding-inline: 18px;
    margin-bottom: 28px;
  }

  .showcase-copy h2 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .showcase-copy p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .work-gallery {
    gap: 10px;
  }

  .work-video,
  .work-item {
    min-height: 280px;
    border-inline: 0;
    border-radius: 0;
  }

  .work-video {
    min-height: 360px;
  }

  .work-item figcaption {
    position: static;
    border-radius: 0;
    font-size: 0.95rem;
    padding: 12px 18px;
  }
}

/* Final CTA polish */
.contact {
  grid-template-columns: minmax(0, 700px) minmax(460px, 1fr);
  gap: 44px;
  min-height: 430px;
  padding-block: 58px;
  scroll-margin-top: 120px;
}

.contact::before {
  inset: 28px max(18px, calc((100vw - 1260px) / 2));
}

.contact-copy p {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact h2 {
  max-width: 700px;
  font-size: clamp(2.45rem, 3vw, 3.8rem);
  line-height: 1.08;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.86fr) minmax(260px, 1fr);
  justify-self: end;
  align-items: stretch;
  width: min(620px, 100%);
  min-height: 278px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.18);
  box-shadow: 0 28px 80px rgba(83, 24, 0, 0.28);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.contact-media {
  position: relative;
  min-height: 278px;
  margin: 0;
  background: #080b10;
  overflow: hidden;
}

.contact-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(8, 11, 16, 0.86) 100%);
}

.contact-media figcaption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  left: 14px;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-end;
  gap: 12px;
  max-width: none;
  margin-top: 0;
  padding: 26px;
}

.contact-actions .button {
  min-height: 46px;
  white-space: nowrap;
}

.header-cta.facebook-button:hover {
  background: linear-gradient(90deg, #1877f2 0%, #2f86ff 50%, #65b4ff 100%);
}

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

  .contact-panel {
    justify-self: start;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .contact {
    min-height: auto;
    padding-block: 58px;
    scroll-margin-top: 96px;
  }

  .contact::before {
    inset: 18px;
  }

  .contact h2 {
    font-size: clamp(2.05rem, 10.2vw, 3rem);
    line-height: 1.12;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-media {
    min-height: 220px;
  }

  .contact-actions {
    width: 100%;
    padding: 18px;
  }

  .contact-actions .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

