:root {
  --navy: #17324d;
  --navy-dark: #0d2337;
  --cream: #fbf7ef;
  --cream-deep: #f1e6d4;
  --paper: #ffffff;
  --terracotta: #a34220;
  --terracotta-dark: #7d2f13;
  --gold: #d49a3a;
  --ink: #17202a;
  --muted: #4b5661;
  --line: #d7d3ca;
  --success: #1f6a44;
  --shadow: 0 16px 42px rgba(23, 50, 77, 0.12);
  --radius: 18px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--gold);
  color: var(--navy-dark);
}

a {
  color: var(--navy);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

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

:focus-visible {
  outline: 4px solid #ffbf47;
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.section {
  padding: 96px 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--navy-dark);
  color: white;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 50, 77, 0.13);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--navy-dark);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover {
  text-decoration: underline;
}

.hero {
  overflow: hidden;
  padding: 92px 0 88px;
  background:
    radial-gradient(circle at 88% 15%, rgba(212, 154, 58, 0.23), transparent 23rem),
    linear-gradient(135deg, var(--cream) 0%, #fffdf8 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--terracotta-dark);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #ffd890;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: #303b45;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.6;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 3px solid transparent;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button-primary {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.button-primary:hover {
  border-color: var(--navy-dark);
  background: var(--navy-dark);
}

.button-secondary {
  border-color: var(--navy);
  background: white;
  color: var(--navy-dark);
}

.button-secondary:hover {
  background: #edf3f8;
}

.button-full {
  width: 100%;
}

.button-light {
  border-color: white;
  background: white;
  color: var(--navy-dark);
}

.button-light:hover {
  border-color: var(--cream-deep);
  background: var(--cream-deep);
}

.button-outline-light {
  border-color: white;
  color: white;
}

.button-outline-light:hover {
  background: white;
  color: var(--navy-dark);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: #34424e;
  font-size: 1.05rem;
  list-style: none;
}

.trust-list span,
.benefit-list span {
  color: var(--success);
  font-weight: 900;
}

/* Regalo gratuito y captación */
.lead-section {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  align-items: start;
  gap: clamp(42px, 7vw, 90px);
}

.lead-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.18rem;
}

.gift-preview {
  position: relative;
  min-height: 300px;
  margin: 32px 0;
  padding: 42px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(13, 35, 55, 0.86), rgba(23, 50, 77, 0.48)),
    url("assets/oracion-diaria-fondo.webp") center 46% / cover no-repeat;
  color: white;
  box-shadow: var(--shadow);
}

.gift-preview::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  content: "";
  pointer-events: none;
}

.gift-preview p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1.5;
}

.gift-preview .gift-preview-label {
  margin-bottom: 16px;
  color: #ffe1a4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-list {
  margin-top: 24px;
}

.lead-form-card,
.standalone-form {
  padding: clamp(28px, 5vw, 44px);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.lead-form-card h3 {
  margin-bottom: 28px;
}

.form-kicker {
  margin-bottom: 8px;
  color: var(--success);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-dark);
  font-size: 1.08rem;
  font-weight: 800;
}

.form-field label span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border: 2px solid #8996a1;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 1.06rem;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--navy);
  outline: 4px solid rgba(255, 191, 71, 0.45);
  outline-offset: 1px;
}

.field-help,
.form-assurance {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.consent-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 10px;
  margin: 4px 0 26px;
  color: #303b45;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.48;
}

.consent-row input {
  width: 24px;
  height: 24px;
  margin: 3px 0 0;
  accent-color: var(--navy);
}

.form-errors,
.success-message {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-left: 6px solid #a11d1d;
  border-radius: 8px;
  background: #fff0f0;
  color: #5d1010;
}

.success-message {
  border-left-color: var(--success);
  background: #eaf7ef;
  color: #12452c;
}

.form-errors p,
.success-message p {
  margin-bottom: 8px;
}

.form-errors ul {
  margin-bottom: 0;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Regalo revelado */
.gift-page {
  background: var(--cream);
}

.gift-result-section {
  padding: 68px 0 90px;
  background: radial-gradient(circle at 50% 18%, rgba(212, 154, 58, 0.22), transparent 28rem);
}

.gift-result-wrap {
  max-width: 880px;
}

.gift-confirmation {
  margin-bottom: 32px;
  text-align: center;
}

.gift-confirmation h1 {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(2.65rem, 6vw, 4.4rem);
}

.gift-confirmation p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
}

.daily-prayer-card {
  padding: clamp(22px, 5vw, 48px);
  border-radius: 26px;
  background:
    linear-gradient(rgba(255, 253, 247, 0.91), rgba(255, 253, 247, 0.96)),
    url("assets/oracion-diaria-fondo.webp") center 42% / cover no-repeat;
  box-shadow: 0 20px 56px rgba(13, 35, 55, 0.2);
}

.daily-prayer-inner {
  padding: clamp(24px, 6vw, 62px);
  border: 2px solid rgba(163, 66, 32, 0.34);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(2px);
}

.gift-topic {
  color: var(--terracotta-dark);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.daily-prayer-card h2 {
  font-size: clamp(2.2rem, 5vw, 3.55rem);
}

.gift-reflection,
.biblical-reference,
.gentle-cta {
  color: #34414c;
  font-size: 1.08rem;
}

.prayer-text {
  margin: 30px 0;
  padding: 28px;
  border-left: 6px solid var(--gold);
  background: rgba(251, 247, 239, 0.92);
}

.prayer-text p {
  margin: 0;
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  line-height: 1.72;
}

.daily-prayer-card blockquote {
  margin: 28px 0;
  color: var(--terracotta-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}

.gentle-cta {
  margin-bottom: 0;
  font-weight: 800;
}

.gift-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 32px 0 16px;
}

.gift-small-note {
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

/* Administración protegida */
.admin-page {
  background: #eef2f5;
  font-size: 1rem;
}

.admin-main {
  padding: 48px 0 80px;
}

.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.admin-heading h1 {
  margin-bottom: 8px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.stat-grid article,
.admin-card {
  padding: 24px;
  border: 1px solid #d6dee5;
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 24px rgba(23, 50, 77, 0.06);
}

.stat-grid span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.stat-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.admin-card h2 {
  font-size: 1.7rem;
}

.privacy-admin-card {
  margin-top: 24px;
}

.admin-card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.admin-card-heading span {
  color: var(--muted);
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
}

.admin-card table {
  width: 100%;
  border-collapse: collapse;
}

.admin-card th,
.admin-card td {
  padding: 11px 10px;
  border-bottom: 1px solid #d9e0e6;
  text-align: left;
  vertical-align: top;
}

.admin-card th {
  color: var(--navy-dark);
  font-size: 1rem;
}

.status-form {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 290px;
}

.status-form select,
.status-form button {
  min-height: 44px;
  padding: 8px 10px;
  border: 2px solid #8996a1;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.status-form button {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.status-form button:hover {
  background: var(--navy-dark);
}

.welcome-card {
  position: relative;
  min-height: 440px;
  padding: 50px 40px 38px;
  border: 1px solid rgba(23, 50, 77, 0.15);
  border-radius: 48% 48% 20px 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.candle-mini {
  position: relative;
  width: 120px;
  height: 190px;
  margin: 0 auto 25px;
}

.mini-candle {
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 115px;
  border-radius: 11px 11px 5px 5px;
  background: linear-gradient(90deg, #ead9bb, #fff9ea 48%, #dfc9a6);
  box-shadow: 0 15px 32px rgba(23, 50, 77, 0.16);
}

.mini-wick {
  position: absolute;
  top: 59px;
  left: 57px;
  z-index: 2;
  width: 5px;
  height: 22px;
  border-radius: 4px;
  background: #40352b;
}

.mini-flame {
  position: absolute;
  top: 6px;
  left: 41px;
  z-index: 3;
  width: 38px;
  height: 60px;
  border-radius: 52% 48% 55% 45% / 68% 65% 35% 32%;
  background: linear-gradient(#fff1a6 8%, #f6b73c 52%, #dc6d22 100%);
  box-shadow: 0 0 25px rgba(246, 183, 60, 0.78), 0 0 58px rgba(246, 183, 60, 0.35);
  transform: rotate(3deg);
}

.quote {
  margin-bottom: 18px;
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.5;
}

.quote-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.youtube-welcome {
  padding: 34px 0;
  background: var(--navy);
  color: white;
}

.youtube-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.youtube-icon {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  color: white;
  font-size: 1.35rem;
  text-indent: 4px;
}

.youtube-welcome h2 {
  margin-bottom: 6px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  letter-spacing: 0;
}

.youtube-welcome p {
  margin-bottom: 0;
  color: #e9f0f6;
  font-size: 1rem;
}

.reassurance {
  border-block: 1px solid var(--line);
  background: white;
}

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

.reassurance-grid > div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 130px;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

.reassurance-grid > div:last-child {
  border-right: 0;
}

.reassurance-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.reassurance-grid strong {
  color: var(--navy-dark);
  font-size: 1.125rem;
}

.info-icon {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--navy-dark);
  font-weight: 900;
}

.offers {
  background: #fff;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
  max-width: 1020px;
  margin: 0 auto;
}

.offer-card {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 5vw, 46px);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 24px rgba(23, 50, 77, 0.07);
}

.offer-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.offer-label {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--terracotta-dark);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.featured .offer-label {
  background: var(--navy);
  color: white;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 4px;
  color: var(--navy-dark);
}

.currency {
  font-size: 1rem;
  font-weight: 900;
}

.amount {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
}

.period {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 700;
}

.plain-note {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 1.05rem;
}

.book-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}

.book-preview-grid figure {
  margin: 0;
}

.book-preview-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(23, 50, 77, 0.15);
}

.book-preview-grid figcaption {
  margin-top: 8px;
  color: var(--navy-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.download-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}

.download-list .button {
  width: 100%;
}

.benefit-list {
  display: grid;
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  font-size: 1rem;
  line-height: 1.5;
}

.offer-card .button {
  margin-top: auto;
}

.payment-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
}

.support-note {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--cream);
  color: var(--navy-dark);
  font-size: 1rem;
  line-height: 1.55;
}

.promise {
  background: var(--cream);
}

.promise-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(40px, 8vw, 110px);
}

.promise-copy {
  padding-left: 30px;
  border-left: 5px solid var(--gold);
}

.promise-copy p:last-child {
  margin-bottom: 0;
}

.faq {
  background: white;
}

details {
  border-top: 2px solid var(--line);
}

details:last-child {
  border-bottom: 2px solid var(--line);
}

summary {
  position: relative;
  padding: 24px 54px 24px 4px;
  color: var(--navy-dark);
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 22px;
  right: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 760px;
  padding: 0 54px 24px 4px;
  color: var(--muted);
}

.final-cta {
  padding: 72px 0;
  background: var(--navy-dark);
  color: white;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta h2 {
  color: white;
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: #dce7f0;
}

.final-actions {
  flex: 0 0 auto;
}

.site-footer {
  padding: 48px 0;
  background: #071724;
  color: #cbd8e3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr auto;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  color: white;
}

.site-footer p {
  margin: 12px 0 0;
  font-size: 1rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: white;
  font-size: 1rem;
}

.copyright {
  margin: 0 !important;
  white-space: nowrap;
}

.notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  max-width: 620px;
  margin: 0 auto;
  padding: 24px;
  border: 4px solid #ffbf47;
  border-radius: 12px;
  background: var(--navy-dark);
  color: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.notice p {
  margin-bottom: 8px;
}

.notice-close {
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 8px;
  background: white;
  color: var(--navy-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

/* Páginas informativas */
.simple-header {
  padding: 70px 0 60px;
  background: var(--cream);
}

.simple-header h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
}

.simple-header p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.legal-content {
  padding: 64px 0 96px;
}

.legal-content .narrow {
  margin-inline: auto;
}

.legal-content h2 {
  margin-top: 46px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content li {
  margin-bottom: 10px;
}

.callout {
  margin: 36px 0;
  padding: 24px;
  border-left: 5px solid var(--gold);
  background: var(--cream);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Página de agradecimiento */
.thanks-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 34%, rgba(212, 154, 58, 0.18), transparent 19rem),
    var(--cream);
}

.thanks-main {
  display: grid;
  min-height: calc(100vh - 84px);
  place-items: center;
  padding: 64px 0 80px;
}

.thanks-card {
  max-width: 800px;
  padding: clamp(36px, 7vw, 70px);
  border: 1px solid rgba(23, 50, 77, 0.15);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card h1 {
  margin-inline: auto;
  font-size: clamp(2.45rem, 6vw, 4.5rem);
}

.thanks-lead {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.16rem;
}

.candle {
  position: relative;
  width: 180px;
  height: 260px;
  margin: 0 auto 34px;
}

.candle-body {
  position: absolute;
  right: 32px;
  bottom: 0;
  left: 32px;
  height: 155px;
  border-radius: 16px 16px 7px 7px;
  background: linear-gradient(90deg, #e4cda9, #fff9e9 45%, #ead9bc 82%, #cdae81);
  box-shadow: 0 20px 38px rgba(23, 50, 77, 0.18);
}

.candle-body::before {
  position: absolute;
  top: -7px;
  right: 0;
  left: 0;
  height: 18px;
  border-radius: 50%;
  background: #fff7e5;
  content: "";
}

.candle-wick {
  position: absolute;
  top: 77px;
  left: 87px;
  z-index: 2;
  width: 6px;
  height: 34px;
  border-radius: 4px;
  background: #433428;
}

.candle-flame {
  position: absolute;
  top: 8px;
  left: 61px;
  z-index: 3;
  width: 58px;
  height: 84px;
  border-radius: 53% 47% 58% 42% / 67% 68% 32% 33%;
  background: radial-gradient(circle at 50% 73%, #fff9bf 0 14%, transparent 15%), linear-gradient(#fff3a6 8%, #f7b633 52%, #d65c1b 100%);
  box-shadow: 0 0 28px rgba(247, 182, 51, 0.85), 0 0 80px rgba(247, 182, 51, 0.45);
  transform-origin: 50% 100%;
  animation: flicker 2.5s ease-in-out infinite alternate;
}

.candle-glow {
  position: absolute;
  top: -22px;
  left: 22px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: rgba(255, 201, 85, 0.17);
  filter: blur(5px);
  animation: glow 2.5s ease-in-out infinite alternate;
}

@keyframes flicker {
  0% { transform: rotate(-3deg) scale(0.98, 1); }
  35% { transform: rotate(2deg) scale(1.03, 0.98); }
  70% { transform: rotate(-1deg) scale(0.97, 1.04); }
  100% { transform: rotate(3deg) scale(1.02, 0.97); }
}

@keyframes glow {
  from { opacity: 0.62; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.07); }
}

.thanks-note {
  margin: 28px 0;
  padding: 20px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--navy-dark);
}

.thanks-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .promise-grid,
  .lead-grid {
    grid-template-columns: 1fr;
  }

  .lead-form-card {
    max-width: 680px;
    margin-inline: auto;
  }

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

  .welcome-card {
    width: min(100%, 520px);
    min-height: auto;
    margin-inline: auto;
  }

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

  .reassurance-grid > div {
    min-height: 100px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reassurance-grid > div:last-child {
    border-bottom: 0;
  }

  .offer-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .promise-copy {
    padding-top: 2px;
  }

  .final-cta-inner {
    display: grid;
  }

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

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 30px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 70px 0;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav a {
    display: none;
  }

  .main-nav .membership-management {
    display: inline-flex;
    min-height: 48px;
    max-width: 138px;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
  }

  .hero {
    padding: 62px 0;
  }

  .hero-actions,
  .final-actions {
    display: grid;
  }

  .hero-actions .button,
  .final-actions .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
  }

  .welcome-card {
    padding: 40px 24px 30px;
    border-radius: 100px 100px 18px 18px;
  }

  .youtube-inner {
    align-items: flex-start;
    gap: 16px;
  }

  .youtube-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 1rem;
  }

  .reassurance-grid > div {
    padding-inline: 12px;
  }

  .offer-card {
    padding: 28px 22px;
  }

  .gift-preview {
    min-height: 260px;
    padding: 32px 28px;
  }

  .lead-form-card,
  .standalone-form {
    padding: 26px 20px;
  }

  .gift-actions {
    display: grid;
  }

  .gift-actions .button {
    width: 100%;
  }

  .daily-prayer-card {
    padding: 12px;
  }

  .daily-prayer-inner {
    padding: 24px 18px;
  }

  .prayer-text {
    padding: 22px 18px;
  }

  .admin-heading {
    display: grid;
  }

  .admin-actions {
    display: grid;
    justify-content: stretch;
  }

  .admin-actions .button {
    width: 100%;
  }

  .stat-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .book-preview-grid {
    gap: 8px;
  }

  .book-preview-grid figcaption {
    font-size: 1rem;
  }

  .promise-copy {
    padding-left: 20px;
  }

  summary {
    padding-right: 48px;
  }

  details p {
    padding-right: 4px;
  }

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

  .copyright {
    grid-column: auto;
  }

  .notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .candle-flame,
  .candle-glow {
    animation: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .final-cta,
  .button,
  .notice {
    display: none !important;
  }

  body {
    color: black;
    font-size: 12pt;
  }

  .gift-confirmation,
  .gift-actions,
  .gift-small-note {
    display: none !important;
  }

  .gift-result-section {
    padding: 0;
    background: white;
  }

  .daily-prayer-card {
    box-shadow: none;
  }
}
