/* ===== Self-hosted fonts (no third-party requests to Google) ===== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-400-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  margin: 0 0 .5em;
  line-height: 1.2;
  color: #0a1930;
}
p { margin: 0 0 1em; color: #4b5563; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

:root {
  --navy-900: #0a1930;
  --navy-700: #13294b;
  --navy-600: #1c3f73;
  --navy-500: #2c5aa0;
  --navy-100: #e4eaf3;
  --yellow-500: #f5c400;
  --yellow-600: #d9ab00;
  --yellow-100: #fff4cf;
  --ink: #0a1930;
  --muted: #5b6b73;
  --bg-soft: #f5f7fb;
  --radius: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--yellow-500);
  color: var(--navy-900);
  box-shadow: 0 10px 24px -8px rgba(245,196,0,.5);
}
.btn-primary:hover { background: var(--yellow-600); }
.btn-ghost {
  border-color: #d7deea;
  color: var(--navy-700);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--navy-500); }
.btn-light {
  background: #fff;
  color: var(--navy-700);
}
.btn-full { width: 100%; margin-top: 6px; }
.btn-sm { padding: 9px 20px; font-size: .85rem; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: var(--yellow-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow.center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

.section-title {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  max-width: 620px;
}
.services .section-title,
.testimonials .section-title { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub {
  max-width: 560px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e9edf3;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-700));
  color: #fff;
}
.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.main-nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--muted);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--navy-700); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: 90px 0 60px;
  background: linear-gradient(180deg, var(--bg-soft), #fff 70%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -.02em;
}
.hero-text > p {
  max-width: 480px;
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0 40px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: 'Poppins', sans-serif; font-size: 1.4rem; color: var(--navy-700); }
.trust-item span { font-size: .85rem; color: var(--muted); }

.hero-visual {
  position: relative;
  height: 380px;
}
.blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 320px;
  height: 320px;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-900));
  opacity: .95;
}
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -14px rgba(15,32,39,.25);
  font-weight: 600;
  font-size: .9rem;
}
.hero-card svg { color: var(--navy-600); flex-shrink: 0; }
.card-1 { top: 18%; left: 0; }
.card-2 { bottom: 12%; right: 4%; }
.visual-photo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 78%;
  height: 82%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 50px -20px rgba(10,25,48,.35);
}
.visual-photo[hidden] { display: none; }

/* ===== Logos strip ===== */
.logos {
  padding: 26px 0;
  border-top: 1px solid #e9edf3;
  border-bottom: 1px solid #e9edf3;
}
.logos p {
  text-align: center;
  margin: 0;
  font-size: .85rem;
  letter-spacing: .03em;
  color: var(--muted);
}

/* ===== Services ===== */
.services { padding: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid #e9edf3;
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(15,32,39,.18);
  border-color: transparent;
}
.service-body { padding: 32px 26px; }
.service-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--yellow-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { margin: 0; font-size: .93rem; }

/* ===== About ===== */
.about { padding: 40px 0 100px; }
.about-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 380px;
}
.about-block {
  position: absolute;
  border-radius: var(--radius);
}
.block-1 {
  top: 0; left: 0;
  width: 78%;
  height: 78%;
  background: linear-gradient(160deg, var(--navy-600), var(--navy-900));
}
.block-2 {
  bottom: 0; right: 0;
  width: 55%;
  height: 45%;
  background: var(--navy-100);
  border: 6px solid #fff;
}
.about-photo {
  position: absolute;
  top: 0; left: 0;
  width: 78%;
  height: 78%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 50px -20px rgba(10,25,48,.35);
}
.about-photo[hidden] { display: none; }
.about-stat {
  position: absolute;
  bottom: 20px;
  left: -10px;
  background: #fff;
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -14px rgba(15,32,39,.25);
  display: flex;
  flex-direction: column;
}
.about-stat strong { font-family: 'Poppins', sans-serif; font-size: 1.6rem; color: var(--navy-700); }
.about-stat span { font-size: .8rem; color: var(--muted); }

.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: #354149;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--yellow-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313294b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== Testimonials ===== */
.testimonials { padding: 40px 0 100px; background: var(--bg-soft); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -24px rgba(15,32,39,.2);
}
.stars { color: var(--yellow-600); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { font-size: .95rem; color: #354149; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-700));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .85rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .9rem; }
.testimonial-author span { font-size: .8rem; color: var(--muted); }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-700), var(--navy-900));
  padding: 60px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; font-size: 1.6rem; }
.cta-banner p { color: #c9d4e8; margin: 0; }

/* ===== Contact ===== */
.contact { padding: 100px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
  color: #354149;
}
.contact-item svg { color: var(--navy-600); flex-shrink: 0; }

.map-block { display: flex; flex-direction: column; }
.map-embed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e5eaf2;
  height: 360px;
  background: var(--bg-soft);
}
.map-embed iframe { display: block; border: 0; width: 100%; height: 100%; }
.map-embed iframe[hidden] { display: none; }
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
}
.map-consent[hidden] { display: none; }
.map-consent p { font-size: .85rem; color: var(--muted); max-width: 380px; margin: 0; }
.map-consent a { color: var(--navy-700); font-weight: 600; text-decoration: underline; }
.map-link {
  align-self: flex-end;
  margin-top: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy-700);
}
.map-link:hover { text-decoration: underline; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #c7d0dc;
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: #8493a3; font-size: .9rem; max-width: 280px; }
.footer-links h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: #8493a3;
  font-size: .9rem;
  margin-bottom: 10px;
  transition: color .15s ease;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding: 22px 24px;
  text-align: center;
  font-size: .82rem;
  color: #6b7b8c;
}

/* ===== Legal modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,32,39,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 30px 60px -20px rgba(15,32,39,.4);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--bg-soft);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted);
}
.modal-close:hover { background: var(--navy-100); color: var(--navy-700); }
.modal-content h3 { margin-bottom: .6em; }
.modal-content p { font-size: .93rem; }
.modal-content strong { color: var(--ink); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual, .about-visual { height: 280px; order: -1; }
  .services-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid #e9edf3;
  }
  .services-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner-inner { text-align: center; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto; }
}
