.logo {
  width: 230px !important;
  height: 88px !important;
  overflow: visible !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-form { display: grid; gap: 18px; margin-top: 35px; }
.contact-form label { display: grid; gap: 8px; color: #34495a; font-size: 13px; font-weight: 700; }
.contact-form input,
.contact-form textarea { width: 100%; border: 1px solid #cbd8e1; background: #fff; color: #071b31; padding: 14px 15px; font: inherit; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid #62c5ff; border-color: #087cff; }
.contact-form .consent { display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 500; line-height: 1.55; }
.contact-form .consent input { width: 18px; flex: 0 0 18px; margin-top: 2px; }
.contact-form button { border: 0; cursor: pointer; color: #fff; justify-self: start; }
.form-message { margin-top: 25px; padding: 18px 20px; border-left: 4px solid #087cff; background: #eff6fb; line-height: 1.6; }
.form-message.success { border-color: #24a36a; }
.form-message.error { border-color: #cf3e3e; }
.privacy-copy h2 { margin-top: 48px; font-size: clamp(27px, 3vw, 38px); }
.privacy-copy a { color: #087cff; }

.logo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: left center;
}

.foot-brand img {
  display: none;
}

.foot-brand::before {
  content: "SAFE LOGIC";
  display: block;
  width: max-content;
  background: linear-gradient(90deg, #ffffff 0 52%, #1784ff 52% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .035em;
}

@media (max-width: 820px) {
  .logo { width: 175px !important; height: 70px !important; }
  .logo img { width: 100% !important; height: 100% !important; }
}

/* Safelogic uses descriptive headings without sequence numbers. */
.service small,
.detail .num,
.method li > b {
  display: none !important;
}

.method li {
  grid-template-columns: 1fr !important;
}

.foot-brand small {
  max-width: 260px;
  font-size: 10px !important;
  line-height: 1.5;
  letter-spacing: .08em !important;
}

.principle-label {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 25px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(98, 197, 255, .45);
  color: #78cfff !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Style direction 02 — bright executive logistics */
.header {
  height: 116px !important;
  padding-left: clamp(28px, 6vw, 104px) !important;
  padding-right: clamp(28px, 6vw, 104px) !important;
}

.logo {
  width: 275px !important;
  height: 108px !important;
}

.hero {
  min-height: 700px !important;
  color: #071b31 !important;
  background: linear-gradient(90deg, #ffffff 0 69%, #eaf4fc 69% 100%) !important;
  border-bottom: 1px solid #dce8f1;
}

.hero::before {
  background-image: linear-gradient(rgba(6, 26, 49, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 26, 49, .045) 1px, transparent 1px) !important;
  mask-image: linear-gradient(90deg, #000, transparent 75%) !important;
}

.hero .kicker { color: #087cff !important; }
.hero h1 { color: #071b31 !important; }
.hero h1 em { color: #087cff !important; }
.hero .lead { color: #566a7c !important; }
.hero .outline { border-color: #8aa0b2 !important; color: #071b31 !important; }
.hero .control { background: #061a31 !important; box-shadow: 0 28px 70px rgba(6, 26, 49, .18); }
.hero .control p,
.hero .control strong,
.hero .control dd { color: #ffffff; }
.hero-foot { background: #061a31 !important; color: #b9c9d5 !important; }

.intro { background: #f8fbfd; }
.services { background: #f8fbfd; }
.service:not(.feature) { background: #ffffff !important; }
.sectors { background: #f8fbfd; }

@media (max-width: 1100px) {
  .hero { background: #ffffff !important; }
}

/* Style direction 03 — calm cinematic night logistics */
.hero {
  min-height: 720px !important;
  color: #ffffff !important;
  background-image:
    linear-gradient(90deg, rgba(3, 18, 35, .97) 0%, rgba(3, 18, 35, .86) 35%, rgba(3, 18, 35, .28) 69%, rgba(3, 18, 35, .08) 100%),
    url('assets/safelogic-hero-night-branded-v3.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  border-bottom: 0 !important;
}

.hero::before {
  opacity: .22;
  mask-image: linear-gradient(90deg, #000, transparent 62%) !important;
}

.hero .hero-copy { max-width: 720px !important; }
.hero h1 { color: #ffffff !important; text-shadow: 0 3px 25px rgba(0, 0, 0, .24); }
.hero h1 em { color: #62c5ff !important; }
.hero .lead { color: #d4e1eb !important; max-width: 660px !important; }
.hero .outline { color: #ffffff !important; border-color: rgba(255, 255, 255, .48) !important; backdrop-filter: blur(8px); }
.hero .control { display: none !important; }
.hero-foot { background: rgba(3, 18, 35, .82) !important; backdrop-filter: blur(10px); }

.intro {
  background: linear-gradient(180deg, #ffffff, #f5f9fc) !important;
}

.services {
  background: #f5f9fc !important;
}

@media (max-width: 1100px) {
  .hero {
    background-image:
      linear-gradient(90deg, rgba(3, 18, 35, .96), rgba(3, 18, 35, .63)),
      url('assets/safelogic-hero-night-branded-v3.png') !important;
    background-position: 62% center !important;
  }
}

@media (max-width: 620px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(3, 18, 35, .9), rgba(3, 18, 35, .96)),
      url('assets/safelogic-hero-night-branded-v3.png') !important;
    background-position: 68% center !important;
  }
}

/* Use the approved logo itself in the footer; never substitute a text-made mark. */
footer {
  background: #f2f7fb !important;
  color: #526474 !important;
  border-top: 1px solid #dbe6ee;
}

footer strong { color: #071b31 !important; }
footer .copy { border-top-color: #d4e0e8 !important; }
.foot-brand::before { display: none !important; content: none !important; }
.foot-brand img {
  display: block !important;
  width: 230px !important;
  height: auto !important;
  mix-blend-mode: multiply;
}

@media (max-width: 820px) {
  .header { height: 86px !important; padding: 0 18px !important; }
  .logo { width: 188px !important; height: 78px !important; }
  .header nav { top: 86px !important; z-index: 50; box-shadow: 0 22px 40px rgba(3, 18, 35, .18); }
  .header nav.open {
    display: flex !important;
    left: 0;
    right: 0;
    padding: 12px 20px 18px !important;
    gap: 0 !important;
    align-items: stretch !important;
    background: #061a31 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .header nav a {
    width: 100%;
    padding: 14px 8px !important;
    color: #d9e5ee !important;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
    font-size: 14px;
  }
  .header nav a:last-child { border-bottom: 0; }
  .header nav .contact-link {
    margin-top: 8px;
    padding: 13px 15px !important;
    border: 1px solid #62c5ff !important;
    color: #ffffff !important;
  }
  .hero {
    min-height: auto !important;
    padding: 58px 22px 125px !important;
    background-position: 70% center !important;
  }
  .hero .kicker { font-size: 10px !important; letter-spacing: .18em !important; }
  .hero h1 { font-size: clamp(38px, 10.6vw, 48px) !important; line-height: 1.02 !important; margin-top: 26px !important; }
  .hero .lead { font-size: 15px !important; line-height: 1.55 !important; max-width: 36em !important; }
  .hero .actions { width: 100%; gap: 12px !important; margin-top: 28px !important; }
  .hero .button { width: 100%; text-align: center; }
  .hero-foot { padding: 18px 22px !important; }
  .hero-foot span { font-size: 10px; }
  .page-hero { padding-left: 22px !important; padding-right: 22px !important; }
  .page-hero h1 { font-size: clamp(42px, 12vw, 58px) !important; }

  /* Keep only one principle badge if stale page content contains a duplicate. */
  .page-hero .principle-label ~ .principle-label { display: none !important; }
}
