/* ====================================================
   Gwynn Logistics — Safety & Security Page
   Matches: gwynn_safety_security_page_FULLRES_ZIP.html
   ==================================================== */

/* ---- Hero (2-col: text + photo) ---- */
.safety-hero {
  min-height: 600px;
  background:
    radial-gradient(circle at top right, rgba(12,117,185,.28), transparent 36%),
    radial-gradient(circle at bottom left, rgba(215,25,32,.12), transparent 24%),
    linear-gradient(115deg, #071a2d 0%, #0d2d4d 58%, #123b62 100%);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 46px;
  padding: 82px var(--section-px) 78px;
  align-items: center;
  overflow: hidden;
}

.safety-hero h1 {
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 0 0 22px;
  max-width: 860px;
}

.safety-hero .hero-intro {
  font-size: 21px;
  line-height: 1.52;
  color: #dceaf7;
  margin: 0;
  max-width: 800px;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof-pill {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #d9e8f7;
  font-size: 13px;
  font-weight: 800;
}

.hero-photo-wrap {
  border-radius: 28px;
  overflow: hidden;
  min-height: 470px;
  background-size: cover !important;
  background-position: center center !important;
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
  position: relative;
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,25,43,.06) 0%, rgba(7,25,43,.16) 100%);
}

/* ---- Safety Context (white, 2-col: dark lead + 4 cards) ---- */
.safety-context {
  padding: 76px var(--section-px);
  background: #ffffff;
}

.context-layout {
  margin-top: 34px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 24px;
  align-items: stretch;
}

.context-lead {
  border-radius: 24px;
  background: #07192b;
  color: #ffffff;
  padding: 34px;
  box-shadow: 0 20px 46px rgba(8,27,47,.16);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.context-label {
  color: #ff2a30;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.context-lead h3 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.5px;
  color: #ffffff;
}

.context-lead p {
  margin: 0;
  color: #d9e8f7;
  font-size: 16px;
  line-height: 1.6;
}

.context-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.context-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(8,27,47,.06);
}

.safety-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff3f4;
  color: var(--color-red);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 13px;
}

.context-card h3 {
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: 22px;
  line-height: 1.17;
}

.context-card p {
  margin: 0;
  color: var(--color-text-mid);
  line-height: 1.55;
  font-size: 15px;
}

/* ---- Framework Section (light gradient, 3 photo cards) ---- */
.framework-section {
  padding: 78px var(--section-px);
  background:
    radial-gradient(circle at top right, rgba(12,117,185,.11), transparent 34%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.framework-card {
  min-height: 415px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(8,27,47,.07);
  display: flex;
  flex-direction: column;
}

.framework-photo {
  height: 210px;
  background-size: cover !important;
  background-position: center center !important;
  border-bottom: 1px solid #e8eef5;
  flex-shrink: 0;
}

.framework-body {
  padding: 24px;
}

.framework-number {
  color: var(--color-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.framework-card h3 {
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: 24px;
  line-height: 1.15;
}

.framework-card p {
  margin: 0;
  color: var(--color-text-mid);
  line-height: 1.56;
  font-size: 15px;
}

/* ---- Landstar Proof (dark, 2-col: photo + checklist) ---- */
.landstar-proof {
  padding: 78px var(--section-px);
  background: #07192b;
  color: #ffffff;
}

.landstar-proof .section-kicker {
  color: #ff6b6b;
}

.landstar-proof .section-title {
  color: #ffffff;
}

.landstar-proof .section-text {
  color: #b8c6d6;
}

.proof-layout {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 34px;
  align-items: stretch;
  margin-top: 36px;
}

.proof-image {
  min-height: 480px;
  border-radius: 24px;
  background-size: cover !important;
  background-position: center center !important;
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  position: relative;
  overflow: hidden;
}

.proof-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,25,43,.08) 0%, rgba(7,25,43,.86) 100%);
}

.proof-image-label {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 26px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.14;
  font-weight: 900;
}

.proof-list {
  display: grid;
  gap: 14px;
  align-content: start;
}

.proof-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 18px;
  color: #d9e8f7;
  line-height: 1.5;
  font-size: 15px;
}

.proof-row .check-icon {
  color: #ff2a30;
  font-weight: 900;
  margin-top: 1px;
}

.proof-row strong {
  color: #ffffff;
}

/* ---- Security Section (4-col numbered grid, white) ---- */
.security-section {
  padding: 78px var(--section-px);
  background: #ffffff;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-border);
}

.security-card {
  background: #ffffff;
  padding: 28px 24px;
  min-height: 260px;
}

.security-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff3f4;
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 18px;
}

.security-card h3 {
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: 21px;
  line-height: 1.15;
}

.security-card p {
  margin: 0;
  color: var(--color-text-mid);
  font-size: 15px;
  line-height: 1.55;
}

/* ---- Page CTA ---- */
.safety-cta {
  padding: 70px var(--section-px);
  background: var(--color-red);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.safety-cta h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -1px;
}

.safety-cta p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.90);
  font-size: 18px;
  line-height: 1.5;
  max-width: 780px;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .safety-hero {
    grid-template-columns: 1fr;
  }
  .safety-hero h1 { font-size: 46px; }
  .hero-photo-wrap { min-height: 360px; }
  .context-layout { grid-template-columns: 1fr; }
  .proof-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .safety-hero h1 { font-size: 38px; }
  .framework-grid { grid-template-columns: 1fr 1fr; }
  .context-cards { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr 1fr; }
  .safety-cta { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .framework-grid,
  .security-grid { grid-template-columns: 1fr; }
}
