:root {
  --bg: #f4f5f7;
  --text: #1a1f2b;
  --brand: #1e5a8a;
  --brand-dark: #17486f;
  --surface: #ffffff;
  --muted: #6a7280;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.hero {
  min-height: 80vh;
  background:
    linear-gradient(rgba(8, 22, 36, 0.55), rgba(8, 22, 36, 0.65)),
  /*  url("assets/hero-bg.svg") center / cover no-repeat; */
    url("assets/catedral_fondo_web.svg") center / cover no-repeat;
  color: #fff;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

.top-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.top-nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.top-nav a {
  color: #eef5ff;
  text-decoration: none;
}

.top-nav a:hover {
  color: #fff;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-social a {
  display: flex;
  align-items: center;
  color: #eef5ff;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-social a:hover {
  opacity: 1;
  color: #fff;
}

.hero-content {
  display: grid;
  align-content: center;
  min-height: calc(80vh - 78px);
  max-width: 700px;
  padding: 1rem 0 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  color: #d3e7ff;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  margin: 0;
}

.hero p {
  margin-top: 1rem;
  max-width: 60ch;
}

.cta {
  display: inline-block;
  margin-top: 1.2rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 600;
}

.cta:hover {
  background: var(--brand-dark);
}

.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.section p {
  max-width: 72ch;
}

.cards {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card h3,
.card p {
  margin: 0;
  padding: 0 1rem;
}

.card h3 {
  margin-top: 0.8rem;
}

.card p {
  padding-top: 0.35rem;
  padding-bottom: 1rem;
  color: var(--muted);
}

.section-alt {
  background: #ebf0f7;
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.split img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.video-wrapper {
  max-width: 420px;
  margin: 1.5rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Plyr theme override to match brand color */
.plyr--full-ui input[type=range] { color: var(--brand); }
.plyr__control--overlaid,
.plyr__control--overlaid:hover { background: var(--brand); }
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded=true] { background: var(--brand); }
.plyr--video .plyr__progress input[type=range]::-webkit-slider-thumb { background: var(--brand); }

.site-footer {
  background: #0d1f33;
  color: #d8e2ef;
  padding: 2.5rem 0 1.2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem 3rem;
}

.footer-col p {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-title {
  font-weight: 700;
  font-size: 1rem !important;
  color: #fff;
  margin-bottom: 0.8rem !important;
}

.footer-col a {
  color: #a8c5e0;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a8c5e0;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-social-links a:hover {
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: #7a96b0;
}

@media (max-width: 920px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav ul {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

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

