/* ============================================
   AGUAJATO – Global Stylesheet
   Mobile-first | Vanilla CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

/* ── TOKENS ── */
:root {
  --brand: #0284c7;
  --brand-dark: #0369a1;
  --brand-light: #e0f2fe;
  --brand-bg: #f0f9ff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --green: #16a34a;
  --green-light: #dcfce7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow: 0 4px 24px -4px rgba(0, 0, 0, .12);
  --shadow-lg: 0 12px 40px -8px rgba(0, 0, 0, .18);
  --transition: all 0.25s ease;
  --max-w: 1100px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--slate-50);
  color: var(--slate-800);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

main {
  flex: 1;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, .35);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, .45);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, .35);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-700);
  border-color: var(--slate-200);
}

.btn-ghost:hover {
  background: var(--slate-100);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--slate-900);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 500;
  display: none;
  /* visible md+ */
  overflow: hidden;
  max-height: 40px;
  transition: max-height 0.4s ease, opacity 0.35s ease, padding 0.35s ease;
  opacity: 1;
}

.topbar.scrolled-away {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  gap: 1rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar a {
  color: #94a3b8;
  transition: color .2s;
}

.topbar a:hover {
  color: #fff;
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #e2e8f0 !important;
  font-weight: 600;
}

/* ── HEADER ── */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--brand-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease;
}

/* Glassmorphism no scroll */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: rgba(2, 132, 199, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.site-header.scrolled .header-inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.site-header.scrolled .logo-link img {
  height: 38px !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(2, 132, 199, .4);
  transition: background .2s;
}

.logo-link:hover .logo-icon {
  background: var(--brand-dark);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.03em;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Desktop Nav */
.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand);
  background: var(--brand-bg);
}

.nav-link.active {
  color: var(--brand);
  background: var(--brand-light);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  cursor: pointer;
}

.nav-dropdown-btn:hover {
  color: var(--brand);
  background: var(--brand-bg);
}

.nav-dropdown-btn svg {
  width: 15px;
  height: 15px;
  transition: transform .25s;
}

.nav-dropdown:hover .nav-dropdown-btn svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, visibility .25s, transform .25s;
  z-index: 200;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}

.dropdown-item:hover {
  background: var(--brand-bg);
  color: var(--brand);
}

/* CTA Header */
.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.header-cta-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid #bbf7d0;
  transition: var(--transition);
  white-space: nowrap;
}

.header-cta-phone:hover {
  background: #dcfce7;
  transform: scale(1.02);
}

/* Mobile Hamburger */
.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--slate-600);
  transition: var(--transition);
}

.burger:hover {
  background: var(--slate-100);
  color: var(--brand);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, .6);
  backdrop-filter: blur(4px);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 40px rgba(0, 0, 0, .18);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: slideIn .28s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  transition: var(--transition);
}

.mobile-close:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

.mobile-menu-body {
  padding: 1rem 1.25rem;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-bottom: 2px;
}

.mobile-nav-link:hover {
  background: var(--brand-bg);
  color: var(--brand);
}

.mobile-nav-link.active {
  background: var(--brand-light);
  color: var(--brand);
}

.mobile-services-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  padding: 0.9rem 1rem 0.4rem;
}

.mobile-service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-bottom: 2px;
}

.mobile-service-link:hover {
  background: var(--brand-bg);
  color: var(--brand);
}

.mobile-service-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.mobile-menu-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--slate-900);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--brand);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1e293b;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
}

.footer-logo-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.875rem;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  transition: color .2s;
}

.footer-contact-item a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.78rem;
  text-align: center;
  color: #475569;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, #0c2340 50%, #0a3055 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, .25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, .2);
  border: 1px solid rgba(2, 132, 199, .4);
  color: #7dd3fc;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  width: fit-content;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 1rem 0;
}

.hero h1 span {
  color: #38bdf8;
}

.hero-sub {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.75rem;
}

.hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 4/3;
}

.hero-img-wrap img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-img-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, .75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #fff;
}

.hero-img-caption strong {
  font-size: 0.9rem;
  display: block;
}

.hero-img-caption span {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem 0;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
}

.trust-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.2;
}

.trust-sub {
  font-size: 0.7rem;
  color: var(--slate-500);
}

/* ── SECTION COMMONS ── */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-alt {
  background: var(--slate-100);
}

.section-blue {
  background: var(--brand);
  color: #fff;
}

.section-dark {
  background: var(--slate-900);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.15;
}

.section-title-white {
  color: #fff;
}

.section-sub {
  font-size: 1rem;
  color: var(--slate-500);
  margin-top: 0.75rem;
  line-height: 1.65;
}

.section-sub-white {
  color: rgba(255, 255, 255, .75);
}

.divider {
  width: 3.5rem;
  height: 4px;
  background: var(--brand);
  border-radius: 999px;
  margin: 1rem auto 0;
}

/* ── CARDS ── */
.card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--brand-light);
  transform: translateY(-3px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card:hover .card-icon {
  background: var(--brand);
  color: #fff;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  margin-top: 1rem;
  transition: gap .2s;
}

.card-link:hover {
  gap: 0.6rem;
}

.card-link svg {
  width: 15px;
  height: 15px;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.stat-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: .8;
  margin-top: 0.35rem;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
  padding: 0.75rem 0;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-400);
}

.breadcrumb-nav a {
  transition: color .2s;
}

.breadcrumb-nav a:hover {
  color: var(--brand);
}

.breadcrumb-nav span {
  color: var(--brand);
  font-weight: 600;
}

.breadcrumb-nav svg {
  width: 14px;
  height: 14px;
}

/* ── PAGE HERO (internal pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, #0c2340 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
}

.page-hero h1 span {
  color: #38bdf8;
}

.page-hero p {
  font-size: 1rem;
  color: #94a3b8;
  margin-top: 0.75rem;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #0c4a75 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 900;
}

.cta-band p {
  color: rgba(255, 255, 255, .75);
  margin: 0.75rem auto 2rem;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── FORM ── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--slate-800);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, .15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ── UTILITY ── */
.text-brand {
  color: var(--brand);
}

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

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.d-flex {
  display: flex;
}

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

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.hidden {
  display: none !important;
}

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-brand {
  background: var(--brand-light);
  color: var(--brand);
}

.badge-green {
  background: var(--green-light);
  color: var(--green);
}

.badge-red {
  background: var(--red-light);
  color: var(--red);
}

/* ── EMERGENCY CARD ── */
.emergency-card {
  background: #fff0f0;
  border: 2px solid #fecaca;
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}

.emergency-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--red);
  transform: translateY(-3px);
}

.emergency-card .card-icon {
  background: #fee2e2;
  color: var(--red);
}

.emergency-card:hover .card-icon {
  background: var(--red);
  color: #fff;
}

.emergency-card h3 {
  color: #b91c1c;
}

/* ── RESPONSIVE ── */
@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .topbar {
    display: block;
  }

  .main-nav {
    display: flex;
  }

  .header-cta {
    display: flex;
  }

  .burger {
    display: none;
  }

  .hero {
    padding: 6rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-item:not(:last-child) {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, .15);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.3fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

/* ── SCROLL TOP ── */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(2, 132, 199, .5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: var(--transition);
  z-index: 100;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
}