@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  --primary: #1a5ba6;
  --primary-dark: #123f78;
  --primary-light: #2a70c2;
  --secondary: #2a9d63;
  --secondary-dark: #1e7248;
  --accent: #2a9d63;
  --accent-dark: #1e7248;
  --bg: #ffffff;
  --muted-bg: #f0f4fa;
  --card: #ffffff;
  --text: #101a2e;
  --muted: #5b6472;
  --border: #dde4ee;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.625;
}
h1, h2, h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; color: var(--text); margin-bottom: 16px; }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); font-weight: 700; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
header.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { font-size: 22px; font-weight: 800; color: var(--primary); }
.logo span { color: var(--secondary); }
nav.main-nav { display: flex; gap: 26px; align-items: center; }
nav.main-nav a { color: var(--text); font-weight: 700; font-size: 15px; }
nav.main-nav a:hover { color: var(--primary); text-decoration: none; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 700;
  background: var(--primary); color: #fff !important; border: none; cursor: pointer; text-decoration: none;
  transition: all 0.2s; box-shadow: 0 10px 25px -5px rgba(26,91,166,0.25);
}
.btn:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary) !important; box-shadow: none; }
.btn-secondary { background: var(--secondary); box-shadow: 0 10px 25px -5px rgba(42,157,99,0.25); }
.btn-secondary:hover { background: var(--secondary-dark); }
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff; padding: 84px 0 64px; text-align: center;
  position: relative; overflow: hidden;
}
.hero-photo {
  background-image: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 55%, rgba(10,10,10,0.3) 100%), url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1600&q=80');
  background-size: cover; background-position: center; text-align: left; padding: 120px 0 100px; min-height: 74vh; display: flex; align-items: center;
}
.hero-photo .container { max-width: 760px; margin: 0; position: relative; }
.hero-photo h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.hero-photo p { margin: 0 0 40px; }
.hero-photo .btn-row { justify-content: flex-start; }
.hero h1 { font-weight: 800; margin-bottom: 20px; position: relative; }
.hero p { font-size: 19px; color: #e2e8f5; max-width: 700px; margin: 0 auto 32px; position: relative; font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(26,91,166,0.2); border: 1px solid rgba(26,91,166,0.5); color: #fff; padding: 8px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; margin-bottom: 26px; position: relative; backdrop-filter: blur(6px); }
.badge svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--primary-light); }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
section { padding: 68px 0; }
section.alt { background: var(--muted-bg); }
.section-lead { color: var(--muted); font-size: 17px; max-width: 640px; margin-bottom: 40px; font-weight: 500; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: 0 12px 30px rgba(16,26,46,0.08); transform: translateY(-2px); border-color: rgba(26,91,166,0.35); }
.card h3 { margin-top: 0; font-size: 19px; color: var(--text); }
.card p { color: var(--muted); font-size: 15px; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(26,91,166,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  transition: all 0.25s;
}
.icon-badge svg { width: 22px; height: 22px; color: var(--primary); }
.card:hover .icon-badge { background: var(--primary); }
.card:hover .icon-badge svg { color: #fff; }
.card.featured .icon-badge { background: var(--primary); }
.card.featured .icon-badge svg { color: #fff; }
.feature-list { list-style: none; padding: 0; margin: 16px 0 22px; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 9px; }
.feature-list li svg { width: 15px; height: 15px; color: var(--secondary); flex-shrink: 0; }
.card-actions { display: flex; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); margin-top: auto; }
.card-actions .btn-sm-outline, .card-actions .btn-sm {
  flex: 1; text-align: center; padding: 10px 14px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none;
}
.card-actions .btn-sm-outline { border: 1.5px solid var(--border); color: var(--text) !important; }
.card-actions .btn-sm-outline:hover { border-color: var(--primary); color: var(--primary) !important; text-decoration: none; }
.card-actions .btn-sm { background: var(--primary); color: #fff !important; }
.card-actions .btn-sm:hover { background: var(--primary-dark); text-decoration: none; }
.grid-3 .card, .grid-4 .card { display: flex; flex-direction: column; }
.pill { display: inline-block; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-weight: 700; font-size: 14px; margin: 4px; }
.pill:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.feature-row { display: flex; gap: 16px; padding: 24px; border-radius: 16px; background: var(--muted-bg); border: 1px solid var(--border); }
.feature-row .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.feature-row:hover { background: #e7edf8; }
.feature-row h3 { margin: 0 0 8px; }
.feature-row p { margin: 0; }
footer.site-footer { background: var(--primary-dark); color: #c9d7ec; padding: 56px 0 28px; margin-top: 40px; }
footer.site-footer h4 { color: #fff; margin-bottom: 16px; }
footer.site-footer a { color: #c9d7ec; }
footer.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 24px; font-size: 14px; color: #8fa3c4; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: #fff; box-shadow: 0 1px 2px rgba(16,26,46,0.03); }
.faq-q { padding: 18px 22px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text); font-size: 16px; }
.faq-a { padding: 0 22px 18px; color: var(--muted); display: none; font-weight: 500; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.arrow { transition: transform 0.2s; color: var(--primary); }
.checklist li { margin-bottom: 10px; padding-left: 4px; font-weight: 500; }
.mobile-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--primary); }
form.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; color: var(--text); }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 18px; font-size: 15px; font-family: inherit;
}
form.contact-form input:focus, form.contact-form select:focus, form.contact-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,91,166,0.15);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-grid { grid-template-columns: 1.5fr 1fr; }
.form-success { background: #e7f6ee; border: 1px solid var(--secondary); color: var(--secondary-dark); padding: 16px; border-radius: 8px; margin-bottom: 20px; display: none; font-weight: 600; }
.cta-band { background: var(--primary); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 19px; font-weight: 500; }
.stars { color: var(--secondary); font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.review-card blockquote { margin: 0 0 16px; color: var(--text); font-style: italic; font-size: 15px; line-height: 1.6; font-weight: 500; }
.review-card .reviewer { font-weight: 700; color: var(--text); font-size: 14px; }
.review-card .reviewer-meta { font-weight: 600; color: var(--primary); font-size: 13px; margin-top: 2px; }
@media (max-width: 768px) {
  nav.main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid var(--border); }
  nav.main-nav.open { display: flex; }
  .mobile-toggle { display: block; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-photo { padding: 90px 0 70px; min-height: unset; }
  form.contact-form input, form.contact-form select, form.contact-form textarea { font-size: 16px; }
  .card { padding: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--border); border: 1px solid var(--border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; cursor: pointer; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(10,10,10,0.85)); color: #fff; padding: 24px 14px 10px; font-size: 13px; font-weight: 600; }
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(10,10,10,0.92); z-index: 999; align-items: center; justify-content: center; padding: 40px; }
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 32px; cursor: pointer; background: none; border: none; }

/* Trust row under service hero */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 36px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: #d7e2f2; }
.trust-row svg { width: 16px; height: 16px; color: var(--primary-light); flex-shrink: 0; }

/* Related service card links */
.related-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--text) !important; text-decoration: none; transition: all 0.2s; }
.related-link:hover { border-color: var(--primary); box-shadow: 0 6px 16px rgba(16,26,46,0.06); text-decoration: none; }
.related-link svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; transition: color 0.2s; }
.related-link:hover svg { color: var(--primary); }

/* How It Works timeline */
.timeline { position: relative; max-width: 720px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-step { position: relative; display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.timeline-num { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.timeline-step .card { flex: 1; padding: 16px 20px; margin: 0; }
.timeline-step .card h3 { font-size: 16px; margin: 0; }
@media (max-width: 640px) {
  .timeline::before { left: 19px; }
  .timeline-num { width: 40px; height: 40px; font-size: 15px; }
}
