/* ========================================================================
   Angels Visitation & Monitoring — shared styles
   Extends Tailwind (loaded via CDN) with custom component classes and
   scroll-reveal animation keyframes.
   ======================================================================== */

body {
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #FAF9F7;
  color: #1C242C;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -0.015em;
}

::selection { background-color: rgba(74, 122, 156, 0.2); }

/* ---------- Reusable component classes ---------- */
.container-x {
  margin-inline: auto;
  width: 100%;
  max-width: 80rem;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .container-x { padding-inline: 2.5rem; } }
@media (min-width: 1024px) { .container-x { padding-inline: 4rem; } }

.section-y { padding-block: 5rem; }
@media (min-width: 768px) { .section-y { padding-block: 7rem; } }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; background-color: #4A7A9C;
  padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500; color: #fff;
  transition: background-color 150ms ease;
}
.btn-primary:hover { background-color: #3B637F; }
.btn-primary:focus-visible { outline: 2px solid rgba(74, 122, 156, 0.4); outline-offset: 2px; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; background-color: #fff; color: #4A7A9C;
  border: 1px solid rgba(74, 122, 156, 0.3);
  padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500;
  transition: background-color 150ms ease;
}
.btn-outline:hover { background-color: #E6EEF5; }

.chip {
  display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 9999px; background-color: #E6EEF5;
  padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 500; color: #4A7A9C;
}

.kicker {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: #4A7A9C;
}

.shadow-soft { box-shadow: 0 4px 20px rgba(28, 36, 44, 0.04); }
.shadow-float { box-shadow: 0 12px 40px rgba(28, 36, 44, 0.08); }

/* Form inputs */
.form-input {
  width: 100%; border-radius: 0.75rem; border: 1px solid #E2E8F0;
  background: #fff; padding: 0.65rem 0.9rem; font-size: 0.9rem;
  outline: none; transition: border-color 150ms, box-shadow 150ms;
}
.form-input:focus {
  border-color: #4A7A9C;
  box-shadow: 0 0 0 3px rgba(74, 122, 156, 0.15);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out both; }

/* Scroll-triggered reveal — applied by site.js via IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ accordion */
.faq-item details { border-bottom: 1px solid #E2E8F0; }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 1rem 0; display: flex; align-items: center; justify-content: space-between;
  font-family: "Manrope", sans-serif; font-weight: 600; color: #1C242C;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: #4A7A9C;
  transition: transform 200ms ease;
}
.faq-item details[open] summary::after { content: "−"; }
.faq-item .answer {
  padding-bottom: 1rem; font-size: 0.875rem; line-height: 1.6;
  color: #5C6B7A;
}

/* Hide scrollbar for horizontal chip strips */
.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }
