/* Los ornamentos de LPR son fondos transparentes. Ningún enlace forma parte de la imagen. */
.ornate-shell{border:0;background:var(--paper)}
.ornate-shell::before{inset:0;width:100%;height:100%;background:url('assets/Borde_dorado_PC.png') center/100% 100% no-repeat;opacity:1}
.ornate-shell::after,.ornament-corner{display:none}
.home-topbar,.home-main,.home-footer{position:relative;z-index:1}
.home-topbar{width:min(1110px,100% - 110px)}
.home-main{width:min(900px,100% - 180px)}
.home-footer{width:min(900px,100% - 180px)}
.mobile-admin-entry{display:none}
@media(max-width:700px){
  .ornate-shell::before{inset:0;width:100%;height:100%;background-image:url('assets/Borde_dorado_Celular.png');background-position:center;background-size:100% 100%;opacity:1}
  .home-topbar{width:calc(100% - 48px)}
  .home-main{width:calc(100% - 68px)}
  .home-footer{width:calc(100% - 72px)}
  .choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .coin{width:min(46vw,205px)}
  .choice{padding:0 6px 6px}
  .choice-name{margin-top:0}
}
@media(max-width:420px){
  .home-topbar{width:calc(100% - 38px)}
  .home-main{width:calc(100% - 54px)}
  .home-footer{width:calc(100% - 64px)}
  .coin{width:min(43vw,165px)}
}

/* El mapa ocupa el centro libre del marco, antes de la dirección. */
.home-main{margin:0 auto;padding:26px 0 14px}
.home-heading{margin-bottom:16px}
.home-heading .home-eyebrow{margin:0 0 4px;font:700 .7rem/1.5 Georgia,serif;letter-spacing:.23em;color:var(--muted)}
.home-heading h1{font-size:clamp(2.1rem,4.5vw,4rem);letter-spacing:-.035em;color:var(--ink)}
.home-heading h1 em{font-weight:normal;color:var(--accent-ink)}
.location{width:min(650px,100%);margin:20px auto 0;text-align:center}
.location h2{margin:0 0 8px;font:normal 1.1rem Georgia,serif;color:var(--ink);letter-spacing:.045em}
.map-frame{overflow:hidden;height:190px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 8px 24px var(--shadow)}
.map-frame iframe{display:block;width:100%;height:100%;border:0}
.home-footer{margin-top:0;border-top:0;padding:7px 10px 18px}
.home-footer::before{display:none}
@media(max-width:700px){.home-main{padding:17px 0 6px}.home-heading{margin-bottom:8px}.home-heading h1{font-size:clamp(1.7rem,6.3vw,2.7rem)}.home-heading .home-eyebrow{font-size:.54rem;letter-spacing:.12em}.location{margin-top:12px}.location h2{font-size:.95rem;margin-bottom:5px}.map-frame{height:155px;border-radius:12px}.home-footer{padding-bottom:16px}}
@media(max-width:420px){.home-main{padding:12px 0 4px}.home-heading h1{font-size:1.75rem}.coin{width:min(38vw,142px)}.choice-name{font-size:1rem}.review-link{margin-top:7px}.map-frame{height:140px}.location{margin-top:10px}.home-footer{font-size:.58rem}}
@media(max-width:700px){.home-topbar .admin-entry{position:absolute;top:72px;right:2px;padding:5px 9px;font-size:.62rem;background:var(--surface)}.home-footer{width:calc(100% - 68px);font-size:.69rem;line-height:1.45}}
@media(max-width:420px){.home-topbar .admin-entry{top:66px;right:0}.home-footer{width:calc(100% - 70px);font-size:.63rem}}

/* Mantiene el acceso administrativo sobre el contenido en pantallas estrechas. */
.home-topbar{z-index:2}


/* El marco móvil vuelve a verse completo. El espacio interior evita que sus
   esquinas coincidan con botones y enlaces, incluso en pantallas pequeñas. */
@media (max-width: 700px) {
  .ornate-shell {
    padding-block: clamp(106px, 27vw, 155px) clamp(94px, 23vw, 135px);
  }
  .ornate-shell::before {
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('assets/Borde_dorado_Celular.png') center / 100% 100% no-repeat;
    opacity: 1;
    pointer-events: none;
  }
  .ornate-shell::after { display: none; }
  .home-topbar {
    width: calc(100% - 94px);
    height: auto;
    min-height: 52px;
    display: flex;
    justify-content: center;
    padding: 4px 0 12px;
  }
  .home-topbar .brand { min-width: 0; }
  .home-topbar .admin-entry { display: none; }
  .mobile-admin-entry {
    display: inline-flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: calc(100% - 140px);
    min-height: 44px;
    margin: 15px auto 5px;
    white-space: nowrap;
    padding: 8px 18px;
    background: var(--surface);
  }
  .home-main { width: calc(100% - 80px); }
  .home-main .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-main .choice { padding: 5px 0 10px; }
  .home-main .coin { width: min(100%, 34vw, 170px); }
  .home-main .choice-name { gap: 6px; font-size: clamp(1rem, 3vw, 1.22rem); letter-spacing: .06em; white-space: nowrap; }
  .home-main .choice-name::before, .home-main .choice-name::after { width: 8px; flex: 0 0 8px; }
  .home-main .choice, .home-main .review-link { position: relative; z-index: 1; }
  .home-footer { width: calc(100% - 96px); padding-bottom: 7px; }
}
@media (max-width: 420px) {
  .home-topbar { width: calc(100% - 96px); }
  .home-main { width: calc(100% - 76px); }
  .home-footer { width: calc(100% - 100px); }
  .mobile-admin-entry { max-width: calc(100% - 110px); }
}

.home .admin-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: var(--paper);
  color: var(--accent-ink);
  box-shadow: 0 3px 12px var(--shadow);
}
.home .admin-entry:hover { background: var(--selected); color: var(--ink); }
.admin-entry svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; }
.home a.mobile-admin-entry { display: none; }
@keyframes lpr-coin-turn {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home .choice:not(.coin-activating):hover .coin img { animation: lpr-coin-turn .58s ease-in-out; }
}
@media (max-width: 700px) {
  .home .home-topbar .admin-entry { display: none; }
  .home a.mobile-admin-entry { display: inline-flex; }
}

