/* ============================================================
   IMMACULATE CONCEPTION SODALITY — Shared Stylesheet
   Aesthetic: Sacred editorial — deep midnight blue, warm gold,
   ivory parchment. Dignified, timeless, rooted in faith.
   Fonts: Cormorant Garamond (display/headings) + DM Sans (body)
   ============================================================ */

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

/* ── Tokens ── */
:root {
  --midnight: #0d1b3e;
  --navy: #1a2f5e;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale: #f5edcf;
  --ivory: #faf8f2;
  --ivory-dark: #f0ebe0;
  --ink: #1e1e1e;
  --ink-mid: #3a3530;
  --ink-soft: #6b6157;
  --white: #ffffff;
  --green-wa: #25D366;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 2px 20px rgba(13,27,62,.08);
  --shadow-lifted: 0 8px 40px rgba(13,27,62,.14);
  --transition: 0.22s ease;
  --max-width: 1160px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Wrap ── */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── ======================= NAV ======================= ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 62, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--midnight);
  letter-spacing: 0.02em;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 7px 14px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.1);
}

/* Hamburger for mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── ======================= HERO ======================= ── */
.hero {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
  padding: 100px 0 88px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.04) 0%, transparent 45%);
}

.hero-ornament {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-divider span {
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(201,168,76,0.4);
}

.hero-divider-icon {
  font-size: 20px;
  color: var(--gold);
  opacity: 0.9;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── ======================= BUTTONS ======================= ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--midnight);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(201,168,76,0.45);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201,168,76,0.07);
}

/* ── ======================= SECTIONS ======================= ── */
section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 52px;
}

.section-header.center { text-align: center; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--midnight);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-header p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.7;
}

.section-header.center p { margin: 14px auto 0; }

/* Alternating bg */
.section-ivory { background: var(--ivory); }
.section-white { background: var(--white); }
.section-dark {
  background: var(--midnight);
  color: var(--white);
}
.section-dark h2 { color: var(--white); }
.section-dark .section-eyebrow { color: var(--gold-light); }
.section-dark p { color: rgba(255,255,255,0.65); }

.section-muted { background: var(--ivory-dark); }

/* ── ======================= CARDS ======================= ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lifted);
  transform: translateY(-3px);
}

.card-body { padding: 28px; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  color: var(--gold);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ── ======================= GRID LAYOUTS ======================= ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  align-items: start;
}

/* ── ======================= PROFILE CARD ======================= ── */
.profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.profile-card:hover {
  box-shadow: var(--shadow-lifted);
  transform: translateY(-3px);
}

.profile-img-wrap {
  position: relative;
  overflow: hidden;
}

.profile-img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.profile-card:hover .profile-img-wrap img {
  transform: scale(1.03);
}

.profile-img-placeholder {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--ivory-dark) 0%, var(--gold-pale) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.7;
}

.profile-info {
  padding: 20px 22px 22px;
}

.profile-role {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 12px;
}

.profile-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.profile-email {
  font-size: 12.5px;
  color: var(--ink-soft);
  word-break: break-all;
  margin-bottom: 4px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  background: var(--green-wa);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-whatsapp:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ── ======================= GALLERY ======================= ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ivory-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ── ======================= REGION LINKS ======================= ── */
.region-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 28px;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.region-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.22s ease;
}

.region-card:hover::before {
  transform: scaleY(1);
}

.region-card:hover {
  box-shadow: var(--shadow-lifted);
  transform: translateX(4px);
}

.region-card-icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.region-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--midnight);
}

.region-card-sub {
  font-size: 13px;
  color: var(--ink-soft);
}

.region-card-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 18px;
  opacity: 0;
  transition: opacity var(--transition), right var(--transition);
}

.region-card:hover .region-card-arrow {
  opacity: 1;
  right: 18px;
}

/* ── ======================= BANNER STRIP ======================= ── */
.banner-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--midnight) 100%);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 48px 0;
}

.banner-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 8px;
}

.banner-strip p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
}

/* ── ======================= QUOTE BLOCK ======================= ── */
.quote-block {
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  background: var(--gold-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--midnight);
  line-height: 1.6;
}

/* ── ======================= MONTHS SPECIAL ======================= ── */
.month-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}

.month-card-header {
  background: var(--midnight);
  padding: 22px 26px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.month-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 4px 10px;
  border-radius: 20px;
}

.month-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.month-card-body {
  padding: 24px 26px;
}

.month-card-body p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ── ======================= FOOTER ======================= ── */
.site-footer {
  background: var(--midnight);
  color: var(--white);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-brand-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ── ======================= DISCLAIMER ======================= ── */
.disclaimer-text {
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.7;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 16px;
  margin-top: 32px;
  font-style: italic;
}

/* ── ======================= PROSE ======================= ── */
.prose h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 16px;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 12px;
  margin-top: 32px;
}

.prose p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}

/* ── ======================= HERO INNER (sub pages) ======================= ── */
.page-hero {
  background: var(--midnight);
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(201,168,76,0.07) 0%, transparent 60%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.page-hero p {
  margin-top: 14px;
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
}

/* ── ======================= BREADCRUMB ======================= ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}

.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── ======================= RESPONSIVE ======================= ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--midnight);
    padding: 16px 20px 20px;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    z-index: 99;
  }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { max-width: 100%; }
  section { padding: 52px 0; }
  .hero { padding: 72px 0 60px; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .hero-cta-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
