:root {
  --navy: #071b49;
  --blue: #0b4a87;
  --red: #d8161f;
  --gold: #ffcc18;
  --ink: #07142f;
  --muted: #5f6d82;
  --line: #dbe3ef;
  --paper: #f7f9fd;
  --white: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--white), var(--blue)) 1;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  color: var(--navy);
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  border: 6px solid var(--navy);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

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

.brand small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover,
.top-action:hover {
  color: var(--red);
}

.top-action {
  color: var(--navy);
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(34px, 6vw, 72px) clamp(18px, 4vw, 54px);
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 15% 80%, rgba(216, 22, 31, 0.12), transparent),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(11, 74, 135, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 255, 255, 0.95), transparent),
    linear-gradient(160deg, #ffffff 0%, #eaf1fb 30%, #fef0f0 60%, #e8f0fa 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 320px at 5% 90%, rgba(216, 22, 31, 0.08), transparent),
    radial-gradient(circle 280px at 95% 10%, rgba(11, 74, 135, 0.1), transparent);
  animation: heroShimmer 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroShimmer {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
}

h2 {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

h3 {
  color: var(--navy);
  font-size: 20px;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #b81019);
  box-shadow: 0 4px 16px rgba(216, 22, 31, 0.3);
}

.primary:hover {
  box-shadow: 0 6px 24px rgba(216, 22, 31, 0.4);
}

.secondary {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 4px 16px rgba(255, 204, 24, 0.3);
}

.secondary:hover {
  box-shadow: 0 6px 24px rgba(255, 204, 24, 0.4);
}

.flyer-panel {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 24px 70px rgba(7, 27, 73, 0.22),
    0 0 0 3px var(--white),
    0 0 0 5px var(--red),
    0 0 0 7px var(--white),
    0 0 0 9px var(--blue);
}

.flyer-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top center;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, var(--navy) 0%, #0b4a87 50%, var(--navy) 100%);
  color: var(--white);
  position: relative;
}

.quick-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 200px at 0% 50%, rgba(216, 22, 31, 0.25), transparent),
    radial-gradient(circle 200px at 100% 50%, rgba(216, 22, 31, 0.25), transparent);
  pointer-events: none;
}

.quick-strip div {
  min-height: 108px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-strip strong {
  display: block;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.quick-strip span {
  display: block;
  margin-top: 8px;
  color: #d7e4f5;
  font-weight: 700;
}

.section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 4vw, 54px);
  position: relative;
}

.services {
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(11, 74, 135, 0.06), transparent),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(216, 22, 31, 0.05), transparent),
    var(--paper);
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--white), var(--blue));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 27, 73, 0.12);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(7, 27, 73, 0.2);
}

.service-grid p,
.request-copy p,
.calculator p,
.calculator-heading p {
  color: var(--muted);
  line-height: 1.55;
}

.audiences {
  background:
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(216, 22, 31, 0.06), transparent),
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(11, 74, 135, 0.06), transparent),
    var(--white);
  position: relative;
}

.audiences::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--white), var(--red));
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-list span {
  padding: 13px 15px;
  border: 1px solid #c8d5e7;
  border-radius: 7px;
  color: var(--navy);
  background: #f9fbff;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.audience-list span:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 6px 20px rgba(7, 27, 73, 0.1);
}

.pricing {
  background:
    radial-gradient(ellipse 50% 50% at 100% 0%, rgba(216, 22, 31, 0.04), transparent),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(11, 74, 135, 0.05), transparent),
    var(--paper);
}

.pricing-layout,
.request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.price-list,
.calculator,
.request-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.price-list {
  overflow: hidden;
}

.price-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.price-list div:last-child {
  border-bottom: 0;
}

.price-list strong {
  color: var(--red);
  font-size: 21px;
}

.calculator,
.request-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.calculator-heading h3 {
  margin-bottom: 6px;
}

.calculator-heading p {
  margin-bottom: 0;
}

.quantity-list {
  display: grid;
  gap: 10px;
}

.quantity-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
  text-transform: none;
}

.quantity-row span {
  display: grid;
  gap: 4px;
}

.quantity-row strong {
  color: var(--navy);
  font-size: 15px;
}

.quantity-row small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quantity-row input {
  min-height: 48px;
  text-align: center;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #bdcadb;
  border-radius: 7px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.estimate {
  display: block;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 38px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 24px rgba(7, 27, 73, 0.2);
}

.estimate-card {
  display: grid;
  gap: 10px;
}

.estimate-breakdown {
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.request {
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(216, 22, 31, 0.2), transparent),
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(11, 74, 135, 0.3), transparent),
    linear-gradient(135deg, var(--navy), #123f75);
  position: relative;
  overflow: hidden;
}

.request::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 300px at 20% 80%, rgba(216, 22, 31, 0.15), transparent),
    radial-gradient(circle 300px at 80% 20%, rgba(255, 255, 255, 0.05), transparent);
  animation: requestPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes requestPulse {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.request h2,
.request .eyebrow,
.request-copy p {
  color: var(--white);
}

.request .eyebrow {
  color: var(--gold);
}

.request-copy {
  max-width: 620px;
}

.contact-card {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 20px;
}

.contact-card a:first-child {
  color: var(--red);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
}

.contact-card a:last-child {
  color: var(--navy);
  font-weight: 900;
  word-break: break-word;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(135deg, #030b1e 0%, #0a1a3a 50%, #030b1e 100%);
  font-weight: 800;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--white), var(--blue), var(--white), var(--red));
}

/* Legal pages */

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 54px);
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--white), var(--blue)) 1;
}

.legal-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 0;
}

.legal-content {
  display: grid;
  gap: 0;
}

.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 16px;
}

.section-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 15px;
  font-weight: 900;
  flex-shrink: 0;
}

.legal-section p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.legal-lead {
  font-size: 18px !important;
  color: var(--ink) !important;
  font-weight: 600;
  line-height: 1.7;
}

.legal-section ul {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.legal-section ul li {
  padding: 10px 16px;
  padding-left: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  position: relative;
}

.legal-section ul li::before {
  content: "•";
  position: absolute;
  left: 16px;
  color: var(--red);
  font-weight: 900;
}

.legal-list {
  list-style: none !important;
  padding-left: 0 !important;
  display: grid;
  gap: 12px;
}

.legal-list li {
  display: flex !important;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px !important;
  padding-left: 20px !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legal-list li::before {
  display: none !important;
}

.legal-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 27, 73, 0.1);
}

.legal-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.legal-list li strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 2px;
}

.legal-list li p {
  margin: 0;
  font-size: 14px !important;
}

.legal-closing {
  background: var(--paper);
  border-radius: 8px;
  padding: 28px 24px !important;
  margin-top: 8px;
}

.legal-closing p {
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 17px !important;
  margin: 0;
}

.terms-highlight {
  padding: 16px 20px;
  border-left: 4px solid var(--red);
  background: var(--white);
  border-radius: 0 8px 8px 0;
  color: var(--navy);
  font-size: 18px;
  margin: 12px 0;
}

.legal-cta {
  margin-top: 40px;
  padding: 32px;
  border-radius: 10px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(216, 22, 31, 0.15), transparent),
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(11, 74, 135, 0.2), transparent),
    linear-gradient(135deg, var(--navy), #123f75);
  text-align: center;
}

.legal-cta p {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.legal-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-active {
  color: var(--red) !important;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

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

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .pricing-layout,
  .request {
    grid-template-columns: 1fr;
  }

  .flyer-panel {
    max-width: 520px;
  }

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

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

  .hero {
    min-height: auto;
  }

  .quick-strip,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .quick-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-actions .button {
    width: 100%;
  }

  .price-list div,
  .quantity-row,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .quantity-row {
    grid-template-columns: 1fr;
  }

  .quantity-row input {
    width: 100%;
  }
}
