@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --green-950: #03160f;
  --green-900: #07241a;
  --green-850: #0b3124;
  --green-800: #114632;
  --cream: #f2ebdc;
  --cream-2: #fcf8ef;
  --gold: #c8a15b;
  --gold-2: #e3c27a;
  --gold-soft: rgba(227, 194, 122, 0.18);
  --text: #28231a;
  --muted: #6e6555;
  --line: rgba(201, 164, 94, 0.38);
  --panel: rgba(255, 255, 255, 0.68);
  --shadow: 0 24px 64px rgba(6, 18, 13, 0.18);
  --shadow-strong: 0 32px 88px rgba(0, 0, 0, 0.3);
  --ease: 0.35s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 164, 94, 0.13), transparent 28rem),
    linear-gradient(180deg, #f8f2e7 0%, var(--cream) 100%);
  font-family: "Source Sans 3", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background:
    radial-gradient(circle at 15% 10%, rgba(201, 164, 94, 0.16), transparent 22rem),
    radial-gradient(circle at 85% 24%, rgba(110, 15, 26, 0.06), transparent 24rem);
  z-index: -1;
}

body.is-loading .site-header,
body.is-loading main,
body.is-loading .site-footer {
  opacity: 0;
  transform: translateY(18px);
}

.site-header,
main,
.site-footer {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(3, 22, 15, 0.9);
  color: var(--cream-2);
  border-bottom: 1px solid rgba(201, 164, 94, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.header-frame {
  min-height: 82px;
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
  padding: 10px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.brand img,
.footer-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 50%;
}

.brand small,
.brand em {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-style: normal;
}

.brand strong {
  display: block;
  font-family: Cinzel, Georgia, serif;
  color: var(--gold-2);
  font-size: 1.12rem;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 249, 234, 0.88);
  transform: translateY(0);
  transition: color var(--ease), transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-2);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #142016;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 30px rgba(201, 164, 94, 0.18);
  transition: transform var(--ease), box-shadow var(--ease);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(201, 164, 94, 0.24);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 14px;
  transition: background var(--ease), transform var(--ease);
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  margin: 6px 0;
  background: var(--gold);
  transform-origin: center;
  transition: transform var(--ease), opacity var(--ease), background var(--ease);
}

.menu-toggle:hover {
  background: rgba(201, 164, 94, 0.06);
  transform: translateY(-1px);
}

.menu-toggle.is-open {
  background: rgba(201, 164, 94, 0.08);
}

.menu-toggle:active {
  transform: scale(0.96);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 82px);
  background:
    linear-gradient(107deg, rgba(3, 22, 15, 0.96) 0%, rgba(5, 38, 27, 0.78) 42%, rgba(3, 22, 15, 0.26) 100%),
    url("assets/membros-loja.jpg") center/cover no-repeat;
  color: var(--cream-2);
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 42%, rgba(201, 164, 94, 0.18), transparent 24rem),
    linear-gradient(90deg, rgba(1, 19, 13, 0.9), rgba(1, 19, 13, 0.56), rgba(1, 19, 13, 0.18));
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  width: 460px;
  height: 460px;
  transform: translateY(-50%);
  background: url("assets/logo-rei-de-israel.png") center/contain no-repeat;
  opacity: 0.06;
  filter: grayscale(1);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.96fr 0.88fr;
  gap: 52px;
  align-items: center;
  padding-block: 72px 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-family: Cinzel, Georgia, serif;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.75rem;
}

.hero h1,
.section h2,
.cta-band h2 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(2.4rem, 4.8vw, 4.85rem);
}

.lead {
  margin: 22px 0 0;
  max-width: 520px;
  color: rgba(255, 249, 234, 0.82);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  font-size: 0.74rem;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
}

.btn::after {
  content: "›";
  margin-left: 12px;
  font-size: 1.35em;
  line-height: 0;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #102318;
  box-shadow: 0 16px 36px rgba(201, 164, 94, 0.16);
}

.btn-outline {
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--green-900);
  color: var(--cream-2);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-media {
  position: relative;
  padding-bottom: 28px;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(226, 194, 119, 0.72);
  box-shadow: var(--shadow-strong);
  transform: translateY(0);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.hero-media:hover .photo-frame {
  transform: translateY(-6px);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.35);
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(226, 194, 119, 0.5);
  pointer-events: none;
  z-index: 2;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%, rgba(3, 22, 15, 0.3));
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 0.92 / 1;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03) brightness(0.84);
}

.hero-medal {
  position: absolute;
  left: -22px;
  top: 28px;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--green-850), var(--green-900));
  border: 1px solid var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.hero-medal img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.hero-plaque {
  position: absolute;
  right: -24px;
  bottom: 0;
  width: min(240px, 82%);
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(7, 36, 26, 0.88);
  border: 1px solid rgba(226, 194, 119, 0.42);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.hero-plaque strong {
  display: block;
  font-family: Cinzel, Georgia, serif;
  color: var(--gold-2);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.hero-plaque span {
  display: block;
  color: rgba(255, 249, 234, 0.76);
  font-size: 0.92rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 249, 234, 0.76);
  transition: transform var(--ease), color var(--ease);
}

.scroll-indicator::before {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(227, 194, 122, 0.92);
  border-bottom: 2px solid rgba(227, 194, 122, 0.92);
  transform: rotate(45deg);
  animation: arrow-bounce 1.6s ease-in-out infinite;
}

.scroll-indicator::after {
  content: "";
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(227, 194, 122, 0.85), transparent);
  animation: pulse-line 1.8s ease-in-out infinite;
}

.scroll-indicator:hover {
  color: var(--gold-2);
  transform: translateX(-50%) translateY(3px);
}

.section {
  position: relative;
  padding: 78px 0;
}

.section-light {
  background:
    radial-gradient(circle at 92% 15%, rgba(201, 164, 94, 0.12), transparent 24rem),
    linear-gradient(180deg, #fff8ed, #f3ead8);
}

.section-dark {
  color: var(--cream-2);
  background:
    radial-gradient(circle at 15% 10%, rgba(201, 164, 94, 0.16), transparent 24rem),
    linear-gradient(180deg, #07241a, #03160f);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

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

.gallery-hero {
  padding: 86px 0 58px;
  background:
    radial-gradient(circle at 20% 15%, rgba(201, 164, 94, 0.13), transparent 22rem),
    linear-gradient(180deg, #fbf6ec, #f2ebdc);
}

.gallery-hero-grid,
.blog-hero-grid,
.post-hero-grid,
.gallery-hero-stack,
.photo-wall,
.blog-grid {
  display: grid;
}

.gallery-hero-grid {
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: center;
}

.blog-hero,
.post-hero {
  padding: 86px 0 58px;
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 164, 94, 0.12), transparent 24rem),
    linear-gradient(180deg, #fbf6ec, #f2ebdc);
}

.blog-hero-grid,
.post-hero-grid {
  grid-template-columns: 0.96fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.gallery-hero h1 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2.4rem, 4.8vw, 4.7rem);
  line-height: 1.08;
  color: var(--green-950);
}

.blog-hero h1,
.post-hero h1 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2.25rem, 4.6vw, 4.3rem);
  line-height: 1.08;
  color: var(--green-950);
}

.blog-hero-card,
.post-hero-media {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(201, 164, 94, 0.22);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.6);
}

.blog-hero-card img,
.post-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.gallery-hero-stack {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
}

.gallery-hero-stack figure,
.photo-card {
  margin: 0;
}

.gallery-hero-stack figure {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(201, 164, 94, 0.22);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.6);
}

.gallery-hero-stack figure:nth-child(1),
.gallery-hero-stack figure:nth-child(3) {
  transform: translateY(34px);
}

.gallery-hero-stack img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  display: block;
}

.photo-wall {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.post-card,
.post-content {
  border-radius: 28px;
  border: 1px solid rgba(201, 164, 94, 0.2);
  box-shadow: var(--shadow);
}

.post-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.56);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-media {
  display: block;
}

.post-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.post-copy {
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-copy span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.post-copy h3 {
  margin: 0 0 12px;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.14;
  color: var(--green-950);
}

.post-copy p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.post-content {
  padding: 38px 34px;
  background: rgba(255, 255, 255, 0.56);
  max-width: 860px;
  margin-inline: auto;
}

.post-content h2 {
  margin: 26px 0 14px;
  font-family: Cinzel, Georgia, serif;
  color: var(--green-950);
}

.post-content p {
  color: var(--muted);
  font-size: 1.03rem;
}

.post-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.post-list li + li {
  margin-top: 8px;
}

.post-actions {
  margin-top: 28px;
}

.photo-card {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(201, 164, 94, 0.2);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow);
}

.photo-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.photo-trigger img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.photo-card:hover .photo-trigger img {
  transform: scale(1.05);
  filter: saturate(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  padding: 40px 24px 24px;
  display: grid;
  place-items: center;
  background: rgba(3, 22, 15, 0.84);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease);
  z-index: 60;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: 22px;
  border: 1px solid rgba(201, 164, 94, 0.28);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 164, 94, 0.32);
  border-radius: 50%;
  background: rgba(7, 36, 26, 0.88);
  color: var(--cream-2);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.inner-hero {
  padding: 86px 0 54px;
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 164, 94, 0.12), transparent 24rem),
    linear-gradient(180deg, #fbf6ec, #f2ebdc);
}

.inner-hero-grid,
.story-grid,
.detail-grid,
.veneraveis-grid,
.location-grid {
  display: grid;
}

.inner-hero-grid {
  grid-template-columns: 0.95fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.inner-hero h1 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2.35rem, 4.7vw, 4.4rem);
  line-height: 1.08;
  color: var(--green-950);
}

.lead-dark {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.04rem;
}

.inner-hero-card {
  max-width: 520px;
  width: 100%;
  justify-self: end;
}

.temple-card-static .temple-mark {
  opacity: 0.18;
}

.btn-outline-dark {
  color: var(--green-900);
  background: rgba(3, 22, 15, 0.04);
}

.btn-outline-dark:hover {
  background: rgba(3, 22, 15, 0.08);
}

.story-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.story-panel,
.detail-card,
.timeline-item,
.quote-panel {
  border-radius: 26px;
  border: 1px solid rgba(201, 164, 94, 0.2);
  box-shadow: var(--shadow);
}

.story-panel {
  padding: 34px 30px;
  background: rgba(255, 255, 255, 0.52);
}

.story-panel h2,
.quote-panel h2 {
  margin: 0 0 18px;
  font-family: Cinzel, Georgia, serif;
  line-height: 1.12;
}

.story-panel p:last-child,
.detail-card p:last-child,
.timeline-item p:last-child {
  margin-bottom: 0;
}

.detail-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.veneraveis-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.veneravel-card {
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(201, 164, 94, 0.18);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.veneravel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 94, 0.34);
}

.veneravel-card.current {
  padding: 20px;
  background:
    radial-gradient(circle at top, rgba(201, 164, 94, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.58);
  transform: translateY(-8px);
}

.veneravel-photo {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(201, 164, 94, 0.2);
  background: #e9dfca;
  box-shadow: 0 18px 44px rgba(6, 18, 13, 0.12);
}

.veneravel-photo img {
  width: 100%;
  aspect-ratio: 0.92 / 1.08;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.veneravel-photo.is-muted img {
  filter: grayscale(1) contrast(1.02) brightness(0.92);
}

.veneravel-card:hover .veneravel-photo.is-muted img {
  filter: grayscale(0) contrast(1.02) brightness(1) saturate(1.02);
}

.veneravel-card.current .veneravel-photo img {
  filter: saturate(1.02) contrast(1.02);
}

.veneravel-card:hover .veneravel-photo img {
  transform: scale(1.04);
}

.veneravel-copy {
  padding: 18px 8px 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.veneravel-copy strong {
  display: block;
  margin-bottom: 4px;
  font-family: Cinzel, Georgia, serif;
  font-size: 1rem;
  color: var(--green-950);
}

.veneravel-copy span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 700;
}

.veneravel-copy p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.location-grid {
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
}

.location-copy,
.map-card {
  border-radius: 28px;
  border: 1px solid rgba(201, 164, 94, 0.2);
  box-shadow: var(--shadow);
}

.location-copy {
  padding: 34px 30px;
  background: rgba(255, 255, 255, 0.54);
}

.location-copy h2 {
  margin: 0 0 18px;
  font-family: Cinzel, Georgia, serif;
  line-height: 1.12;
  color: var(--green-950);
}

.location-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.location-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(201, 164, 94, 0.14);
  background: rgba(255, 255, 255, 0.48);
}

.location-item strong {
  display: block;
  margin-bottom: 6px;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.88rem;
  color: var(--green-950);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.location-item span {
  color: var(--muted);
}

.map-card {
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(201, 164, 94, 0.1), transparent 18rem),
    rgba(255, 255, 255, 0.48);
  min-height: 100%;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.85) contrast(1.02);
}

.detail-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.04);
}

.detail-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: Cinzel, Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.detail-card p {
  margin: 0;
  color: rgba(255, 249, 234, 0.78);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.46);
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(3, 22, 15, 0.94);
  color: var(--gold-2);
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-family: Cinzel, Georgia, serif;
  color: var(--green-950);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.quote-panel {
  padding: 42px 36px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(201, 164, 94, 0.1), transparent 22rem),
    rgba(255, 255, 255, 0.04);
}

.quote-panel h2 {
  max-width: 860px;
  margin-inline: auto;
  color: var(--cream-2);
}

.quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--gold-2);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--ease), transform var(--ease);
}

.quote-link::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
  transition: width var(--ease), opacity var(--ease);
}

.quote-link:hover {
  color: var(--cream-2);
  transform: translateX(4px);
}

.quote-link:hover::after {
  width: 56px;
}

.post-copy .quote-link {
  align-self: flex-start;
  margin-top: 18px;
  color: var(--green-900);
  font-size: 0.8rem;
}

.post-copy .quote-link::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.post-copy .quote-link:hover {
  color: var(--green-950);
}

.section-copy h2,
.section-title h2,
.cta-band h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.15rem);
  color: var(--green-950);
}

.section-dark .section-copy h2,
.section-dark .section-title h2 {
  color: var(--cream-2);
}

.section-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
}

.section-dark .section-copy p {
  color: rgba(255, 249, 234, 0.78);
}

.centered {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 44px;
}

.temple-card {
  height: 360px;
  border-radius: 26px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(201, 164, 94, 0.12), rgba(201, 164, 94, 0.05)),
    linear-gradient(180deg, #fbf6ec, #efe2c6);
  border: 1px solid rgba(201, 164, 94, 0.24);
  box-shadow: var(--shadow);
}

.temple-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  border: 1px solid rgba(201, 164, 94, 0.22);
  pointer-events: none;
}

.temple-mark,
.temple-hover {
  position: absolute;
}

.temple-mark {
  inset: 0;
  background: url("assets/logo-rei-de-israel.png") center/330px no-repeat;
  opacity: 0.14;
  filter: saturate(0.7);
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
}

.temple-hover {
  inset: 0;
  background: url("assets/hover-Photoroom.png") center/330px no-repeat;
  opacity: 0;
  filter: drop-shadow(0 22px 30px rgba(200, 161, 91, 0.12));
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.temple-hover-logo {
  background: url("assets/logo-rei-de-israel.png") center/330px no-repeat;
  filter: drop-shadow(0 22px 30px rgba(6, 18, 13, 0.12));
}

.temple-card:hover .temple-mark {
  opacity: 0.05;
  filter: saturate(1);
  transform: scale(0.985);
}

.temple-card:hover .temple-hover {
  opacity: 0.96;
  transform: scale(1);
  filter: drop-shadow(0 28px 36px rgba(200, 161, 91, 0.18));
}

.value-grid,
.pillar-grid {
  display: grid;
  gap: 20px;
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-card,
.pillar-grid article,
.stat-row span {
  position: relative;
  overflow: hidden;
}

.value-card {
  text-align: center;
  padding: 30px 24px;
  min-height: 232px;
  border: 1px solid rgba(201, 164, 94, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.value-card::before,
.pillar-grid article::before,
.stat-row span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227, 194, 122, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity var(--ease);
}

.value-card:hover,
.pillar-grid article:hover,
.stat-row span:hover {
  transform: translateY(-6px);
}

.value-card:hover::before,
.pillar-grid article:hover::before,
.stat-row span:hover::before {
  opacity: 1;
}

.value-card:hover {
  border-color: rgba(226, 194, 119, 0.48);
  background: rgba(255, 255, 255, 0.065);
}

.value-card img,
.pillar-grid img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-inline: auto;
  margin-bottom: 16px;
}

.value-card h3,
.pillar-grid h3,
.footer-grid h3 {
  margin: 0 0 10px;
  color: var(--gold-2);
  font-family: Cinzel, Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.value-card p,
.pillar-grid p {
  margin: 0 auto;
  max-width: 290px;
  color: rgba(255, 249, 234, 0.76);
}

.pillar-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pillar-grid article {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid rgba(201, 164, 94, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.pillar-grid article:hover {
  box-shadow: var(--shadow);
  border-color: rgba(201, 164, 94, 0.42);
}

.pillar-grid h3 {
  color: var(--green-950);
}

.pillar-grid p {
  color: var(--muted);
}

.activity-image {
  padding: 12px;
  border-radius: 28px;
  border: 1px solid rgba(201, 164, 94, 0.38);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-strong);
}

.activity-image img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 20px;
  filter: saturate(0.88) contrast(1.04);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.stat-row span {
  padding: 18px;
  border: 1px solid rgba(201, 164, 94, 0.22);
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  transition: transform var(--ease), border-color var(--ease);
}

.stat-row span:hover {
  border-color: rgba(226, 194, 119, 0.44);
}

.stat-row strong {
  display: block;
  font-family: Cinzel, Georgia, serif;
  color: var(--gold-2);
  font-size: 1.45rem;
}

.stat-row small {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 249, 234, 0.7);
}

.section-gallery {
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 164, 94, 0.12), transparent 22rem),
    var(--green-950);
  color: var(--cream-2);
  padding: 80px 0 92px;
}

.section-gallery .section-title h2 {
  color: var(--cream-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  height: 190px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(201, 164, 94, 0.28);
  background: var(--green-900);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.gallery-grid figure:nth-child(2n) {
  transform: translateY(18px);
}

.gallery-grid figure:nth-child(3) {
  height: 230px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos);
  transition: transform 0.55s ease, filter 0.55s ease;
  filter: saturate(0.9) brightness(0.9);
}

.gallery-grid figure:hover img {
  transform: scale(1.08);
  filter: saturate(1) brightness(1);
}

.gallery-cta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.cta-band {
  padding: 64px 0;
  background:
    linear-gradient(90deg, rgba(255, 249, 234, 0.9), rgba(255, 249, 234, 0.97)),
    url("assets/logo-rei-de-israel.png") left center/240px no-repeat;
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  border-radius: 28px;
  border: 1px solid rgba(201, 164, 94, 0.2);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.cta-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  color: rgba(255, 249, 234, 0.8);
  background: linear-gradient(180deg, #07241a, #02120c);
  border-top: 1px solid rgba(201, 164, 94, 0.24);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 0.7fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-brand img {
  margin-bottom: 16px;
}

.footer-brand strong {
  display: block;
  font-family: Cinzel, Georgia, serif;
  color: var(--gold-2);
  letter-spacing: 0.07em;
}

.footer-brand small {
  color: var(--gold);
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 7px 0;
  color: rgba(255, 249, 234, 0.72);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials span,
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 164, 94, 0.45);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform var(--ease), background var(--ease);
}

.socials span:hover,
.socials a:hover {
  transform: translateY(-3px);
  background: rgba(201, 164, 94, 0.08);
}

.socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.copyright {
  text-align: center;
  padding: 18px;
  font-size: 0.78rem;
  color: rgba(255, 249, 234, 0.54);
  border-top: 1px solid rgba(201, 164, 94, 0.16);
}

.copyright a {
  color: var(--gold-2);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(7, 36, 26, 0.92);
  color: var(--cream-2);
  box-shadow: 0 16px 36px rgba(6, 18, 13, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity var(--ease), visibility var(--ease), transform var(--ease), background var(--ease);
  z-index: 30;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: rgba(11, 49, 36, 0.98);
  transform: translateY(-2px) scale(1.02);
}

.back-to-top:active {
  transform: scale(0.97);
}

.back-to-top svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.back-to-top-track,
.back-to-top-progress {
  fill: none;
  stroke-width: 3;
}

.back-to-top-track {
  stroke: rgba(255, 249, 234, 0.12);
}

.back-to-top-progress {
  stroke: var(--gold-2);
  stroke-linecap: round;
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  transition: stroke-dashoffset 0.15s linear;
}

.back-to-top span {
  position: relative;
  z-index: 1;
  font-size: 1.18rem;
  line-height: 1;
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.value-grid .reveal:nth-child(2),
.pillar-grid .reveal:nth-child(2),
.gallery-grid .reveal:nth-child(2),
.stat-row .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.value-grid .reveal:nth-child(3),
.pillar-grid .reveal:nth-child(3),
.gallery-grid .reveal:nth-child(3),
.stat-row .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.pillar-grid .reveal:nth-child(4),
.gallery-grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.gallery-grid .reveal:nth-child(5) {
  transition-delay: 0.32s;
}

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleY(0.82);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.05);
  }
}

@keyframes arrow-bounce {
  0%,
  100% {
    opacity: 0.5;
    transform: translateY(0) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(6px) rotate(45deg);
  }
}

@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .header-frame {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 16px 0 2px;
    border-top: 1px solid rgba(201, 164, 94, 0.22);
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
  }

  .main-nav.open {
    display: flex;
    animation: mobile-menu-in 0.28s ease;
  }

  .main-nav a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: inset 0 0 0 0 rgba(227, 194, 122, 0);
  }

  .main-nav a::after {
    left: 12px;
    right: auto;
    width: 36px;
    bottom: 8px;
    transform: scaleX(1);
    transform-origin: left center;
    opacity: 0;
    transition: opacity var(--ease), width var(--ease), background var(--ease);
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--gold-2);
    background: rgba(201, 164, 94, 0.04);
    border-color: rgba(201, 164, 94, 0.12);
    transform: translateX(3px);
    box-shadow: none;
  }

  .main-nav a:hover::after,
  .main-nav a.active::after {
    opacity: 1;
    width: 48px;
  }

  .main-nav a:active {
    transform: translateX(2px) scale(0.99);
  }

  .hero-grid,
  .gallery-hero-grid,
  .blog-hero-grid,
  .post-hero-grid,
  .inner-hero-grid,
  .split,
  .split.reverse,
  .story-grid,
  .detail-grid,
  .veneraveis-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 640px;
    margin-inline: auto;
  }

  .inner-hero-card {
    justify-self: stretch;
    max-width: 640px;
    margin-inline: auto;
  }

  .gallery-hero-stack,
  .photo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-hero-stack figure:nth-child(1),
  .gallery-hero-stack figure:nth-child(3) {
    transform: none;
  }

  .veneravel-card.current {
    transform: none;
  }

  .map-card {
    min-height: 420px;
  }

  .value-grid,
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid figure:nth-child(2n) {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-frame {
    width: 100%;
    min-height: 72px;
    padding: 10px 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
    max-width: 100%;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand small,
  .brand em {
    font-size: 0.5rem;
    letter-spacing: 0.14em;
  }

  .brand strong {
    font-size: 0.74rem;
    line-height: 1.08;
    letter-spacing: 0.06em;
  }

  .menu-toggle {
    align-self: start;
    margin-top: 2px;
    padding: 8px;
    border-radius: 12px;
  }

  .main-nav {
    padding-top: 14px;
  }

  .main-nav a {
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    padding: 9px 12px;
  }

  .hero {
    min-height: auto;
  }

  .gallery-hero {
    padding: 64px 0 48px;
  }

  .blog-hero,
  .post-hero {
    padding: 64px 0 48px;
  }

  .hero-grid {
    gap: 30px;
    padding-block: 34px 76px;
  }

  .gallery-hero-stack,
  .photo-wall {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .photo-frame img,
  .activity-image img,
  .gallery-hero-stack img,
  .photo-trigger img,
  .blog-hero-card img,
  .post-hero-media img,
  .post-media img {
    height: 280px;
  }

  .hero-medal {
    left: 14px;
    top: 14px;
    width: 70px;
    height: 70px;
  }

  .hero-medal img {
    width: 44px;
    height: 44px;
  }

  .hero-plaque {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .hero-actions,
  .cta-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .value-grid,
  .pillar-grid,
  .footer-grid,
  .stat-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    padding: 24px 20px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}
