:root {
  --primary: #0c375d;
  --primary-light: #37A2B5;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #fafbfe;
  --card-shadow: 0 20px 40px -12px rgba(0,0,0,0.08);
  --radius: 20px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

/* HEADINGS = LATO | CONTENT = INTER — CONSISTENT ACROSS SITE */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif !important;
  font-weight: 900 !important;
  line-height: 1.2;
}

h1 { font-size: clamp(2.6rem, 7vw, 4rem); }
h2 { font-size: clamp(2.2rem, 6vw, 3rem); color: var(--primary); text-align:center; }
h3 { font-size: clamp(1.8rem, 5vw, 2.4rem); color: var(--primary); line-height: 1.15; margin-bottom: 1rem; }

p, .section-title p, .card-content p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.8vw, 1.1rem);
}

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

/* HERO */
.hero {
  background: linear-gradient(rgba(30,60,90,0.9), rgba(20,40,70,0.94)),
              url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
  color: #fff;
  text-align: center;
  padding: 160px 20px 110px;
}
.hero p { max-width: 840px; margin: 20px auto 0; font-size: clamp(1.1rem, 3vw, 1.25rem); opacity: 0.95; }

/* SERVICES */
.services { padding: 110px 0; background: #fff; }
.section-title { text-align: center; margin-bottom: 80px; }
.section-title p { max-width: 720px; margin: 16px auto 0; color: var(--text-light); }

.cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 90px;
  align-items: center;
}
.service-card {
  width: 92vmin;
  max-width: 1000px;
  height: 480px;
  display: flex;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.14);
}

.service-card.reverse { flex-direction: row-reverse; }

.card-img {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.service-card:hover .card-img {
  transform: scale(1.04);
}

.card-content {
  width: 50%;
  padding: 9% 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content p {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.8;
  color: #4a5568;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .service-card, .service-card.reverse {
    flex-direction: column !important;
    height: auto;
    width: 88vmin;
  }
  .card-img, .card-content {
    width: 100%;
    height: 300px;
  }
  .card-content { padding: 10% 8%; }
  .cards-wrapper { gap: 70px; }
}

@media (max-width: 500px) {
  .card-img { height: 240px; }
  .card-content { padding: 12% 7%; }
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.cta p { max-width: 680px; margin: 16px auto 32px; }
.btn-light {
  background: #fff;
  color: var(--primary);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.btn-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}