:root {
  --fb: #1877f2;
  --fb-2: #0d6efd;
  --ink: #0f172a;
  --muted: rgba(15, 23, 42, 0.72);
  --bg: #f6f8fb;
  --shadow: 0 18px 50px rgba(2, 6, 23, 0.1);
  --shadow2: 0 10px 24px rgba(2, 6, 23, 0.12);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.fw-black {
  font-weight: 900;
}

/* Bootstrap theme touches (Facebook blue) */
.text-primary {
  color: var(--fb) !important;
}
.btn-primary {
  --bs-btn-bg: var(--fb);
  --bs-btn-border-color: var(--fb);
  --bs-btn-hover-bg: #166fe5;
  --bs-btn-hover-border-color: #166fe5;
  --bs-btn-active-bg: #145fd0;
  --bs-btn-active-border-color: #145fd0;
}
.btn-outline-primary {
  --bs-btn-color: var(--fb);
  --bs-btn-border-color: rgba(24, 119, 242, 0.35);
  --bs-btn-hover-bg: rgba(24, 119, 242, 0.08);
  --bs-btn-hover-border-color: rgba(24, 119, 242, 0.55);
  --bs-btn-active-bg: rgba(24, 119, 242, 0.14);
  --bs-btn-active-border-color: rgba(24, 119, 242, 0.65);
}
.navbar {
  backdrop-filter: saturate(160%) blur(10px);
}
.navbar-brand small {
  letter-spacing: 0.2px;
}

.io-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(24, 119, 242, 0.98),
    rgba(13, 110, 253, 0.98)
  );
  color: #fff;
  box-shadow: 0 14px 34px rgba(24, 119, 242, 0.2);
  font-weight: 950;
  letter-spacing: 0.4px;
}

.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      900px 520px at 12% 30%,
      rgba(24, 119, 242, 0.16),
      transparent 55%
    ),
    radial-gradient(
      720px 420px at 90% 20%,
      rgba(13, 110, 253, 0.14),
      transparent 58%
    );
  pointer-events: none;
}
.hero > .container {
  position: relative;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--fb);
  box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.32);
  animation: pulse 1.7s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.32);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(24, 119, 242, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 119, 242, 0);
  }
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.hero-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.6s ease;
}
.hero-media:hover img {
  transform: scale(1.08);
}

@media (max-width: 991.98px) {
  .hero-media img {
    aspect-ratio: 4 / 3;
  }
}

.float-badge {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow2);
}
.float-badge img {
  height: 26px;
  width: auto;
  display: block;
}
.float-badge span {
  color: var(--muted);
  font-weight: 800;
}

.authority-card {
  background: linear-gradient(
    180deg,
    rgba(24, 119, 242, 0.06),
    rgba(255, 255, 255, 0.94)
  );
  border-color: rgba(15, 23, 42, 0.1);
}
.authority-card__logo {
  height: 180px;
  width: auto;
  display: block;
}

.stat-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: 12px 12px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}
.stat-card__top {
  font-weight: 950;
  font-size: 18px;
}
.stat-card__bottom {
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  margin-top: 4px;
}

.icon-pill {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(24, 119, 242, 0.1);
  border: 1px solid rgba(24, 119, 242, 0.22);
  font-size: 22px;
}

.card-lift {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
}

.section-alt {
  background: linear-gradient(
    180deg,
    rgba(24, 119, 242, 0.05),
    rgba(255, 255, 255, 0)
  );
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.img-frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.list-check {
  list-style: none;
  margin: 0;
}
.list-check li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
}
.list-check li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.12);
  color: var(--fb);
  font-weight: 950;
  flex: 0 0 auto;
  margin-top: 1px;
}

.mini-pill {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background: #fff;
  padding: 12px 12px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
  font-weight: 900;
}
.mini-pill small {
  color: var(--muted);
  font-weight: 800;
}

.accordion-item {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}
.accordion-item + .accordion-item {
  margin-top: 12px;
}
.accordion-button {
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  background: rgba(24, 119, 242, 0.08);
  color: var(--ink);
}

.contact-surface {
  background: linear-gradient(
    180deg,
    rgba(24, 119, 242, 0.06),
    rgba(255, 255, 255, 0.82)
  );
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.contact-dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(24, 119, 242, 0.1);
  border: 1px solid rgba(24, 119, 242, 0.22);
  color: var(--fb);
  font-size: 18px;
}

.map-surface {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow);
}
.map-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.1);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: transparent;
  color: #062813;
}
.btn-whatsapp:hover {
  filter: brightness(0.98);
  color: #062813;
}

.fab-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 1050;
  transition: transform 0.2s ease;
}
.fab-whatsapp i {
  font-size: 26px;
  line-height: 1;
}
.fab-whatsapp:hover {
  transform: translateY(-3px);
}

.fab-location {
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 1050;
  transition: transform 0.2s ease;
}
.fab-location i {
  font-size: 22px;
  line-height: 1;
}
.fab-location:hover {
  transform: translateY(-3px);
}

.fab-top {
  position: fixed;
  right: 18px;
  bottom: 158px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.1);
  z-index: 1050;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
.fab-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab-top i {
  font-size: 20px;
  line-height: 1;
}
.fab-top:hover {
  transform: translateY(-3px);
}

/* Scroll animations (IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal--delay-1 {
  transition-delay: 0.08s;
}
.reveal--delay-2 {
  transition-delay: 0.14s;
}
.reveal--delay-3 {
  transition-delay: 0.2s;
}
.reveal--delay-4 {
  transition-delay: 0.26s;
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card-lift,
  .hero-media img,
  .fab-whatsapp,
  .fab-location,
  .fab-top {
    transition: none;
  }
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Footer */
.site-footer {
  padding: 22px 0;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
}
.site-footer__bottom {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.site-footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.site-footer__links a:hover {
  color: var(--fb);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer__credit {
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .site-footer__top,
  .site-footer__bottom {
    justify-content: center;
    text-align: center;
  }
  .site-footer__credit {
    white-space: normal;
  }
}

/* Faster mobile dropdown/collapse animations (Bootstrap) */
@media (max-width: 991.98px) {
  .collapsing {
    transition-duration: 0.18s !important;
  }
}
