/* KJV International landing page */
:root {
  --primary: #3434a5;
  --primary-dark: #24247b;
  --primary-bright: #4545c4;
  --dark: #0f1115;
  --dark-soft: #181b23;
  --text: #22242a;
  --muted: #626773;
  --light: #f5f7fa;
  --white: #ffffff;
  --border: #e3e6ed;
  --shadow: 0 12px 35px rgba(15, 17, 21, 0.10);
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--white);
  color: var(--dark);
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 20px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(52, 52, 165, 0.76), rgba(15, 17, 21, 0.88)),
    url("dg.jpg") center / cover no-repeat;
}

.hero-content {
  width: min(980px, 100%);
}

.logo {
  width: min(650px, 88vw);
  max-height: 260px;
  margin: 0 auto 34px;
  object-fit: contain;
}

.eyebrow,
.section-kicker {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-intro {
  max-width: 790px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.90);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-bright);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.86);
  color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--white);
  color: var(--dark);
}

/* Trust */
.trust {
  padding: 45px 0;
  background: var(--light);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.att-logo {
  width: min(500px, 90%);
  max-height: 150px;
  margin: 0 auto 28px;
  object-fit: contain;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-items span {
  padding: 10px 17px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15, 17, 21, 0.05);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Services */
.services,
.contact {
  padding: 90px 0;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-title h2,
.dg-section h2 {
  margin-bottom: 14px;
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-title > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

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

.card h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.28rem;
  line-height: 1.3;
}

.card p {
  color: var(--muted);
}

.card-featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 484px;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  border-color: transparent;
}

.card-featured h3 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.card-featured p {
  color: rgba(255, 255, 255, 0.88);
}

.card-label {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.70) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Dangerous Goods */
.dg-section {
  padding: 90px 0;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.dg-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 55px;
}

.dg-section h2 {
  color: var(--white);
}

.section-kicker-light {
  color: #9d9dff;
}

.dg-copy > p:not(.section-kicker) {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
}

.dg-visual {
  padding: 25px;
  background: #050607;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.dg-visual img {
  width: 100%;
  max-height: 310px;
  object-fit: contain;
}

/* Contact */
.contact {
  background: var(--light);
}

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

.contact-card {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.contact-label {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  color: var(--dark);
  font-size: 1.05rem;
}

.contact-card span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Footer */
footer {
  padding: 32px 0;
  background: #090a0d;
  color: #9da1ac;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo {
  width: 180px;
  max-height: 75px;
  object-fit: contain;
}

footer p {
  font-size: 0.85rem;
  text-align: right;
}

/* Responsive */
@media (max-width: 850px) {
  .cards,
  .dg-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-featured {
    grid-row: auto;
    min-height: 300px;
  }

  .dg-copy {
    text-align: center;
  }

  .dg-copy .btn {
    margin-inline: auto;
  }

  .contact-card {
    min-height: 150px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
    padding: 55px 14px;
  }

  .logo {
    margin-bottom: 28px;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .services,
  .contact,
  .dg-section {
    padding: 65px 0;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .card {
    min-height: 0;
    padding: 26px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  footer p {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
