:root {
  --am-black: #040403;
  --am-black-soft: #0b0a08;
  --am-panel: rgba(10, 9, 7, .88);
  --am-gold: #b9833e;
  --am-gold-soft: #d9b06a;
  --am-gold-bright: #f2d28a;
  --am-gold-dark: #6f4720;
  --am-text: #efe3c8;
  --am-muted: #b9aa8e;
  --am-line: rgba(217, 176, 106, .36);
  --am-line-strong: rgba(242, 210, 138, .64);
  --am-red: #7d1717;
  --am-green: #174b2e;
  --am-blue: #173f68;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--am-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 176, 106, .08), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #080705 45%, #020202 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--am-gold-bright); text-decoration: none; }
a:hover, a:focus { color: #fff2c3; }

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 9999;
  padding: .75rem 1rem;
  background: var(--am-gold-bright);
  color: #050505;
}
.skip-link:focus { top: 1rem; }

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

.site-header {
  background: linear-gradient(180deg, rgba(3, 3, 3, .97), rgba(8, 7, 5, .88));
  border-bottom: 1px solid var(--am-line);
  box-shadow: 0 0 32px rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
}
.nav-frame { min-height: 72px; }
.brand-logo {
  width: 285px;
  max-height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(217,176,106,.18));
}
.navbar { padding: 0; }
.navbar-toggler { border-color: var(--am-line); }
.nav-link {
  position: relative;
  color: var(--am-muted) !important;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.9rem;
  width: 0;
  height: 1px;
  background: var(--am-gold-bright);
  transition: all .2s ease;
}
.nav-link:hover::after, .nav-link:focus::after, .nav-link.active::after {
  left: 20%;
  width: 60%;
}
.nav-link.active, .nav-link:hover, .nav-link:focus { color: var(--am-gold-bright) !important; }
.nav-social-item { display: flex; align-items: center; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}
.social-links__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .4rem .58rem;
  border: 1px solid var(--am-line);
  background: rgba(7, 7, 7, .55);
  color: var(--am-gold-soft);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.social-links__item:hover,
.social-links__item:focus {
  color: var(--am-gold-bright);
  border-color: var(--am-line-strong);
  background: rgba(185,131,62,.14);
  transform: translateY(-2px);
}
.social-links__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(85%) sepia(20%) saturate(455%) hue-rotate(351deg) brightness(92%) contrast(90%);
}
.social-links__label {
  color: inherit;
  font-size: .84rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.social-links--header .social-links__item {
  min-height: 36px;
  padding: .35rem .48rem;
}
.social-links--footer,
.social-links--community {
  gap: .45rem;
}
.footer-social-block { margin-top: .7rem; }
.footer-social-title {
  margin: 0 0 .45rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--am-gold-soft) !important;
}

.btn {
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
}
.btn-archmage {
  border: 1px solid var(--am-line-strong);
  background:
    linear-gradient(180deg, rgba(242,210,138,.95), rgba(185,131,62,.92) 45%, rgba(99,61,24,.95)),
    linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  color: #150d05;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: inset 0 0 0 1px rgba(60,35,10,.6), 0 0 22px rgba(185,131,62,.28);
}
.btn-archmage:hover, .btn-archmage:focus {
  color: #000;
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn-outline-archmage {
  border: 1px solid var(--am-line);
  background: rgba(0,0,0,.35);
  color: var(--am-gold-bright);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.btn-outline-archmage:hover, .btn-outline-archmage:focus {
  border-color: var(--am-gold-bright);
  color: var(--am-text);
  background: rgba(185,131,62,.12);
}

.hero-section {
  position: relative;
  min-height: 520px;
  padding-top: 90px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4,4,3,.98) 0%, rgba(4,4,3,.84) 32%, rgba(4,4,3,.26) 68%, rgba(4,4,3,.72) 100%),
    url('../img/sections/hero-design-art.jpg') right center / cover no-repeat;
  border-bottom: 1px solid var(--am-line);
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 28%, rgba(217,176,106,.18), transparent 22rem),
    linear-gradient(180deg, transparent 65%, rgba(0,0,0,.85));
  pointer-events: none;
}
.hero-container {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 3rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--am-gold-soft);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--am-line);
}
.hero-title {
  margin: 0;
  color: var(--am-gold-bright);
  font-size: clamp(3.6rem, 7.6vw, 6.2rem);
  line-height: .86;
  font-weight: 500;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 #000, 0 0 32px rgba(185,131,62,.36);
}
.title-rune {
  width: min(360px, 100%);
  height: 1px;
  margin: 1.1rem 0 1.2rem;
  background: linear-gradient(90deg, var(--am-line-strong), transparent);
  position: relative;
}
.title-rune::after {
  content: "✦";
  position: absolute;
  right: 36%;
  top: -.82rem;
  color: var(--am-gold-bright);
}
.hero-lead {
  max-width: 555px;
  color: var(--am-muted);
  font-size: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; }
.hero-art-column { display: none; }
.hero-art-card { border: 1px solid var(--am-line); box-shadow: 0 2rem 5rem rgba(0,0,0,.55); }
.hero-art { display: block; width: 100%; }

.section-panel {
  position: relative;
  padding: 1.7rem 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.section-heading h2 {
  margin: 0;
  color: var(--am-gold-bright);
  text-transform: uppercase;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  letter-spacing: .12em;
  font-weight: 500;
}
.compact-heading { margin-bottom: 1rem; }
.ornament {
  display: inline-block;
  width: min(30vw, 360px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--am-line-strong), transparent);
  position: relative;
}
.ornament::after {
  content: "✦";
  position: absolute;
  right: -8px;
  top: -12px;
  color: var(--am-gold-soft);
  font-size: .8rem;
}
.section-heading .ornament:last-child::after { left: -8px; right: auto; }

.feature-row { --bs-gutter-x: .75rem; --bs-gutter-y: .75rem; }
.feature-card {
  height: 100%;
  background: rgba(4,4,3,.84);
  border: 1px solid var(--am-line);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.9), 0 1rem 2.5rem rgba(0,0,0,.28);
  overflow: hidden;
}
.feature-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .86;
  filter: saturate(.85) contrast(1.04);
}
.feature-body { padding: 1rem 1rem 1.1rem; }
.feature-body h3 {
  color: var(--am-gold-bright);
  font-size: .98rem;
  line-height: 1.08;
  margin: 0 0 .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.feature-body p {
  color: var(--am-muted);
  margin: 0;
  font-size: .92rem;
}

/* Compatibilidad con markup actual de landing */
.schools-band { padding: .8rem 0 1.2rem; }
.school-icons-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
  align-items: start;
}
.school-icons-row a {
  text-align: center;
  text-decoration: none;
}
.school-icons-row img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(217,176,106,.28));
}
.school-icons-row span {
  display: block;
  margin-top: .45rem;
  color: var(--am-gold-soft);
  font-size: .96rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.world-panel,
.battle-panel,
.community-panel {
  border: 1px solid var(--am-line);
  background:
    linear-gradient(180deg, rgba(8,7,5,.88), rgba(4,4,3,.94)),
    url('../img/backgrounds/design-atmosphere.jpg') center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.88), 0 1.2rem 3rem rgba(0,0,0,.32);
  padding: 1.3rem;
}
.world-panel h2,
.battle-panel h2,
.community-panel h2 {
  color: var(--am-gold-bright);
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: .08em;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.world-panel p,
.battle-panel p,
.community-panel p { color: var(--am-muted); }
.panel-image {
  display: block;
  width: 100%;
  border: 1px solid rgba(217,176,106,.28);
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,.36);
}

.devices-section { padding: 1.35rem 0 2.3rem; }
.section-intro {
  max-width: 920px;
  margin: 0 auto 1.2rem;
  color: var(--am-muted);
}
.device-showcase {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  min-height: 220px;
}
.device {
  display: block;
  border: 1px solid rgba(217,176,106,.3);
  box-shadow: 0 1rem 2.3rem rgba(0,0,0,.36);
}
.device-desktop { width: min(100%, 900px); margin: 0 auto; }
.device-tablet {
  position: absolute;
  width: min(35%, 330px);
  right: 5%;
  bottom: -2%;
}
.device-phone {
  position: absolute;
  width: min(18%, 170px);
  left: 5%;
  bottom: -4%;
}

.community-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1rem 1.2rem;
  align-items: center;
}

.schools-section { padding-top: .8rem; }
.schools-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.school-item { text-align: center; padding: .35rem; }
.school-item img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(217,176,106,.28));
}
.school-item h3 {
  color: var(--am-gold-soft);
  margin: .4rem 0 .2rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.school-item p {
  color: var(--am-muted);
  margin: 0 auto;
  max-width: 135px;
  font-size: .86rem;
  line-height: 1.2;
}

.world-card,
.battle-card,
.community-card {
  border: 1px solid var(--am-line);
  background:
    linear-gradient(180deg, rgba(8,7,5,.88), rgba(4,4,3,.94)),
    url('../img/backgrounds/design-atmosphere.jpg') center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.88), 0 1.2rem 3rem rgba(0,0,0,.32);
  padding: 1.3rem;
}
.world-card h2,
.battle-card h2,
.community-card h2 {
  color: var(--am-gold-bright);
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: .08em;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.rune-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.rune-list li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: .85rem;
}
.rune-list li::before {
  content: "✥";
  position: absolute;
  left: 0;
  top: .05rem;
  color: var(--am-gold-bright);
}
.rune-list strong {
  display: block;
  color: var(--am-gold-soft);
  text-transform: uppercase;
  line-height: 1.1;
}
.rune-list span { color: var(--am-muted); font-size: .94rem; }
.map-frame {
  position: relative;
  margin: 0;
  border: 1px solid rgba(217,176,106,.3);
  overflow: hidden;
  background: #050505;
}
.map-frame img { display: block; width: 100%; min-height: 250px; object-fit: cover; }
.map-legend {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 180px;
  padding: .75rem;
  background: rgba(3,3,3,.78);
  border: 1px solid var(--am-line);
  color: var(--am-muted);
  font-size: .76rem;
}
.battle-card p,
.community-card p { color: var(--am-muted); }
.battle-icons, .community-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 1rem 0 1.25rem;
}
.battle-icons span, .community-links span {
  border-top: 1px solid var(--am-line);
  color: var(--am-gold-soft);
  padding-top: .55rem;
  text-transform: uppercase;
  font-size: .76rem;
  letter-spacing: .06em;
}
.battle-image, .community-image {
  display: block;
  width: 100%;
  border: 1px solid rgba(217,176,106,.28);
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,.36);
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--am-line);
  background: #050504;
}
.footer-grid { align-items: flex-start; }
.footer-logo { width: 245px; max-width: 100%; margin-bottom: .75rem; }
.site-footer h3 {
  color: var(--am-gold-soft);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .65rem;
}
.site-footer p, .site-footer small { color: var(--am-muted); }
.site-footer a {
  display: block;
  color: var(--am-muted);
  margin-bottom: .35rem;
  font-size: .9rem;
}
.site-footer a:hover, .site-footer a:focus { color: var(--am-gold-bright); }
.newsletter-form {
  display: flex;
  border: 1px solid var(--am-line);
  background: rgba(0,0,0,.42);
}
.newsletter-form input[type="email"] {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--am-text);
  padding: .75rem;
  outline: 0;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(239,227,200,.55); }
.newsletter-form button {
  width: 46px;
  border: 0;
  border-left: 1px solid var(--am-line);
  background: rgba(185,131,62,.3);
  color: var(--am-gold-bright);
  font-size: 1.4rem;
}
.form-message { min-height: 1.2rem; margin: .45rem 0 0; font-size: .84rem; }
.footer-cta {
  border: 1px solid var(--am-line);
  padding: 1rem;
  text-align: center;
  background: rgba(185,131,62,.08);
}
.footer-cta span {
  display: block;
  color: var(--am-gold-bright);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .8rem;
}

@media (min-width: 992px) {
  .hero-art-column { display: block; opacity: 0; pointer-events: none; }
  .text-lg-end { text-align: right !important; }
}

@media (max-width: 1199.98px) {
  .schools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .brand-logo { width: 230px; }
  .nav-frame { min-height: 66px; }
  .navbar-collapse {
    border-top: 1px solid var(--am-line);
    padding: .75rem 0 1rem;
    background: rgba(4,4,3,.96);
  }
  .nav-link::after { display: none; }
  .nav-social-item {
    margin-top: .4rem;
    margin-bottom: .5rem;
  }
  .social-links--header .social-links__item {
    min-height: 44px;
  }
  .hero-section {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(4,4,3,.82), rgba(4,4,3,.96)),
      url('../img/sections/hero-design-art.jpg') center top / cover no-repeat;
  }
  .hero-container { padding-top: 6rem; }
  .hero-title { font-size: clamp(3.1rem, 12vw, 5rem); }
  .schools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .school-item img { width: 92px; height: 92px; }
  .map-legend { position: static; width: 100%; border-width: 1px 0 0; }
  .school-icons-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .school-icons-row img { width: 92px; height: 92px; }
  .community-panel { grid-template-columns: 1fr; }
  .device-showcase { min-height: auto; display: grid; gap: .9rem; }
  .device-tablet, .device-phone { position: static; width: min(100%, 420px); margin: 0 auto; }
}

@media (max-width: 767.98px) {
  .section-panel { padding: 1.25rem 0; }
  .section-heading { gap: .65rem; }
  .ornament { width: 18vw; }
  .schools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .social-links__item { width: 100%; justify-content: center; }
  .world-card, .battle-card, .community-card { padding: 1rem; }
  .battle-icons, .community-links { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .brand-logo { width: 200px; }
  .hero-container { padding-top: 5.5rem; }
  .hero-title { letter-spacing: .015em; }
  .eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .schools-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .school-item img { width: 78px; height: 78px; }
  .school-item h3 { font-size: .86rem; }
  .feature-body { padding: .85rem; }
  .school-icons-row { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .school-icons-row img { width: 78px; height: 78px; }
  .school-icons-row span { font-size: .86rem; }
  .world-panel, .battle-panel, .community-panel { padding: 1rem; }
}

@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
}


/* Páginas internas: FAQS, Cómo se juega, Escuelas de Magia y Contacto */
.page-body {
  background:
    radial-gradient(circle at 15% 8%, rgba(185, 131, 62, .15), transparent 24rem),
    linear-gradient(180deg, #050504, #0a0806 45%, #030303);
}
.page-hero {
  min-height: 420px;
  padding-top: 118px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(4,4,3,.94), rgba(4,4,3,.75), rgba(4,4,3,.92)),
    url('../img/backgrounds/design-atmosphere.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--am-line);
}
.page-hero-content { max-width: 880px; padding: 4rem 0; }
.page-title {
  color: var(--am-gold-bright);
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: .055em;
  text-shadow: 0 2px 0 #000, 0 0 34px rgba(185,131,62,.34);
}
.page-lead { max-width: 760px; color: var(--am-muted); font-size: 1.12rem; }
.page-section { padding-top: 4rem; padding-bottom: 4rem; }
.alt-panel {
  background:
    linear-gradient(180deg, rgba(8,7,5,.58), rgba(8,7,5,.88)),
    url('../img/backgrounds/map-kingdoms.jpg') center/cover fixed no-repeat;
  border-top: 1px solid var(--am-line);
  border-bottom: 1px solid var(--am-line);
}
.info-card,
.manual-card,
.contact-card,
.archmage-form,
.archmage-accordion .accordion-item,
.school-detail {
  border: 1px solid var(--am-line);
  background: linear-gradient(180deg, rgba(15,12,8,.94), rgba(3,3,3,.9));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.88), 0 1rem 2.4rem rgba(0,0,0,.3);
}
.info-card,
.manual-card,
.contact-card,
.archmage-form { padding: 1.4rem; height: 100%; }
.info-card h3,
.manual-card h2,
.contact-card h2,
.page-section-title,
.school-detail h2 {
  color: var(--am-gold-bright);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.info-card p,
.manual-card p,
.contact-card p,
.school-detail p,
.school-detail li { color: var(--am-muted); }
.page-image {
  width: 100%;
  border: 1px solid var(--am-line);
  box-shadow: 0 1.4rem 3rem rgba(0,0,0,.45);
}
.two-column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem 1.2rem;
}
.archmage-accordion .accordion-item {
  margin-bottom: .75rem;
  color: var(--am-muted);
}
.archmage-accordion .accordion-button {
  background: rgba(5,5,4,.95);
  color: var(--am-gold-bright);
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: none;
}
.archmage-accordion .accordion-button:not(.collapsed) {
  background: rgba(185,131,62,.16);
  color: var(--am-gold-bright);
}
.archmage-accordion .accordion-body { color: var(--am-muted); }
.school-detail-list { display: grid; gap: 1rem; }
.school-detail {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem;
  align-items: start;
}
.school-detail img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(217,176,106,.18));
}
.school-detail ul { margin-bottom: 0; }
.red-school { box-shadow: inset 0 0 0 1px rgba(143,20,22,.45), 0 1rem 2.4rem rgba(0,0,0,.3); }
.green-school { box-shadow: inset 0 0 0 1px rgba(36,112,62,.45), 0 1rem 2.4rem rgba(0,0,0,.3); }
.blue-school { box-shadow: inset 0 0 0 1px rgba(31,105,158,.48), 0 1rem 2.4rem rgba(0,0,0,.3); }
.black-school { box-shadow: inset 0 0 0 1px rgba(90,70,42,.58), 0 1rem 2.4rem rgba(0,0,0,.3); }
.white-school { box-shadow: inset 0 0 0 1px rgba(245,237,218,.38), 0 1rem 2.4rem rgba(0,0,0,.3); }
.contact-data dt {
  color: var(--am-gold-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
}
.contact-data dd { color: var(--am-muted); margin-bottom: 1rem; }
.archmage-form .form-label {
  color: var(--am-gold-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
}
.archmage-form .form-control {
  border-radius: 0;
  border: 1px solid var(--am-line);
  background: rgba(0,0,0,.38);
  color: var(--am-text);
}
.archmage-form .form-control:focus {
  border-color: var(--am-gold-bright);
  box-shadow: 0 0 0 .2rem rgba(185,131,62,.15);
  background: rgba(0,0,0,.52);
  color: var(--am-text);
}
.form-help { color: var(--am-muted); font-size: .9rem; margin: 0; }
@media (max-width: 767.98px) {
  .page-hero { min-height: 360px; padding-top: 96px; }
  .page-hero-content { padding: 3rem 0; }
  .two-column-list { grid-template-columns: 1fr; }
  .school-detail { grid-template-columns: 1fr; text-align: center; }
  .school-detail img { margin: 0 auto; }
}


/* Actualización SEO/seguridad 2026: páginas públicas CI3 */
.release-badge {
  display: inline-block;
  margin: 1rem 0 0;
  padding: .45rem .8rem;
  border: 1px solid var(--am-line);
  background: rgba(185, 131, 62, .12);
  color: var(--am-gold-bright);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
  font-weight: 700;
}
.content-card, .contact-card, .school-detail-card, .archmage-form, .manual-note {
  height: 100%;
  padding: 1.5rem;
  background: rgba(4,4,3,.84);
  border: 1px solid var(--am-line);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.9), 0 1rem 2.5rem rgba(0,0,0,.28);
}
.content-card h2, .contact-card h2, .school-detail-card h2 { color: var(--am-gold-bright); }
.school-detail-card { display: flex; gap: 1.25rem; align-items: flex-start; }
.school-detail-icon { width: 96px; height: 96px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 0 18px rgba(217,176,106,.22)); }
.manual-note { color: var(--am-muted); }
.archmage-accordion .accordion-item { background: rgba(4,4,3,.86); border: 1px solid var(--am-line); color: var(--am-text); margin-bottom: .75rem; }
.archmage-accordion .accordion-button { background: rgba(185,131,62,.13); color: var(--am-gold-bright); font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.archmage-accordion .accordion-button:not(.collapsed) { background: rgba(185,131,62,.23); color: var(--am-gold-bright); box-shadow: none; }
.archmage-accordion .accordion-body { color: var(--am-muted); }
.form-control, .archmage-form textarea, .newsletter-form input {
  border-radius: 0;
  border: 1px solid var(--am-line);
  background: rgba(0,0,0,.55);
  color: var(--am-text);
}
.form-control:focus, .newsletter-form input:focus {
  border-color: var(--am-gold-bright);
  background: rgba(0,0,0,.72);
  color: var(--am-text);
  box-shadow: 0 0 0 .2rem rgba(185,131,62,.2);
}
.form-help, .form-message { color: var(--am-muted); font-size: .92rem; }
.contact-data dt { color: var(--am-gold-bright); margin-top: .75rem; }
.contact-data dd { color: var(--am-muted); margin-left: 0; }

@media (max-width: 575.98px) {
  .school-detail-card { flex-direction: column; }
  .school-detail-icon { width: 78px; height: 78px; }
  .release-badge { font-size: .72rem; }
}

/* Landings SEO de escuelas */
.school-hero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; overflow: hidden; }
.school-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.school-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(4,4,3,.92) 80%); }
.school-hero-content { position: relative; z-index: 2; padding-bottom: 2.5rem; }
.school-detail-card-link .btn { margin-top: .8rem; }
.lore-block {
  padding: 1.5rem;
  background: rgba(4,4,3,.84);
  border: 1px solid var(--am-line);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.9), 0 1rem 2.5rem rgba(0,0,0,.28);
}
.lore-block h2 { color: var(--am-gold-bright); margin-bottom: 1rem; }
.unit-card {
  background: rgba(4,4,3,.86);
  border: 1px solid var(--am-line);
  height: 100%;
}
.unit-card img { width: 100%; height: 220px; object-fit: cover; }
.unit-card-body { padding: 1rem; }
.unit-card-body h3 { color: var(--am-gold-bright); }
.unit-stats { padding-left: 1rem; color: var(--am-muted); margin: 0; }
.strategy-defense { border-color: rgba(59, 120, 77, .45); }
.strategy-attack { border-color: rgba(147, 64, 64, .45); }

.footer-telegram-link {
  display: inline-flex;
  margin-top: .75rem;
  color: var(--archmage-gold, #d7b56d);
  font-weight: 700;
  text-decoration: none;
}

.footer-telegram-link:hover,
.footer-telegram-link:focus {
  color: #fff3c4;
  text-decoration: underline;
}
