:root {
  --black: #050505;
  --panel: #101010;
  --panel-soft: #171717;
  --gold: #d39b21;
  --gold-light: #ffc84b;
  --white: #f6f2e8;
  --muted: #b9b2a6;
  --line: rgba(255, 255, 255, 0.14);
  --danger: #d2422f;
  --ok: #22a565;
  --blue: #57a6ff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(211, 155, 33, 0.18), transparent 34rem),
    linear-gradient(180deg, #050505, #0c0c0c 48%, #050505);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

.hidden {
  display: none !important;
}

.login-screen {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: saturate(1.08) contrast(1.08);
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.86) 54%, #050505 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.seal {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(211, 155, 33, 0.12);
  flex: 0 0 auto;
}

.brand strong,
.app-top strong {
  display: block;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 900;
}

.brand span,
.app-top span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

.word-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.word-strip span {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 7px 8px;
  border: 1px solid rgba(211, 155, 33, 0.45);
  background: rgba(0, 0, 0, 0.58);
  color: var(--gold-light);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.headline {
  margin-top: min(12vh, 72px);
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #120d03;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.headline h1 {
  margin: 12px 0 8px;
  color: #fff;
  font-family: Impact, Arial Black, Arial, sans-serif;
  font-size: 46px;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 7px 26px rgba(0, 0, 0, 0.72);
}

.headline p {
  margin: 0;
  color: #eee7d8;
  font-size: 16px;
  line-height: 1.42;
  max-width: 34rem;
  font-weight: 700;
}

.access-box {
  margin-top: 6px;
  width: min(100%, 440px);
  padding: 16px;
  border: 1px solid rgba(255, 200, 75, 0.32);
  border-radius: 12px;
  background: rgba(8, 8, 8, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 9px;
}

label {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 8px;
  padding: 12px;
  outline: none;
}

textarea {
  min-height: 94px;
  resize: vertical;
  line-height: 1.42;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(255, 200, 75, 0.16);
}

input::placeholder,
textarea::placeholder {
  color: rgba(246, 242, 232, 0.52);
}

option {
  color: #111;
}

.main-cta,
.action-btn {
  min-height: 52px;
  border-radius: 8px;
  padding: 12px 14px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #111;
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(211, 155, 33, 0.28);
}

.main-cta b {
  font-size: 28px;
  line-height: 1;
}

.form-message {
  min-height: 18px;
  margin: 0;
  color: #ffb4a9;
  font-size: 12px;
  font-weight: 800;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 440px);
}

.proof-grid div {
  min-height: 76px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.proof-grid b {
  display: block;
  color: var(--gold-light);
  font-size: 22px;
  line-height: 1;
}

.proof-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.app-screen {
  min-height: 100vh;
  padding: 74px 14px 92px;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.85), #050505),
    url("assets/banner-resgate.jpeg") center top / cover fixed;
}

.app-top {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  background: rgba(5, 5, 5, 0.9);
  border-bottom: 1px solid rgba(211, 155, 33, 0.3);
  backdrop-filter: blur(14px);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 28px;
  line-height: 1;
}

.role-badge,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(211, 155, 33, 0.14);
  color: var(--gold-light);
  border: 1px solid rgba(211, 155, 33, 0.42);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.tag.red {
  color: #ffb2a8;
  border-color: rgba(210, 66, 47, 0.5);
  background: rgba(210, 66, 47, 0.16);
}

.tag.blue {
  color: #b7dcff;
  border-color: rgba(87, 166, 255, 0.45);
  background: rgba(87, 166, 255, 0.14);
}

.map-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #111;
  background: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.summary-panel,
.content-card,
.mini-card,
.form-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(14, 14, 14, 0.88);
  box-shadow: var(--shadow);
  border-radius: 12px;
}

.summary-panel {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.summary-kicker {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-title {
  margin: 0;
  font-family: Impact, Arial Black, Arial, sans-serif;
  font-size: 34px;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.summary-copy {
  margin: 0;
  color: #ddd6c7;
  line-height: 1.42;
  font-weight: 700;
}

.client-summary-layout {
  display: grid;
  gap: 14px;
}

.client-summary-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.vehicle-photo-frame {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #111;
}

.vehicle-photo-frame img,
.vehicle-focus-photo,
.case-thumb,
.case-preview img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #111;
}

.vehicle-photo-frame img {
  height: 100%;
  min-height: 220px;
}

.vehicle-photo-frame span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  border-radius: 999px;
  color: #111;
  background: rgba(255, 200, 75, 0.92);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hope-meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hope-meter.large {
  height: 14px;
}

.hope-meter span {
  display: block;
  width: var(--progress, 20%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--ok));
}

.hope-line,
.loss-note {
  margin: 0;
  color: #f3dfb3;
  font-size: 13px;
  line-height: 1.42;
  font-weight: 800;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stat {
  min-height: 82px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}

.stat b {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.mobile-nav {
  position: fixed;
  z-index: 11;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.92);
  border: 1px solid rgba(211, 155, 33, 0.28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
}

.mobile-nav button {
  min-height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.mobile-nav button.active {
  background: var(--gold);
  color: #111;
}

.content-panel {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.content-card,
.form-card {
  padding: 14px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.card-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
}

.card-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  padding: 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.timeline-item h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.timeline-time {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.timeline-item p {
  margin: 8px 0 0;
  color: #ddd6c7;
  line-height: 1.42;
  font-size: 14px;
}

.timeline-item .action-line {
  color: #f3dfb3;
}

.timeline-item .action-line strong {
  color: var(--gold-light);
}

.case-row,
.vehicle-focus,
.case-preview {
  display: grid;
  gap: 12px;
}

.case-row {
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
}

.case-thumb {
  height: 78px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.case-details {
  min-width: 0;
}

.vehicle-focus-photo {
  height: 220px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.map-frame {
  width: 100%;
  height: 240px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111;
}

.compact-head {
  margin-bottom: 10px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.grid-two {
  display: grid;
  gap: 10px;
}

.mini-card {
  padding: 14px;
}

.mini-card b {
  display: block;
  font-size: 22px;
  color: #fff;
  line-height: 1.1;
}

.mini-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-row {
  display: grid;
  gap: 10px;
}

.form-section {
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.form-section h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.form-section p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
  font-weight: 800;
}

.case-preview {
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  min-height: 96px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.case-preview img {
  height: 76px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.case-preview b,
.case-preview span {
  display: block;
}

.case-preview b {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.case-preview span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.partner-grid {
  display: grid;
  gap: 10px;
}

.partner-item {
  padding: 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.partner-item b,
.partner-item span {
  display: block;
}

.partner-item b {
  color: #fff;
  font-size: 16px;
}

.partner-item span,
.institution-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

.institution-note {
  margin: 12px 0 0;
  color: #ddd6c7;
}

.soft-btn {
  min-height: 46px;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  font-weight: 900;
}

.empty {
  padding: 18px;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  text-align: center;
  line-height: 1.45;
}

@media (min-width: 760px) {
  .hero-content {
    padding: 28px;
    align-content: center;
  }

  .headline h1 {
    font-size: 72px;
  }

  .headline p {
    font-size: 20px;
  }

  .access-box {
    padding: 20px;
  }

  .app-screen {
    padding: 92px 28px 110px;
  }

  .app-top {
    height: 74px;
    padding: 12px 28px;
  }

  .summary-panel,
  .content-panel {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .summary-panel {
    padding: 24px;
  }

  .summary-title {
    font-size: 56px;
  }

  .content-panel {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .client-summary-layout {
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: stretch;
  }

  .vehicle-focus {
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: stretch;
  }

  .vehicle-focus-photo {
    height: 100%;
    min-height: 240px;
  }

  .mobile-nav {
    left: 50%;
    right: auto;
    width: min(620px, calc(100% - 28px));
    transform: translateX(-50%);
  }
}

@media (min-width: 1100px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) 440px;
    align-items: center;
  }

  .brand,
  .word-strip,
  .headline,
  .proof-grid {
    grid-column: 1;
  }

  .access-box {
    grid-column: 2;
    grid-row: 2 / span 2;
    justify-self: end;
  }

  .proof-grid {
    margin-top: 4px;
  }
}
