:root {
  --navy-950: #1f2b3a;
  --navy-900: #29394d;
  --navy-800: #34465e;
  --navy-700: #435873;
  --red-600: #db263d;
  --red-500: #ea3449;
  --red-100: #ffe9ed;
  --paper: #ffffff;
  --paper-muted: #f4f6f9;
  --text: #233043;
  --muted: #69778a;
  --border: rgba(52, 70, 94, 0.13);
  --shadow: 0 24px 70px rgba(24, 35, 50, 0.18);
  --radius-card: 30px;
  --radius-button: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy-950);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(234, 52, 73, 0.2), transparent 28rem),
    linear-gradient(145deg, #26364a 0%, #34465e 48%, #233143 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.background-orb {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(4px);
}

.background-orb--one {
  top: -120px;
  right: -100px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.05);
}

.background-orb--two {
  bottom: -160px;
  left: -120px;
  width: 390px;
  height: 390px;
  background: rgba(219, 38, 61, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
}

.virtual-card {
  position: relative;
  overflow: hidden;
  padding: 32px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.virtual-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--red-600), var(--red-500) 40%, var(--navy-800) 40%);
}

.hero {
  text-align: center;
}

.logo-frame {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 2px auto 18px;
  padding: 5px;
  border-radius: 30px;
  background: var(--navy-800);
  box-shadow: 0 12px 28px rgba(42, 57, 77, 0.26), 0 0 0 6px rgba(52, 70, 94, 0.07);
  transform: rotate(2deg);
}

.logo-frame::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border: 1px solid rgba(219, 38, 61, 0.24);
  border-radius: 35px;
  transform: rotate(-6deg);
}

.church-logo {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  object-fit: cover;
  transform: rotate(-2deg) scale(1.02);
}

.eyebrow,
.modal-kicker {
  margin: 0 0 7px;
  color: var(--red-600);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.schedule-header h1 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 8vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.headquarters {
  margin: 8px 0 0;
  color: var(--navy-700);
  font-size: 0.91rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 390px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.daily-verse {
  position: relative;
  max-width: 440px;
  margin: 17px auto 0;
  padding: 14px 17px 15px 19px;
  overflow: hidden;
  border: 1px solid rgba(52, 70, 94, 0.1);
  border-left: 4px solid var(--red-600);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(244, 246, 249, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 8px 22px rgba(37, 51, 69, 0.06);
  text-align: left;
}

.daily-verse-label {
  display: block;
  margin-bottom: 7px;
  color: var(--red-600);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.daily-verse blockquote {
  margin: 0;
  color: var(--navy-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.48;
  transition: opacity 180ms ease;
}

.daily-verse cite {
  display: block;
  min-height: 1.1em;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 760;
  text-align: right;
}

.daily-verse.is-loading blockquote {
  opacity: 0.56;
}

.action-list {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.action-button {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  color: var(--text);
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(37, 51, 69, 0.07);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.action-button:hover,
.action-button:focus-visible {
  z-index: 1;
  border-color: rgba(219, 38, 61, 0.34);
  background: #fffafb;
  box-shadow: 0 13px 30px rgba(37, 51, 69, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.action-button:active {
  transform: translateY(0) scale(0.992);
}

.action-button--featured {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 15px 30px rgba(41, 57, 77, 0.22);
}

.action-button--featured:hover,
.action-button--featured:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg, #233144, #3e5673);
}

.button-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: var(--red-600);
  background: var(--red-100);
}

.action-button--featured .button-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.button-icon svg,
.meeting-icon svg,
.location-pin svg,
.modal-symbol svg,
.choice-avatar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-icon .svg-fill {
  fill: currentColor;
  stroke: none;
}

.button-content {
  min-width: 0;
}

.button-content strong {
  display: block;
  font-size: 1rem;
  font-weight: 790;
  line-height: 1.2;
}

.button-content small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.action-button--featured .button-content small {
  color: rgba(255, 255, 255, 0.74);
}

.button-arrow {
  color: var(--red-600);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
}

.action-button--featured .button-arrow {
  color: rgba(255, 255, 255, 0.8);
}

.verse-card {
  position: relative;
  margin-top: 22px;
  padding: 18px 20px 18px 52px;
  overflow: hidden;
  border-radius: 19px;
  color: var(--navy-800);
  background: var(--paper-muted);
}

.verse-card p {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 630;
  line-height: 1.5;
}

.verse-mark {
  position: absolute;
  top: 5px;
  left: 16px;
  color: var(--red-500);
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
}

.developer-footer {
  padding: 17px 10px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

.developer-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.developer-footer a:hover {
  text-decoration: underline;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(18, 26, 37, 0.74);
  backdrop-filter: blur(9px);
}

.modal-backdrop[hidden] {
  display: none;
}

.choice-modal {
  position: relative;
  width: min(100%, 430px);
  padding: 31px 24px 25px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: modal-in 190ms ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy-700);
  background: var(--paper-muted);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.modal-symbol {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, var(--red-500), var(--red-600));
  box-shadow: 0 12px 24px rgba(219, 38, 61, 0.22);
}

.choice-modal h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.45rem;
  line-height: 1.2;
}

.choice-modal > p:not(.modal-kicker) {
  margin: 11px auto 0;
  max-width: 320px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.48;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.choice-button {
  display: grid;
  gap: 8px;
  padding: 17px 12px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--navy-800);
  background: var(--paper-muted);
  font-weight: 780;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.choice-button:hover,
.choice-button:focus-visible {
  border-color: rgba(219, 38, 61, 0.42);
  background: var(--red-100);
  transform: translateY(-2px);
  outline: none;
}

.choice-avatar {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 15px;
  color: var(--red-600);
  background: #fff;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 18px;
  z-index: 80;
  width: fit-content;
  max-width: min(420px, calc(100% - 36px));
  margin: auto;
  padding: 13px 17px;
  border-radius: 14px;
  color: #fff;
  background: var(--navy-950);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  font-size: 0.88rem;
  font-weight: 680;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Página de encontros */
.schedule-card {
  padding-top: 25px;
}

.schedule-header {
  text-align: left;
}

.back-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--navy-700);
  font-size: 0.91rem;
  font-weight: 750;
  text-decoration: none;
}

.back-link span {
  color: var(--red-600);
  font-size: 1.45rem;
  line-height: 0;
}

.mini-brand {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 27px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.mini-brand img {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(41, 57, 77, 0.2);
}

.mini-brand p {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.06rem;
  font-weight: 820;
}

.mini-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.schedule-header > p:last-child {
  max-width: 470px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.schedule-list {
  display: grid;
  gap: 13px;
  margin-top: 27px;
}

.meeting-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: var(--paper);
  box-shadow: 0 9px 24px rgba(37, 51, 69, 0.065);
}

.meeting-card--interactive {
  background: linear-gradient(145deg, #fff, #f8fafc);
}

.meeting-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  color: var(--red-600);
  background: var(--red-100);
}

.meeting-label {
  color: var(--red-600);
  font-size: 0.71rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.meeting-content h2 {
  margin: 5px 0 0;
  color: var(--navy-900);
  font-size: 1.08rem;
  line-height: 1.25;
}

.meeting-times {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.45;
}

.meeting-times strong {
  color: var(--navy-700);
}

.meeting-description {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.meeting-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--navy-800);
  font-size: 0.87rem;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.meeting-action:hover,
.meeting-action:focus-visible {
  background: var(--navy-950);
  outline: none;
  transform: translateY(-1px);
}

.meeting-action span {
  color: var(--red-100);
  font-size: 1.45rem;
  line-height: 1;
}

.location-banner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 15px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--red-600), var(--red-500));
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(219, 38, 61, 0.2);
}

.location-pin {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
}

.location-pin svg {
  width: 22px;
  height: 22px;
}

.location-banner strong,
.location-banner small {
  display: block;
}

.location-banner strong {
  font-size: 0.94rem;
}

.location-banner small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.79rem;
  line-height: 1.3;
}

.location-banner .button-arrow {
  color: #fff;
}

@media (max-width: 480px) {
  .page-shell {
    padding-right: 12px;
    padding-left: 12px;
  }

  .virtual-card {
    padding: 28px 16px 18px;
    border-radius: 25px;
  }

  .logo-frame {
    width: 108px;
    height: 108px;
  }

  .action-button {
    grid-template-columns: 45px minmax(0, 1fr) auto;
    min-height: 73px;
    padding: 12px;
  }

  .button-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
  }

  .button-content strong {
    font-size: 0.96rem;
  }

  .button-content small {
    font-size: 0.79rem;
    white-space: normal;
  }

  .meeting-card {
    grid-template-columns: 47px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .meeting-icon {
    width: 47px;
    height: 47px;
    border-radius: 15px;
  }

  .schedule-card {
    padding-top: 21px;
  }
}

@media (max-width: 370px) {
  .action-button {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .button-icon {
    width: 42px;
    height: 42px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .meeting-card {
    grid-template-columns: 1fr;
  }
}

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