/* Goshen Place of Worship — original styles */
:root {
  --navy: #0a2348;
  --navy-soft: #16315c;
  --wine: #0a2348;
  --gold: #0a2348;
  --gold-bright: #1e4f9a;
  --gold-deep: #0a2348;
  --cream: #ffffff;
  --cream-dark: #d9e2ef;
  --ink: #0a2348;
  --ink-soft: #3d5273;
  --white: #ffffff;
  --ice: #f3f6fb;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --header-h: 4.5rem;
  --ease: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

section[id] { scroll-margin-top: calc(var(--header-h) + 0.75rem); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

address { font-style: normal; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 18, 26, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 165, 90, 0.18);
  color: var(--cream);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  margin-right: auto;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-en {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9eb6dc;
  font-weight: 400;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
  outline: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--cream);
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.lang-toggle {
  display: flex;
  border: 1px solid rgba(201, 165, 90, 0.45);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: 0;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--white);
  color: var(--navy);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: -2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6.5rem 1.5rem 5rem;
  max-width: 820px;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
}

.eyebrow.dark { color: var(--gold-deep); }

h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.title-en {
  display: block;
}

.title-es {
  display: block;
  font-size: 0.48em;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
  margin-top: 0.45rem;
  letter-spacing: 0.04em;
}

.hero-tag {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-style: italic;
  font-weight: 400;
  margin: 1.25rem 0 0.75rem;
  color: var(--navy);
}

.hero-meta {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border-radius: 2px;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

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

.btn-gold {
  background: var(--navy);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-bright); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost:hover {
  background: var(--ice);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-dark {
  background: var(--navy);
  color: var(--cream);
}
.btn-dark:hover { background: var(--navy-soft); }

/* Welcome */
.welcome {
  padding: 6.5rem 0 5.5rem;
  background: var(--cream);
}

.welcome h2,
.services h2,
.location h2,
.watch h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

.welcome-body {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.welcome-body p + p { margin-top: 1rem; }

/* Services */
.services {
  padding: 6rem 0;
  background: var(--ice);
  color: var(--navy);
  text-align: center;
}

.services h2 { color: var(--navy); }
.watch h2 { color: var(--white); }

.section-intro {
  max-width: 46rem;
  margin: -0.5rem auto 2.75rem;
  color: var(--ink-soft);
}
.watch .section-intro {
  color: rgba(255, 255, 255, 0.82);
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.service-card {
  border: 1px solid var(--cream-dark);
  background: var(--white);
  padding: 2.25rem 2rem 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(10, 35, 72, 0.06);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--navy), transparent);
}

.service-day {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.service-card h3 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.service-time {
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 500;
  color: var(--gold-bright);
  margin: 0.2rem 0 0.85rem;
}

.service-note {
  color: var(--ink-soft);
  margin: 0;
}

/* Location */
.location {
  padding: 6.5rem 0;
  background: var(--cream);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.address {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.45;
  margin: 0 0 1.75rem;
  color: var(--ink);
}

.map-frame {
  min-height: 360px;
  border: 1px solid var(--cream-dark);
  box-shadow: 0 20px 50px rgba(36, 28, 24, 0.08);
  overflow: hidden;
  background: var(--cream-dark);
}

.map-frame iframe,
.map-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 0;
  display: block;
  filter: saturate(0.85) contrast(1.02);
}
.map-link { display: block; }
.map-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Watch */
.watch {
  padding: 6.5rem 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  position: relative;
}

.watch::before {
  content: "";
  position: absolute;
  inset: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.watch-inner { position: relative; }

.watch .section-intro { margin-bottom: 2rem; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(246, 240, 228, 0.75);
  padding: 3rem 0 2.5rem;
  text-align: center;
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.footer-brand span {
  font-style: italic;
  font-family: var(--serif);
  color: #9eb6dc;
}

.footer-address { margin: 0 0 0.5rem; }

.footer-link {
  color: #9eb6dc;
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.footer-link:hover { color: var(--gold-bright); }

.copyright {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(246, 240, 228, 0.45);
}

/* Responsive */
@media (max-width: 800px) {
  .nav-toggle { display: block; }

  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid rgba(201, 165, 90, 0.18);
  }

  .nav.is-open .nav-list { display: flex; }

  .nav-list a {
    display: block;
    padding: 0.85rem 1.5rem;
  }

  .welcome-grid,
  .service-cards,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .welcome, .services, .location, .watch {
    padding: 4.25rem 0;
  }

  .watch::before { inset: 1.15rem; }

  .hero { min-height: 88vh; }
  .hero-content { padding: 5.5rem 1.15rem 4rem; }
}

@media (max-width: 480px) {
  .brand-sub { display: none; }
  h1 { font-size: 2.35rem; }
  .service-time { font-size: 1.85rem; }
  .header-inner { gap: 0.6rem; }
}

@media (max-width: 480px) {
  .hero .eyebrow {
    letter-spacing: 0.12em;
    max-width: 16rem;
    margin-inline: auto;
    line-height: 1.6;
  }
  .hero-meta { padding-inline: 0.5rem; }
}

.nowrap { white-space: nowrap; }

.watch .btn-gold {
  background: var(--white);
  color: var(--navy);
}
.watch .btn-gold:hover {
  background: var(--ice);
  color: var(--navy);
}
.site-header .brand-mark circle,
.site-header .brand-mark path[fill="none"] {
  stroke: #ffffff;
  fill: none;
}
.site-header .brand-mark ellipse,
.site-header .brand-mark path:not([fill="none"]) {
  fill: #ffffff;
  stroke: none;
}

.watch .eyebrow {
  color: #9eb6dc;
}

.watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.watch .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.watch .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 1.35rem;
  justify-content: center;
  align-items: center;
}
