/* ── Custom Properties ─────────────────────────────── */
:root {
  --blue: #1a73e8;
  --dark-blue: #1a237e;
  --gray: #607d8b;
  --light-bg: #f5f7fa;
  --white: #ffffff;
  --text: #263238;
  --max-width: 1100px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ── Reset & Base ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

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

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-blue);
}

.site-header .logo {
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

.site-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--blue);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 480px;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

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

.hero-img {
  border-radius: 12px;
}

/* ── Solutions ────────────────────────────────────── */
.solutions {
  background: var(--light-bg);
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  font-size: 2rem;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--blue);
}

.card h3 {
  font-size: 1.15rem;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ── About ────────────────────────────────────────── */
.about {
  padding: 5rem 0;
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ── Contact ──────────────────────────────────────── */
.contact {
  background: var(--light-bg);
  padding: 5rem 0;
  text-align: center;
}

.contact p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact .btn-primary {
  font-size: 1.05rem;
}

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--dark-blue);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.85rem;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-img {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-brand p {
    max-width: 100%;
  }
}
