/* =========================================================
   Гольфстрим — Climate Architecture
   Ultra-modern B2B climate systems site
   ========================================================= */

:root {
  --bg: #05080f;
  --bg-elev: #0a101c;
  --bg-card: rgba(14, 22, 38, 0.72);
  --line: rgba(140, 200, 255, 0.12);
  --line-strong: rgba(120, 220, 255, 0.28);
  --text: #e8f1ff;
  --muted: #8a9bb8;
  --faint: #5c6d88;
  --ice: #5ce1ff;
  --ice-dim: #2a9ec4;
  --frost: #a8f0ff;
  --accent: #3dffa8;
  --warn: #ffb86b;
  --glow: rgba(92, 225, 255, 0.35);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", system-ui, sans-serif;
  --rail: 72px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
  --max-hero: 1600px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--ice-dim) var(--bg);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(45, 160, 220, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(61, 255, 168, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 60% at 70% 100%, rgba(30, 80, 160, 0.15), transparent 55%),
    var(--bg);
  pointer-events: none;
}

#airflow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 225, 255, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: screen;
}

body.is-pointer .cursor-glow {
  opacity: 1;
}

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

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

address {
  font-style: normal;
}

/* ---------- Rail ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-right: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.75);
  backdrop-filter: blur(16px);
}

.rail__logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 24px rgba(92, 225, 255, 0.15);
  flex-shrink: 0;
}

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

.rail__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.rail__nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.25s var(--ease);
}

.rail__nav a span {
  color: var(--ice-dim);
  font-variant-numeric: tabular-nums;
}

.rail__nav a:hover,
.rail__nav a.is-active {
  color: var(--text);
}

.rail__nav a.is-active span {
  color: var(--ice);
}

.rail__phone {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ice);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.rail__phone svg {
  width: 18px;
  height: 18px;
}

.rail__phone:hover {
  border-color: var(--ice);
  box-shadow: 0 0 20px var(--glow);
  transform: scale(1.05);
}

/* ---------- Mobile header ---------- */
.m-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 60px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.m-header__logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-header__logo img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.m-header__logo span {
  color: var(--ice);
  margin-left: 2px;
}

.m-header__burger {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 7px;
  cursor: pointer;
}

.m-header__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.m-header__burger[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.m-header__burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.m-menu {
  position: fixed;
  inset: 60px 0 0 0;
  z-index: 110;
  background: rgba(5, 8, 15, 0.96);
  backdrop-filter: blur(20px);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.m-menu[hidden] {
  display: none;
}

.m-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-menu nav a {
  font-family: var(--display);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

/* ---------- Layout shell ---------- */
main {
  margin-left: var(--rail);
  position: relative;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.btn--solid {
  background: linear-gradient(135deg, #5ce1ff 0%, #3dffa8 100%);
  color: #041018;
  box-shadow: 0 0 0 0 transparent, 0 10px 40px rgba(92, 225, 255, 0.2);
}

.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(92, 225, 255, 0.35), 0 12px 40px rgba(61, 255, 168, 0.15);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--ice);
  background: rgba(92, 225, 255, 0.06);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--ice);
  background: rgba(92, 225, 255, 0.08);
}

.pill--dim {
  color: var(--muted);
  border-color: var(--line);
  background: transparent;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(72px, 10vw, 120px) clamp(24px, 5vw, 64px);
  max-width: calc(var(--max) + 128px);
  margin: 0 auto;
  position: relative;
}

.section__head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ice);
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section__sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 4.5vw, 72px) 0;
  max-width: var(--max-hero);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

/* Full-bleed video behind entire hero */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  margin: 0 calc(50% - 50vw + var(--rail) / 2);
  width: calc(100vw - var(--rail));
  max-width: none;
  height: 100%;
  overflow: hidden;
}

.hero__bg img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  filter: none;
  display: block;
}

.hero__video {
  pointer-events: none;
}

/* Light veil: video stays visible, text remains readable on the left */
.hero__bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(5, 8, 15, 0.78) 0%,
      rgba(5, 8, 15, 0.45) 38%,
      rgba(5, 8, 15, 0.12) 62%,
      rgba(5, 8, 15, 0.2) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 8, 15, 0.25) 0%,
      transparent 28%,
      transparent 72%,
      rgba(5, 8, 15, 0.85) 100%
    );
}

.hero__meta,
.hero__content,
.hero__stats,
.marquee {
  position: relative;
  z-index: 1;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.hero__content {
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: clamp(24px, 4vw, 40px);
  min-height: min(52vh, 520px);
}

.hero__copy {
  min-width: 0;
  max-width: min(920px, 100%);
  width: 100%;
  padding: clamp(18px, 2.5vw, 28px) clamp(16px, 2.5vw, 32px);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(140, 200, 255, 0.14);
  background: rgba(5, 10, 18, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  max-width: 100%;
  overflow: hidden;
}

.hero__title .line {
  display: block;
  max-width: 100%;
}

/* «кондиционирования» — одна строка; размер подгоняет JS (data-fit-text) */
.hero__title .line--accent {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  line-height: 1.12;
}

.hero__title .line--accent [data-fit-text] {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(1.35rem, 5.5vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
  background: linear-gradient(105deg, var(--ice) 0%, var(--frost) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(92, 225, 255, 0.25));
  transform-origin: left center;
}

.hero__lead {
  color: rgba(210, 224, 245, 0.92);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  max-width: 54ch;
  margin-bottom: 32px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions .btn--ghost {
  background: rgba(5, 10, 18, 0.35);
  border-color: rgba(140, 200, 255, 0.35);
  backdrop-filter: blur(8px);
}

/* Full-width stats strip under hero */
.hero__stats {
  list-style: none;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr);
  gap: 0;
  margin: 0 0 clamp(8px, 2vw, 16px);
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(140, 200, 255, 0.16);
  background: rgba(8, 14, 24, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 22px 24px;
  min-width: 0;
  border-right: 1px solid var(--line);
}

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

.hero__stats strong {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ice);
  line-height: 1;
  white-space: nowrap;
}

.hero__stats span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
  white-space: normal;
}

.hero__stats-note {
  background: linear-gradient(120deg, rgba(92, 225, 255, 0.06), transparent 70%);
}

.hero__stats-note span {
  white-space: normal;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.45;
  font-weight: 500;
}

/* Marquee */
.marquee {
  margin: 0 calc(-1 * clamp(24px, 5vw, 64px));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(8, 14, 26, 0.6);
}

.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track span {
  flex-shrink: 0;
  padding: 16px 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  border-right: 1px solid var(--line);
}

.marquee__track span:nth-child(odd) {
  color: var(--ice-dim);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Services bento ---------- */
.service-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.bento:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.bento:hover .bento__media img {
  transform: scale(1.06);
}

.bento__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}

.bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.bento__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 14, 24, 0.55) 100%);
  pointer-events: none;
}

.bento--lg {
  grid-row: span 2;
}

.bento--lg .bento__media {
  flex: 1;
  min-height: 220px;
  aspect-ratio: auto;
}

.bento--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.bento--wide .bento__media,
.bento--wide .bento__media--wide {
  aspect-ratio: auto;
  min-height: 240px;
  height: 100%;
}

.bento__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: linear-gradient(180deg, rgba(8, 14, 24, 0.4), transparent);
}

.bento__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 12px;
}

.bento h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.bento p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.bento ul {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento ul li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}

.bento ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(61, 255, 168, 0.5);
}

.bento__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.bento__chips span {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Timeline cycle ---------- */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}

.timeline::before {
  display: none;
}

.timeline__item {
  position: relative;
  padding: 0 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(10, 16, 28, 0.65);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.timeline__item:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.timeline__item:hover .timeline__thumb img {
  transform: scale(1.08);
}

.timeline__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.timeline__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.timeline__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10, 16, 28, 0.9));
}

.timeline__n {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--ice-dim);
  margin: 14px 16px 8px;
  letter-spacing: -0.03em;
}

.timeline__item > div:last-child {
  padding: 0 16px;
}

.timeline__item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.timeline__item p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Business ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.biz-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
  display: flex;
  flex-direction: column;
}

.biz-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, var(--ice), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.biz-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.biz-card:hover::before {
  transform: scaleX(1);
}

.biz-card:hover .biz-card__media img {
  transform: scale(1.07);
}

.biz-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.biz-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.biz-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 15, 0.65) 100%);
}

.biz-card__body {
  padding: 18px 20px 22px;
}

.biz-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.biz-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Why ---------- */
.why__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.why__sticky {
  position: sticky;
  top: 80px;
}

.why__sticky .btn {
  margin-top: 20px;
}

.why__visual {
  margin: 24px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

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

.why__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-item {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(92, 225, 255, 0.04), transparent 40%), var(--bg-card);
  transition: border-color 0.3s;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
}

.why-item:hover {
  border-color: var(--line-strong);
}

.why-item__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.why-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-item h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.why-item p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 48ch;
}

/* ---------- Objects ---------- */
.objects-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.obj {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}

.obj:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.obj:hover .obj__visual img {
  transform: scale(1.06);
}

.obj__visual {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.obj__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.obj__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 15, 0.75), transparent 55%);
  pointer-events: none;
}

.obj figcaption {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.obj figcaption strong {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.obj figcaption span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact {
  padding-bottom: clamp(48px, 8vw, 80px);
}

.contact__banner {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 20px;
  aspect-ratio: 21 / 7;
  min-height: 180px;
}

.contact__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 15, 0.88) 0%, rgba(5, 8, 15, 0.35) 55%, rgba(5, 8, 15, 0.55) 100%);
}

.contact__banner-text {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
  gap: 6px;
}

.contact__banner-text span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
}

.contact__banner-text strong {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding: clamp(32px, 4vw, 48px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(92, 225, 255, 0.1), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(61, 255, 168, 0.06), transparent 45%),
    var(--bg-card);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

.contact__list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact__list li span:first-child {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.contact__list a {
  color: var(--ice);
  font-weight: 600;
  transition: color 0.2s;
}

.contact__list a:hover {
  color: var(--frost);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__form label span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.55);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--faint);
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--ice-dim);
  box-shadow: 0 0 0 3px rgba(92, 225, 255, 0.12);
}

.contact__form input.is-invalid,
.contact__form textarea.is-invalid {
  border-color: #ff6b6b;
}

.form-note {
  font-size: 0.78rem;
  color: var(--faint);
  text-align: center;
}

.form-success {
  padding: 14px;
  border-radius: 12px;
  background: rgba(61, 255, 168, 0.1);
  border: 1px solid rgba(61, 255, 168, 0.3);
  color: var(--accent);
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.form-error {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ff9b9b;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact__form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* ---------- Footer ---------- */
.footer {
  margin-left: var(--rail);
  padding: 28px clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.footer__brand > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__brand strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 1rem;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer__meta a:hover {
  color: var(--ice);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .service-bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento--lg {
    grid-row: auto;
  }

  .bento--lg .bento__media {
    min-height: 180px;
    aspect-ratio: 16 / 10;
  }

  .bento--wide {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
  }

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

  .timeline::before {
    display: none;
  }

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

@media (max-width: 900px) {
  :root {
    --rail: 0px;
  }

  .rail {
    display: none;
  }

  .m-header {
    display: flex;
  }

  main,
  .footer {
    margin-left: 0;
  }

  .hero {
    padding-top: 88px;
    min-height: auto;
  }

  .hero__bg {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }

  .hero__title .line {
    white-space: normal;
  }

  .hero__copy {
    max-width: 100%;
  }

  .hero__content {
    min-height: auto;
    align-items: flex-end;
  }

  .hero__bg-shade {
    background:
      linear-gradient(
        180deg,
        rgba(5, 8, 15, 0.35) 0%,
        rgba(5, 8, 15, 0.2) 40%,
        rgba(5, 8, 15, 0.55) 70%,
        rgba(5, 8, 15, 0.9) 100%
      ),
      linear-gradient(
        90deg,
        rgba(5, 8, 15, 0.45) 0%,
        rgba(5, 8, 15, 0.15) 100%
      );
  }

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

  .hero__stats li:nth-child(2) {
    border-right: 0;
  }

  .hero__stats-note {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .why__layout,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .why__sticky {
    position: static;
  }

  .objects-strip {
    grid-template-columns: 1fr;
  }

  .obj__visual {
    aspect-ratio: 16 / 9;
  }
}

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

  .hero__stats li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding: 16px 18px;
  }

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

  .hero__stats strong {
    min-width: 3.6ch;
  }

  .hero__stats span {
    white-space: normal;
  }

  .hero__stats-note {
    border-top: 0;
  }

  .hero__stats-note span {
    font-size: 0.9rem;
  }

  .service-bento,
  .timeline,
  .biz-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .bento--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .why-item {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .why-item__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .contact__banner {
    aspect-ratio: 16 / 9;
  }

  .contact__list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero__title {
    font-size: clamp(2.15rem, 9.5vw, 2.85rem);
  }

  .hero__title .line {
    white-space: normal;
  }

  .cursor-glow {
    display: none;
  }
}

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

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

  .marquee__track {
    animation: none;
  }

  .hero__video {
    display: none;
  }

  .hero__bg {
    background: url("../img/hero.jpg") center 40% / cover no-repeat;
  }
}
