/* =========================================================
   Eliana Restrepo — Sanación Cuántica y Energética
   Hoja de estilos principal
   ========================================================= */

:root {
  /* Paleta (extraída del sitio original) */
  --color-bg: #eaf4f6;
  --color-bg-soft: #f6fbfc;
  --color-white: #ffffff;
  --color-navy: #042730;
  --color-navy-soft: #335763;
  --color-teal: #0a7f96;
  --color-teal-dark: #086a7d;
  --color-teal-deep: #0c5866;
  --color-purple: #6731a8;
  --color-purple-dark: #54258c;
  --color-lavender: #d9d3ec;
  --color-lavender-soft: #ece8f7;
  --color-line: #d7e6e9;

  /* Tipografía */
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Forma */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-card: 0 18px 40px -22px rgba(4, 39, 48, 0.25);
  --shadow-soft: 0 10px 30px -18px rgba(4, 39, 48, 0.18);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-navy-soft);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

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

:focus-visible {
  outline: 3px solid var(--color-purple);
  outline-offset: 3px;
}

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-purple);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.eyebrow svg { width: 16px; height: 16px; flex-shrink: 0; }
.eyebrow.is-light {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-teal);
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(10,127,150,0.65);
}
.btn-primary:hover { background: var(--color-teal-dark); }
.btn-secondary {
  background: var(--color-purple);
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(103,49,168,0.55);
}
.btn-secondary:hover { background: var(--color-purple-dark); }
.btn-ghost {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-line);
}
.btn-ghost:hover { border-color: var(--color-teal); color: var(--color-teal); }
.btn-on-dark {
  background: #fff;
  color: var(--color-teal-deep);
}
.btn-on-dark:hover { background: #eaf6f8; }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(234, 244, 246, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(155deg, #36c0b0 0%, #5a83b9 50%, #6d4690 100%);
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-teal);
  border-color: var(--color-teal);
}
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--color-navy); }

@media (max-width: 1100px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-line);
    padding: 18px 28px 26px;
    gap: 16px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-primary span { display: inline; }
}

@media (max-width: 480px) {
  .nav { padding: 14px 0; }
  .brand { font-size: 1.02rem; white-space: nowrap; }
  .brand-mark { width: 28px; height: 28px; }
  .nav-actions { gap: 10px; }
  .nav-actions .btn-primary { padding: 10px 14px; font-size: 0.82rem; }
  .nav-toggle { padding: 6px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); }
.hero-lede { font-size: 1.08rem; max-width: 50ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.hero-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 40px 30px;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #33c2af 0%, #4f8bb6 45%, #6c4796 100%);
  color: #fff;
}
.hero-visual-icon { width: 150px; flex-shrink: 0; }
.hero-visual-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.4;
  margin-left: 14px;
}
.hero-visual-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { flex-direction: column; text-align: center; }
  .hero-visual-text { margin: 18px 0 0; }
}

/* ---------- Sección de cita ---------- */
.quote-section { padding: 60px 0; }
.quote-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--color-navy);
  margin: 0 0 14px;
}
.quote-block cite {
  font-style: normal;
  font-weight: 700;
  color: var(--color-teal);
}
.quote-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------- Secciones genéricas ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--color-bg-soft); }
.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--color-navy-soft); font-size: 1.02rem; }

/* ---------- Terapias (grid de tarjetas con icono) ---------- */
.therapy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.therapy-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.therapy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.therapy-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-lavender-soft);
  color: var(--color-purple);
  margin-bottom: 18px;
}
.therapy-icon svg { width: 26px; height: 26px; }
.therapy-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.therapy-card p { font-size: 0.94rem; margin: 0; color: var(--color-navy-soft); }

@media (max-width: 900px) {
  .therapy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .therapy-grid { grid-template-columns: 1fr; }
}

/* ---------- Animales ---------- */
.animals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.animals-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.animals-photo img { width: 100%; height: 100%; object-fit: cover; }
.animals-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.animals-list li { display: flex; gap: 14px; align-items: flex-start; }
.bullet-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-lavender);
  color: var(--color-purple);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.bullet-dot svg { width: 12px; height: 12px; }

@media (max-width: 900px) {
  .animals-grid { grid-template-columns: 1fr; }
  .animals-photo { order: -1; }
}

/* ---------- Banda modalidad (teal) ---------- */
.modality-band {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}
.modality-band .icon-wifi { width: 46px; height: 46px; margin: 0 auto 18px; }
.modality-band h2 { color: #fff; }
.modality-band p { color: rgba(255,255,255,0.92); max-width: 620px; margin: 0 auto 26px; }

/* ---------- Testimonios ---------- */
.testimonials-section { background: var(--color-lavender-soft); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.stars { color: var(--color-teal); display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; }
.testimonial-card blockquote {
  font-style: italic;
  margin: 0 0 18px;
  color: var(--color-navy-soft);
}
.testimonial-author { font-family: var(--font-display); font-weight: 700; color: var(--color-navy); font-size: 0.95rem; }
.testimonial-tag { font-size: 0.85rem; color: var(--color-teal); font-weight: 600; }

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- Formulario de contacto ---------- */
.contact-section { padding: 70px 0; }
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-navy);
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.97rem;
  background: var(--color-bg-soft);
  resize: vertical;
  transition: border-color .15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-teal);
}
.form-note { font-size: 0.85rem; color: var(--color-navy-soft); margin-top: 10px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-deep) 100%);
  color: #fff;
  padding: 52px 0 30px;
  text-align: center;
}
.site-footer h2 { color: #fff; font-size: 1.4rem; }
.footer-tagline { color: rgba(255,255,255,0.88); margin-bottom: 18px; }
.footer-contact {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-weight: 600;
  margin-bottom: 26px;
}
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 22px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
}
.footer-admin-link { opacity: 0.55; }
.footer-admin-link:hover { opacity: 1; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.4);
  z-index: 60;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; color: #fff; }

/* ---------- Página Sobre Mí ---------- */
.about-hero {
  padding: 60px 0 10px;
  text-align: center;
}
.about-hero .eyebrow { background: var(--color-lavender); color: var(--color-purple-dark); }
.about-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.about-hero-lede { max-width: 680px; margin: 0 auto; font-size: 1.08rem; }

.about-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #2fb6a6 0%, #4f7fb3 45%, #6c4796 100%);
  color: #fff;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 36px 0 70px;
  box-shadow: var(--shadow-card);
}
.about-banner-spiral { position: absolute; inset: 0; opacity: 0.16; pointer-events: none; }
.about-banner h2 { color: #fff; font-size: 1.7rem; }
.about-banner p { color: rgba(255,255,255,0.92); }
.about-banner-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.about-banner-photo img {
  width: 168px; height: 168px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.65);
}
.about-banner-photo blockquote {
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
.about-banner-photo cite { display: block; font-style: normal; font-weight: 700; margin-top: 6px; font-size: 0.85rem; }

@media (max-width: 860px) {
  .about-banner { grid-template-columns: 1fr; text-align: center; padding: 36px 26px; }
}

.about-body { max-width: 760px; margin: 0 auto 60px; }
.about-body p { font-size: 1.04rem; }

.about-subsection {
  max-width: 760px;
  margin: 0 auto 44px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 36px;
  box-shadow: var(--shadow-soft);
}
.about-subsection h3 { color: var(--color-teal-deep); }

.about-cta {
  text-align: center;
  background: var(--color-lavender-soft);
  border-radius: var(--radius-lg);
  padding: 56px 30px;
  margin: 70px 0 0;
}
.about-cta h2 { max-width: 560px; margin: 0 auto 10px; }
.about-cta p { max-width: 520px; margin: 0 auto 26px; }

/* ---------- Página Blog (listado) ---------- */
.blog-hero {
  background: var(--color-lavender);
  padding: 70px 0;
  text-align: center;
  margin-bottom: 56px;
}
.blog-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); }
.blog-hero p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; color: var(--color-navy-soft); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.blog-card-media {
  position: relative;
  aspect-ratio: 16/10.5;
  overflow: hidden;
  background: linear-gradient(150deg, #2fb6a6, #5a7fb8 55%, #6c4796);
}
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.cover-art {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.cover-art svg { width: 34%; height: 34%; color: rgba(255,255,255,0.92); }
.blog-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-date {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.84rem; color: var(--color-teal);
  font-weight: 600; margin-bottom: 10px;
}
.blog-date svg { width: 15px; height: 15px; }
.blog-card-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.blog-card-body p { font-size: 0.93rem; color: var(--color-navy-soft); flex: 1; }
.blog-readmore {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.92rem; color: var(--color-navy);
  margin-top: 14px;
}
.blog-readmore svg { width: 16px; height: 16px; transition: transform .15s ease; }
.blog-card:hover .blog-readmore svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-navy-soft);
}

/* ---------- Página de artículo individual ---------- */
.post-hero { padding: 50px 0 0; }
.post-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem; color: var(--color-teal);
  margin-bottom: 24px;
}
.post-back svg { width: 16px; height: 16px; }
.post-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.post-title { font-size: clamp(2rem, 4.5vw, 2.7rem); max-width: 850px; }
.post-subtitle { font-size: 1.12rem; color: var(--color-navy-soft); max-width: 760px; }
.post-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 34px 0 44px;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16/8;
  background: linear-gradient(150deg, #2fb6a6, #5a7fb8 55%, #6c4796);
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body {
  max-width: 740px;
  margin: 0 auto 60px;
  font-size: 1.06rem;
}
.post-body h2 { margin-top: 1.4em; font-size: 1.5rem; }
.post-body h3 { margin-top: 1.2em; font-size: 1.2rem; }
.post-body blockquote {
  border-left: 4px solid var(--color-purple);
  padding-left: 20px;
  font-style: italic;
  color: var(--color-navy);
  margin: 1.6em 0;
}
.post-body ul, .post-body ol { margin: 1em 0 1em 1.4em; }
.post-body img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.post-body a { color: var(--color-teal); text-decoration: underline; }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Galería ---------- */
.gallery-grid {
  display: grid;
  gap: 18px;
}
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.gallery-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-tile.neuro { aspect-ratio: 1 / 1; }
.gallery-tile.paisaje { aspect-ratio: 4 / 3; }
.gallery-tile.has-image { cursor: pointer; }
.gallery-tile.has-image:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 12px;
  background: linear-gradient(150deg, #2fb6a6, #5a7fb8 55%, #6c4796);
  color: #fff;
}
.gallery-placeholder svg { width: 28px; height: 28px; opacity: 0.85; }
.gallery-placeholder span { font-size: 0.76rem; font-weight: 700; opacity: 0.92; }
.gallery-placeholder small { font-size: 0.68rem; opacity: 0.75; }

@media (max-width: 900px) {
  .gallery-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid.cols-4,
  .gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .gallery-grid.cols-4,
  .gallery-grid.cols-3 { grid-template-columns: 1fr; }
}

.gallery-section + .gallery-section { margin-top: 20px; }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(4, 39, 48, 0.88);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  z-index: 200;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-content { position: relative; max-width: 90vw; }
.lightbox-content img {
  display: block;
  max-width: 90vw; max-height: 78vh;
  border-radius: 14px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.lightbox-caption {
  color: #fff; text-align: center;
  margin-top: 16px; font-weight: 600; font-size: 0.95rem;
}
.lightbox-btn {
  position: absolute;
  background: rgba(255,255,255,0.14);
  border: none; color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.28); }
.lightbox-btn svg { width: 20px; height: 20px; }
.lightbox-close { top: -56px; right: 0; }
.lightbox-prev { top: 50%; left: -60px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: -60px; transform: translateY(-50%); }

@media (max-width: 760px) {
  .lightbox-overlay { padding: 20px; }
  .lightbox-close { top: -48px; right: 0; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
