:root {
    --bg: #090909;
    --gold: #d5b36a;
    --text: #f6f1e7;
    --muted: #c9bea9;
    --line: rgba(213,179,106,0.25);
    --radius: 24px;
    --max: 1240px;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: Georgia, serif;
    background: #070707;
    color: var(--text);
    letter-spacing: .03em;
  }
  .container {
    width: min(calc(100% - 40px), var(--max));
    margin: auto;
  }
  a { text-decoration: none; color: inherit; }
  .topbar {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,.75);
    border-bottom: 1px solid rgba(255,255,255,.05);
    z-index: 100;
  }
  .topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 16px;
  }
  .brand {
    display: flex;
    gap: 14px;
    align-items: center;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-size: 14px;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: radial-gradient(circle at center, rgba(213,179,106,.6), rgba(213,179,106,.2), transparent 70%);
    box-shadow: 0 0 12px rgba(213,179,106,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .brand-mark svg {
    width: 100%;
    height: 100%;
  }
  .nav {
    display: flex;
    gap: 18px;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .nav a:hover { color: var(--gold); }
  .lang-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
  }
  .lang-select option { background: #111; color: var(--text); }
  .hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
  }
  .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
  }
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 4s ease-in-out;
    filter: brightness(0.35);
  }
  .slide.active {
    opacity: 1;
  }
  .hero-content {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    padding: 120px 0 80px;
    position: relative;
  z-index: 2;
  }
  .eyebrow {
    color: var(--gold);
    letter-spacing: .3em;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  h1 {
    margin: 0;
    font-size: clamp(60px, 10vw, 100px);
    line-height: .9;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .hero h1 span {
    display: block;
    color: var(--gold);
    font-size: .25em;
    letter-spacing: .4em;
    margin-bottom: 18px;
  }
  .motto {
    margin-top: 12px;
    color: #9f7e3f;
    font-size: 12px;
    letter-spacing: .35em;
    text-transform: uppercase;
  }
  .hero-text {
    margin-top: 30px;
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.9;
    max-width: 650px;
    color: #e5dccd;
  }
  .hero-side {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    background: rgba(255,255,255,.03);
  }
  .hero-side-title {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .section {
    padding: clamp(60px, 12vw, 110px) 0;
  }
  .section-head {
    max-width: 800px;
    margin-bottom: 46px;
  }
  .section-kicker {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  h2 {
    font-size: clamp(36px, 8vw, 50px);
    margin: 0 0 20px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .section-desc {
    color: var(--muted);
    line-height: 1.9;
    font-size: clamp(15px, 2vw, 16px);
  }
  .temple-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 40px;
  }
  .temple {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255,255,255,.03);
    transition: all .35s ease;
    cursor: pointer;
  }
  .temple:hover {
    border-color: #d5b36a;
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(213,179,106,.15), 0 0 20px rgba(213,179,106,.12);
  }
  .temple-no {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .temple-name {
    font-size: clamp(14px, 2.5vw, 20px);
    letter-spacing: .06em;
    word-break: break-word;
  }
  .temple-sub {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .15em;
    text-transform: uppercase;
  }
  .temple-seal {
    font-size: 10px;
    letter-spacing: .2em;
    color: #6f613f;
    margin-top: 6px;
    text-align: right;
    opacity: 0.7;
  }
  .quote {
    padding: clamp(30px, 8vw, 50px);
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.03);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  }
  .quote div[data-tr="quote-latin"] {
    text-shadow: 0 0 8px rgba(213,179,106,0.3);
  }
  .quote p {
    font-size: clamp(26px, 7vw, 42px);
    line-height: 1.35;
    text-transform: uppercase;
    font-weight: 500;
    color: #e5dccd;
  }
  .quote.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .quote small {
    display: block;
    margin-top: 18px;
    color: var(--gold);
    letter-spacing: .2em;
    font-size: 12px;
  }
  .footer {
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 40px 0 60px;
    font-size: 13px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #a79a83;
    text-align: center;
  }
  .footer-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 16px;
  }
  .footer-custodes {
    margin-top: 20px;
    font-size: 10px;
    letter-spacing: .25em;
    color: #6f613f;
  }
  .footer-note {
    margin-top: 18px;
    font-size: 10px;
    letter-spacing: .22em;
    color: #6f613f;
    opacity: .8;
    line-height: 1.6;
  }
  .access-section {
    padding: 40px 0 20px;
  }
  .access-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
    background: rgba(255,255,255,.03);
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
  }
  .access-title {
    color: var(--gold);
    letter-spacing: .35em;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .access-text {
    color: var(--muted);
    line-height: 1.9;
    font-size: 15px;
  }
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: .4s;
  }
  .modal.active {
    opacity: 1;
    pointer-events: auto;
  }
  .modal-box {
    border: 1px solid var(--line);
    background: #090909;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 0 40px rgba(213,179,106,.15);
  }
  .modal-title {
    color: var(--gold);
    letter-spacing: .35em;
    font-size: 14px;
    margin-bottom: 20px;
  }
  .modal-text {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 30px;
  }
  .modal-input {
    width: 100%;
    background: #050505;
    border: 1px solid var(--line);
    padding: 14px;
    color: #fff;
    text-align: center;
    letter-spacing: .2em;
    margin-bottom: 20px;
  }
  .modal-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(213,179,106,0.3);
  }
  .modal-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--gold);
    padding: 12px 28px;
    cursor: pointer;
    letter-spacing: .25em;
  }
  @media (max-width: 1100px) {
    .hero-content { grid-template-columns: 1fr; }
    .topbar-inner { justify-content: center; flex-direction: column; }
    .nav { justify-content: center; }
  }
  @media (max-width: 600px) {
    .hero { min-height: 80vh; }
    .hero-content { padding: 80px 0 40px; }
    .section { padding: 60px 0; }
  }
  /* INTRO */
  #intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: introFade 3s forwards;
  }
  .cross {
    position: relative;
    width: 70px;
    height: 70px;
  }
  .cross:before,
  .cross:after {
    content: "";
    position: absolute;
    background: #d5b36a;
    box-shadow: 0 0 25px rgba(213,179,106,.7);
  }
  .cross:before {
    width: 10px;
    height: 70px;
    left: 50%;
    transform: translateX(-50%);
  }
  .cross:after {
    height: 10px;
    width: 70px;
    top: 50%;
    transform: translateY(-50%);
  }
  .light {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(213,179,106,.8), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(0);
    opacity: 0;
    animation: lightBurst 2s ease forwards;
    animation-delay: .6s;
  }
  @keyframes lightBurst {
    0% { transform: translate(-50%,-50%) scale(0); opacity: 0; }
    60% { opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(6); opacity: 0; }
  }
  @keyframes introFade {
    0% { opacity: 1; }
    85% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
  }
  #quoteText,
#quoteRef,
#quoteLatin{
transition:opacity .8s ease;
}