/* ============================================================
   Kshatriya Technical Services — shared styles
   ============================================================ */

:root {
  --brand-blue: #023083;
  --brand-blue-light: #0a4bbf;
  --brand-blue-glow: rgba(2, 48, 131, 0.35);
  --brand-black: #0c0d11;

  --background: #f4f5f9;
  --foreground: #0c0d11;
  --foreground-muted: #4a4b55;
  --card: #ffffff;
  --card-border: #e2e3ea;
  --primary: #023083;
  --primary-hover: #0a4bbf;
  --section-alt: #eef0f7;
  --shadow-color: rgba(2, 48, 131, 0.12);
  --hero-gradient: linear-gradient(135deg, #eef0f7 0%, #dde0ef 100%);
  --whatsapp: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

img, svg { display: block; }

/* ─── Icon font replacement (inline SVG sprite via CSS mask not needed —
   we use simple inline SVGs in the HTML, styled here) ────────────── */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ─── Layout helpers ───────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 768px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 1024px; margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-cta { padding: 80px 0; }

.text-center { text-align: center; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 640px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: 12px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* ─── Animations ───────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 var(--brand-blue-glow); }
  70%  { box-shadow: 0 0 0 14px rgba(2,48,131,0); }
  100% { box-shadow: 0 0 0 0 rgba(2,48,131,0); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fade-up { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-float    { animation: float 3s ease-in-out infinite; }
.animate-spin-slow{ animation: spinSlow 12s linear infinite; }
.animate-pulse-ring{ animation: pulseRing 2s ease infinite; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ─── Focus visibility ─────────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ─── Section label pill ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: rgba(2, 48, 131, 0.1);
  color: var(--primary);
  border: 1px solid rgba(2, 48, 131, 0.2);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ─── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; }
.h1-hero { font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.1; margin-bottom: 16px; }
.h2-section { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 16px; }
.h2-page { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 16px; }
.lead { font-size: 1.125rem; color: var(--foreground-muted); line-height: 1.7; }
.muted { color: var(--foreground-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.shimmer-text {
  background: linear-gradient(90deg, var(--primary) 0%, #2d6ef5 40%, #023083 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 8px 28px var(--brand-blue-glow); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.btn-outline:hover { background: var(--primary); color: #fff; box-shadow: 0 8px 28px var(--brand-blue-glow); transform: translateY(-2px); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-whatsapp:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 28px rgba(37,211,102,0.4); }

.btn-call-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.btn-call-light:hover { transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ─── Cards ─────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 36px var(--shadow-color);
  transform: translateY(-4px);
}
.card-pad { padding: 28px; }
.card-pad-lg { padding: 32px; }

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(2,48,131,0.1);
  border: 1px solid rgba(2,48,131,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.icon-badge svg { width: 24px; height: 24px; color: var(--primary); }
.card:hover .icon-badge { background: var(--primary); transform: scale(1.08) rotate(-3deg); }
.card:hover .icon-badge svg { color: #fff; }

.icon-badge-sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-badge-sm svg { width: 20px; height: 20px; }

.icon-badge-round {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge-round svg { width: 14px; height: 14px; color: #fff; }

/* ─── Stat card ────────────────────────────────────────────────── */
.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 12px 36px var(--shadow-color); }
.stat-value { font-size: 1.875rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }

/* ─── Header ───────────────────────────────────────────────────── */
.topbar {
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.75rem;
  padding: 8px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; }
.topbar a { opacity: 0.85; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { opacity: 1; }
.topbar .topbar-note { opacity: 0.65; letter-spacing: 0.04em; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #023083 0%, #0a4bbf 100%); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text p:first-child { font-weight: 800; font-size: 1.15rem; line-height: 1.2; color: var(--foreground); letter-spacing: -0.01em; }
.brand-text p:last-child { font-size: 0.8rem; color: var(--foreground-muted); font-weight: 600; }
@media (min-width: 768px) {
  .brand-text p:first-child { font-size: 1.3rem; }
  .brand-text p:last-child { font-size: 0.85rem; }
}

nav.main-nav { display: none; gap: 4px; }
nav.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
nav.main-nav a:hover { background: rgba(2,48,131,0.06); }
nav.main-nav a.active { color: var(--primary); background: rgba(2,48,131,0.08); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta-group { display: none; gap: 8px; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.header-cta:hover { transform: scale(1.05); }
.header-cta.whatsapp { background: var(--whatsapp); }
.header-cta.call { background: var(--primary); }

.menu-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--foreground);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--card-border);
  background: var(--card);
}
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 16px; gap: 4px; }
.mobile-menu nav a { padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.mobile-menu nav a.active { color: var(--primary); background: rgba(2,48,131,0.08); }
.mobile-cta-row { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--card-border); }
.mobile-cta-row a { flex: 1; text-align: center; padding: 12px; border-radius: 12px; color: #fff; font-weight: 600; font-size: 0.875rem; display: flex; align-items: center; justify-content: center; gap: 6px; }
.mobile-cta-row a.whatsapp { background: var(--whatsapp); }
.mobile-cta-row a.call { background: var(--primary); }

@media (min-width: 768px) {
  .topbar { display: block; }
  nav.main-nav { display: flex; }
  .header-cta-group { display: flex; }
  .menu-toggle { display: none; }
}
@media (max-width: 767px) {
  .topbar { display: none; }
}

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
  background-image:
    linear-gradient(rgba(2,48,131,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,48,131,0.04) 1px, transparent 1px),
    var(--hero-gradient);
  background-size: 48px 48px, 48px 48px, cover;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.18;
}
.hero-blob-1 { top: -120px; right: -120px; width: 500px; height: 500px; background: radial-gradient(circle, #023083 0%, transparent 70%); }
.hero-blob-2 { bottom: -40px; left: -100px; width: 380px; height: 380px; background: radial-gradient(circle, #0a4bbf 0%, transparent 70%); opacity: 0.1; }
.hero-ring {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 36px solid #023083;
  opacity: 0.06;
  display: none;
}
@media (min-width: 1024px) { .hero-ring { display: block; } }

.hero-grid { display: grid; gap: 48px; align-items: start; position: relative; z-index: 1; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

.trust-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600;
  padding: 8px 12px; border-radius: 8px;
  background: rgba(2,48,131,0.08); color: var(--primary);
  border: 1px solid rgba(2,48,131,0.15);
}
.trust-badge svg { width: 14px; height: 14px; }

.availability-banner {
  margin-top: 16px;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(2,48,131,0.08);
  border: 1px solid rgba(2,48,131,0.15);
}
.pulse-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--whatsapp); flex-shrink: 0;
  box-shadow: 0 0 8px var(--whatsapp);
}

/* ─── Page hero (sub-pages) ───────────────────────────────────── */
.page-hero {
  background: var(--hero-gradient);
  border-bottom: 1px solid var(--card-border);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(2,48,131,0.08) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }

/* ─── Service icon (services page cards) ───────────────────────── */
.service-icon {
  width: 56px; height: 56px;
  background: rgba(2,48,131,0.1);
  border: 1px solid rgba(2,48,131,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.service-icon svg { width: 22px; height: 22px; color: var(--primary); }
.card:hover .service-icon { background: var(--primary); transform: scale(1.08) rotate(-3deg); }
.card:hover .service-icon svg { color: #fff; }

.service-tag {
  position: absolute; top: 24px; right: 24px;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  background: var(--primary); color: #fff;
}

/* ─── CTA band ──────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #023083 0%, #0a1540 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.7); }

/* ─── Forms ────────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--foreground);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder { color: var(--foreground-muted); opacity: 0.7; }
.form-input:hover { border-color: #6b8fd0; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--brand-blue-glow); }
textarea.form-input { resize: vertical; min-height: 130px; }

.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 640px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }

.form-success {
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  background: rgba(2,48,131,0.08);
  border: 1px solid rgba(2,48,131,0.2);
}
.form-success .icon-badge-round { width: 56px; height: 56px; margin: 0 auto 16px; }
.form-success .icon-badge-round svg { width: 28px; height: 28px; }

.form-error {
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b91c1c;
  font-size: 0.875rem;
  display: none;
}
.form-error.show { display: block; }

/* ─── Footer ───────────────────────────────────────────────────── */
footer.site-footer { background: var(--brand-black); color: #d2d3d8; border-top: 1px solid rgba(255,255,255,0.06); padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 48px; margin-bottom: 48px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-heading { color: #fff; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.875rem; color: #9a9ba3; display: flex; align-items: center; gap: 8px; transition: color 0.2s ease; }
.footer-links a:hover { color: #7ba3f5; }
.footer-links a svg { width: 13px; height: 13px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact-item svg { width: 16px; height: 16px; color: #7ba3f5; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #4a4b55; margin-bottom: 2px; }
.footer-contact-item .value { font-size: 0.875rem; font-weight: 600; color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(2,48,131,0.3); color: #7ba3f5;
  transition: transform 0.2s ease;
}
.footer-social a:hover { transform: scale(1.08); }
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a.wa { background: rgba(37,211,102,0.15); color: var(--whatsapp); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: #4a4b55; text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: #7ba3f5; }

/* ─── Floating action buttons ──────────────────────────────────── */
.fab-container { position: fixed; right: 20px; bottom: 30px; display: flex; flex-direction: column; gap: 12px; z-index: 900; }
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 0 3px var(--background);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
  position: relative;
}
.fab svg { width: 22px; height: 22px; }
.fab:hover { transform: scale(1.12) translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.4); }
.fab-whatsapp { background: var(--whatsapp); }
.fab-call { background: var(--primary); }
.fab-tooltip {
  position: absolute; right: 64px;
  background: var(--card); color: var(--foreground);
  border: 1px solid var(--card-border);
  padding: 5px 12px; border-radius: 8px;
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translateX(6px); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.fab:hover .fab-tooltip { opacity: 1; transform: translateX(0); }

/* ─── FAQ ──────────────────────────────────────────────────────── */
details.faq-item { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: space-between;
}
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(2,48,131,0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; flex-shrink: 0;
  transition: transform 0.25s ease;
}
details.faq-item[open] .faq-arrow { transform: rotate(180deg); }
details.faq-item[open] summary { border-bottom: 1px solid var(--card-border); }
.faq-body { padding: 0 24px 20px; font-size: 0.875rem; color: var(--foreground-muted); line-height: 1.7; }

/* ─── Misc utility ─────────────────────────────────────────────── */
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.mb-4  { margin-bottom: 32px; }
.mb-5  { margin-bottom: 40px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-prose { max-width: 640px; }
.center-col { max-width: 640px; margin: 0 auto; }
.relative { position: relative; }

.dark-panel {
  border-radius: 24px;
  background: linear-gradient(135deg, #023083 0%, #0a1540 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dark-panel::before {
  content: '';
  position: absolute; inset: 0; opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}
.dark-panel > * { position: relative; z-index: 1; }
.mini-stat { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 16px; }
.mini-stat .v { font-size: 1.4rem; font-weight: 700; color: #fff; }
.mini-stat .l { font-size: 0.7rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

.timeline-line { position: absolute; left: 87px; top: 0; bottom: 0; width: 1px; background: var(--card-border); display: none; }
@media (min-width: 480px) { .timeline-line { display: block; } }
.timeline-item { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.timeline-year { width: 64px; flex-shrink: 0; text-align: right; font-weight: 700; font-size: 0.875rem; color: var(--primary); }
.timeline-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid var(--background); outline: 2px solid var(--primary); margin-top: 4px; flex-shrink: 0; }

.value-row { display: flex; gap: 16px; }
.value-row .icon-badge-round { margin-top: 2px; }

.plan-popular { border: 1px solid var(--primary); position: relative; overflow: hidden; }
.plan-ribbon { position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 8px 16px; border-radius: 0 0 0 16px; }

.area-pill { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; padding: 6px 12px; border-radius: 8px; background: rgba(2,48,131,0.05); color: var(--foreground-muted); }
.area-dot { color: var(--primary); font-size: 10px; }

.hours-row { display: flex; justify-content: space-between; font-size: 0.875rem; padding: 6px 0; }
.hours-row .v { font-weight: 600; color: var(--foreground); }

.quick-connect-link {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: 16px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.quick-connect-link:hover { transform: scale(1.01); }
.quick-connect-link .icon-circle { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quick-connect-link .icon-circle svg { width: 20px; height: 20px; color: #fff; }
.qc-whatsapp { background: rgba(37,211,102,0.07); border: 1px solid rgba(37,211,102,0.2); }
.qc-whatsapp .icon-circle { background: var(--whatsapp); }
.qc-whatsapp .title { color: var(--whatsapp); font-weight: 700; }
.qc-call { background: rgba(2,48,131,0.07); border: 1px solid rgba(2,48,131,0.2); }
.qc-call .icon-circle { background: var(--primary); }
.qc-call .title { color: var(--primary); font-weight: 700; }

.info-card-link { color: var(--primary); font-weight: 700; font-size: 0.875rem; display: block; margin-bottom: 4px; word-break: break-all; }
.info-card-link:hover { opacity: 0.7; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinSlow 0.7s linear infinite;
  display: inline-block;
}

/* ─── Service illustration cards (services page) ──────────────── */
.service-illustrated-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-illustrated-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow-color);
  border-color: var(--primary);
}
.service-illustrated-card .illo-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--hero-gradient);
  position: relative;
}
.service-illustrated-card .illo-wrap img,
.service-illustrated-card .illo-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-illustrated-card:hover .illo-wrap img,
.service-illustrated-card:hover .illo-wrap svg {
  transform: scale(1.06);
}
.service-illustrated-card .illo-body { padding: 26px; }
.service-illustrated-card .illo-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

/* image fade-in on load */
.illo-wrap img, .illo-wrap svg {
  opacity: 0;
  animation: fadeIn 0.6s ease 0.1s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Illustrated service cards: keep their internal detail-list single-column
   even at desktop widths, since the outer 3-col grid makes each card narrower
   than the old 2-col layout — a 2-col bullet list here would wrap awkwardly. */
.service-illustrated-card .illo-body .grid-2 {
  grid-template-columns: 1fr !important;
}
@media (min-width: 1400px) {
  .service-illustrated-card .illo-body .grid-2 {
    grid-template-columns: 1fr 1fr !important;
  }
}

.brand {
  margin-left: 2%;
}

/* ─── Logo image inside header/footer brand marks ──────────────── */
.brand-mark-img {
  width: 100%;
  height: 100%;
  object-fit:contain;
  display: block;
}

/* ─── Responsive refinement pass ───────────────────────────────── */
@media (max-width: 480px) {
  .hero { min-height: 88vh; padding: 56px 0; }
  .h1-hero { font-size: 2.1rem; }
  .h2-section { font-size: 1.7rem; }
  .h2-page { font-size: 2.1rem; }
  .stat-card { padding: 16px; }
  .stat-value { font-size: 1.4rem; }
  section { padding: 56px 0; }
  .section-cta { padding: 52px 0; }
  .card-pad-lg { padding: 20px; }
  .service-illustrated-card .illo-body { padding: 18px; }
}

/* Tasteful hover-tilt for illustrated cards on devices that support hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .service-illustrated-card:hover {
    transform: translateY(-6px) scale(1.012);
  }
}

/* Gentle continuous drift for hero decorative blobs, slightly different per blob already via delay */
.hero-blob { animation-duration: 7s; }

/* Section labels get a tiny fade-slide as they enter view (paired with data-reveal parent) */
[data-reveal] .section-label {
  display: inline-block;
}


/* ─── Custom dropdown (replaces native <select>) ──────────────────
   Vanilla JS component, no external library, fully stylable.   */
.dropdown {
  position: relative;
  width: 100%;
}
.dropdown-trigger {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--foreground);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dropdown-trigger:hover { border-color: #6b8fd0; }
.dropdown-trigger:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.dropdown.open .dropdown-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--brand-blue-glow);
}
.dropdown-trigger .placeholder { color: var(--foreground-muted); opacity: 0.85; }
.dropdown-trigger .chevron {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--foreground-muted);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dropdown.open .dropdown-trigger .chevron { transform: rotate(180deg); color: var(--primary); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(2,48,131,0.18);
  padding: 6px;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown.open .dropdown-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.dropdown-option {
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.875rem;
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown-option:hover,
.dropdown-option.highlighted {
  background: rgba(2,48,131,0.08);
  color: var(--primary);
  padding-left: 18px;
}
.dropdown-option.selected {
  background: rgba(2,48,131,0.1);
  color: var(--primary);
  font-weight: 600;
}
.dropdown-option .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}
.dropdown-option.selected .dot { opacity: 1; }

/* ─── Extra animation utilities ───────────────────────────────── */
@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.92) translateY(10px); }
  60%  { transform: scale(1.02) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-4deg); }
  75%      { transform: rotate(4deg); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2,48,131,0.0); }
  50%      { box-shadow: 0 0 0 8px rgba(2,48,131,0.07); }
}
@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes slideInUpSoft {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.animate-pop-in { animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.animate-glow-pulse { animation: glowPulse 2.4s ease-in-out infinite; }

/* Icon badges get a tiny continuous breathing glow on hover-capable cards */
.card:hover .icon-badge,
.card:hover .service-icon {
  animation: glowPulse 1.8s ease-in-out infinite;
}

/* Nav links get an animated underline on hover */
nav.main-nav a {
  position: relative;
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.main-nav a:hover::after { transform: scaleX(1); }
nav.main-nav a.active::after { display: none; }

/* Buttons get a subtle shine sweep on hover */
.btn-primary, .btn-whatsapp {
  position: relative;
  overflow: hidden;
}
.btn-primary::before, .btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn-primary:hover::before, .btn-whatsapp:hover::before { left: 130%; }

/* Stat cards pop in with a tiny stagger-friendly bounce */
.stat-card { animation: popIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* Trust badges wiggle very subtly when the page loads, once */
.trust-badge svg { animation: wiggle 0.6s ease-in-out 1; }

/* Timeline dots pulse softly to draw the eye down the line */
.timeline-dot { animation: glowPulse 2.6s ease-in-out infinite; }

/* FAQ items lift slightly on hover even when closed */
details.faq-item { transition: transform 0.2s ease, box-shadow 0.2s ease; }
details.faq-item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--shadow-color); }

@media (prefers-reduced-motion: reduce) {
  .card:hover .icon-badge,
  .card:hover .service-icon,
  .stat-card,
  .trust-badge svg,
  .timeline-dot {
    animation: none !important;
  }
}
