:root {
  --ink: #0d0f13;
  --charcoal: #151922;
  --charcoal-2: #202633;
  --steel: #627083;
  --muted: #e8eaee;
  --paper: #f7f8fa;
  --white: #ffffff;
  --gold: #f5c542;
  --gold-2: #d99a19;
  --blue: #2f6f9f;
  --border: rgba(13, 15, 19, 0.12);
  --shadow: 0 18px 45px rgba(13, 15, 19, 0.16);
  --radius: 8px;
  --section: 88px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 44px;
  color: var(--white);
  background: rgba(8, 10, 14, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
}

.brand-mark {
  font-size: 25px;
  color: var(--gold);
}

.brand-line {
  font-size: 25px;
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--gold);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 14px 28px rgba(245, 197, 66, 0.22);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 132px 44px 86px;
  overflow: hidden;
  color: var(--white);
  background: #05070a;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.84) 31%, rgba(5, 7, 10, 0.28) 67%, rgba(5, 7, 10, 0.56) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.35), rgba(5, 7, 10, 0.82));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.button.primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 18px 35px rgba(245, 197, 66, 0.22);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button.secondary.dark {
  border-color: rgba(13, 15, 19, 0.24);
  color: var(--ink);
}

.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 10, 0.76);
  backdrop-filter: blur(12px);
}

.login-overlay.is-open {
  display: flex;
}

.login-dialog {
  position: relative;
  width: min(100%, 430px);
  padding: 36px;
  border-radius: var(--radius);
  background: #11151d;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
}

.login-dialog h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.login-note {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.login-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.login-form label {
  font-size: 13px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.78);
}

.login-form input,
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 15, 19, 0.16);
  padding: 14px 15px;
  font: inherit;
}

.login-form input {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.login-form .button {
  width: 100%;
  border: 0;
  margin-top: 8px;
  cursor: pointer;
}

.hero-panel {
  position: absolute;
  z-index: 2;
  right: 44px;
  bottom: 44px;
  width: min(460px, calc(100% - 88px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(13, 15, 19, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 22px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.hero-panel strong {
  font-size: 15px;
  line-height: 1.25;
}

.trust-strip,
.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip div,
.proof-card {
  padding: 34px 44px;
  background: var(--white);
}

.trust-strip strong,
.proof-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-strip span,
.proof-card span {
  color: var(--steel);
  line-height: 1.5;
}

.section {
  padding: var(--section) 44px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.body-copy,
.operations-copy p,
.contact-card p {
  color: var(--steel);
  font-size: 18px;
  line-height: 1.65;
}

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

.service-card {
  min-height: 280px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.service-card p {
  color: var(--steel);
  line-height: 1.65;
}

.operations {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: 54px;
  align-items: start;
  padding: var(--section) 44px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 12, 18, 0.98), rgba(28, 33, 45, 0.98)),
    var(--charcoal);
}

.operations-copy {
  max-width: 560px;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline-item span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.split-section {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.body-copy p {
  margin-bottom: 18px;
}

.proof-band {
  border-top: 1px solid var(--border);
}

.contact-section {
  padding: var(--section) 44px;
  background: linear-gradient(135deg, #ffffff, #eef1f5);
}

.contact-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: 54px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  max-width: 760px;
}

.contact-card p {
  max-width: 720px;
}

.page-hero {
  padding: 138px 44px 64px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.94), rgba(5, 7, 10, 0.74)),
    url("assets/crown-carriers-hero.png") center / cover;
}

.page-hero-inner {
  max-width: 980px;
}

.page-hero h1 {
  max-width: 780px;
}

.quote-layout,
.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 44px;
}

.quote-aside,
.quote-form-card,
.dashboard-card {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.quote-aside,
.quote-form-card,
.dashboard-card {
  padding: 34px;
}

.quote-aside p,
.dashboard-card p {
  color: var(--steel);
  line-height: 1.65;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.quote-form textarea {
  min-height: 130px;
  resize: vertical;
}

.quote-form .button {
  width: max-content;
  border: 0;
  cursor: pointer;
}

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

.status-message {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(245, 197, 66, 0.16);
  border: 1px solid rgba(245, 197, 66, 0.38);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 44px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer strong {
  display: block;
  color: var(--gold);
  font-size: 20px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 18px 22px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 122px 24px 320px;
  }

  .hero-panel {
    left: 24px;
    right: 24px;
    bottom: 28px;
    width: auto;
  }

  .trust-strip,
  .proof-band,
  .service-grid,
  .operations,
  .split-section {
    grid-template-columns: 1fr;
  }

  .section,
  .operations,
  .contact-section {
    padding: 70px 24px;
  }

  .trust-strip div,
  .proof-card {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding-bottom: 390px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-card {
    padding: 34px 24px;
  }

  .site-footer {
    flex-direction: column;
    padding: 30px 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
