﻿:root {
  --bg: #ffffff;
  --text: #141922;
  --muted: #636b74;
  --line: #e5e7eb;
  --soft: #f5f6f8;
  --dark: #1e2329;
  --dark-2: #171a1f;
  --primary: #bb1738;
  --primary-dark: #99142e;
  --ink: #111827;
  --radius: 14px;
  --shadow: 0 22px 55px rgba(20, 25, 34, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: var(--dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.top-bar {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.top-bar-inner {
  min-height: 38px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.top-bar a,
.site-footer a {
  text-decoration: none;
}

.top-bar a:hover,
.site-footer a:hover {
  color: #ff6d86;
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  min-width: max-content;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #111827, #2a3038);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 -4px 0 var(--primary), 0 10px 24px rgba(0,0,0,.22);
  font-weight: 900;
  font-size: 15px;
}

.brand-icon span {
  position: relative;
  z-index: 1;
}

.brand-icon::after {
  content: "";
  position: absolute;
  inset: 8px 8px auto auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

.brand strong {
  display: block;
  font-size: 19px;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 8px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  background: var(--primary);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--primary);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.header-cta:hover,
.button:hover {
  background: var(--primary-dark);
}

.button:active {
  transform: translateY(1px);
}

.button.secondary {
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
}

.button.secondary:hover {
  background: rgba(255,255,255,.2);
}

.button.light {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
}

.button.full {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}

.page-hero {
  min-height: 430px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .72;
  filter: contrast(1.08) saturate(1.04) brightness(.72);
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,25,34,.96), rgba(20,25,34,.84) 48%, rgba(20,25,34,.28)),
    linear-gradient(0deg, rgba(20,25,34,.22), rgba(20,25,34,0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 96px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ff9bab;
  background: rgba(187,23,56,.16);
  border: 1px solid rgba(255,155,171,.3);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 54px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.lead {
  color: rgba(255,255,255,.82);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 650;
  max-width: 720px;
}

.muted {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  font-weight: 700;
}

.section {
  padding: 98px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  color: #fff;
  background: var(--dark);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col.top {
  align-items: start;
  gap: clamp(48px, 6vw, 88px);
}

.two-col.top h2 {
  font-size: clamp(27px, 3vw, 38px);
}

.image-card {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: var(--soft);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(20,25,34,.08);
}

.image-card.portrait {
  aspect-ratio: 4 / 5;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.02);
}

.center {
  text-align: center;
}

.narrow {
  max-width: 820px;
}

.center.narrow {
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(20,25,34,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card,
.card:visited,
.card:hover,
.card *,
.card *:hover {
  text-decoration: none !important;
}

a.card:hover,
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(187,23,56,.24);
  box-shadow: 0 22px 50px rgba(20,25,34,.13);
}

.card.dark-card {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.card h3 {
  color: var(--ink);
}

.card p {
  color: #4f5965;
}

.dark-card h3,
.dark-card p {
  color: #fff;
}

.card-icon,
.step-number {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #202633, #111827);
  box-shadow: inset 0 -3px 0 var(--primary);
  font-weight: 900;
  font-size: 14px;
}

.step-number {
  width: auto;
  height: auto;
  display: block;
  color: rgba(255,155,171,.52);
  background: transparent;
  font-size: 52px;
  line-height: .9;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.pill {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  text-align: center;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 16px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 58px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #f8f9fb);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(20,25,34,.045);
}

.check-item::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--primary);
  font-weight: 900;
}

.cta-box {
  padding: clamp(34px, 5vw, 54px);
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(187,23,56,.18), transparent 34%),
    var(--dark);
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card {
  padding: 30px;
  border-radius: 18px;
  color: #fff;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.contact-card a {
  color: #fff;
  text-decoration: none;
  word-break: break-word;
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-card dt {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 800;
}

.contact-card dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.form-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(30,35,41,.07);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--soft);
  font: inherit;
}

textarea {
  min-height: 136px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(187,23,56,.25);
  border-color: var(--primary);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.notice {
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 700;
}

.notice.success {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}

.notice.error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.legal {
  max-width: 840px;
}

.legal-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  line-height: 1.72;
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 30px);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.site-footer {
  color: #fff;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 72px 0 42px;
}

.site-footer h2 {
  margin-bottom: 18px;
  font-size: 18px;
}

.site-footer p,
.site-footer li {
  color: rgba(255,255,255,.66);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.from-left {
  transform: translateX(-28px);
}

.reveal.from-right {
  transform: translateX(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-brand {
  margin-bottom: 20px;
}

.copyright {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.52);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .header-cta {
    display: none;
  }

  .main-nav a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 920px) {
  .top-bar {
    display: none;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 16px;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .main-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .main-nav a {
    padding: 13px 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 80px 0;
  }

  .two-col,
  .grid.three,
  .grid.four,
  .grid.two,
  .pill-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand strong {
    font-size: 17px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .actions,
  .contact-strip {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .card,
  .form-panel,
  .legal-card,
  .cta-box {
    padding: 24px;
  }
}

