/* ====================================================
   VGIK Contract Site — style.css
   UI Kit: Onest + Martian Mono · Blue #1A56DB · Orange #F04E23
   ==================================================== */

/* === TOKENS === */
:root {
  /* Fonts */
  --font-body:    'Onest', 'Arial', sans-serif;
  --font-mono:    'Martian Mono', 'Courier New', monospace;

  /* Type scale */
  --text-xs:   clamp(0.6875rem, 0.65rem + 0.2vw, 0.75rem);    /* 11–12px */
  --text-sm:   clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);   /* 13–14px */
  --text-base: clamp(0.9375rem, 0.9rem  + 0.2vw, 1rem);       /* 15–16px */
  --text-md:   clamp(1rem,      0.95rem + 0.3vw, 1.125rem);   /* 16–18px */
  --text-lg:   clamp(1.125rem,  1rem    + 0.6vw, 1.375rem);   /* 18–22px */
  --text-xl:   clamp(1.375rem,  1.1rem  + 1.2vw, 2rem);       /* 22–32px */
  --text-2xl:  clamp(1.875rem,  1.3rem  + 2.4vw, 3rem);       /* 30–48px */
  --text-hero: clamp(2.5rem,    1.5rem  + 4vw,   4.5rem);     /* 40–72px */

  /* Spacing (4px base) */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.25rem; --sp-6: 1.5rem;
  --sp-8: 2rem;     --sp-10: 2.5rem; --sp-12: 3rem;
  --sp-16: 4rem;    --sp-20: 5rem;   --sp-24: 6rem;

  /* Radius */
  --r-sm:   0.25rem;
  --r-md:   0.375rem;
  --r-lg:   0.5rem;
  --r-xl:   0.75rem;
  --r-2xl:  1rem;
  --r-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tr: 180ms var(--ease);
  --tr-med: 280ms var(--ease);

  /* Content widths */
  --w-default: 1200px;
  --w-narrow:  760px;
  --w-wide:    1400px;

  /* === LIGHT PALETTE (UI kit colors) === */
  --c-blue:        #1A56DB;
  --c-blue-dk:     #1447B8;
  --c-blue-lt:     #EBF1FF;
  --c-blue-mid:    #2563EB;

  --c-orange:      #F04E23;
  --c-orange-dk:   #D43D14;
  --c-orange-lt:   #FFF0EC;

  --c-navy:        #0D1B2E;
  --c-navy-2:      #162135;
  --c-navy-3:      #1E2D40;

  --c-bg:          #FFFFFF;
  --c-bg-gray:     #F5F6F8;
  --c-bg-gray-2:   #ECEEF2;

  --c-text:        #0D1B2E;
  --c-text-2:      #3D4E60;
  --c-text-3:      #6B7A8D;
  --c-text-inv:    #FFFFFF;

  --c-border:      #D8DDE6;
  --c-border-lt:   #ECF0F5;

  --c-shadow-sm:   0 1px 3px rgba(13,27,46,.07);
  --c-shadow-md:   0 4px 16px rgba(13,27,46,.09);
  --c-shadow-lg:   0 12px 40px rgba(13,27,46,.13);
}

/* === BASE RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
}
img, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.18; }
p, li { text-wrap: pretty; max-width: 72ch; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
::selection { background: color-mix(in oklab, var(--c-blue), transparent 80%); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === UTILS === */
.mono { font-family: var(--font-mono); font-weight: 300; letter-spacing: -0.01em; }
.text-muted { color: var(--c-text-3); }
.container {
  width: min(var(--w-default), 100% - 2 * var(--sp-6));
  margin-inline: auto;
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--tr-med);
}
.header--scrolled { box-shadow: var(--c-shadow-md); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo__svg {
  width: auto;
  height: 52px;
  flex-shrink: 0;
  /* Перекрашиваем SVG в цвет #16205B */
  filter: invert(12%) sepia(60%) saturate(900%) hue-rotate(210deg) brightness(55%);
}
.logo__text-block { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name {
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.logo__name--white { color: white; }
.logo__tagline {
  font-size: var(--text-xs);
  color: #16205B;
  font-weight: 600;
  max-width: none;
  line-height: 1.4;
}
.logo__tagline--white {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-xs);
  line-height: 1.5;
}

/* Nav */
.nav { display: flex; }
.nav__list { display: flex; gap: var(--sp-1); list-style: none; }
.nav__link {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-2);
  text-decoration: none;
  border-radius: var(--r-md);
  transition: color var(--tr), background var(--tr);
  white-space: nowrap;
}
.nav__link:hover { color: var(--c-blue); background: var(--c-blue-lt); }
.header__actions { display: flex; align-items: center; gap: var(--sp-3); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--r-md);
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-1); }
.mobile-nav li a {
  display: block;
  padding: var(--sp-3) var(--sp-3);
  font-weight: 500;
  color: var(--c-text-2);
  text-decoration: none;
  border-radius: var(--r-md);
  transition: color var(--tr), background var(--tr);
}
.mobile-nav li a:hover { color: var(--c-blue); background: var(--c-blue-lt); }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 500px) {
  .logo__tagline { display: none; }
  .logo__svg { height: 40px; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.625rem var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: var(--r-lg);
  white-space: nowrap;
  transition: background var(--tr), color var(--tr), box-shadow var(--tr), transform 100ms;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--c-blue);
  color: white;
  border-color: var(--c-blue);
}
.btn--primary:hover {
  background: var(--c-blue-dk);
  border-color: var(--c-blue-dk);
  box-shadow: 0 4px 16px color-mix(in oklab, var(--c-blue), transparent 60%);
}
.btn--outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn--white {
  background: white;
  color: var(--c-blue);
  border-color: white;
}
.btn--white:hover { background: var(--c-blue-lt); }
.btn--lg {
  padding: 0.875rem var(--sp-8);
  font-size: var(--text-base);
}
.btn--full { width: 100%; }

/* === SECTIONS === */
.section {
  padding-block: clamp(var(--sp-12), 7vw, var(--sp-24));
}
.section--gray { background: var(--c-bg-gray); }
.section--dark {
  background: var(--c-navy);
  color: white;
}

/* Section head */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: clamp(var(--sp-8), 4vw, var(--sp-12));
  padding-bottom: var(--sp-5);
  border-bottom: 2px solid var(--c-border-lt);
}
.section--dark .section-head { border-bottom-color: rgba(255,255,255,0.1); }
.section-head--inner { margin-top: var(--sp-12); }
.section-head--left { flex-direction: column; align-items: flex-start; border: none; padding-bottom: 0; }
.section-head--white .section-head__title { color: white; }

.section-head__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-text);
}
.section-head__title--h3 {
  font-size: var(--text-xl);
  font-weight: 700;
}
.section-head--white .section-head__title,
.section--dark .section-head__title { color: white; }
.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-blue);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap var(--tr);
}
.section-head__link:hover { gap: var(--sp-3); }
.section-head__note {
  font-size: var(--text-sm);
  color: var(--c-text-3);
  font-weight: 400;
}
.section-head__note--light { color: rgba(255,255,255,0.5); }
.section-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--c-blue);
  background: var(--c-blue-lt);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}
.section-head--left p {
  font-size: var(--text-md);
  color: var(--c-text-2);
  max-width: 52ch;
  margin-top: var(--sp-3);
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: clamp(480px, 80vh, 760px);
  display: flex;
  flex-direction: column;
}
.hero__image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__image {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(13,27,46,0.88) 0%,
    rgba(13,27,46,0.70) 45%,
    rgba(13,27,46,0.25) 100%
  );
}
/* Логотип ВГИК в левом верхнем углу hero */
.hero__logo-corner {
  position: absolute;
  top: clamp(var(--sp-6), 3vw, var(--sp-10));
  /* выравниваем по левому краю контейнера */
  left: max(var(--sp-6), calc((100% - var(--w-default)) / 2 + var(--sp-6)));
  z-index: 3;
  opacity: 0.85;
}
.hero__logo-svg {
  height: clamp(60px, 8vw, 100px);
  width: auto;
  /* Перекрашиваем в белый для контраста на тёмном фоне */
  filter: brightness(0) invert(1);
}
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(var(--sp-16), 8vw, var(--sp-24));
  padding-bottom: clamp(var(--sp-12), 5vw, var(--sp-16));
  }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
  width: fit-content;
}
.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: var(--sp-5);
  line-height: 1.05;
}
.hero__title-accent { color: var(--c-orange); }
.hero__desc {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 52ch;
}
.hero__desc strong { color: white; font-weight: 700; }
.hero__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Stat bar */
.hero__statbar {
  position: relative;
  z-index: 2;
  background: var(--c-blue);
}
.statbar__inner {
  display: flex;
  align-items: stretch;
  min-height: 72px;
  flex-wrap: wrap;
}
.statbar__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-4) var(--sp-6);
  flex: 1;
  min-width: 150px;
}
.statbar__sep {
  width: 1px;
  background: rgba(255,255,255,0.2);
  align-self: stretch;
}
.statbar__val {
  font-size: var(--text-lg);
  font-weight: 400;
  color: white;
  line-height: 1.2;
  white-space: nowrap;
}
.statbar__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
  max-width: none;
}

@media (max-width: 640px) {
  .statbar__inner { flex-direction: column; }
  .statbar__sep { width: 100%; height: 1px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ═══════════ ABOUT ═══════════ */
.about-lead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
  flex-wrap: wrap;
}
.about-lead__text p {
  font-size: var(--text-md);
  color: var(--c-text-2);
  max-width: 58ch;
}
.about-lead__mono { text-align: right; flex-shrink: 0; }
.about-lead__mono span { font-size: var(--text-xs); display: block; color: var(--c-text-3); max-width: none; }

/* 3-column cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

.card-feature {
  background: var(--c-bg-gray);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  transition: box-shadow var(--tr-med), transform var(--tr-med);
}
.card-feature:hover { box-shadow: var(--c-shadow-md); transform: translateY(-2px); }
.card-feature--blue {
  background: var(--c-blue);
  border-color: var(--c-blue-dk);
  color: white;
}
.card-feature--orange {
  background: var(--c-orange);
  border-color: var(--c-orange-dk);
  color: white;
}
.card-feature__num {
  font-size: var(--text-xs);
  color: inherit;
  opacity: 0.5;
  margin-bottom: var(--sp-4);
}
.card-feature--blue .card-feature__num,
.card-feature--orange .card-feature__num { opacity: 0.6; }
.card-feature__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-5);
  color: inherit;
}
.card-feature:not(.card-feature--blue):not(.card-feature--orange) .card-feature__title { color: var(--c-text); }

/* Tick list */
.tick-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.tick-list li {
  font-size: var(--text-sm);
  padding-left: var(--sp-5);
  position: relative;
  color: var(--c-text-2);
  max-width: none;
}
.card-feature--blue .tick-list li,
.card-feature--orange .tick-list li { color: rgba(255,255,255,0.85); }
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-blue);
}
.card-feature--blue .tick-list li::before { background: rgba(255,255,255,0.6); }
.card-feature--orange .tick-list li::before { background: rgba(255,255,255,0.6); }
.tick-list--light li::before { background: rgba(255,255,255,0.6); }

/* Callout */
.callout {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-6) var(--sp-8);
  border-radius: var(--r-2xl);
  background: var(--c-bg-gray);
  border: 1px solid var(--c-border-lt);
  flex-wrap: wrap;
}
.callout--blue-line { border-left: 4px solid var(--c-blue); }
.callout__label {
  font-size: var(--text-xs);
  color: var(--c-blue);
  writing-mode: vertical-lr;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  flex-shrink: 0;
}
.callout__body { flex: 1; }
.callout__body h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}
.callout__body p { font-size: var(--text-sm); color: var(--c-text-2); max-width: none; }
.callout .btn { flex-shrink: 0; }
@media (max-width: 640px) {
  .callout { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .callout__label { writing-mode: horizontal-tb; }
}

/* ═══════════ PAY ═══════════ */
.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--sp-5);
}
.pay-card--featured {
  grid-row: span 2;
  grid-column: 1;
}
@media (max-width: 900px) {
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .pay-card--featured { grid-column: span 2; grid-row: 1; }
}
@media (max-width: 540px) {
  .pay-grid { grid-template-columns: 1fr; }
  .pay-card--featured { grid-column: 1; }
}

.pay-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: box-shadow var(--tr-med), transform var(--tr-med);
}
.pay-card:hover { box-shadow: var(--c-shadow-md); transform: translateY(-2px); }
.pay-card--featured {
  background: var(--c-navy);
  border-color: var(--c-navy-2);
  color: white;
  justify-content: space-between;
}
.pay-card--accent {
  background: var(--c-orange);
  border-color: var(--c-orange-dk);
  color: white;
}
.pay-card__eyebrow {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--c-text-3);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.pay-card--featured .pay-card__eyebrow { color: rgba(255,255,255,0.5); }
.pay-card--accent .pay-card__eyebrow { color: rgba(255,255,255,0.65); }
.pay-card__amount {
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1;
  color: var(--c-text);
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
  white-space: nowrap;
}
.pay-card--featured .pay-card__amount,
.pay-card--accent .pay-card__amount { color: white; }
.pay-card__amount span { font-size: 0.7em; opacity: 0.7; }
.pay-card__amount--md { font-size: var(--text-xl); }
.pay-card__note {
  font-size: var(--text-sm);
  color: var(--c-text-3);
  line-height: 1.5;
  max-width: none;
}
.pay-card--featured .pay-card__note { color: rgba(255,255,255,0.55); }
.pay-card--accent .pay-card__note { color: rgba(255,255,255,0.75); }

/* Guarantees grid — 4 в строке */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 900px) {
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .guarantees-grid { grid-template-columns: 1fr; }
}
.g-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  font-size: var(--text-sm);
  color: var(--c-text-2);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.g-item:hover { border-color: var(--c-blue); box-shadow: var(--c-shadow-sm); }
.g-item__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-blue-lt);
  color: var(--c-blue);
  border-radius: var(--r-lg);
}
.g-item span { max-width: none; }

/* ═══════════ BENEFITS ═══════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 860px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-card {
  background: var(--c-bg-gray);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--tr-med), transform var(--tr-med);
}
.benefit-card:hover { box-shadow: var(--c-shadow-md); transform: translateY(-2px); }
.benefit-card::before {
  content: attr(data-n);
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 300;
  color: var(--c-border-lt);
  line-height: 1;
  pointer-events: none;
}
.benefit-card--blue {
  background: var(--c-blue);
  border-color: var(--c-blue-dk);
}
.benefit-card--blue::before { color: rgba(255,255,255,0.12); }
.benefit-card h3 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
.benefit-card--blue h3 { color: white; }
.benefit-card p {
  font-size: var(--text-sm);
  color: var(--c-text-2);
  line-height: 1.65;
  max-width: none;
}
.benefit-card--blue p { color: rgba(255,255,255,0.8); }

/* ═══════════ GUARANTEES (dark section) ═══════════ */
.guarantee-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.guarantee-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--tr);
}
.guarantee-row:last-child { border-bottom: none; }
.guarantee-row:hover { background: rgba(255,255,255,0.03); margin-inline: calc(-1 * var(--sp-4)); padding-inline: var(--sp-4); border-radius: var(--r-lg); }
.guarantee-row__num {
  font-size: var(--text-xl);
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  line-height: 1;
  text-align: right;
}
.guarantee-row__content h3 {
  font-size: var(--text-md);
  font-weight: 700;
  color: white;
  margin-bottom: var(--sp-1);
}
.guarantee-row__content p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: none;
}
.guarantee-row__tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--c-blue);
  background: rgba(26,86,219,0.2);
  border: 1px solid rgba(26,86,219,0.35);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .guarantee-row { grid-template-columns: 40px 1fr; }
  .guarantee-row__tag { display: none; }
}

/* ═══════════ FAQ ═══════════ */
.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: start;
}
@media (max-width: 740px) { .faq-cols { grid-template-columns: 1fr; } }

.faq-col { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color var(--tr);
}
.faq-item[open] { border-color: var(--c-blue); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  transition: color var(--tr);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--c-blue); }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--c-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.5;
  transition: transform 0.3s var(--ease), opacity var(--tr);
}
.faq-item[open] summary::after { transform: rotate(180deg); opacity: 1; }
.faq-item__body {
  padding: 0 var(--sp-6) var(--sp-5);
  border-top: 1px solid var(--c-border-lt);
}
.faq-item__body p {
  font-size: var(--text-sm);
  color: var(--c-text-2);
  line-height: 1.7;
  max-width: none;
  padding-top: var(--sp-4);
}

/* ═══════════ CONTACT ═══════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-8), 6vw, var(--sp-16));
  align-items: start;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info .section-head--left { margin-bottom: var(--sp-8); }
.contact-details { display: flex; flex-direction: column; gap: var(--sp-5); }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.contact-item__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-blue-lt);
  color: var(--c-blue);
  border-radius: var(--r-lg);
}
.contact-item__label {
  font-size: var(--text-xs);
  color: var(--c-text-3);
  font-family: var(--font-mono);
  font-weight: 300;
  margin-bottom: 2px;
}
.contact-item__val {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  display: block;
  transition: color var(--tr);
}
a.contact-item__val:hover { color: var(--c-blue); }

/* Form */
.contact-form-wrap {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: 0;
  box-shadow: var(--c-shadow-md);
  overflow: hidden;
}

.contact-form-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.contact-form__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: var(--sp-6);
  letter-spacing: -0.02em;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.form-field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-2);
}
.form-field label span { color: var(--c-orange); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.6875rem var(--sp-4);
  background: var(--c-bg-gray);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  font-size: var(--text-base);
  color: var(--c-text);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--c-blue);
  background: var(--c-bg);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-blue), transparent 85%);
}
.form-legal {
  margin-top: var(--sp-4);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  line-height: 1.5;
  max-width: none;
}
.form-legal a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }

/* ═══════════ FOOTER ═══════════ */
.footer__logo { align-items: flex-end; }
.footer {
  background: var(--c-navy);
  color: rgba(255,255,255,0.55);
}
.logo__svg--footer {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-12);
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; gap: var(--sp-8); }
}
.footer__brand .logo { margin-bottom: var(--sp-4); }
.footer__brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: var(--sp-2);
  max-width: 36ch;
}
.footer__addr { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 300; }
.footer__nav h4 {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-4);
}
.footer__nav ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--tr);
  max-width: none;
}
.footer__nav a:hover { color: white; }
.footer__bottom {
  padding-block: var(--sp-5);
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  max-width: none;
  text-align: center;
}
