:root {
  --cream: #fff7e8;
  --paper: #fffdf7;
  --sky: #91cdef;
  --sky-soft: #eaf7ff;
  --blue: #1e72ae;
  --blue-deep: #0c4d7d;
  --green: #89bd7a;
  --green-deep: #4d8c57;
  --yellow: #ffc95d;
  --orange: #ff9d55;
  --coral: #f27080;
  --purple: #8a70c5;
  --ink: #243445;
  --muted: #5d6c78;
  --line-blue: #9ccdea;
  --line-gold: #efbd70;
  --shadow: 0 18px 55px rgba(35, 72, 96, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main > [id] {
  scroll-margin-top: 6.8rem;
}

#familias,
#escolas {
  scroll-margin-top: 7.2rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(145, 205, 239, 0.32), transparent 26rem),
    radial-gradient(circle at 95% 20%, rgba(255, 201, 93, 0.22), transparent 24rem),
    linear-gradient(180deg, var(--cream), #fffaf0 48%, #f5fbef);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.6rem 4vw;
  background: rgba(255, 253, 247, 0.92);
  border-bottom: 1px solid rgba(156, 205, 234, 0.55);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 210px;
}

.nav-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
}

.nav-tabs a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  color: var(--blue-deep);
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.nav-tabs a:hover {
  background: var(--sky-soft);
}

.nav-tabs .nav-access {
  border: 1px solid rgba(239, 189, 112, 0.72);
  background: rgba(255, 247, 232, 0.86);
  color: var(--green-deep);
}

.nav-tabs a[aria-current="page"] {
  background: var(--sky-soft);
  box-shadow: inset 0 0 0 1px rgba(156, 205, 234, 0.72);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 91svh;
  display: flex;
  align-items: center;
  padding: 7rem 4vw;
  background-color: #fffaf0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 250, 239, 0.94) 0%, rgba(255, 250, 239, 0.78) 36%, rgba(255, 250, 239, 0.12) 68%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.16), rgba(255, 247, 232, 0.24));
  pointer-events: none;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
  padding: 2.1rem;
  border: 2px dashed rgba(156, 205, 234, 0.72);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero-logo {
  width: min(310px, 82%);
  margin: 0 0 1rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  margin-bottom: 0.45rem;
  font-size: 4.25rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.75rem;
}

h3 {
  margin-bottom: 0.35rem;
  color: var(--blue-deep);
  font-size: 1.18rem;
  line-height: 1.24;
}

.hero-subtitle {
  margin-bottom: 1rem;
  color: var(--coral);
  font-size: 1.28rem;
  font-weight: 900;
}

.hero-copy {
  max-width: 34rem;
  color: #344958;
  font-size: 1.16rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.22rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 14px 30px rgba(242, 112, 128, 0.24);
}

.button-primary:hover {
  transform: translateY(-1px);
}

.section {
  width: min(1160px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 6rem 0;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-heading p:last-child,
.split-content > p,
.contact-card p {
  color: var(--muted);
}

.about-grid,
.groups-grid,
.families-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-grid article,
.group-card,
.families-grid article {
  border: 1px solid rgba(239, 189, 112, 0.5);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
}

.about-grid article {
  min-height: 235px;
  padding: 1.45rem;
}

.soft-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue);
  background: var(--sky-soft);
  border: 2px dashed var(--line-blue);
  border-radius: 50%;
  font-weight: 900;
}

.about-grid p,
.group-card p,
.method-list p,
.families-grid p,
.place-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media img {
  border: 4px solid rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-media::after {
  content: "";
  position: absolute;
  inset: auto 8% -1rem 8%;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(77, 140, 87, 0.16);
  filter: blur(7px);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.method-list article {
  padding: 1rem;
  border: 1px dashed var(--line-blue);
  border-radius: 8px;
  background: var(--paper);
}

.groups-section {
  width: 100%;
  max-width: none;
  padding-inline: 4vw;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 201, 93, 0.18), transparent 20rem),
    radial-gradient(circle at 86% 8%, rgba(145, 205, 239, 0.28), transparent 24rem),
    linear-gradient(180deg, rgba(234, 247, 255, 0.72), rgba(255, 247, 232, 0.82));
  border-block: 1px solid rgba(156, 205, 234, 0.45);
}

.groups-section .section-heading,
.groups-grid {
  width: min(1160px, 100%);
  margin-inline: auto;
}

.group-card {
  min-height: 290px;
  padding: 1.5rem;
  border-top: 8px solid var(--sky);
  background: rgba(255, 253, 247, 0.94);
}

.group-card .age {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.group-card h3 {
  font-size: 1.45rem;
}

.tiny {
  border-top-color: var(--yellow);
}

.tiny .age {
  background: var(--orange);
}

.explorers {
  border-top-color: var(--green);
}

.explorers .age {
  background: var(--green-deep);
}

.brave {
  border-top-color: var(--purple);
}

.brave .age {
  background: var(--purple);
}

.universe-section {
  width: min(1240px, calc(100% - 8vw));
}

.map-shell {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(156, 205, 234, 0.72);
  border-radius: 8px;
  background: var(--sky-soft);
  box-shadow: var(--shadow);
}

.map-stage {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}

.map-stage::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 2;
  pointer-events: none;
  border: 2px dashed rgba(255, 253, 247, 0.75);
  border-radius: 8px;
}

.map-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.map-point {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  min-height: 2rem;
  padding: 0.28rem 0.62rem;
  border: 1px solid rgba(239, 189, 112, 0.86);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 253, 247, 0.8);
  box-shadow: 0 8px 20px rgba(20, 67, 92, 0.16);
  backdrop-filter: blur(6px);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  transform: translate(-50%, -50%);
}

.map-point::before {
  content: "";
  position: absolute;
  inset: -0.35rem;
  border: 1px dashed rgba(255, 253, 247, 0.82);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 180ms ease;
}

.map-point span {
  pointer-events: none;
}

.map-label-short {
  display: none;
}

.point-ark {
  left: 85%;
  top: 25%;
}

.point-library {
  left: 61%;
  top: 25%;
}

.point-house {
  left: 15%;
  top: 69%;
}

.point-field {
  left: 16%;
  top: 42%;
}

.point-chapel {
  left: 39%;
  top: 25%;
}

.point-garden {
  left: 74%;
  top: 78%;
}

.point-bridge {
  left: 73%;
  top: 58%;
}

.point-lake {
  left: 39%;
  top: 84%;
}

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

.families-grid article {
  overflow: hidden;
  background: rgba(255, 253, 247, 0.92);
}

.families-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.families-grid div {
  padding: 1.4rem;
}

.contact-section {
  padding: 5rem 4vw;
  color: var(--ink);
}

.contact-card {
  width: min(1020px, 100%);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.6rem;
  align-items: center;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid rgba(255, 253, 247, 0.5);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.12);
  backdrop-filter: blur(8px);
}

.contact-card img {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.contact-card h2,
.contact-card .eyebrow,
.contact-card p {
  color: #fff;
}

.contact-card p {
  max-width: 44rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.3rem 4vw;
  color: var(--blue-deep);
  background: var(--paper);
  border-top: 1px solid rgba(156, 205, 234, 0.5);
  font-size: 0.94rem;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  z-index: 60;
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid rgba(156, 205, 234, 0.72);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 12px 28px rgba(35, 72, 96, 0.17);
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.floating-whatsapp {
  left: max(1rem, env(safe-area-inset-left));
  gap: 0.45rem;
  padding: 0.6rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 900;
}

.floating-whatsapp svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: #4d8c57;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.back-to-top {
  right: max(1rem, env(safe-area-inset-right));
  width: 3rem;
  height: 3rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.6rem);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 1.25rem;
  font-weight: 900;
}

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

@media (max-width: 1080px) {
  main > [id] {
    scroll-margin-top: 8.2rem;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 190px;
  }

  .nav-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .split-section,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .groups-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    text-align: center;
  }

  .contact-card img {
    width: 140px;
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding: 4rem 1rem;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 250, 239, 0.9) 0%, rgba(255, 250, 239, 0.78) 48%, rgba(255, 250, 239, 0.22) 100%),
      linear-gradient(90deg, rgba(255, 250, 239, 0.68), rgba(255, 250, 239, 0.04));
  }

  .hero-art {
    object-position: 62% center;
  }

  .hero-card {
    padding: 1.35rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    width: min(100% - 2rem, 1160px);
    padding: 4.2rem 0;
  }

  .groups-section {
    width: 100%;
    padding-inline: 1rem;
  }

  .method-list,
  .families-grid {
    grid-template-columns: 1fr;
  }

  .universe-section {
    width: min(100% - 2rem, 1240px);
  }

  .map-point {
    min-width: 3.4rem;
    min-height: 2rem;
    padding: 0.24rem 0.42rem;
    font-size: 0.66rem;
  }

  .map-label-full {
    display: none;
  }

  .map-label-short {
    display: inline;
  }

  .point-ark {
    left: 83%;
    top: 24%;
  }

  .point-library {
    left: 61%;
    top: 24%;
  }

  .point-house {
    left: 15%;
    top: 69%;
  }

  .point-field {
    left: 17%;
    top: 42%;
  }

  .point-chapel {
    left: 39%;
    top: 25%;
  }

  .point-garden {
    left: 74%;
    top: 78%;
  }

  .point-bridge {
    left: 73%;
    top: 58%;
  }

  .point-lake {
    left: 39%;
    top: 84%;
  }

  .site-footer {
    display: grid;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 160px;
  }

  .nav-tabs a {
    font-size: 0.88rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
  }

  .map-stage::before {
    inset: 0.55rem;
  }

  .floating-whatsapp {
    padding: 0.58rem 0.72rem;
  }

  .floating-whatsapp span {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
  }
}

.map-instruction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.35rem auto 0;
  padding: 0.5rem 0.85rem;
  border: 1px dashed rgba(156, 205, 234, 0.85);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(234, 247, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 900;
}

.universe-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.7rem;
  color: var(--blue-deep);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.universe-link::after {
  content: "→";
  margin-left: 0.4rem;
  color: var(--coral);
}

.universe-link:hover {
  color: var(--green-deep);
}

.universe-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  gap: 1.1rem;
  align-items: stretch;
}

.map-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: visible;
  padding: 0.65rem;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.82), transparent 14rem),
    linear-gradient(180deg, rgba(234, 247, 255, 0.94), rgba(255, 253, 247, 0.9));
}

.map-stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: visible;
  line-height: 0;
}

.map-stage::before {
  inset: 0.72rem;
  border-color: rgba(255, 253, 247, 0.78);
}

.map-image {
  width: auto;
  max-width: 100%;
  max-height: min(66vh, 720px);
  height: auto;
  border-radius: 6px;
  object-fit: contain;
}

.map-light,
.map-shimmer,
.drift-leaf {
  position: absolute;
  pointer-events: none;
}

.map-light {
  inset: 0;
  z-index: 3;
  border-radius: 6px;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 253, 247, 0.16) 43%, transparent 62%);
  opacity: 0.72;
  transform: translateX(-70%);
  animation: softLightSweep 14s ease-in-out infinite;
}

.map-shimmer {
  z-index: 4;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 253, 247, 0.38), transparent);
  filter: blur(0.5px);
  mix-blend-mode: screen;
  opacity: 0.26;
  animation: waterShimmer 5.6s ease-in-out infinite;
}

.shimmer-river {
  left: 32%;
  top: 73%;
  width: 26%;
  height: 13%;
  transform: rotate(-8deg);
}

.shimmer-waterfall {
  left: 82%;
  top: 41%;
  width: 9%;
  height: 18%;
  transform: rotate(18deg);
  animation-delay: -1.8s;
}

.drift-leaf {
  z-index: 4;
  width: 0.7rem;
  height: 0.42rem;
  border-radius: 999px 0 999px 0;
  background: rgba(137, 189, 122, 0.72);
  box-shadow: 0 0 0 1px rgba(77, 140, 87, 0.12);
  opacity: 0.55;
  animation: leafDrift 18s linear infinite;
}

.leaf-one {
  left: 10%;
  top: 18%;
}

.leaf-two {
  left: 72%;
  top: 13%;
  animation-delay: -8s;
  animation-duration: 22s;
}

.map-point {
  z-index: 6;
  width: 10%;
  height: 7.5%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--blue-deep);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translate(-50%, -50%);
  transition: transform 260ms ease-out, filter 260ms ease-out;
  will-change: transform, filter;
}

.map-point::before {
  content: none;
}

.map-halo {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 253, 247, 0.28), rgba(255, 247, 232, 0.1) 54%, transparent 76%);
  opacity: 0.08;
  transform: scale(0.64);
  transition: opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.map-label-full,
.map-label-short {
  position: absolute;
  left: 50%;
  bottom: -0.38rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 9.8rem;
  min-height: 1.7rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(239, 189, 112, 0.78);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 253, 247, 0.84);
  box-shadow: 0 8px 18px rgba(35, 72, 96, 0.12);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 50%);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.map-label-short {
  display: none;
}

.point-ark {
  left: 86%;
  top: 24%;
  width: 12%;
  height: 10%;
}

.point-library {
  left: 61.5%;
  top: 25%;
  width: 13%;
  height: 11%;
}

.point-house {
  left: 15%;
  top: 69%;
  width: 12.5%;
  height: 10%;
}

.point-field {
  left: 16%;
  top: 42%;
  width: 13%;
  height: 10%;
}

.point-chapel {
  left: 39%;
  top: 25%;
  width: 12%;
  height: 10%;
}

.point-garden {
  left: 75%;
  top: 78%;
  width: 12.5%;
  height: 10%;
}

.point-bridge {
  left: 73%;
  top: 58%;
  width: 12%;
  height: 8%;
}

.point-lake {
  left: 39%;
  top: 84%;
  width: 14%;
  height: 8%;
}

.map-point:is(:hover, :focus-visible) .map-halo,
.map-shell[data-active="ark"] .point-ark .map-halo,
.map-shell[data-active="library"] .point-library .map-halo,
.map-shell[data-active="house"] .point-house .map-halo,
.map-shell[data-active="field"] .point-field .map-halo,
.map-shell[data-active="chapel"] .point-chapel .map-halo,
.map-shell[data-active="garden"] .point-garden .map-halo,
.map-shell[data-active="bridge"] .point-bridge .map-halo,
.map-shell[data-active="lake"] .point-lake .map-halo {
  opacity: 1;
  transform: scale(1.03);
  box-shadow:
    0 0 0 0.28rem rgba(255, 253, 247, 0.32),
    0 0 1.4rem rgba(255, 201, 93, 0.34);
  animation: softPulse 2.8s ease-in-out infinite;
}

.map-point:focus-visible {
  outline: 2px dashed rgba(156, 205, 234, 0.95);
  outline-offset: 4px;
}

.map-point:is(:hover, :focus-visible),
.map-shell[data-active="ark"] .point-ark,
.map-shell[data-active="library"] .point-library,
.map-shell[data-active="house"] .point-house,
.map-shell[data-active="field"] .point-field,
.map-shell[data-active="chapel"] .point-chapel,
.map-shell[data-active="garden"] .point-garden,
.map-shell[data-active="bridge"] .point-bridge,
.map-shell[data-active="lake"] .point-lake {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%) scale(1.03);
  filter:
    drop-shadow(0 0 6px rgba(244, 190, 85, 0.45))
    drop-shadow(0 0 14px rgba(255, 232, 170, 0.35));
}

.map-point:is(:hover, :focus-visible) .map-label-full,
.map-point:is(:hover, :focus-visible) .map-label-short,
.map-shell[data-active="ark"] .point-ark .map-label-full,
.map-shell[data-active="ark"] .point-ark .map-label-short,
.map-shell[data-active="library"] .point-library .map-label-full,
.map-shell[data-active="library"] .point-library .map-label-short,
.map-shell[data-active="house"] .point-house .map-label-full,
.map-shell[data-active="house"] .point-house .map-label-short,
.map-shell[data-active="field"] .point-field .map-label-full,
.map-shell[data-active="field"] .point-field .map-label-short,
.map-shell[data-active="chapel"] .point-chapel .map-label-full,
.map-shell[data-active="chapel"] .point-chapel .map-label-short,
.map-shell[data-active="garden"] .point-garden .map-label-full,
.map-shell[data-active="garden"] .point-garden .map-label-short,
.map-shell[data-active="bridge"] .point-bridge .map-label-full,
.map-shell[data-active="bridge"] .point-bridge .map-label-short,
.map-shell[data-active="lake"] .point-lake .map-label-full,
.map-shell[data-active="lake"] .point-lake .map-label-short {
  background: rgba(255, 247, 232, 0.98);
  opacity: 1;
  transform: translate(-50%, 42%);
}

.place-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: clamp(1.35rem, 2.2vw, 2rem);
  border: 1px solid rgba(239, 189, 112, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(255, 247, 232, 0.9));
  box-shadow: var(--shadow);
}

.place-panel::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px dashed rgba(156, 205, 234, 0.6);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 247, 255, 0.88), transparent 70%);
}

.panel-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-keyword {
  align-self: flex-start;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.66rem;
  border: 1px dashed rgba(239, 189, 112, 0.7);
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(255, 253, 247, 0.74);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
}

.place-panel h3 {
  margin-bottom: 0.65rem;
  padding-right: 2.4rem;
  font-size: clamp(1.58rem, 2.2vw, 2.08rem);
}

.panel-lead {
  margin-bottom: 1rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  font-weight: 800;
  line-height: 1.48;
}

.panel-finds {
  margin-top: auto;
  padding: 0.95rem;
  border: 1px dashed rgba(156, 205, 234, 0.7);
  border-radius: 8px;
  background: rgba(234, 247, 255, 0.58);
}

.panel-finds p {
  margin-bottom: 0.45rem;
  color: var(--blue-deep);
  font-size: 0.88rem;
  font-weight: 900;
}

.panel-finds ul {
  display: grid;
  gap: 0.26rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: clamp(0.94rem, 1vw, 1rem);
  line-height: 1.42;
}

.panel-value {
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1vw, 0.98rem);
  line-height: 1.5;
}

.panel-value strong {
  color: var(--green-deep);
}

.place-panel[data-length="long"] .panel-lead,
.place-panel[data-length="long"] .panel-finds ul,
.place-panel[data-length="long"] .panel-value {
  font-size: 0.94rem;
}

.contact-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 7vw, 6.2rem) 4vw clamp(9rem, 17vw, 13rem);
  color: var(--ink);
  background-color: #fffaf0;
  background-image:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96) 0%, rgba(255, 253, 247, 0.9) 48%, rgba(255, 247, 232, 0.54) 74%, rgba(255, 247, 232, 0.18) 100%),
    url("assets/images/footer-valley-frame.png");
  background-position: center, bottom center;
  background-repeat: no-repeat;
  background-size: auto, max(1180px, 100%) auto;
}

.contact-content {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.contact-card {
  width: min(940px, 100%);
  grid-template-columns: 128px 1fr;
  margin-bottom: 1rem;
  border: 1px solid rgba(156, 205, 234, 0.64);
  background: rgba(255, 253, 247, 0.88);
  color: var(--ink);
}

.contact-card img {
  background: #fff;
  box-shadow: 0 16px 34px rgba(35, 72, 96, 0.16);
}

.contact-card h2,
.contact-card .eyebrow {
  color: var(--blue-deep);
}

.contact-card p {
  color: var(--muted);
}

.footer-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.footer-info-grid article {
  min-height: 156px;
  padding: 1rem;
  border: 1px solid rgba(239, 189, 112, 0.46);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 12px 28px rgba(35, 72, 96, 0.09);
  backdrop-filter: blur(5px);
}

.footer-info-grid h3 {
  font-size: 1rem;
}

.footer-info-grid p {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.footer-motto {
  color: var(--blue-deep);
  font-weight: 900;
}

.footer-more {
  margin-top: 0.9rem;
  border: 1px solid rgba(156, 205, 234, 0.58);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
  box-shadow: 0 12px 28px rgba(35, 72, 96, 0.08);
  backdrop-filter: blur(5px);
}

.footer-more summary {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  color: var(--blue-deep);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.footer-more summary::-webkit-details-marker {
  display: none;
}

.footer-more summary::after {
  content: "+";
  width: 1.45rem;
  height: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--coral);
  background: rgba(255, 247, 232, 0.95);
}

.footer-more[open] summary::after {
  content: "−";
}

.footer-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  padding: 0 1rem 1rem;
}

.footer-more-grid article {
  padding: 0.85rem;
  border-top: 1px dashed rgba(239, 189, 112, 0.42);
}

.footer-more-grid h3 {
  margin-bottom: 0.65rem;
  font-size: 0.98rem;
}

.footer-more-grid a,
.footer-more-grid p {
  display: block;
  margin: 0 0 0.28rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
  text-decoration: none;
}

.placeholder-main {
  min-height: 100svh;
  padding: 4.5rem 4vw 2rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.92), rgba(255, 253, 247, 0.96)),
    url("assets/images/hero-entrada-little-blessings.png");
  background-position: center, center top;
  background-repeat: no-repeat;
  background-size: auto, cover;
}

.placeholder-hero {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.placeholder-card {
  width: min(760px, 100%);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 2px dashed rgba(156, 205, 234, 0.72);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.placeholder-card h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.placeholder-item {
  padding: 1rem;
  border: 1px solid rgba(239, 189, 112, 0.5);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
}

.placeholder-item h2,
.placeholder-item h3 {
  margin-bottom: 0.3rem;
  font-size: 1.08rem;
}

.placeholder-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(255, 247, 232, 0.95);
  font-size: 0.82rem;
  font-weight: 900;
}

.placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.placeholder-footer {
  margin-top: 1rem;
}

.footer-more-grid a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18rem;
}

.site-footer {
  position: relative;
  z-index: 3;
  width: min(1040px, calc(100% - 8vw));
  margin: -5.2rem auto 1rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(156, 205, 234, 0.62);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.76);
  box-shadow: 0 12px 28px rgba(35, 72, 96, 0.1);
  backdrop-filter: blur(8px);
}

@keyframes softLightSweep {
  0%,
  45% {
    transform: translateX(-75%);
  }

  75%,
  100% {
    transform: translateX(70%);
  }
}

@keyframes waterShimmer {
  0%,
  100% {
    opacity: 0.14;
    transform: translateX(-10%) scaleX(0.92);
  }

  50% {
    opacity: 0.3;
    transform: translateX(8%) scaleX(1.04);
  }
}

@keyframes softPulse {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.08) brightness(1.04);
  }
}

@keyframes leafDrift {
  0% {
    transform: translate3d(-1.2rem, 0, 0) rotate(0deg);
    opacity: 0;
  }

  12%,
  78% {
    opacity: 0.52;
  }

  100% {
    transform: translate3d(14rem, 3.5rem, 0) rotate(32deg);
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  .universe-stage {
    grid-template-columns: 1fr;
  }

  .place-panel {
    min-height: 210px;
  }

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

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

@media (max-width: 820px) {
  .hero {
    padding-top: 3.5rem;
  }

  .universe-section {
    width: min(100% - 2rem, 1240px);
  }

  .map-shell {
    padding: 0.45rem;
  }

  .map-stage::before {
    inset: 0.45rem;
  }

  .map-point {
    width: 12%;
    height: 8%;
  }

  .map-label-full {
    display: none;
  }

  .map-label-short {
    display: inline-flex;
    min-height: 1.45rem;
    padding: 0.2rem 0.42rem;
    font-size: 0.58rem;
  }

  .place-panel {
    min-height: 0;
    padding: 1rem;
  }

  .place-panel h3 {
    font-size: 1.3rem;
  }

  .contact-section {
    min-height: 88vh;
    padding: 4rem 1rem 9rem;
    background-size: auto, 150% auto;
  }

  .contact-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-more-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    width: min(100% - 2rem, 1040px);
    margin-top: -4rem;
    border-radius: 8px;
  }
}

@media (max-width: 520px) {
  .map-instruction {
    border-radius: 8px;
  }

  .map-label-short {
    font-size: 0.54rem;
  }

  .contact-section {
    padding-bottom: 8rem;
    background-size: auto, 185% auto;
  }
}

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

  .button-primary:hover,
  .back-to-top {
    transform: none;
    transition: none;
  }

  .map-halo,
  .map-label-full,
  .map-label-short {
    transition: none;
  }

  .map-light,
  .map-shimmer,
  .drift-leaf,
  .map-halo {
    animation: none !important;
  }
}
