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

body { font-family: "EB Garamond", serif, cursive; color: #333; }
body.dark-mode { background: #060e1c; color: #ddd; }
body.dark-mode section { background: #060e1c; }
body.dark-mode section:nth-child(even) { background: #0a1628; }
body.dark-mode .card { background: #0d1b2e; color: #ddd; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
body.dark-mode .card p { color: #aaa; }

/* Grid */
.row { display: flex; flex-wrap: wrap; width: 100%; }
.col { flex: 1; padding: 1rem; }
.col-2 { flex: 0 0 50%; max-width: 50%; padding: 1rem; }
.col-3 { flex: 0 0 33.333%; max-width: 33.333%; padding: 1rem; }
.col-4 { flex: 0 0 25%; max-width: 25%; padding: 1rem; }

@media (max-width: 768px) {
  .col-2, .col-3, .col-4 { flex: 0 0 100%; max-width: 100%; }
}

/* Sections */
section { padding: 4rem 2rem; }
section h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; }

/* Cards */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  transform: translateY(20px);
}
.card.visible { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.card .icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: #666; font-size: 0.9rem; }

/* Footer styles moved to footer.css */

/* ── WhatsApp Float Button ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}

.wa-float__tooltip {
  position: absolute;
  right: 66px;
  background: #0d1b2e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.wa-float__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #0d1b2e;
}

.wa-float:hover .wa-float__tooltip { opacity: 1; }

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: waPulse 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.9); opacity: 0; }
}
