:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #171512;
  --muted: #675f55;
  --line: #e9e2d8;
  --accent: #7b3f98;
  --accent-strong: #5d2878;
  --teal: #1f7a74;
  --rose: #d8466b;
  --shadow: 0 18px 55px rgba(58, 40, 31, 0.12);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.icon {
  height: 1.15em;
  width: 1.15em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 50;
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  align-items: center;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233, 226, 216, 0.75);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 0;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 30;
}

.brand,
.site-nav {
  align-items: center;
  display: flex;
}

.brand {
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
  flex: 0 0 auto;
  object-fit: contain;
  box-shadow: 0 0 0 2px var(--accent);
}

.site-nav {
  color: var(--muted);
  gap: clamp(0.75rem, 2.4vw, 1.75rem);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  position: relative;
  font-weight: 500;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after,
.site-nav a.active::after {
  width: 100%;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-strong);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 800;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--accent-strong);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.78), rgba(23, 21, 18, 0.3) 52%, rgba(23, 21, 18, 0.05)),
    url("assets/paquito-hero.jpg") center / cover;
  color: #fff;
  display: flex;
  min-height: min(760px, calc(100vh - 64px));
  padding: clamp(4.5rem, 12vw, 8rem) clamp(1rem, 7vw, 6rem);
}

.hero-copy {
  max-width: 700px;
  animation: rise 700ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c6f0ea;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  margin: 0;
  max-width: 12ch;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 42rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 4vw, 2.75rem);
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-actions,
.contact-section {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 1.9rem;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  gap: 0.5rem;
  font-weight: 800;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 12px 28px rgba(216, 70, 107, 0.32);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.button-light {
  background: #fff;
  color: var(--accent-strong);
}

.scroll-cue {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 2px;
  animation: cue 1.6s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Sections */
.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2rem);
}

.section-heading {
  max-width: 760px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0.85rem 0 0;
}

.section-heading + *:not(.section-sub) {
  margin-top: 2.25rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-cue span {
    animation: none;
  }
}

/* Intro */
.intro-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(58, 40, 31, 0.06);
  padding: 1.6rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.intro-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-emoji {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.7rem;
}

.intro-grid p,
.gallery-top p,
.contact-section p,
.empty-state p {
  color: var(--muted);
  margin: 0;
}

/* Content / Instagram */
.content-section {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(123, 63, 152, 0.06), transparent 60%);
}

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

.content-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  min-height: 11rem;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--accent), var(--rose));
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.content-tag {
  align-self: flex-start;
  background: #f5ecf9;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.content-card h3 {
  margin: 0.3rem 0 0;
}

.content-card p {
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.content-link {
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.92rem;
}

/* No sobrescribir el tamaño del embed: Instagram (embed.js) fija ancho y
   altura juntos. Si forzamos el ancho, el iframe se estira y se ve aplastado.
   Solo colocamos los bloques; IG mantiene su relación de aspecto. */
.ig-feed {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: flex-start;
}

.ig-feed .instagram-media {
  margin: 0 !important;
}

.content-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1.5rem 0 0;
  font-style: italic;
  text-align: center;
}

.content-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

/* Datos clave */
.facts-band {
  background: linear-gradient(120deg, #5d2878, #7b3f98 65%, #9a55b8);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.fact strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.fact span {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
}

.facts-source {
  max-width: 1100px;
  margin: 1.6rem auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

/* Primeros auxilios */
.firstaid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.firstaid-card {
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(58, 40, 31, 0.06);
}

.firstaid-card.do {
  border-color: #bfe3cf;
  background: #f1faf4;
}

.firstaid-card.dont {
  border-color: #f1c6d2;
  background: #fdf2f5;
}

.firstaid-card h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.firstaid-card.do h3 {
  color: #1f7a4d;
}

.firstaid-card.dont h3 {
  color: #b3294b;
}

.firstaid-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.firstaid-card li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink);
}

.firstaid-card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}

.firstaid-card.do li::before {
  content: "✓";
  color: #1f7a4d;
}

.firstaid-card.dont li::before {
  content: "✕";
  color: #b3294b;
}

.firstaid-alert {
  margin: 1.4rem 0 0;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  background: #fff7e8;
  border: 1px solid #f0dcae;
  color: #6b4e16;
  font-weight: 500;
}

/* Sobre mí */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.about-text p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.1rem;
}

.about-quote {
  margin: 1.6rem 0 0;
  padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--accent);
  background: #f7f1fa;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-strong);
  font-style: italic;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* Blog */
.post-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(58, 40, 31, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.post-thumb {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  background: linear-gradient(120deg, #f5ecf9, #efe4f5);
  color: var(--accent);
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 1.3rem;
  display: grid;
  gap: 0.5rem;
}

.post-tag {
  justify-self: start;
  background: #f5ecf9;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.post-body p {
  color: var(--muted);
  margin: 0;
}

/* Noticias */
.news-list {
  display: grid;
  gap: 0.9rem;
}

.news-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
}

.news-item h3 {
  margin: 0 0 0.4rem;
}

.news-item p {
  color: var(--muted);
  margin: 0;
}

.news-item a {
  color: var(--teal);
  font-weight: 700;
}

/* Prensa */
.press-list {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.press-item {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.press-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.press-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.press-outlet {
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.press-type {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.type-read {
  background: #eef6f4;
  color: var(--teal);
}

.type-listen {
  background: #fdeef3;
  color: var(--rose);
}

.press-item strong {
  font-size: 1.02rem;
  line-height: 1.25;
}

.press-item em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.85rem;
}

/* Servicios */
.services-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 10px 28px rgba(58, 40, 31, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 0.2rem 0 0.5rem;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

/* Contacto */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button-dark {
  background: var(--ink);
  color: #fff;
  border: 0;
}

/* Resources */
.resource-band {
  background: #f1f8f6;
  max-width: none;
}

.resource-band > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.resource-list {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-list a {
  background: var(--surface);
  border: 1px solid #cfe3df;
  border-radius: var(--radius);
  display: grid;
  gap: 0.35rem;
  align-content: start;
  min-height: 8.5rem;
  padding: 1.3rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.resource-list a:hover,
.resource-list a:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 12px 30px rgba(31, 122, 116, 0.14);
  transform: translateY(-4px);
}

.resource-list span {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.resource-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

/* Follow band */
.follow-section {
  max-width: 1180px;
}

.follow-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(120deg, var(--accent-strong), var(--accent) 60%, #9a55b8);
  color: #fff;
  border-radius: 22px;
  padding: clamp(2rem, 5vw, 3.2rem);
  box-shadow: 0 24px 60px rgba(93, 40, 120, 0.32);
}

.follow-copy {
  max-width: 540px;
}

.follow-copy .eyebrow {
  color: #e9d4f4;
}

.follow-copy p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0.8rem 0 1.4rem;
}

.follow-art {
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
}

/* Gallery */
.gallery-top {
  align-items: end;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
}

.dropzone {
  align-items: center;
  background: #fff;
  border: 2px dashed #d9cbbd;
  border-radius: var(--radius);
  cursor: pointer;
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  margin-top: 2rem;
  min-height: 180px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dropzone:hover,
.dropzone:focus-visible,
.dropzone.dragover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  outline: none;
  transform: translateY(-1px);
}

.dropzone-icon {
  align-items: center;
  background: #f5ecf9;
  border-radius: 50%;
  color: var(--accent);
  display: inline-flex;
  font-size: 2rem;
  font-weight: 400;
  height: 3.5rem;
  justify-content: center;
  line-height: 1;
  width: 3.5rem;
}

.dropzone span:last-child,
.gallery-toolbar,
.image-meta,
.image-actions {
  color: var(--muted);
}

.gallery-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 1.25rem 0;
}

.gallery-toolbar p {
  margin: 0;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 800;
  padding: 0.35rem 0;
}

.text-button:disabled {
  color: #b6ada4;
  cursor: not-allowed;
}

.empty-state {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.image-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(58, 40, 31, 0.07);
  display: grid;
  overflow: hidden;
}

.image-card img {
  aspect-ratio: 4 / 3;
  background: #efe9e2;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
  cursor: zoom-in;
  transition: transform 220ms ease;
}

.image-card img:hover {
  transform: scale(1.03);
}

.image-body {
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem;
}

.image-title {
  background: #faf8f4;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-width: 0;
  padding: 0.55rem 0.65rem;
  width: 100%;
}

.image-meta,
.image-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: space-between;
}

.chip-button {
  background: #f5f0eb;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  min-height: 2.3rem;
  padding: 0.45rem 0.75rem;
  transition: border-color 140ms ease;
}

.chip-button:hover,
.chip-button:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.chip-button.danger {
  color: #9f2436;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 12, 18, 0.88);
  padding: 1.5rem;
  animation: fade 180ms ease both;
}

.lightbox[hidden] {
  display: none;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Contact */
.contact-section {
  border-top: 1px solid var(--line);
  justify-content: space-between;
}

.contact-section > div {
  max-width: 650px;
}

.contact-section .button-primary {
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(123, 63, 152, 0.3);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 2rem clamp(1rem, 4vw, 3rem);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto 1.2rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

/* Responsive */
@media (max-width: 900px) {
  .intro-grid,
  .content-grid,
  .resource-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem clamp(1rem, 4vw, 3rem) 1rem;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms ease, padding 240ms ease;
  }

  .site-nav.open {
    max-height: 360px;
  }

  .site-nav a {
    width: 100%;
    padding: 0.55rem 0;
  }

  .nav-cta {
    margin-top: 0.4rem;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(23, 21, 18, 0.82), rgba(23, 21, 18, 0.42)),
      url("assets/paquito-hero.jpg") center / cover;
    min-height: 680px;
  }

  .gallery-top {
    grid-template-columns: 1fr;
  }

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

  .follow-copy {
    margin: 0 auto;
  }

  .firstaid-grid {
    grid-template-columns: 1fr;
  }

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

  .about-photo {
    order: -1;
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .intro-grid,
  .content-grid,
  .resource-list,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-stats {
    gap: 1.4rem;
  }

  .button,
  .hero-actions .button,
  .contact-section .button {
    width: 100%;
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }
}
