:root {
  --blue: #4d7496;
  --blue-dark: #3d5c78;
  --blue-light: #ccd5dd;
  --navy: #2e465a;
  --bg: #eef2f5;
  --card: #ffffff;
  --text: #222222;
  --muted: #7c8894;
  --border: #dbe3ea;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

img, svg {
  display: block;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Nav */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.brand .logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

/* Hero */
.hero {
  background-color: var(--blue);
  background-image: linear-gradient(180deg, #4d7496e6 0%, #4d7496cc 55%, #ccd5dd99 100%), url('../img/storage-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 64px 20px 56px;
}

.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}

.hero p.tagline {
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  color: #ffd166;
  margin: 0 0 12px;
}

.hero p.sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-small {
  background-image: none;
  padding: 40px 20px 40px;
}

.hero-small h1 {
  font-size: 28px;
}

/* Store badge */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.store-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd166;
}

/* Cards */
.section {
  padding: 48px 0;
}

.section h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.4px;
  text-align: center;
  margin: 0 0 8px;
}

.section p.lead {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 32px;
}

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

.card-grid.float {
  margin-top: -60px;
}

.card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Plain content pages */
.content-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  margin: -40px auto 60px;
  max-width: 760px;
}

.content-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 28px 0 10px;
  letter-spacing: -0.3px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  line-height: 1.7;
  color: #444;
  margin: 0 0 12px;
}

.content-card .meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 32px;
}

.contact-box {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  margin: -40px auto 60px;
  max-width: 480px;
  text-align: center;
}

.contact-box .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.contact-box h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
}

.contact-box p {
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.email-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
}

.email-btn:hover {
  background: var(--blue-dark);
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  padding: 32px 0;
  font-size: 13px;
}

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

.footer a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 720px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card-grid.float {
    margin-top: -40px;
  }
  .nav-links {
    gap: 14px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .content-card,
  .contact-box {
    padding: 26px 22px;
    margin-top: -24px;
  }
}
