/* =========================================================
   1. Design Tokens
   Change these values first when restyling the site.
   ========================================================= */

:root {
  --color-page: #edf3f7;
  --color-paper: #ffffff;
  --color-ink: #182b3d;
  --color-muted: #63788d;
  --color-blue: #0068aa;
  --color-blue-light: #9dccff;
  --color-navy: #071d34;
  --color-border: #d7e1ea;
  --color-hero-overlay: rgba(7, 25, 43, 0.72);

  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Arial, Helvetica, sans-serif;

  --container: 1240px;
  --section-space: 90px;
  --radius: 8px;
  --shadow-soft: 0 12px 35px rgba(20, 45, 66, 0.08);
}

/* =========================================================
   2. Reset and Base
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-page);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

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

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

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

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  color: var(--color-ink);
  font-size: 20px;
  line-height: 1.15;
}

/* =========================================================
   3. Layout Helpers
   ========================================================= */

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
}

.section-divider {
  height: 1px;
  margin-bottom: 82px;
  background: var(--color-border);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.image-placeholder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(14, 42, 64, 0.12), rgba(14, 42, 64, 0.12)),
    linear-gradient(135deg, #c8d8e4 0%, #f5f8fa 42%, #8099ae 100%);
}

.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 28% 18%,
      rgba(255, 255, 255, 0.55),
      transparent 18%
    ),
    linear-gradient(90deg, rgba(7, 29, 52, 0.12), transparent 55%);
}

/* =========================================================
   4. Header and Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: 0 110px;
  background: rgba(237, 243, 247, 0.96);
  border-bottom: 1px solid rgba(215, 225, 234, 0.65);
  backdrop-filter: blur(12px);
}

.brand {
  justify-self: start;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
}

.brand-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-paper);
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.main-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.site-footer a:hover {
  color: var(--color-blue);
}

.header-contact {
  justify-self: end;
  min-width: 110px;
  padding: 11px 25px;
  border: 1px solid var(--color-ink);
  border-radius: 999px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

/* =========================================================
   5. Buttons and Cards
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.button-light {
  background: var(--color-paper);
  color: var(--color-blue);
}

.button-outline {
  border: 1px solid var(--color-blue-light);
  background: rgba(0, 104, 170, 0.48);
  color: var(--color-paper);
}

.card-grid {
  display: grid;
  gap: 28px;
}

.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

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

.four-columns {
  grid-template-columns: repeat(4, 1fr);
}

.info-card {
  min-height: 290px;
  padding: 30px;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.info-card .card-number {
  display: block;
  margin-bottom: 40px;
}

.card-number {
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 800;
}

.info-card p {
  margin-top: 28px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}

.info-card a {
  display: inline-block;
  margin-top: 24px;
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 800;
}

/* =========================================================
   6. Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 670px;
  display: flex;
  align-items: center;
  color: var(--color-paper);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  /* To use your own hero image, replace this background with:
     background: url("images/your-hero-image.jpg") center / cover no-repeat; */

  background: url("./assets/hero-image.png") center / cover no-repeat;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    var(--color-hero-overlay),
    rgba(7, 25, 43, 0.48)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  max-width: 720px;
  color: var(--color-paper);
  font-size: clamp(54px, 6vw, 92px);
}

.hero-title-mobile {
  display: none;
}

.hero-copy {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

/* =========================================================
   7. Main Sections
   ========================================================= */

.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 120px;
  align-items: start;
  margin-bottom: 48px;
}

.split-heading h2,
.copy-block h2,
.security-heading h2,
.delivery-section h2,
.cta-panel h2 {
  font-size: clamp(42px, 4vw, 70px);
}

.split-heading p:last-child,
.copy-block > p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.72;
}

.media-copy {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 78px;
  align-items: center;
}

.feature-image {
  /* Add your section image here the same way:
     background: url("images/your-section-image.jpg") center / cover no-repeat; */
  background: url("./assets/feature-image.png") center / cover no-repeat;
  min-height: 460px;
  display: grid;
  place-items: end center;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.feature-image span {
  position: relative;
  z-index: 1;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.copy-block {
  max-width: 640px;
}

.copy-block > p:not(.eyebrow) {
  margin-top: 60px;
}

.service-list {
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.service-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 90px;
  padding: 46px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat strong {
  display: block;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(40px, 3.6vw, 60px);
  font-weight: 400;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.security-layout {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 80px;
  align-items: start;
}

.security-heading {
  max-width: 540px;
}

.small-card {
  min-height: 255px;
}

.small-card p {
  margin-top: 30px;
  font-size: 13px;
}

.delivery-section {
  padding-top: 40px;
}

.delivery-section h2 {
  max-width: 850px;
  margin-bottom: 34px;
}

.step-card {
  min-height: 250px;
}

.cta-section {
  padding: 0 0 70px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 168px;
  padding: 40px 48px;
  background: var(--color-navy);
  border-radius: var(--radius);
  color: var(--color-paper);
}

.cta-panel .eyebrow {
  color: var(--color-blue-light);
}

.cta-panel h2 {
  color: var(--color-paper);
  font-size: clamp(28px, 3vw, 42px);
}

.email-pill {
  flex: 0 0 auto;
  min-width: 215px;
  padding: 13px 25px;
  border-radius: 999px;
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

/* =========================================================
   8. Footer
   ========================================================= */

.site-footer {
  padding: 30px 0 52px;
  color: var(--color-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 120px minmax(260px, 1fr) auto;
  gap: 80px;
  align-items: start;
}

.footer-brand {
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 18px;
}

.site-footer p {
  max-width: 580px;
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}

/* =========================================================
   9. Responsive Layout
   ========================================================= */

@media (max-width: 980px) {
  :root {
    --section-space: 68px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 0 20px;
  }

  .brand-desktop,
  .main-nav {
    display: none;
  }

  .brand-mobile {
    display: flex;
  }

  .header-contact {
    min-width: 85px;
    padding: 9px 17px;
    font-size: 11px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero {
    min-height: 560px;
    align-items: end;
    padding: 70px 0 32px;
  }

  .hero-overlay {
    background: linear-gradient(rgba(7, 25, 43, 0.72), rgba(7, 25, 43, 0.82));
  }

  .hero-title-desktop {
    display: none;
  }

  .hero-title-mobile {
    display: block;
  }

  .hero-title {
    max-width: 460px;
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-copy {
    max-width: 520px;
    font-size: 14px;
  }

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

  .button {
    width: 100%;
  }

  .section-divider {
    display: none;
  }

  .split-heading,
  .media-copy,
  .security-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-heading {
    margin-bottom: 28px;
  }

  .split-heading h2,
  .copy-block h2,
  .security-heading h2,
  .delivery-section h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .split-heading p:last-child,
  .copy-block > p:not(.eyebrow) {
    font-size: 14px;
  }

  .three-columns,
  .two-columns,
  .four-columns {
    grid-template-columns: 1fr;
  }

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

  .info-card .card-number {
    margin-bottom: 34px;
  }

  .feature-image {
    min-height: 380px;
  }

  .copy-block > p:not(.eyebrow) {
    margin-top: 34px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
    padding: 0;
    border: 0;
  }

  .security-section {
    padding-top: 20px;
  }

  .delivery-section {
    padding-top: 24px;
  }

  .cta-panel {
    display: block;
    min-height: 0;
    padding: 28px;
  }

  .cta-panel h2 {
    margin-bottom: 24px;
    font-size: 35px;
  }

  .email-pill {
    display: block;
    min-width: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: 590px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-copy {
    line-height: 1.45;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
  }

  h3 {
    font-size: 19px;
  }

  .info-card p {
    margin-top: 20px;
  }

  .feature-image {
    min-height: 310px;
  }

  .stat strong {
    font-size: 42px;
  }
}
