:root {
  --brown: #895023;
  --brown-dark: #5c0711;
  --marsala: #650914;
  --cream: #fff1c8;
  --gold: #d5a13a;
  --green: #04bf65;
  --text: #090909;
  --muted: #5a5a5a;
  --shadow: 0 18px 50px rgba(0, 0, 0, .15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Nunito", Arial, sans-serif;
}

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

.brand picture,
.hero picture,
.photo-strip picture,
.footer-logos picture {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  min-height: 142px;
  padding: 30px clamp(20px, 4.2vw, 66px);
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 48px);
  background: var(--brown);
}

.brand {
  width: min(430px, 34vw);
  min-height: 82px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 100%;
  max-height: 104px;
  object-fit: contain;
  filter: brightness(1.12);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 2.8vw, 42px);
  color: white;
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(1rem, 1.28vw, 1.28rem);
  font-weight: 800;
}

.main-nav a {
  transition: color .2s ease, transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffc515;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: visible;
  background: var(--marsala);
}

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

.signup-cta-band {
  padding: clamp(22px, 3.5vw, 42px) 20px;
  background: linear-gradient(135deg, var(--marsala), var(--brown-dark));
  text-align: center;
}

.signup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(430px, 100%);
  min-height: clamp(64px, 7vw, 82px);
  border-radius: 999px;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--marsala);
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.signup-cta:hover {
  transform: translateY(-3px) scale(1.02);
  background: #ffc515;
  color: #3b0610;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .3);
}

.site-footer {
  padding: clamp(34px, 4.8vw, 64px) clamp(24px, 12vw, 190px);
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(280px, 1.2fr) minmax(190px, .8fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  background: var(--brown);
  color: white;
}

.site-footer.compact {
  margin-top: 40px;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
}

.social-links a {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease, transform .2s ease;
}

.social-links svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:hover {
  color: #ffc515;
  transform: translateY(-2px);
}

.footer-logos {
  display: grid;
  grid-template-columns: .72fr 1.35fr .72fr .95fr;
  gap: clamp(14px, 2vw, 26px);
  align-items: center;
  justify-content: center;
}

.footer-logo {
  width: 100%;
  height: clamp(58px, 6.5vw, 94px);
  object-fit: contain;
}

.church-mark {
  max-height: 92px;
}

.ujadv-mark {
  max-height: 78px;
}

.ieadv-mark {
  max-height: 92px;
}

.adolescentes-mark {
  max-height: 86px;
}

.address {
  display: grid;
  gap: 10px;
  justify-items: end;
  font-size: clamp(.95rem, 1.4vw, 1.3rem);
  text-align: right;
}

.address p {
  margin: 0;
}


@media (max-width: 980px) {
  .site-header {
    min-height: 0;
    padding: 28px 22px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .brand {
    width: min(620px, 92vw);
    min-height: 86px;
  }

  .main-nav {
    justify-content: center;
    gap: 18px 28px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links,
  .footer-logos {
    justify-content: center;
  }

  .footer-logos {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .address {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 24px 18px;
  }

  .brand {
    min-height: 72px;
  }

  .main-nav {
    font-size: 1rem;
  }

  .signup-cta-band {
    padding: 20px 18px;
  }

  .signup-cta {
    width: min(100%, 360px);
    min-height: 62px;
    padding: .95rem 1.4rem;
  }

  .footer-logos {
    grid-template-columns: repeat(2, minmax(118px, 1fr));
    gap: 18px 20px;
  }

  .footer-logo {
    height: 64px;
  }

  .ujadv-mark {
    max-height: 56px;
  }

  .ieadv-mark,
  .adolescentes-mark {
    max-height: 64px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 22px 14px;
  }

  .main-nav {
    gap: 12px 18px;
  }

  .footer-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(310px, 100%);
  }

  .church-mark {
    max-height: 60px;
    margin: 0 auto;
  }
}
