@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --navy: #1a2744;
  --navy-deep: #101a2e;
  --gold: #b8912a;
  --gold-light: #d4af5a;
  --cream: #f7f4ee;
  --ink: #2a2a2a;
  --line: #d8d2c4;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3, h4, .display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.eyebrow {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
}

/* Nav */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 2px solid var(--gold);
}
.nav-wrap {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.5rem;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  color: #fff; font-size: 1.4rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.6rem;
}
.brand small { display: block; font-family:'Jost'; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--gold-light); text-transform: uppercase; font-weight: 400;}
.nav-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.nav-links a { color: #e7e2d4; font-size: 0.88rem; font-weight: 400; letter-spacing: 0.02em; }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 0.5rem 1.1rem; border-radius: 2px; font-weight: 600 !important;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, rgba(16,26,46,0.55) 0%, rgba(16,26,46,0.75) 100%), var(--hero-img, none) center/cover no-repeat, linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 6rem 1.5rem 5rem; text-align: center;
  border-bottom: 4px solid var(--gold);
  min-height: 480px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero h1 { color: #fff; margin: 0.4rem 0 0.2rem; font-size: 3.4rem; }
.hero .hero-sub1 { font-family:'Cormorant Garamond',serif; font-size: 1.6rem; color:#fff; font-weight:500; margin-bottom:1.2rem; }
.hero .hero-sub2 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 0.2rem; }
.hero .hero-sub3 { font-size: 0.95rem; color: #d8dbe8; margin-bottom: 1.8rem; }
.hero p { color: #cfd5e4; font-size: 1.15rem; max-width: 620px; margin: 0 auto 1.8rem; }
.btn {
  display: inline-block; padding: 0.75rem 1.6rem; border: 1px solid var(--gold);
  color: var(--gold); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.2s;
}
.btn:hover { background: var(--gold); color: var(--navy); }
.btn-solid { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-solid:hover { background: var(--gold-light); color: var(--navy); }

/* Layout */
.page-header {
  background: var(--navy); color: #fff; padding: 3rem 1.5rem; text-align: center;
  border-bottom: 4px solid var(--gold);
}
.page-header h1 { color: #fff; }
.container { max-width: 1140px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.section-alt { background: #fff; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 1.6rem;
}
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.divider { height: 1px; background: var(--line); margin: 2.5rem 0; }

/* Mass schedule */
.mass-table { width: 100%; border-collapse: collapse; background: #fff; }
.mass-table th, .mass-table td {
  padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line);
}
.mass-table th { background: var(--navy); color: #fff; font-family:'Jost'; font-weight:500; font-size:0.85rem; text-transform: uppercase; letter-spacing: 0.05em;}
.tag { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 20px; font-size: 0.72rem; font-weight: 500; }
.tag-en { background: #e4e9f4; color: var(--navy); }
.tag-es { background: #f4e9d0; color: #7a5a10; }
.tag-bi { background: #e5e0f4; color: #4a3a7a; }

/* Ministries */
.ministry-card { border-left: 3px solid var(--gold); }
.ministry-cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 600; }

/* News */
.news-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 2px 2px 0 0; }
.news-meta { font-size: 0.8rem; color: #888; margin: 0.4rem 0; }

/* Forms */
.form-group { margin-bottom: 1.2rem; }
label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.35rem; color: var(--navy); }
input, textarea, select {
  width: 100%; padding: 0.65rem 0.8rem; border: 1px solid var(--line);
  border-radius: 2px; font-family: 'Jost', sans-serif; font-size: 0.95rem; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
button.btn { cursor: pointer; font-family: 'Jost'; background:none; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b8bdd0; padding: 3rem 1.5rem 1.5rem; margin-top: 3rem; }
.footer-wrap { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 2rem; }
.footer-wrap h4 { color: var(--gold-light); font-size: 1rem; margin-bottom: 0.8rem; }
.footer-wrap a { color: #b8bdd0; display: block; margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer-wrap a:hover { color: var(--gold-light); }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #2a3a5c; font-size: 0.8rem; color: #7a82a0; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  h1 { font-size: 2.1rem; }
  .hero { padding: 3.5rem 1.2rem; }
}
