:root {
  --ink: #27152c;
  --muted: #6f5f75;
  --paper: #fffdfb;
  --cream: #f4edf8;
  --rose: #d20b20;
  --violet: #7d2188;
  --violet-dark: #561163;
  --sky: #60b8e7;
  --sky-soft: #eaf8ff;
  --blush: #fff0f2;
  --line: rgba(86, 17, 99, 0.14);
  --shadow: 0 24px 70px rgba(86, 17, 99, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffdfb 0%, #fff8fb 42%, #f7fbff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(255, 253, 251, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--violet-dark);
  text-decoration: none;
  font-weight: 800;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 16px rgba(125, 33, 136, 0.14));
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--rose);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  color: var(--violet-dark);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
  text-underline-offset: 7px;
}

.nav a:hover {
  color: var(--rose);
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(22px, 6vw, 88px) 72px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(1.06) contrast(1.03) brightness(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 253, 251, 0.98), rgba(255, 246, 250, 0.86) 38%, rgba(255, 253, 251, 0.12) 76%),
    linear-gradient(180deg, rgba(39, 21, 44, 0.05), rgba(86, 17, 99, 0.24)),
    radial-gradient(circle at 78% 22%, rgba(96, 184, 231, 0.22), transparent 32%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-seal {
  position: absolute;
  right: clamp(22px, 6vw, 88px);
  bottom: clamp(42px, 7vw, 92px);
  z-index: 2;
  width: min(30vw, 360px);
  min-width: 230px;
  padding: 18px 20px;
  border: 1px solid rgba(96, 184, 231, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(86, 17, 99, 0.18);
  backdrop-filter: blur(12px);
}

.hero-seal img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  color: var(--violet-dark);
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--violet-dark);
}

h3 {
  margin: 0;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 520px;
  margin: 24px 0 0;
  color: #44324b;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.contact-form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.contact-form button {
  color: white;
  background: linear-gradient(135deg, var(--rose), #a9076e);
  box-shadow: 0 14px 30px rgba(210, 11, 32, 0.22);
}

.button.secondary {
  color: var(--violet-dark);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(96, 184, 231, 0.52);
}

section:not(.hero) {
  padding: clamp(64px, 8vw, 112px) clamp(22px, 6vw, 88px);
}

.intro,
.latest,
.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(96, 184, 231, 0.18), transparent 30%),
    linear-gradient(135deg, #fff, #fff5fb 48%, #eef9ff);
  border-top: 1px solid rgba(125, 33, 136, 0.12);
  border-bottom: 1px solid rgba(96, 184, 231, 0.16);
}

.about-copy {
  max-width: 850px;
}

.about-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy strong {
  color: var(--violet-dark);
}

.about-signature {
  display: grid;
  gap: 22px;
  align-content: center;
  min-height: 420px;
  padding: 30px;
  border: 1px solid rgba(125, 33, 136, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.about-signature img {
  width: min(100%, 360px);
  justify-self: center;
  object-fit: contain;
}

.about-signature div {
  display: grid;
  gap: 10px;
}

.about-signature a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(96, 184, 231, 0.26);
  border-radius: 999px;
  color: var(--violet-dark);
  background: #fff;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.about-signature a:hover {
  color: var(--rose);
  border-color: rgba(210, 11, 32, 0.28);
  transform: translateY(-1px);
}

.intro p,
.latest-copy p,
.about p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.video-shell {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(96, 184, 231, 0.38);
  background: linear-gradient(135deg, #42104c, #7d2188 52%, #1f8fc4);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  color: white;
  text-align: center;
}

.video-placeholder span {
  color: #bcecff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.video-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
}

.video-placeholder small {
  max-width: 34ch;
  color: #f7e7fb;
}

.text-link,
.episode-card a {
  color: var(--rose);
  font-weight: 800;
  text-decoration: none;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 18px;
}

.text-link.subtle {
  color: var(--violet);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.episodes {
  background:
    linear-gradient(180deg, #fdf7ff, #eff9ff);
  border-top: 1px solid rgba(96, 184, 231, 0.18);
  border-bottom: 1px solid rgba(125, 33, 136, 0.12);
}

.ministries {
  background: #fff;
}

.ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ministry-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(125, 33, 136, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f9f1ff);
  box-shadow: 0 18px 38px rgba(86, 17, 99, 0.06);
}

.ministry-card.feature {
  color: white;
  background:
    linear-gradient(135deg, rgba(86, 17, 99, 0.94), rgba(125, 33, 136, 0.88)),
    url("assets/hero-cafe-pastora-monse.png") center / cover;
}

.ministry-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--rose);
  background: rgba(210, 11, 32, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.ministry-card.feature span {
  color: white;
  background: rgba(96, 184, 231, 0.24);
}

.ministry-card p {
  margin: 0;
  color: var(--muted);
}

.ministry-card.feature p {
  color: rgba(255, 255, 255, 0.86);
}

.ministry-photo {
  min-height: 360px;
  background-position: center;
  background-size: cover;
}

.levitas-photo {
  background-image:
    linear-gradient(180deg, transparent 42%, rgba(86, 17, 99, 0.36)),
    url("assets/pastora-monse-levitas.jpg");
}

.preaching-photo {
  background-image:
    linear-gradient(180deg, transparent 42%, rgba(86, 17, 99, 0.36)),
    url("assets/pastora-monse-predicando.jpg");
}

.coffee-table {
  background:
    linear-gradient(135deg, #fff7fb, #edf9ff);
  border-top: 1px solid rgba(125, 33, 136, 0.12);
  border-bottom: 1px solid rgba(96, 184, 231, 0.18);
}

.table-experience {
  display: grid;
  grid-template-columns: 0.82fr 1.12fr 0.82fr;
  gap: 18px;
  align-items: stretch;
}

.season-picker {
  display: grid;
  gap: 10px;
  align-content: start;
}

.season-chip {
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid rgba(125, 33, 136, 0.2);
  border-radius: 999px;
  color: var(--violet-dark);
  background: #fff;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.season-chip.active,
.season-chip:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--violet-dark), var(--violet));
  transform: translateY(-1px);
}

.table-card,
.route-card,
.sermon-feature,
.sermon-grid article {
  border: 1px solid rgba(125, 33, 136, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(86, 17, 99, 0.06);
}

.table-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
}

.table-card h3,
.sermon-feature h3 {
  margin: 0;
  color: var(--violet-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.table-card p,
.route-card p,
.sermon-feature p,
.sermon-grid p {
  margin: 0;
  color: var(--muted);
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: auto;
}

.table-actions a,
.sermon-feature a {
  color: var(--rose);
  font-weight: 850;
  text-decoration: none;
}

.route-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(96, 184, 231, 0.34), transparent 34%),
    linear-gradient(160deg, var(--violet-dark), var(--violet));
}

.route-card span,
.sermon-feature span,
.sermon-grid span {
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-card p {
  color: rgba(255, 255, 255, 0.82);
}

.route-card strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1;
}

.sermons {
  background: #fff;
}

.sermon-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.sermon-feature {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
}

.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sermon-grid article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.sermon-grid h3 {
  margin: 0;
  color: var(--violet-dark);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.season-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 26px;
}

.season-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(125, 33, 136, 0.16);
  border-radius: 999px;
  color: var(--violet-dark);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 850;
  text-decoration: none;
}

.season-links a:last-child {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--rose), var(--violet-dark));
}

.episode-card {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(125, 33, 136, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px rgba(86, 17, 99, 0.06);
}

.episode-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
}

.episode-card.live-card {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at top right, rgba(96, 184, 231, 0.32), transparent 38%),
    linear-gradient(145deg, var(--rose), var(--violet-dark));
}

.episode-card.live-card .episode-date,
.episode-card.live-card p,
.episode-card.live-card a {
  color: #fff;
}

.episode-card.live-card a {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.episode-date {
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 800;
}

.resources {
  background: #fff;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(96, 184, 231, 0.34);
}

.resource-list > div {
  min-height: 190px;
  padding: 26px;
  background: linear-gradient(180deg, #ffffff, #fbf5ff);
}

.resource-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.portrait-card {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(234, 248, 255, 0.78)),
    url("assets/hero-cafe-pastora-monse.png") center / cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(96, 184, 231, 0.28);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: drop-shadow(0 16px 26px rgba(39, 31, 27, 0.16));
}

.pastor-photo-card {
  min-height: 580px;
  padding: 0;
  overflow: hidden;
  background: var(--violet-dark);
}

.pastor-photo-card img {
  min-height: 580px;
  object-position: center top;
}

.contact {
  background:
    linear-gradient(135deg, var(--blush), var(--sky-soft));
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(125, 33, 136, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(125, 33, 136, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: -2px 0 0;
  color: var(--violet-dark);
  font-size: 0.94rem;
  font-weight: 750;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.contact-actions a {
  color: var(--rose);
  font-weight: 850;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 6vw, 88px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    display: block;
    padding: 0;
    position: relative;
    background: linear-gradient(180deg, #fff, #fff3f8);
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: min(74vh, 620px);
    pointer-events: none;
    background:
      radial-gradient(circle at 42% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
      linear-gradient(180deg, rgba(39, 21, 44, 0.02), rgba(39, 21, 44, 0.18) 100%);
  }

  section:not(.hero) {
    padding: 44px 22px;
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .hero-overlay {
    display: none;
  }

  .hero-image {
    position: relative;
    display: block;
    height: min(74vh, 620px);
    object-position: center top;
    filter: saturate(1.08) contrast(1.04) brightness(1.04);
  }

  .hero-seal {
    top: min(calc(74vh - 118px), 502px);
    right: 16px;
    bottom: auto;
    width: min(46vw, 220px);
    min-width: 150px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
  }

  .hero-content {
    z-index: 2;
    max-width: none;
    padding: 28px 22px 46px;
    background:
      linear-gradient(180deg, rgba(255, 253, 251, 0.98), rgba(255, 243, 248, 1));
  }

  .intro,
  .latest,
  .about,
  .contact,
  .about-feature,
  .ministry-grid,
  .table-experience,
  .sermon-layout,
  .episode-grid,
  .sermon-grid,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .table-card,
  .route-card,
  .sermon-feature,
  .episode-card,
  .ministry-card {
    min-height: auto;
  }

  .ministry-photo {
    display: none;
  }

  .episode-card,
  .ministry-card,
  .table-card,
  .route-card,
  .sermon-feature,
  .sermon-grid article {
    padding: 20px;
  }

  .episode-card {
    gap: 10px;
  }

  .episode-card p {
    flex: 0;
  }

  .season-links {
    gap: 8px;
    margin-bottom: 18px;
  }

  .season-links a {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.92rem;
  }

  .portrait-card,
  .portrait-card img,
  .pastor-photo-card,
  .pastor-photo-card img {
    min-height: 360px;
  }

  .site-footer {
    flex-direction: column;
  }

  .about-signature {
    min-height: auto;
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

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

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .nav {
    font-size: 0.88rem;
  }
}
