:root {
  --ink: #332520;
  --muted: #74655f;
  --paper: #fff8f1;
  --off: #fbefe4;
  --beige: #f3dfcb;
  --wine: #6d2232;
  --wine-dark: #4b1421;
  --gold: #b98a45;
  --line: rgba(109, 34, 50, 0.13);
  --shadow: 0 24px 70px rgba(75, 20, 33, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper), #f8eadc);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(185, 138, 69, 0.18);
  background: rgba(255, 248, 241, 0.92);
  box-shadow: 0 12px 36px rgba(75, 20, 33, 0.07);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(185, 138, 69, 0.6);
  border-radius: 50%;
  background: var(--wine-dark);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { color: var(--wine-dark); font-size: 18px; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.site-nav { display: flex; flex: 1; justify-content: flex-end; gap: 4px; }
.site-nav a {
  padding: 10px 8px;
  color: var(--wine-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.header-cta, .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.header-cta {
  padding: 0 22px;
  border: 1px solid rgba(185, 138, 69, 0.58);
  background: rgba(255, 248, 241, 0.72);
  color: var(--wine-dark);
}
.button { padding: 0 28px; }
.button.primary { border: 1px solid rgba(109, 34, 50, 0.2); background: var(--wine); color: #fff8ee; box-shadow: 0 18px 44px rgba(109, 34, 50, 0.24); }
.button.secondary { border: 1px solid rgba(185, 138, 69, 0.72); background: rgba(255, 248, 241, 0.72); color: var(--wine-dark); }
.button:hover, .header-cta:hover { transform: translateY(-1px); }

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  align-items: end;
  overflow: hidden;
  padding: 104px clamp(20px, 6vw, 86px) 54px;
  background: var(--paper);
}
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { width: 112%; height: 100%; object-fit: cover; object-position: 72% 20%; filter: saturate(1.01) contrast(0.98) brightness(1.04); }
.hero-shade {
  background:
    radial-gradient(circle at 22% 56%, rgba(255, 250, 244, 0.84), transparent 34%),
    linear-gradient(90deg, rgba(255, 248, 241, 0.97) 0%, rgba(255, 248, 241, 0.78) 38%, rgba(255, 248, 241, 0.38) 60%, rgba(109, 34, 50, 0.08) 100%);
}
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(109, 34, 50, 0.045) 1px, transparent 0);
  background-size: 18px 18px;
  content: "";
}
.hero-content { position: relative; z-index: 1; max-width: 690px; margin-left: clamp(0px, 2vw, 28px); }
.hero-content::before { display: block; width: 88px; height: 1px; margin-bottom: 26px; background: linear-gradient(90deg, var(--gold), transparent); content: ""; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: 0; }
h1 { max-width: 620px; margin-bottom: 18px; color: var(--wine-dark); font-size: clamp(76px, 7.6vw, 116px); line-height: 0.9; }
h2 { margin-bottom: 18px; color: var(--ink); font-size: clamp(34px, 4.8vw, 62px); line-height: 1; }
h3 { margin-bottom: 10px; font-size: 28px; line-height: 1.05; }
.hero-subtitle { max-width: 560px; color: #5f514c; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.54; }
.microcopy { margin: 16px 0 0; color: rgba(75, 20, 33, 0.68); font-size: 13px; font-weight: 600; }

.section-block { position: relative; scroll-margin-top: 92px; padding: clamp(38px, 4.8vw, 68px) clamp(20px, 6vw, 86px); }
.section-heading { max-width: 820px; margin: 0 auto 24px; text-align: center; }
.pain-section { background: linear-gradient(180deg, var(--paper), var(--off)); }
.pain-grid, .info-grid, .testimonial-grid { display: grid; gap: 14px; max-width: 1160px; margin: 0 auto; }
.pain-grid, .info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pain-grid article, .info-grid article, .testimonial-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 241, 0.72);
  box-shadow: 0 18px 50px rgba(75, 20, 33, 0.06);
}
.pain-grid article, .info-grid article { min-height: 150px; padding: 22px; }
.pain-grid span, .contact-line span, .media-card span, .media-channel span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pain-grid p, .info-grid p, .testimonial-grid p, .authority-copy p, .crisis-copy p, .final-cta p { color: var(--muted); line-height: 1.68; }
.info-grid strong { display: block; margin-bottom: 24px; color: var(--wine-dark); font-family: "Cormorant Garamond", Georgia, serif; font-size: 31px; line-height: 1; }

.authority-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.9fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  background: linear-gradient(180deg, var(--off) 0%, #fff2e7 48%, var(--paper) 100%);
}
.authority-copy { max-width: 660px; }
.authority-copy p { font-size: 18px; }
.authority-visuals { display: grid; grid-template-columns: 1fr 0.72fr; gap: 16px; align-items: end; }
.image-card, .faith-card { margin: 0; }
.image-card img { display: block; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.main-photo img { aspect-ratio: 4 / 5; object-position: center 34%; }
.soft-photo img { aspect-ratio: 4 / 3.2; object-position: center; }
.faith-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(185, 138, 69, 0.42);
  background: rgba(255, 248, 241, 0.76);
}
.faith-card img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; }
.faith-card figcaption { color: var(--wine-dark); font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; line-height: 1; }

.crisis-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.9fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  background: linear-gradient(180deg, var(--paper) 0%, #fff3e8 46%, var(--off) 100%);
}
.crisis-copy { max-width: 680px; }
.crisis-copy p { max-width: 590px; font-size: 18px; }
.crisis-lead { color: var(--wine-dark); font-family: "Inter", system-ui, sans-serif; font-size: clamp(20px, 2vw, 28px); font-weight: 700; line-height: 1.24; }
.crisis-video { justify-self: center; width: min(100%, 760px); overflow: hidden; border: 1px solid rgba(185, 138, 69, 0.42); border-radius: 8px; background: rgba(255, 248, 241, 0.78); box-shadow: var(--shadow); }
.crisis-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 428px;
  overflow: hidden;
  background: var(--wine-dark);
}
.crisis-video-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.05);
  transform: scale(1.12);
  opacity: 0.62;
}
.crisis-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(54, 18, 32, 0.34), transparent 26%, transparent 74%, rgba(54, 18, 32, 0.34));
}
.crisis-main-video {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 428px;
  object-fit: cover;
  object-position: center 42%;
  background: transparent;
}

.process-section { background: linear-gradient(180deg, var(--off), var(--beige)); }
.fit-section {
  display: block;
  background: linear-gradient(180deg, var(--beige) 0%, var(--off) 54%, var(--paper) 100%);
}
.fit-intro {
  max-width: 760px;
  margin-bottom: 22px;
}
.fit-intro h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.08;
}
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.care-grid article {
  position: relative;
  display: grid;
  min-height: 160px;
  align-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 241, 0.9);
  box-shadow: 0 18px 46px rgba(75, 20, 33, 0.07);
}
.care-grid span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(185, 138, 69, 0.48);
  border-radius: 50%;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.care-grid h3 { max-width: 100%; margin: 0; color: var(--wine-dark); font-size: clamp(27px, 2.25vw, 34px); line-height: 1; white-space: nowrap; }
.care-grid p { margin: 0; color: var(--wine); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.2; text-transform: uppercase; }

.priests-section {
  display: grid;
  grid-template-columns: minmax(520px, 0.92fr) minmax(330px, 360px) minmax(330px, 360px);
  gap: clamp(34px, 3.8vw, 68px);
  align-items: center;
  background:
    radial-gradient(circle at 84% 18%, rgba(216, 181, 110, 0.18), transparent 28%),
    linear-gradient(115deg, rgba(75, 20, 33, 0.97), rgba(111, 33, 52, 0.92));
  color: #fff8f1;
}
.priests-content {
  display: contents;
}
.priests-copy {
  max-width: 680px;
}
.priests-section .eyebrow {
  color: #d8b56e;
  font-size: 12px;
  letter-spacing: 0.07em;
}
.priests-copy h2 { max-width: 680px; color: #fff8f1; font-size: clamp(52px, 4.4vw, 70px); line-height: 1.02; }
.priests-copy p { max-width: 620px; color: rgba(255, 248, 241, 0.84); font-size: clamp(17px, 1.15vw, 20px); line-height: 1.62; }
.priests-lead {
  max-width: 620px;
  color: #fff8f1;
  font-size: clamp(20px, 1.42vw, 24px);
  font-weight: 600;
  line-height: 1.48;
}
.priests-registration {
  justify-self: end;
  width: min(100%, 360px);
}
.priests-video {
  justify-self: center;
  overflow: hidden;
  width: min(100%, 360px);
  border: 1px solid rgba(216, 181, 110, 0.34);
  border-radius: 8px;
  background: rgba(30, 10, 18, 0.34);
  box-shadow: 0 22px 56px rgba(30, 10, 18, 0.22);
}
.priests-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  background: #1e0a12;
}
.priests-panel {
  justify-self: stretch;
  width: 100%;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(216, 181, 110, 0.32);
  border-radius: 8px;
  background: rgba(255, 248, 241, 0.96);
  box-shadow: 0 34px 90px rgba(30, 10, 18, 0.28);
}
.priests-panel .contact-form {
  gap: 14px;
}
.priests-panel .contact-form input {
  min-height: 50px;
}
.priests-panel .contact-form textarea {
  min-height: 96px;
}
.priests-panel .button {
  min-height: 48px;
}

.media-section {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  background:
    radial-gradient(circle at 88% 16%, rgba(185, 138, 69, 0.18), transparent 26%),
    radial-gradient(circle at 58% 82%, rgba(109, 34, 50, 0.08), transparent 30%),
    linear-gradient(180deg, var(--paper) 0%, #fff5ec 46%, var(--off) 100%);
}

.media-copy { max-width: 780px; }
.media-copy h2 {
  max-width: 720px;
  color: var(--wine-dark);
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.08;
}
.media-copy p:not(.eyebrow) { max-width: 660px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.media-stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.media-card {
  position: relative;
  display: grid;
  min-height: 220px;
  align-content: space-between;
  gap: 16px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(185, 138, 69, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 241, 0.96), rgba(246, 224, 208, 0.72)),
    rgba(255, 248, 241, 0.92);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.media-card:hover, .media-card:focus-visible { transform: translateY(-2px); box-shadow: 0 28px 76px rgba(75, 20, 33, 0.18); }
.media-card strong { color: var(--wine-dark); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(30px, 3vw, 42px); font-weight: 600; line-height: 1.04; }

.media-card em {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff8f1;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.highlights-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(185, 138, 69, 0.14), transparent 26%),
    linear-gradient(180deg, var(--off) 0%, var(--paper) 100%);
  padding-top: clamp(36px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 56px);
}

.highlight-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
}

.highlight-video-grid article {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(185, 138, 69, 0.34);
  border-radius: 8px;
  background: rgba(255, 248, 241, 0.88);
  box-shadow: 0 20px 56px rgba(75, 20, 33, 0.09);
}

.highlight-video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background: var(--wine-dark);
  object-fit: cover;
}

.highlight-video-grid span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial-grid article { display: flex; min-height: 210px; flex-direction: column; padding: 22px; }
.testimonial-grid span { margin-top: auto; color: var(--wine); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.stars { margin-bottom: 16px; color: var(--gold); }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.82fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: clamp(460px, 58vh, 620px);
  background: linear-gradient(90deg, rgba(255, 248, 241, 0.84), rgba(255, 248, 241, 0.48)), #f4eddf;
}
.contact-copy h2 { margin-bottom: clamp(24px, 3vw, 34px); color: #6f7976; font-family: "Inter", system-ui, sans-serif; font-size: clamp(54px, 6.3vw, 86px); font-weight: 800; line-height: 0.92; text-transform: uppercase; }
.contact-list { display: grid; gap: 18px; }
.contact-line { display: grid; gap: 8px; }
.contact-line a { width: fit-content; color: #152424; font-size: clamp(18px, 1.55vw, 22px); font-weight: 800; line-height: 1.34; }
.contact-line a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.contact-panel { justify-self: end; width: min(100%, 560px); padding: clamp(26px, 3vw, 36px); border: 1px solid rgba(21, 36, 36, 0.08); border-radius: 8px; background: rgba(255, 255, 255, 0.78); box-shadow: 0 28px 70px rgba(42, 38, 32, 0.1); }
.contact-form { display: grid; gap: 20px; }
.contact-form label { display: grid; gap: 9px; color: #524b45; font-size: 14px; font-weight: 800; }
.contact-form input, .contact-form select { min-height: 60px; padding: 0 18px; }
.contact-form textarea { min-height: 118px; padding: 16px 18px; resize: vertical; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(42, 38, 32, 0.1); border-radius: 8px; background: rgba(250, 249, 245, 0.88); color: #152424; font: inherit; font-size: 16px; font-weight: 700; }
.contact-form .button.primary { min-height: 60px; border: 0; border-radius: 5px; background: #cf9d2f; color: #14130f; box-shadow: none; }
.contact-form p { margin: 0; color: #6f7976; font-size: 14px; text-align: center; }

.final-cta { display: grid; justify-items: center; padding: clamp(50px, 7vw, 86px) 20px; background: linear-gradient(135deg, var(--wine-dark), var(--wine)); color: #fff8f1; text-align: center; }
.final-cta img { width: 76px; height: 76px; margin-bottom: 16px; border-radius: 50%; object-fit: cover; }
.final-cta .eyebrow, .final-cta h2, .final-cta p { color: #fff8f1; }
.final-cta p { max-width: 520px; margin-bottom: 22px; opacity: 0.86; }
.floating-whatsapp {
  position: fixed;
  z-index: 30;
  right: clamp(14px, 2.2vw, 26px);
  bottom: clamp(14px, 2.2vw, 26px);
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 186, 120, 0.62);
  border-radius: 50%;
  background: rgba(109, 34, 50, 0.82);
  color: #fff8f1;
}
.floating-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }
.site-footer { padding: 28px clamp(20px, 6vw, 86px); background: var(--wine-dark); color: rgba(255, 248, 241, 0.82); font-size: 14px; }
.site-footer p { margin: 0; }

@media (max-width: 980px) {
  .authority-section, .fit-section, .media-section, .contact-section, .crisis-section, .priests-section { grid-template-columns: 1fr; }
  .priests-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 28px;
    align-items: center;
  }
  .priests-registration {
    justify-self: stretch;
    width: min(100%, 520px);
  }
  .media-copy { position: static; }
  .media-stack {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .media-feature {
    grid-row: auto;
  }
  .pain-grid, .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel, .priests-video, .priests-panel { justify-self: stretch; }
  .care-grid { grid-template-columns: 1fr; }
  .care-grid h3 { white-space: normal; }
  .site-nav a {
    font-size: 11px;
    padding: 8px 5px;
  }
  .header-cta {
    padding: 0 16px;
  }
}
@media (max-width: 720px) {
  .site-header { gap: 8px; padding: 12px 16px; }
  .brand { gap: 8px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand strong { font-size: 16px; }
  .site-nav { flex: 0 0 auto; }
  .site-nav a { padding: 6px 2px; font-size: 10px; line-height: 1.05; text-align: center; }
  .header-cta { min-width: 82px; min-height: 40px; padding: 0 12px; font-size: 0; }
  .header-cta::after { font-size: 12px; content: "Agendar"; }
  .hero { min-height: auto; padding: 96px 18px 44px; }
  .hero-image { width: 122%; object-position: 68% 14%; }
  .section-block { padding: 38px 18px; }
  .pain-grid, .info-grid, .care-grid, .testimonial-grid, .media-stack, .highlight-video-grid { grid-template-columns: 1fr; }
  .care-grid article { min-height: auto; }
  .authority-visuals { grid-template-columns: 1fr; }
  .faith-card { grid-column: auto; }
  .button { width: 100%; }
  .contact-section { min-height: auto; padding-top: 42px; padding-bottom: 42px; }
  .contact-copy h2 { font-size: clamp(48px, 14vw, 64px); }
  .priests-content { grid-template-columns: 1fr; }
  .priests-video { width: min(100%, 320px); }
  .contact-panel, .priests-panel { padding: 22px 18px; }
}
