:root {
  --color-primary: #0b5cab;
  --color-primary-dark: #084a8a;
  --color-accent: #f59e0b;
  --color-text: #1e293b;
  --color-muted: #64748b;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --container: 1180px;
  --header-h: 72px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--color-primary); color: #fff; padding: 0.5rem 1rem;
}
.skip-link:focus { left: 0; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: 4rem 0; }
.section-alt { background: var(--color-bg); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); margin: 0; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.logo img { width: auto; max-height: 48px; }
.main-nav ul { display: flex; gap: 1.25rem; align-items: center; }
.main-nav a {
  color: var(--color-text); font-weight: 500; font-size: 0.95rem;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-primary); border-bottom-color: var(--color-primary);
}
.header-cta {
  display: flex; flex-direction: column; align-items: flex-end;
  background: var(--color-primary); color: #fff;
  padding: 0.45rem 0.9rem; border-radius: 8px; white-space: nowrap;
}
.header-cta:hover { background: var(--color-primary-dark); color: #fff; }
.header-cta .cta-label { font-size: 0.7rem; opacity: 0.9; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--color-text);
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.35rem; border-radius: 8px; font-weight: 600;
  font-size: 0.95rem; border: 2px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-light { background: #fff; color: var(--color-primary); }
.btn-light:hover { background: #f1f5f9; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative; min-height: clamp(420px, 65vh, 620px);
  display: flex; align-items: center; color: #fff; overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,74,138,0.88) 0%, rgba(11,92,171,0.55) 55%, rgba(0,0,0,0.35) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 3rem 0; max-width: 680px; }
.hero-badge {
  display: inline-block; background: var(--color-accent); color: #1e293b;
  font-size: 0.8rem; font-weight: 700; padding: 0.35rem 0.75rem;
  border-radius: 999px; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.hero p { font-size: 1.05rem; opacity: 0.95; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.hero-features { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.hero-features li {
  font-size: 0.9rem; font-weight: 500;
  padding-left: 1.25rem; position: relative;
}
.hero-features li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent);
}

/* Trust bar */
.trust-bar { padding: 2rem 0; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
}
.trust-grid strong { display: block; font-size: 1.75rem; color: var(--color-primary); }
.trust-grid span { font-size: 0.85rem; color: var(--color-muted); }

/* Cards */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem;
}
.service-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  overflow: hidden; color: inherit; transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px); color: inherit;
}
.service-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--color-bg); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { padding: 1.15rem; flex: 1; display: flex; flex-direction: column; }
.service-icon { font-size: 1.5rem; margin-bottom: 0.35rem; }
.service-card h3 { font-size: 1.05rem; }
.service-card p { font-size: 0.88rem; color: var(--color-muted); flex: 1; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--color-primary); margin-top: 0.5rem; }

/* Regions */
.region-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.region-chip {
  display: inline-block; padding: 0.45rem 0.9rem; background: #fff;
  border: 1px solid var(--color-border); border-radius: 999px;
  font-size: 0.85rem; color: var(--color-text); transition: all 0.2s;
}
.region-chip:hover {
  background: var(--color-primary); border-color: var(--color-primary); color: #fff;
}
.region-list { display: grid; gap: 2rem; }
.region-group h2 {
  font-size: 1.15rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary); margin-bottom: 1rem;
}
.region-search {
  width: 100%; max-width: 480px; margin: 0 auto 2rem; display: block;
  padding: 0.75rem 1rem; border: 1px solid var(--color-border);
  border-radius: 8px; font-size: 1rem; font-family: inherit;
}

/* CTA */
.cta-banner { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); color: #fff; }
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cta-banner p { margin: 0; opacity: 0.9; }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0e7490 100%);
  color: #fff; padding: 3rem 0;
}
.page-hero-sm { padding: 2rem 0; }
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.breadcrumb { font-size: 0.85rem; margin-bottom: 0.75rem; opacity: 0.9; }
.breadcrumb a { color: #fff; }
.breadcrumb span { margin: 0 0.35rem; opacity: 0.6; }

/* Detail layout */
.detail-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start;
}
.detail-hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.service-gallery { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.service-gallery h2 { font-size: 1.25rem; margin-bottom: 1.25rem; color: var(--color-primary-dark); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem;
}
.gallery-item {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--color-border); background: var(--color-bg);
}
.gallery-thumb {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; font: inherit;
}
.gallery-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.25s; }
.gallery-thumb:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, 0.92);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-content {
  max-width: min(92vw, 1100px); max-height: 85vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-content img {
  max-width: 100%; max-height: 85vh; width: auto; height: auto;
  border-radius: 8px; box-shadow: var(--shadow-md);
  user-select: none;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute; border: 0; background: rgba(255,255,255,0.12);
  color: #fff; cursor: pointer; border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 1rem; right: 1rem; font-size: 2rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  margin: 0; color: #e2e8f0; font-size: 0.9rem;
}
body.lightbox-open { overflow: hidden; }
@media (max-width: 640px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; }
}
.sidebar-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem;
}
.sidebar-card h2, .sidebar-card h3 { font-size: 1rem; }
.sidebar-cta { background: var(--color-primary); color: #fff; border: none; }
.sidebar-cta p { opacity: 0.9; font-size: 0.9rem; }
.sidebar-cta .btn-primary { background: #fff; color: var(--color-primary); }
.sidebar-links li { margin-bottom: 0.4rem; }
.sidebar-links a { font-size: 0.9rem; }

/* Prose */
.prose h1 { font-size: 1.75rem; margin-top: 0; }
.prose h2 { font-size: 1.25rem; margin-top: 1.75rem; color: var(--color-primary-dark); }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.35rem; }
.prose strong { color: var(--color-text); }
.content-block { max-width: 800px; margin-inline: auto; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.contact-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.5rem;
}
.contact-card h3 { color: var(--color-primary); }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; margin-top: 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem; padding: 3rem 0 2rem;
}
.footer-brand img { margin-bottom: 1rem; max-height: 56px; width: auto; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }
.footer-social a { color: var(--color-accent); font-weight: 600; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer-links li, .footer-contact li { margin-bottom: 0.4rem; font-size: 0.88rem; }
.footer-links a, .footer-contact a { color: #cbd5e1; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #334155; padding: 1rem 0; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.82rem;
}
.footer-bottom a { color: #94a3b8; }

/* Floating call */
.floating-call {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #16a34a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(22,163,74,0.45);
  transition: transform 0.2s;
}
.floating-call:hover { transform: scale(1.08); color: #fff; }

/* 404 */
.error-page { text-align: center; padding: 4rem 0; }
.error-page h1 { font-size: 4rem; color: var(--color-primary); }

/* Responsive */
@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 1rem; transform: translateY(-120%);
    opacity: 0; pointer-events: none; transition: all 0.25s;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { display: block; padding: 0.65rem 0; }
  .header-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
}
