:root {
  --navy-950: #04152a;
  --navy-900: #071f3b;
  --navy-800: #0b315e;
  --navy-700: #0b3a6f;
  --teal-700: #075b78;
  --teal-800: #094a60;
  --teal-900: #062f3d;
  --gold-700: #a87522;
  --gold-600: #c79338;
  --gold-500: #ddb45e;
  --gold-300: #f0d79c;
  --sky-500: #29abe2;
  --wine-900: #451128;
  --wine-800: #661a38;
  --wine-700: #832349;
  --wine-500: #a8385f;
  --rose-300: #f3d3e2;
  --rose-600: #b14c78;
  --ink: #152235;
  --muted: #5e6b7d;
  --line: #d9e0e8;
  --paper: #ffffff;
  --ivory: #f7f4ed;
  --mist: #eff4f7;
  --success: #4fb29a;
  --shadow-sm: 0 10px 30px rgba(7, 31, 59, .08);
  --shadow-lg: 0 24px 70px rgba(7, 31, 59, .17);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-height: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Noto Sans Hebrew", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.is-rtl { font-family: "Noto Sans Hebrew", "Inter", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold-300); color: var(--navy-950); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section-shell { position: relative; overflow: hidden; }
.section-light { background: var(--ivory); }
.section-navy { color: white; background: var(--navy-900) url("assets/img/pattern.svg"); }
.section-wine { color: white; background: linear-gradient(160deg, var(--wine-900), var(--wine-700)) , var(--wine-800) url("assets/img/pattern.svg"); background-blend-mode: normal, soft-light; }
.section-wine .eyebrow { color: var(--rose-300); }
.section-wine .shabbat-card-header .api-badge { color: var(--wine-700); }
.section-history { background: linear-gradient(180deg, #f5f7fa 0%, #fff 100%); }

.page-hero-icon { width: 62px; height: 62px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--gold-700); background: var(--ivory); border: 1.5px solid var(--line); border-radius: 50%; box-shadow: var(--shadow-sm); }
.page-hero-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.section-wine .page-hero-icon, .page-hero-icon.is-wine { color: var(--rose-600); }

.world-card .program-icon { color: var(--wine-700); }
.world-note { margin-top: 22px; text-align: center; }
.world-note a { color: var(--wine-700); font-weight: 750; text-underline-offset: 5px; }
.section-contact { background: var(--ivory); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; color: var(--navy-900); line-height: 1.12; }
h1, h2 { font-family: "Playfair Display", "Noto Sans Hebrew", Georgia, serif; }
h1 { font-size: clamp(2.9rem, 6vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
p { margin-top: 0; }
.on-dark h2, .on-dark h3, .section-navy h3 { color: white; }
.page-hero { padding: 64px 0 20px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero p { max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: 1.08rem; }

.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: fixed; inset-inline-start: 16px; top: -60px; z-index: 9999; padding: 12px 18px; color: white; background: var(--navy-900); border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.topbar { color: white; background: var(--navy-950); font-size: .86rem; }
.topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-message { margin: 0; display: flex; align-items: center; gap: 9px; min-width: 0; }
.topbar-message span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(79,178,154,.13); }
.language-switcher { display: flex; align-items: center; gap: 5px; }
.lang-btn { min-width: 40px; height: 30px; padding: 0 10px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.72); background: transparent; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.lang-btn:hover, .lang-btn:focus-visible, .lang-btn.is-active { color: var(--navy-950); background: var(--gold-500); border-color: var(--gold-500); }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(7,31,59,.08); backdrop-filter: blur(14px); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { height: 54px; width: auto; flex: 0 0 auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1.18; }
.brand-word strong { font-family: "Playfair Display", "Noto Sans Hebrew", Georgia, serif; font-size: 1.12rem; color: var(--navy-900); }
.brand-word span { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin-top: 2px; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav a { position: relative; text-decoration: none; color: var(--navy-900); font-size: .91rem; font-weight: 650; }
.primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 2px; background: var(--gold-600); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav a.is-current { color: var(--navy-700); }
.primary-nav .nav-cta { padding: 12px 17px; color: white; background: var(--navy-700); border-radius: 10px; box-shadow: 0 8px 20px rgba(11,58,111,.18); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: white; border-radius: 12px; }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--navy-900); transition: .2s; }

.hero { padding: 72px 0 58px; background: radial-gradient(circle at 75% 22%, rgba(221,180,94,.14), transparent 28%), linear-gradient(180deg,#fff 0%,#f4f7fa 100%); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; inset-inline-start: -210px; bottom: -180px; border-radius: 50%; border: 1px solid rgba(11,58,111,.08); box-shadow: 0 0 0 70px rgba(11,58,111,.025), 0 0 0 140px rgba(11,58,111,.018); }
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero-lead { max-width: 680px; color: var(--muted); font-size: 1.12rem; }
.hero-actions { margin: 34px 0 42px; display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 24px; border: 1.5px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .3s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(150deg, var(--teal-700), var(--teal-800)); border-color: var(--teal-900); box-shadow: 0 14px 32px rgba(7,91,120,.32); }
.button-primary:hover, .button-primary:focus-visible { background: linear-gradient(150deg, var(--teal-800), var(--teal-900)); box-shadow: 0 18px 38px rgba(7,91,120,.4); }
.button-secondary { color: var(--teal-800); background: white; border-color: var(--teal-700); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--mist); box-shadow: var(--shadow-sm); }
.button-gold { color: var(--navy-950); background: linear-gradient(150deg, var(--gold-500), var(--gold-600)); border-color: var(--gold-700); box-shadow: 0 14px 30px rgba(200,147,56,.32); }
.button-gold:hover, .button-gold:focus-visible { background: linear-gradient(150deg, var(--gold-300), var(--gold-500)); color: var(--navy-950); box-shadow: 0 18px 36px rgba(200,147,56,.4); }
.button[disabled], .button.is-disabled { color: var(--navy-800); background: var(--mist); border-color: var(--line); opacity: 1; cursor: not-allowed; transform: none !important; box-shadow: none; }
.hero-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; flex-direction: column; gap: 3px; }
.hero-proof strong { color: var(--navy-700); font-family: "Playfair Display", Georgia, serif; font-size: 1.7rem; }
.hero-proof span { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.hero-image-frame { position: relative; }
.hero-image-frame > img { width: 100%; filter: drop-shadow(0 28px 55px rgba(7,31,59,.25)); }
.hero-floating-card { position: absolute; inset-inline-start: -26px; bottom: 40px; min-width: 245px; padding: 18px 20px; display: flex; flex-direction: column; color: white; background: rgba(4,21,42,.9); border: 1px solid rgba(240,215,156,.25); border-radius: 14px; box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); }
.floating-kicker { color: var(--gold-300); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-floating-card strong { margin: 3px 0; font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; }
.hero-floating-card span:last-child { font-size: .82rem; opacity: .82; }

.quick-paths { position: relative; z-index: 4; padding: 0 0 30px; background: #f4f7fa; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; transform: translateY(-3px); }
.quick-card { min-height: 106px; padding: 22px; display: flex; align-items: center; gap: 16px; text-decoration: none; background: white; border: 1px solid #e5eaf0; border-radius: 15px; box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s; }
.quick-card:hover { transform: translateY(-5px); border-color: var(--gold-500); }
.quick-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; color: var(--gold-700); background: var(--ivory); border: 1.5px solid var(--line); border-radius: 50%; font-size: 1.35rem; }
.quick-card span:last-child { display: flex; flex-direction: column; }
.quick-card strong { color: var(--navy-900); }
.quick-card small { color: var(--muted); line-height: 1.35; }

.two-column { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.content-copy { color: var(--muted); font-size: 1.05rem; }
.link-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.text-link { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 5px; font-weight: 700; }
.pillars-grid { margin-top: 65px; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.pillar { padding: 28px; background: rgba(255,255,255,.76); border: 1px solid rgba(11,58,111,.08); border-radius: var(--radius-sm); }
.pillar-number { display: block; margin-bottom: 30px; color: var(--gold-700); font-size: .76rem; font-weight: 800; letter-spacing: .15em; }
.pillar p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Junta Directiva */
.board-grid { margin-top: 45px; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.board-card { padding: 26px 22px; background: white; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.board-role { display: block; margin-bottom: 12px; color: var(--gold-700); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.board-card h3 { margin: 0; font-size: 1.08rem; }
.board-period { margin-top: 22px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.board-note { margin-top: 10px; color: var(--muted); font-size: .82rem; max-width: 640px; }

.life-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.section-navy .eyebrow { color: var(--gold-300); }
.section-navy .section-heading > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.7); }
.shabbat-card { padding: 34px; color: var(--navy-900); background: white; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.shabbat-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.api-badge { padding: 5px 9px; color: var(--navy-700); background: var(--mist); border-radius: 999px; letter-spacing: .04em; text-transform: none; }
.shabbat-card h3 { font-family: "Playfair Display", "Noto Sans Hebrew", Georgia, serif; font-size: 2.15rem; }
.shabbat-times { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.shabbat-times div { padding: 18px; background: var(--ivory); border-radius: 12px; }
.shabbat-times span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.3; }
.shabbat-times strong { display: block; margin-top: 5px; color: var(--navy-900); font-size: 1.12rem; }
.shabbat-note { margin: 20px 0 0; color: var(--muted); font-size: .8rem; }
.observance-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.observance-card { padding: 25px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-sm); background: rgba(255,255,255,.04); }
.observance-card p { margin: 0; color: rgba(255,255,255,.67); }

.center-heading { max-width: 830px; margin-bottom: 54px; text-align: center; }
.center-heading p:last-child { max-width: 690px; margin-inline: auto; color: var(--muted); }
.programs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.program-card { padding: 32px 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .2s, box-shadow .2s, border-color .2s; }
.program-card:hover { transform: translateY(-7px); border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.program-icon { width: 55px; height: 55px; margin-bottom: 25px; display: grid; place-items: center; color: var(--navy-700); background: var(--ivory); border: 1.5px solid var(--line); border-radius: 15px; font-family: "Noto Sans Hebrew", serif; font-size: 1.7rem; }
.program-card p { min-height: 120px; color: var(--muted); font-size: 1rem; }
.program-card a { color: var(--navy-700); font-weight: 750; text-underline-offset: 5px; }
.program-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.resource-card p { min-height: 84px; }
.resource-card .resource-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.resource-card .button { font-size: 1rem; }
.resource-card .text-link { font-size: .98rem; }
.resource-badge { display: inline-block; padding: 7px 16px; color: white; background: var(--navy-800); border: 1px solid var(--navy-950); border-radius: 999px; font-size: .92rem; font-weight: 800; letter-spacing: .02em; }
.resource-note { margin-top: 30px; color: var(--navy-900); font-size: 1rem; font-weight: 600; text-align: center; }

.calendar-panel { padding: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.calendar-panel h3 { font-size: 1.05rem; }
.hebcal-lead { margin: 6px 0 20px; color: var(--muted); font-size: .88rem; }
.holiday-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.holiday-item { display: grid; grid-template-columns: 124px 1fr; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.holiday-item:last-child { border-bottom: none; }
.holiday-date { display: flex; flex-direction: column; gap: 2px; }
.holiday-date-greg { color: var(--rose-600); font-weight: 700; font-size: .82rem; }
.holiday-date-heb { color: var(--muted); font-weight: 500; font-size: .74rem; }
.holiday-name { color: var(--navy-900); font-weight: 600; }
.holiday-loading { padding: 14px 4px; color: var(--muted); }
.holiday-fallback { margin-top: 16px; padding: 18px 20px; background: var(--ivory); border-radius: var(--radius-sm); color: var(--muted); font-size: .88rem; }
.calendar-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; }
.calendar-attribution { margin-top: 18px; color: var(--muted); font-size: .75rem; }

/* ---------------------------------------------------------------------
   Hub "Calendario judío y vida comunitaria" (index.html + actividades.html):
   leyenda dorado/azul, tarjetas de resumen, insignias de festividad,
   conversor de fechas y panel de suscripción. Reutiliza los tokens de
   color y las clases .calendar-panel / .program-card ya existentes.
   --------------------------------------------------------------------- */
.hub-legend { margin: 18px 0 6px; display: flex; flex-wrap: wrap; gap: 20px; }
.hub-legend-item { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.hub-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--gold-600); }
.hub-dot--institutional { background: var(--navy-700); }
.hub-sunset-note { margin-top: 4px; color: var(--muted); font-size: .82rem; font-style: italic; }
.section-hub-snapshot { padding-top: 10px; }

.hub-snapshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 26px; }
.hub-card { position: relative; padding: 24px 24px 22px; background: white; border: 1px solid var(--line); border-left: 4px solid var(--gold-600); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.hub-card--jewish { border-left-color: var(--gold-600); }
.hub-card-label { margin: 0 0 8px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hub-card-value { margin: 0; color: var(--navy-900); font-size: 1.18rem; font-weight: 750; line-height: 1.3; }
.hub-card-sub { margin: 4px 0 0; color: var(--muted); font-size: .84rem; }
.hub-card-times { margin: 12px 0 0; color: var(--navy-800); font-size: .86rem; }
.hub-card-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; line-height: 1.5; }
.hub-card .text-link { display: inline-block; margin-top: 10px; font-size: .86rem; }
.hub-view-all { margin-top: 34px; text-align: center; }

.holiday-badge { display: inline-block; margin: 0 8px 4px 0; padding: 3px 10px; border-radius: 999px; background: var(--ivory); color: var(--gold-700); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.holiday-badge--fast { background: #f3e3e3; color: var(--rose-600); }
.holiday-badge--roshchodesh { background: #e7edf5; color: var(--navy-700); }
.holiday-more { margin-left: 8px; font-size: .8rem; white-space: nowrap; }

.calendar-panel--jewish { border-top: 3px solid var(--gold-600); }

.converter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.converter-form { padding-top: 4px; }
.converter-form h4 { margin: 0 0 12px; font-size: .92rem; color: var(--navy-900); }
.converter-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.converter-fields label, .converter-checkbox { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.converter-fields input, .converter-form select { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .92rem; color: var(--navy-900); background: white; }
.converter-checkbox { flex-direction: row; align-items: center; gap: 8px; margin-bottom: 4px; }
.converter-checkbox input { width: auto; }
.converter-help { margin: 0 0 14px; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.converter-form .button { font-size: .88rem; padding: 10px 20px; }
.converter-result { margin: 12px 0 0; font-size: .9rem; color: var(--navy-900); }
.converter-result strong { color: var(--gold-700); }

.subscribe-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 8px; }
.subscribe-actions .button { font-size: .9rem; }
.subscribe-help { margin-top: 18px; }
.subscribe-help summary { cursor: pointer; color: var(--navy-700); font-weight: 700; font-size: .86rem; }
.subscribe-help p { margin: 10px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }

@media (max-width: 720px) {
  .hub-snapshot-grid { grid-template-columns: 1fr; }
  .converter-grid { grid-template-columns: 1fr; gap: 20px; }
  .converter-fields { grid-template-columns: repeat(3, 1fr); }
}

[dir="rtl"] .hub-card { border-left: none; border-right: 4px solid var(--gold-600); }
[dir="rtl"] .holiday-more { margin-left: 0; margin-right: 8px; }

.history-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 75px; align-items: end; }
.history-lead { color: var(--muted); }
.timeline { margin-top: 58px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.timeline--four { grid-template-columns: repeat(2,1fr); }
.timeline-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.timeline-card.no-figure { display: flex; align-items: center; }
.timeline-card figure { height: 270px; margin: 0; overflow: hidden; background: #dce2e8; }
.timeline-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(.28) sepia(.12); transition: transform .5s, filter .3s; }
.timeline-card:hover img { transform: scale(1.04); filter: grayscale(0) sepia(0); }
.timeline-card > div { padding: 27px; }
.timeline-year { display: block; margin-bottom: 15px; color: var(--gold-700); font-family: "Playfair Display", Georgia, serif; font-size: 2rem; font-weight: 700; }
.timeline-card p { margin-bottom: 0; color: var(--muted); }
.timeline-mark { width: 60px; height: 60px; margin: 27px 0 0 27px; flex: 0 0 auto; display: grid; place-items: center; background: var(--ivory); border: 1.5px solid var(--line); border-radius: 50%; color: var(--gold-700); font-size: 1.5rem; }

.membership-shell { padding: 55px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; color: white; background: var(--navy-900) url("assets/img/pattern.svg"); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.membership-copy h2 { color: white; }
.membership-copy p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.membership-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.membership-card { padding: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); }
.membership-card > span { color: var(--gold-300); font-size: .78rem; font-weight: 800; }
.membership-card h3 { margin-top: 35px; color: white; }
.membership-card p { margin: 0; color: rgba(255,255,255,.66); font-size: .88rem; }

.section-visit { color: white; background: linear-gradient(115deg, var(--navy-800), var(--teal-700)); overflow: hidden; }
.section-visit::after { content: ""; position: absolute; inset-inline-end: -100px; top: -160px; width: 480px; height: 480px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 85px rgba(255,255,255,.025), 0 0 0 170px rgba(255,255,255,.018); }
.visit-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .72fr; gap: 80px; align-items: center; }
.visit-panel h1,
.visit-panel h2 { color: white; }

.visit-panel h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -.04em;
}
.visit-panel > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.visit-steps { padding: 0; margin: 35px 0 0; list-style: none; }
.visit-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; margin-bottom: 22px; }
.visit-steps li > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-500); border-radius: 50%; font-weight: 800; }
.visit-steps strong { display: block; margin-bottom: 2px; }
.visit-steps p { margin: 0; color: rgba(255,255,255,.66); font-size: .9rem; }
.visit-aside { display: flex; justify-content: center; }
.location-card { max-width: 420px; padding: 42px; color: var(--navy-900); background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center; }
.location-pin { width: 65px; height: 65px; margin: 0 auto 23px; display: grid; place-items: center; color: var(--gold-700); background: var(--ivory); border-radius: 50%; font-size: 2rem; }
.location-card p { color: var(--muted); margin-bottom: 24px; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 75px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-details { margin-top: 26px; display: grid; gap: 16px; }
.contact-details a { color: var(--navy-700); font-weight: 700; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.contact-row { display: flex; flex-direction: column; gap: 3px; }
.contact-label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.donate-card { margin-top: 26px; padding: 26px 28px; background: var(--ivory); border: 1px solid var(--gold-600); border-radius: var(--radius); }
.donate-card .eyebrow { margin-bottom: 6px; }
.donate-card h3 { margin: 0 0 8px; color: var(--navy-900); font-size: 1.05rem; }
.donate-card > p:not(.eyebrow) { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.donate-card .button { margin-bottom: 14px; }
.donate-note { font-size: .78rem; }
.donate-questions { font-size: .85rem; margin: 0 !important; }
.donate-questions a { color: var(--navy-700); font-weight: 700; }
.social-links { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.social-links a { width: fit-content; display: flex; align-items: center; gap: 10px; color: var(--navy-700); text-decoration: none; font-weight: 700; }
.social-links svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links svg .fill { fill: currentColor; stroke: none; }
.social-symbol { width: 24px; height: 24px; display: grid; place-items: center; color: white; background: var(--navy-700); border-radius: 6px; font-size: .72rem; }
.contact-form { padding: 36px; background: white; border: 1px solid rgba(11,58,111,.1); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: 18px; }
.form-row.two { grid-template-columns: repeat(2,1fr); }
.contact-form label:not(.checkbox-label) { display: block; margin-bottom: 18px; color: var(--navy-900); font-size: .86rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; color: var(--ink); background: #fbfcfd; border: 1px solid #cbd5df; border-radius: 10px; outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(11,58,111,.09); }
.contact-form textarea { resize: vertical; }
.checkbox-label { margin: 5px 0 22px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: .8rem; }
.checkbox-label input { width: 18px; height: 18px; margin: 2px 0 0; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: .75rem; }
.hidden-field { position: absolute; left: -10000px; }

/* Estados financieros / Transparencia */
.finance-lead-card { padding: 30px 34px; margin-bottom: 50px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.finance-principles { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.finance-principles li { padding-left: 26px; position: relative; color: var(--muted); }
.finance-principles li::before { content: "◆"; position: absolute; left: 0; top: 1px; color: var(--gold-600); font-size: .8rem; }
.finance-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 45px 0; }
.finance-card { padding: 28px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.finance-card span.label { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; margin-bottom: 10px; }
.finance-value { font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; color: var(--navy-900); }
.finance-value.is-pending { font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 700; color: var(--gold-700); }
.finance-compare { margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.finance-compare .is-up { color: #1a7a3c; font-weight: 700; }
.finance-compare .is-down { color: #b3352c; font-weight: 700; }
.finance-card.is-highlight { background: white; border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.finance-status { padding: 22px 26px; margin-bottom: 45px; background: rgba(200, 147, 56, .1); border: 1px solid rgba(200,147,56,.3); border-radius: var(--radius-sm); color: var(--navy-900); }
.finance-status.is-approved { background: rgba(26,122,60,.08); border-color: rgba(26,122,60,.28); }
.finance-status strong { display: block; margin-bottom: 6px; }
.finance-asof { margin: -30px 0 30px; color: var(--muted); font-size: .82rem; }
.finance-donate { margin: 40px 0; padding: 32px 36px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: white; border: 1px solid var(--gold-600); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.finance-donate h3 { margin: 0 0 6px; color: var(--navy-900); }
.finance-donate p { margin: 0; color: var(--muted); }
.finance-download { padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: var(--navy-900) url("assets/img/pattern.svg"); color: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.finance-download h3 { color: white; margin-bottom: 8px; }
.finance-download p { color: rgba(255,255,255,.72); margin: 0; }
.finance-download-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.finance-reports { display: grid; gap: 14px; margin: 0 0 45px; }
.finance-report { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.finance-report-title { font-weight: 700; color: var(--navy-900); margin: 0 0 2px; }
.finance-report-meta { margin: 0; color: var(--muted); font-size: .82rem; }
.finance-note { margin-top: 26px; color: var(--muted); font-size: .88rem; }
.finance-privacy { margin-top: 14px; padding: 18px 22px; background: var(--ivory); border-radius: var(--radius-sm); color: var(--navy-900); font-size: .85rem; }

.site-footer { padding: 65px 0 25px; color: rgba(255,255,255,.74); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 45px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo-chip { flex: 0 0 auto; padding: 8px; background: white; border-radius: 12px; line-height: 0; }
.footer-logo-chip img { width: 42px; height: auto; }
.footer-brand-word strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 1.05rem; color: white; }
.footer-brand p { margin-top: 8px; color: var(--gold-300); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid h2 { margin-bottom: 17px; color: white; font-family: "Inter", sans-serif; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a { display: block; margin-bottom: 7px; color: rgba(255,255,255,.72); text-decoration: none; font-size: .88rem; }
.footer-grid a:hover { color: var(--gold-300); }
.footer-bottom { margin-top: 45px; padding-top: 22px; display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

[dir="rtl"] .hero-grid, [dir="rtl"] .life-grid, [dir="rtl"] .visit-grid, [dir="rtl"] .contact-grid, [dir="rtl"] .two-column, [dir="rtl"] .membership-shell, [dir="rtl"] .history-intro, [dir="rtl"] .finance-download, [dir="rtl"] .finance-donate { direction: rtl; }
[dir="rtl"] .primary-nav, [dir="rtl"] .header-inner, [dir="rtl"] .topbar-inner, [dir="rtl"] .hero-actions, [dir="rtl"] .link-row, [dir="rtl"] .brand, [dir="rtl"] .footer-brand { direction: rtl; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0; }
[dir="rtl"] .eyebrow { letter-spacing: .08em; }
[dir="rtl"] .hero-floating-card { text-align: right; }
[dir="rtl"] .finance-download-actions { align-items: flex-start; }

@media (max-width: 1060px) {
  .primary-nav { gap: 15px; }
  .primary-nav a { font-size: .84rem; }
  .hero-grid { gap: 35px; }
  .programs-grid { grid-template-columns: repeat(2,1fr); }
  .board-grid { grid-template-columns: repeat(2,1fr); }
  .finance-grid { grid-template-columns: repeat(2,1fr); }
  .membership-shell { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-height: 74px; }
  .section { padding: 78px 0; }
  .brand-mark { height: 44px; }
  .brand-word strong { font-size: .96rem; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: calc(100% + 1px); inset-inline: 20px; padding: 20px; display: none; flex-direction: column; align-items: stretch; gap: 5px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 8px; font-size: .95rem; }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-cta { text-align: center; }
  .hero-grid, .life-grid, .two-column, .history-intro, .visit-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof { text-align: start; }
  .hero-visual { max-width: 700px; margin-inline: auto; }
  .quick-grid, .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .life-grid { gap: 45px; }
  .observance-grid { grid-template-columns: 1fr; }
  .timeline, .timeline--four { grid-template-columns: 1fr; }
  .timeline-card { display: grid; grid-template-columns: 230px 1fr; }
  .timeline-card figure { height: 100%; min-height: 300px; }
  .membership-options { grid-template-columns: repeat(3,1fr); }
  .visit-grid, .contact-grid { gap: 50px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .finance-download { grid-template-columns: 1fr; text-align: center; }
  .finance-download-actions { align-items: center; }
  .finance-donate { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar-inner { min-height: 48px; }
  .topbar-message { max-width: calc(100% - 122px); }
  .lang-btn { min-width: 34px; padding: 0 7px; }
  .brand-mark { height: 38px; }
  .brand-word span { font-size: .58rem; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  h2 { font-size: 2.2rem; }
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: 10px; }
  .hero-proof strong { font-size: 1.35rem; }
  .hero-floating-card { inset-inline-start: 10px; bottom: 14px; min-width: 0; width: calc(100% - 20px); }
  .quick-grid, .pillars-grid, .programs-grid, .membership-options, .footer-grid, .board-grid, .finance-grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 88px; }
  .shabbat-card { padding: 25px 20px; }
  .shabbat-times { grid-template-columns: 1fr; }
  .timeline-card { display: block; }
  .timeline-card figure { height: 250px; min-height: 0; }
  .membership-shell { padding: 34px 22px; }
  .form-row.two { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 25px 20px; }
  .footer-bottom { flex-direction: column; }
  .holiday-item { grid-template-columns: 1fr; gap: 4px; }
  .calendar-panel { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Renovación visual 2026
   Una paleta serena inspirada en el azul del talit, el pergamino y el latón.
   -------------------------------------------------------------------------- */
:root {
  --navy-950: #081a2f;
  --navy-900: #102b4e;
  --navy-800: #173b67;
  --navy-700: #24558e;
  --teal-700: #356d9c;
  --teal-800: #254f78;
  --teal-900: #173653;
  --gold-700: #8b6c32;
  --gold-600: #ad8a46;
  --gold-500: #c6a65f;
  --gold-300: #e7d7ad;
  --sky-500: #6d9dcc;
  --wine-900: #0b213d;
  --wine-800: #12365f;
  --wine-700: #24558e;
  --wine-500: #527da8;
  --rose-300: #dce8f3;
  --rose-600: #6d91b5;
  --ink: #17283c;
  --muted: #627083;
  --line: #dce3ea;
  --paper: #ffffff;
  --ivory: #f7f5ef;
  --mist: #eef3f7;
  --success: #79a895;
  --shadow-sm: 0 12px 32px rgba(16, 43, 78, .07);
  --shadow-lg: 0 28px 80px rgba(16, 43, 78, .13);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
}

body {
  background: #fcfcfa;
  letter-spacing: -.005em;
}

::selection { background: #dce8f3; color: var(--navy-950); }

.topbar {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.status-dot {
  background: #a7c7ba;
  box-shadow: 0 0 0 4px rgba(167, 199, 186, .12);
}

.lang-btn:hover,
.lang-btn:focus-visible,
.lang-btn.is-active {
  color: white;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .34);
}

.site-header {
  background: rgba(252, 252, 250, .9);
  border-bottom-color: rgba(16, 43, 78, .1);
  backdrop-filter: blur(18px) saturate(120%);
}

.brand-word strong { letter-spacing: -.015em; }
.brand-word span { color: var(--gold-700); letter-spacing: .2em; }

.primary-nav a:not(.nav-cta)::after {
  height: 1px;
  background: var(--navy-700);
}

.primary-nav .nav-cta {
  padding: 11px 19px;
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
  border-radius: 999px;
  box-shadow: none;
  transition: background .2s ease, transform .2s ease;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  background: var(--navy-700);
  transform: translateY(-1px);
}

.hero {
  padding-top: 88px;
  background:
    radial-gradient(circle at 78% 18%, rgba(198, 166, 95, .12), transparent 26%),
    radial-gradient(circle at 8% 88%, rgba(36, 85, 142, .08), transparent 26%),
    linear-gradient(180deg, #fcfcfa 0%, #f1f5f8 100%);
}

.hero::before { border-color: rgba(36, 85, 142, .12); }
.hero h1 { max-width: 760px; }
.hero-lead { color: #536477; }

.eyebrow {
  color: var(--gold-700);
  letter-spacing: .2em;
}

.button {
  border-radius: 999px;
  box-shadow: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.button-primary {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.button-primary:hover,
.button-primary:focus-visible { background: var(--navy-700); border-color: var(--navy-700); }

.button-secondary {
  color: var(--navy-900);
  background: rgba(255, 255, 255, .58);
  border-color: rgba(16, 43, 78, .24);
}

.button-gold {
  color: var(--navy-950);
  background: #d8c18a;
  border-color: #d8c18a;
}

.hero-image-frame {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(8, 26, 47, .14);
}

.hero-image-frame::after {
  border-color: rgba(198, 166, 95, .72);
  border-radius: calc(var(--radius-lg) - 4px);
}

.hero-floating-card {
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(8, 26, 47, .16);
}

.hero-proof { border-top-color: rgba(16, 43, 78, .14); }
.hero-proof strong { color: var(--navy-800); }

.quick-paths { background: var(--navy-950); }
.quick-card { border-color: rgba(255, 255, 255, .09); }
.quick-card:hover { background: rgba(255, 255, 255, .055); }
.quick-icon { color: #d8c18a; }

.section-light { background: var(--ivory); }
.section-history { background: linear-gradient(180deg, #f1f5f8 0%, #fcfcfa 100%); }
.section-contact { background: var(--ivory); }
.section-navy,
.section-wine {
  color: white;
  background-color: var(--navy-900);
  background-image: linear-gradient(145deg, rgba(8, 26, 47, .92), rgba(23, 59, 103, .9)), url("assets/img/pattern.svg");
  background-blend-mode: normal, soft-light;
}

.section-wine .eyebrow { color: #d8c18a; }

.pillar,
.quick-card,
.program-card,
.world-card,
.board-card,
.finance-card,
.timeline-card,
.contact-form,
.calendar-panel,
.shabbat-card,
.location-card {
  border-radius: var(--radius);
}

.pillar {
  border-top: 1px solid rgba(16, 43, 78, .15);
}

.pillar-number { color: var(--gold-700); }

.program-card,
.world-card,
.board-card,
.finance-card,
.timeline-card,
.calendar-panel,
.contact-form {
  border-color: rgba(16, 43, 78, .11);
  box-shadow: var(--shadow-sm);
}

.program-card:hover,
.world-card:hover,
.timeline-card:hover { box-shadow: 0 20px 48px rgba(16, 43, 78, .1); }

.world-card .program-icon,
.section-wine .page-hero-icon,
.page-hero-icon.is-wine,
.world-note a { color: var(--navy-700); }

.page-hero-icon {
  color: var(--navy-700);
  background: #fbfaf7;
  border-color: rgba(16, 43, 78, .15);
  box-shadow: none;
}

.section-visit {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.location-pin { color: #d8c18a; }

.text-link { color: var(--navy-700); }
.text-link::after { color: var(--gold-700); }

.site-footer {
  background: #071526;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo-chip { background: rgba(255, 255, 255, .96); }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(36, 85, 142, .1);
}

@media (max-width: 900px) {
  .primary-nav {
    background: rgba(252, 252, 250, .98);
    border-color: rgba(16, 43, 78, .12);
    border-radius: var(--radius);
  }
}

@media (max-width: 620px) {
  .hero { padding-top: 64px; }
  .hero-image-frame { border-radius: 18px; }
}

/* Accesibilidad, fotografía principal e iconografía refinada */
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #6d9dcc;
  outline-offset: 3px;
}

.lang-btn {
  min-width: 44px;
  min-height: 44px;
}

.menu-toggle {
  min-width: 48px;
  min-height: 48px;
}

.hero-image-frame picture {
  display: block;
  height: 100%;
}

.hero-image-frame picture img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 46% center;
}

.quick-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1;
  color: #e3c982;
  border: 1px solid rgba(227, 201, 130, .42);
  border-radius: 50%;
  background: rgba(255, 255, 255, .035);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.quick-icon::before { display: block; }
.quick-icon--shabbat::before { content: "✦"; }
.quick-icon--community::before { content: "◎"; }
.quick-icon--study::before { content: "◇"; }
.quick-icon--support::before { content: "♡"; }

.quick-card:hover .quick-icon,
.quick-card:focus-visible .quick-icon {
  color: #fff1c8;
  border-color: rgba(227, 201, 130, .75);
  background: rgba(227, 201, 130, .09);
  transform: translateY(-1px);
}

.program-icon,
.page-hero-icon {
  border-width: 1px;
  box-shadow: none;
}

.program-icon svg,
.page-hero-icon svg {
  stroke-width: 1.65;
}

.card-heading {
  margin-bottom: .7rem;
  font-family: "Inter", "Noto Sans Hebrew", Arial, sans-serif;
  font-size: 1.25rem;
  letter-spacing: -.015em;
}

.calendar-feature {
  margin-top: 34px;
  background:
    radial-gradient(circle at 88% 18%, rgba(198, 166, 95, .12), transparent 24%),
    linear-gradient(180deg, #eef3f7 0%, #f7f5ef 100%);
  border-block: 1px solid rgba(16, 43, 78, .08);
}

.calendar-feature .calendar-panel {
  border-top: 3px solid var(--navy-700);
  box-shadow: 0 22px 54px rgba(16, 43, 78, .09);
}

.masorti-page-hero {
  padding-bottom: 48px;
}

.masorti-network {
  padding-top: 58px;
  background: linear-gradient(180deg, #f7f5ef 0%, #fcfcfa 100%);
}

@media (min-width: 1061px) {
  .primary-nav { gap: 16px; }
  .primary-nav a { font-size: .86rem; }
}

@media (max-width: 620px) {
  .hero-image-frame picture img {
    aspect-ratio: 4 / 3;
    object-position: 42% center;
  }
}

/* --------------------------------------------------------------------------
   WhatsApp directo
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  inset-block-end: 26px;
  inset-inline-end: 26px;
  z-index: 1100;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible {
  background: var(--navy-700);
  transform: translateY(-3px);
}
.whatsapp-float svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 620px) {
  .whatsapp-float { inset-block-end: 16px; inset-inline-end: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* --------------------------------------------------------------------------
   Actividades y programación
   -------------------------------------------------------------------------- */
.activities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.activities-side { display: flex; flex-direction: column; gap: 40px; }
.activities-subhead { margin: 0 0 20px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.agenda-list { display: grid; gap: 14px; }
.agenda-list.is-row { grid-template-columns: repeat(3, 1fr); }
.agenda-item { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.agenda-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; color: white; background: var(--navy-900); border-radius: var(--radius-sm); }
.agenda-day { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; line-height: 1; }
.agenda-month { margin-top: 4px; color: var(--gold-300); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.agenda-body h3 { margin-bottom: 4px; font-size: 1.04rem; }
.agenda-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.agenda-time { margin: 0 0 6px; color: var(--gold-700); font-size: .8rem; font-weight: 700; }
.agenda-empty { padding: 34px; text-align: center; background: var(--ivory); border-radius: var(--radius); }
.agenda-empty strong { display: block; margin-bottom: 6px; color: var(--navy-900); }
.agenda-empty p { margin: 0; color: var(--muted); font-size: .92rem; }

.activities-cal { padding: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-head h3 { margin: 0; font-size: 1.05rem; text-transform: capitalize; }
.cal-nav-btn { width: 36px; height: 36px; display: grid; place-items: center; color: var(--navy-900); background: var(--ivory); border: 1px solid var(--line); border-radius: 50%; }
.cal-nav-btn:hover, .cal-nav-btn:focus-visible { background: var(--mist); border-color: var(--navy-700); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { padding: 4px 0; color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.cal-day { position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 0; color: var(--ink); background: transparent; border: none; border-radius: 10px; font: inherit; font-size: .86rem; }
.cal-day.is-blank { visibility: hidden; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--navy-700); font-weight: 700; }
.cal-day.has-event { color: var(--navy-700); background: var(--ivory); font-weight: 700; cursor: pointer; }
.cal-day.has-event:hover, .cal-day.has-event:focus-visible { color: white; background: var(--navy-900); }
.cal-dot { position: absolute; inset-block-end: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-600); }
.cal-day.has-event:hover .cal-dot, .cal-day.has-event:focus-visible .cal-dot { background: var(--gold-300); }
.cal-legend { margin-top: 16px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; }
.cal-legend-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--gold-600); }
.cal-detail { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: .9rem; }
.cal-detail h4 { margin: 0 0 4px; font-size: 1rem; }
.cal-detail hr { margin: 14px 0; border: none; border-top: 1px dashed var(--line); }
.cal-detail-meta { margin: 0 0 6px; color: var(--muted); font-size: .82rem; }

@media (max-width: 900px) {
  .activities-grid { grid-template-columns: 1fr; }
  .agenda-list.is-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .agenda-item { grid-template-columns: 56px 1fr; gap: 12px; padding: 16px; }
  .activities-cal { padding: 22px 16px; }
}
[dir="rtl"] .activities-grid { direction: rtl; }
/* Renovación visual: fotografías reales del templo, septiembre de 2026. */
.hero-renewed { background:#102c3e; color:#fff; padding:76px 0 65px; }
.hero-renewed::before { display:none; }
.hero-renewed .hero-grid { grid-template-columns:1fr 1.08fr; gap:52px; }
.hero-renewed h1 { color:#fff; font-size:clamp(2.6rem,4.4vw,4.5rem); line-height:1.1; letter-spacing:-.035em; }
.hero-renewed .eyebrow { color:#dfc48e; }
.hero-renewed .hero-lead { color:#d9e2e7; max-width:520px; font-size:1.04rem; }
.hero-renewed .button-primary { background:#dfc48e; border-color:#dfc48e; color:#102c3e; }
.hero-renewed .button-secondary { background:transparent; color:white; border-color:#8c9fa9; }
.hero-renewed .button-secondary:hover { background:#24485c; }
.hero-renewed .hero-proof { border-color:#536977; }
.hero-renewed .hero-proof strong { color:#dfc48e; font-size:1.45rem; }
.hero-renewed .hero-proof span { color:#d9e2e7; }
.hero-renewed .hero-image-frame { border-radius:160px 160px 12px 12px; overflow:hidden; box-shadow:0 20px 60px #0004; }
.hero-renewed .hero-image-frame::after { display:none; }
.hero-renewed .hero-image-frame picture img { aspect-ratio:4 / 4.5; object-position:center 8%; }
.hero-renewed .hero-floating-card { left:20px; right:20px; bottom:20px; min-width:0; background:#102c3ef2; }
.primary-nav .nav-donate { background:#dfc48e; color:#102c3e; white-space:nowrap; }
.primary-nav .nav-donate:hover { background:#ead5aa; color:#102c3e; }
.temple-section { background:#f7f3eb; }
.temple-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:80px; align-items:center; }
.temple-photos { display:grid; grid-template-columns:1.4fr .85fr; align-items:center; gap:18px; }
.temple-photos img { width:100%; height:360px; object-fit:cover; border-radius:8px; }
.temple-photos img+img { height:280px; }
.temple-copy h2 { font-size:clamp(2rem,3vw,3.2rem); line-height:1.15; }
.temple-copy p:not(.eyebrow) { color:#536477; margin-bottom:28px; }
.donation-section { background:#102c3e; color:#d9e2e7; }
.donation-grid { display:grid; grid-template-columns:1.4fr 1fr; align-items:center; gap:80px; }
.donation-section h2 { color:white; max-width:630px; font-size:clamp(2rem,3.5vw,3.2rem); }
.donation-section .eyebrow { color:#dfc48e; }
.donation-actions { text-align:center; border-left:1px solid #536977; padding:24px; }
.donation-actions p { font-size:.86rem; margin:18px auto; max-width:280px; }
.donation-actions>a:not(.button) { color:#dfc48e; text-underline-offset:5px; }
@media (min-width:901px) and (max-width:1190px) {
 .header-inner { flex-wrap:wrap; justify-content:center; gap:12px; padding-block:16px; }
 .primary-nav { flex-wrap:wrap; justify-content:center; gap:17px; }
}
@media (max-width:900px) {
 .hero-renewed .hero-grid,.temple-grid,.donation-grid { grid-template-columns:1fr; gap:36px; }
 .hero-renewed { padding:42px 0; }
 .hero-renewed .hero-image-frame { max-width:620px; margin:auto; border-radius:100px 100px 12px 12px; }
 .hero-renewed .hero-image-frame picture img { aspect-ratio:4 / 3; }
 .donation-actions { border-left:0; border-top:1px solid #536977; padding:28px 0 0; text-align:left; }
 .donation-actions p { margin:16px 0; }
}
@media (max-width:520px) {
 .temple-photos { gap:10px; }
 .temple-photos img { height:260px; }
 .temple-photos img+img { height:210px; }
 .hero-renewed h1 { font-size:2.55rem; }
 .hero-renewed .hero-actions { margin:25px 0; }
 .hero-renewed .hero-image-frame picture img { aspect-ratio:1; }
}

/* Member services entry points, shared by the public home and community pages. */
.member-services-section{background:#f5f3ed}.member-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.member-service-card{display:flex;flex-direction:column;align-items:flex-start;padding:30px;border:1px solid #e4e5df;border-radius:16px;background:#fff;box-shadow:0 8px 30px #132c4510}.member-service-symbol{font-size:30px;color:#ad8238}.member-service-card h3{margin:15px 0 12px;color:#16364d;font-size:24px}.member-service-card p{flex:1;color:#60727d;line-height:1.65;margin:0 0 24px}.member-services-note{margin-top:25px;color:#677681;font-size:14px;line-height:1.65;text-align:center}
@media(max-width:850px){.member-services-grid{grid-template-columns:1fr}.member-service-card{padding:25px}.member-service-card .button{width:100%;justify-content:center}}
