/* ============ Tokens ============ */
:root {
  --primary: #0B5ED7;
  --primary-dark: #0847A8;
  --secondary: #0F766E;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FC;
  --text: #26303D;
  --text-muted: #5B6774;
  --border: #E4E9F0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(15, 30, 60, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 30, 60, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 30, 60, 0.16);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: #14213D;
  line-height: 1.25;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; color: var(--text-muted); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============ Top bar ============ */
.topbar {
  background: #0B2545;
  color: #cfe0f5;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 16px;
}
.topbar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-contact a, .topbar-social a { color: #cfe0f5; }
.topbar-contact a:hover, .topbar-social a:hover { color: #fff; }
.topbar-contact i { color: #6FD9C7; margin-right: 4px; }
.topbar-social { display: flex; gap: 14px; font-size: 1rem; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #14213D; }
.brand-tagline { font-size: 0.68rem; letter-spacing: .04em; color: var(--secondary); font-weight: 600; text-transform: uppercase; }

.nav-desktop { display: flex; gap: 28px; }
.nav-desktop a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width .25s ease;
}
.nav-desktop a:hover::after { width: 100%; }
.nav-desktop a:hover { color: var(--primary); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text);
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 8px 24px 16px;
}
.nav-mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.nav-mobile.open { display: flex; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 72px 0 100px;
  background: radial-gradient(circle at 85% 10%, rgba(11,94,215,0.08), transparent 45%),
              radial-gradient(circle at 5% 90%, rgba(15,118,110,0.08), transparent 40%),
              var(--bg-alt);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.hero-text h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; }
.hero-sub { font-size: 1.05rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0 36px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--primary); }
.stat span { font-size: 0.82rem; color: var(--text-muted); }

.hero-media { position: relative; }
.hero-media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  border: 6px solid #fff;
}
.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% center;
  transform: scale(1.35);
}
.hero-badge {
  position: absolute;
  left: -20px;
  bottom: -24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
}
.hero-badge i { font-size: 1.6rem; color: var(--secondary); }
.hero-badge strong { display: block; font-size: 0.9rem; }
.hero-badge span { font-size: 0.78rem; color: var(--text-muted); }

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--bg);
  border-radius: 60% 60% 0 0 / 100% 100% 0 0;
}

/* ============ Sections ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}
.section-kicker.light { color: #7FE3D2; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ============ Cards / Grids ============ */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 18px;
}
.icon-1 { background: linear-gradient(135deg, #0B5ED7, #3B82F6); }
.icon-2 { background: linear-gradient(135deg, #0F766E, #14B8A6); }
.icon-3 { background: linear-gradient(135deg, #0B5ED7, #0F766E); }
.icon-4 { background: linear-gradient(135deg, #0847A8, #0B5ED7); }
.service-card h3 { font-size: 1.15rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 6px;
}
.card-link:hover { gap: 10px; }

/* ============ Popular services pills ============ */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.pill i { color: var(--secondary); }
.pill:hover {
  background: var(--gradient);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pill:hover i { color: #fff; }

/* ============ Why Us ============ */
.why-us-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.why-us-media-frame {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.why-us-logo { border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.why-list strong { display: block; font-family: var(--font-head); color: #14213D; margin-bottom: 2px; }
.why-list span { font-size: 0.92rem; color: var(--text-muted); }

/* ============ Testimonials ============ */
.stars { color: #F5A623; margin-bottom: 12px; font-size: 0.9rem; }
.testimonial-card p { color: var(--text); font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-person strong { display: block; font-size: 0.92rem; }
.testimonial-person span { font-size: 0.8rem; color: var(--text-muted); }

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.faq-intro p { max-width: 380px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.accordion-item summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: #14213D;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: '\002B';
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform .2s ease;
  margin-left: 12px;
}
.accordion-item[open] summary::after { content: '\2212'; }
.accordion-item p { margin-top: 12px; margin-bottom: 0; font-size: 0.92rem; }

/* ============ Blog ============ */
.blog-thumb {
  height: 160px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  color: #fff;
  margin: -30px -26px 20px;
}
.thumb-1 { background: linear-gradient(135deg, #0B5ED7, #3B82F6); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.thumb-2 { background: linear-gradient(135deg, #0F766E, #14B8A6); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.thumb-3 { background: linear-gradient(135deg, #0847A8, #0F766E); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--secondary);
}
.blog-card h3 { font-size: 1.05rem; margin-top: 8px; }
.blog-body p { font-size: 0.92rem; }

/* ============ Contact ============ */
.contact-section {
  background: linear-gradient(135deg, #0B2545 0%, #0F766E 100%);
  color: #fff;
}
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { color: #fff; }
.contact-info p { color: #cfe0f5; }
.contact-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; }
.contact-list i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: #7FE3D2; }
.contact-list a { color: #fff; font-weight: 500; }
.contact-list a:hover { color: #7FE3D2; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color .2s ease, background .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.form-note { font-size: 0.85rem; color: var(--secondary); margin: 12px 0 0; min-height: 1em; }

/* ============ Footer ============ */
.site-footer { background: #081A33; color: #b9c7db; padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { width: 48px; height: 48px; border-radius: 50%; margin-bottom: 14px; }
.footer-brand p { color: #8fa0b8; font-size: 0.9rem; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.footer-social a:hover { background: var(--gradient); }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.9rem; color: #b9c7db; }
.footer-col a:hover { color: #7FE3D2; }
.footer-newsletter p { font-size: 0.88rem; color: #8fa0b8; }
.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-form input {
  flex: 1;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.88rem;
}
.newsletter-form input::placeholder { color: #8fa0b8; }
.newsletter-form button {
  background: var(--gradient);
  border: none;
  border-radius: var(--radius);
  width: 44px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}
.footer-bottom { padding: 20px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #8fa0b8;
}
.footer-legal a { color: #8fa0b8; }
.footer-legal a:hover { color: #7FE3D2; }

/* ============ Back to top ============ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 480px; margin: 0 auto; }
  .why-us-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-us-media-frame { max-width: 320px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .topbar-contact a:nth-child(2) { display: none; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
}
