:root {
  /* Fondos claros, tono papel (acorde al hero cálido) */
  --bg: #fbf8f4;
  --bg-alt: #f1ebe4;
  --bg-accent: #e2d6c7;

  /* Texto */
  --text: #1f1a17;          /* texto principal */
  --text-main: #1f1a17;     /* alias para secciones nuevas */
  --muted: #6b625b;         /* texto secundario */
  --text-muted: #6b625b;    /* alias para secciones nuevas */

  /* Acentos cálidos, tomados del hero (terracota / crema) */
  --accent: #b5563b;        /* principal */
  --accent-soft: #d8926f;   /* claro */
  --accent-dark: #883f2a;   /* profundo */

  /* Bordes, tarjetas y sombras */
  --border-soft: rgba(0,0,0,0.06);
  --card-bg: #ffffff;
  --radius-l: 32px;
  --radius-m: 20px;
  --shadow-soft: 0 20px 60px rgba(0,0,0,0.08);

  /* Layout */
  --shell-width: 1100px;
  --transition-fast: 0.18s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.shell {
  width: 100%;
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 244, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  background: #f5eee7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 14px;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a.active {
  color: var(--text);
  border-color: var(--accent);
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.lang-switch a {
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
}

.lang-switch a.active {
  border-color: rgba(0,0,0,0.12);
  color: var(--text);
}

/* Botón hamburguesa (oculto en desktop) */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--muted);
  + background-color: var(--muted);
  margin: 3px 0;
}


/* LAYOUT */

.page-wrapper {
  min-height: 70vh;
}

/* HERO */

.hero {
  padding: 48px 0 32px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(
    135deg,
    var(--accent-soft),
    var(--accent),
    var(--accent-dark)
  );
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,0.16);
}

.btn.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
}

.btn.light {
  background: #fff;
  color: var(--text);
  border-color: transparent;
}

.btn.full {
  width: 100%;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

.hero-strip span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
}

.hero-preview {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: var(--card-bg);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  max-width: 340px;
  width: 100%;
}

.hero-image-main {
  border-radius: 28px;
  background-image: url('../img/hero-main.jpg'); /* <- ruta corregida */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 360px;
  width: 100%;
  margin-bottom: 10px;
}

.hero-card-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

/* SECTIONS */

.section {
  padding: 40px 0;
}

.section-light {
  background: var(--bg-alt);
}

.section-accent {
  background: var(--bg-accent);
}

.section-title {
  font-size: 22px;
  margin: 0 0 16px;
}

.section-title.light {
  color: #fff;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.two-col.top {
  align-items: flex-start;
}

.two-col.center {
  align-items: center;
}

/* Panels */

.panel-soft {
  background: var(--card-bg);
  border-radius: var(--radius-m);
  padding: 18px 18px 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.panel-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}

.panel-list {
  padding-left: 16px;
  margin: 0;
  font-size: 14px;
}

/* Highlight block */

.highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.highlight-text p {
  color: #3c332d;
  max-width: 30rem;
}

.highlight-art {
  justify-self: flex-end;
}

.highlight-image {
  width: 260px;
  aspect-ratio: 4/5;
  border-radius: 28px;
  background-image: url('../img/colombia-highlight.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
}

/* Image placeholders / grids */

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.image-placeholder {
  background: rgba(255,255,255,0.8);
  border-radius: 18px;
  padding: 16px;
  font-size: 12px;
  color: var(--muted);
  border: 1px dashed rgba(0,0,0,0.12);
  text-align: center;
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card-soft {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 16px 16px 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.05);
}

.card-soft h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
}

.card-soft p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Links */

.link-arrow {
  font-size: 13px;
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.link-arrow:hover {
  border-color: var(--accent-dark);
}

/* Art grid (OBRAS) */

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.art-card {
  background: var(--card-bg);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.art-image-link {
  display: block;
}

/* Aquí hacemos las obras más pequeñas y completas */
.art-image {
  width: 100%;
  aspect-ratio: 3/4;                 /* más baja que 4/5 */
  background-size: contain;          /* muestra la obra completa */
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f5eee7;         /* marco suave alrededor */
}

.art-body {
  padding: 10px 11px 8px;
}

.art-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.art-title {
  font-size: 14px;
  margin: 0;
}

.art-meta {
  margin: 4px 0 4px;
  font-size: 11px;
  color: var(--muted);
}

.art-price {
  margin: 0 0 6px;
  font-size: 12px;
}

.art-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.link-ghost {
  text-decoration: none;
  color: var(--muted);
}

.pill {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
}

.pill-available {
  background: rgba(61, 133, 84, 0.1);
  color: #25663b;
}

.pill-sold {
  background: rgba(120, 120, 120, 0.1);
  color: #555;
}

/* Obra detail */

.obra-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.obra-image-main {
  border-radius: 26px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 3/4;
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
  margin-bottom: 12px;
  background-color: #f5eee7;
}

.obra-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.obra-thumb {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f5eee7;
}

.obra-video {
  margin-top: 18px;
}

.obra-video .label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.obra-sidebar {
  background: var(--card-bg);
  border-radius: 26px;
  padding: 18px 18px 16px;
  box-shadow: 0 20px 55px rgba(0,0,0,0.08);
}

.obra-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.obra-title {
  margin: 0;
  font-size: 20px;
}

.obra-series {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.obra-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.obra-meta {
  margin: 0 0 14px;
  font-size: 13px;
}

.obra-meta div {
  display: flex;
  justify-content: space-between;
}

.obra-meta dt {
  font-weight: 500;
}

.obra-meta dd {
  margin: 0;
  color: var(--muted);
}

/* Contact */

.contact-item {
  font-size: 14px;
}

.contact-item a {
  color: var(--accent-dark);
  text-decoration: none;
}

.contact-note {
  font-size: 13px;
  color: var(--muted);
}

.contact-panel {
  background: var(--card-bg);
  border-radius: 22px;
  padding: 16px 18px 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.contact-panel-title {
  font-size: 14px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 8px;
}

.contact-panel-list {
  font-size: 13px;
  margin-top: 0;
  padding-left: 17px;
  margin-bottom: 14px;
}

/* HERO SOFT PAGE */

.hero-soft {
  padding-bottom: 20px;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 20px 0;
  background: rgba(251,248,244,0.96);
  margin-top: 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.footer-brand {
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-text {
  margin: 0;
  color: var(--muted);
}

.footer-contact a {
  color: var(--accent-dark);
  text-decoration: none;
}

/* ADMIN */

.admin-body {
  background: #f4f1ec;
  color: var(--text);
}

.admin-header {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
}

.admin-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.admin-header-inner nav a {
  margin-left: 10px;
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}

.admin-main {
  padding: 18px 0 30px;
}

.admin-login-wrap {
  max-width: 360px;
  margin: 80px auto;
  background: #fff;
  padding: 22px 20px 18px;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.08);
}

.admin-login-wrap h1 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
}

.admin-error {
  font-size: 13px;
  color: #9b2c2c;
}

.admin-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.14);
  font-size: 13px;
}

.admin-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.05);
}

.admin-table th,
.admin-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.admin-table th {
  text-align: left;
  background: #faf5ef;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-actions a {
  margin-right: 6px;
  text-decoration: none;
  color: var(--accent-dark);
  font-size: 12px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  background: #fff;
  padding: 18px 18px 16px;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.06);
}

.admin-form-grid section h2 {
  margin-top: 0;
  font-size: 16px;
  margin-bottom: 8px;
}

.admin-form-grid label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

.admin-form-grid input,
.admin-form-grid textarea {
  width: 100%;
  font-size: 13px;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.14);
}

.admin-form-grid .checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-form-grid .checkbox input {
  width: auto;
}

.admin-thumb {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
}

.admin-thumb-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.admin-form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner,
  .two-col,
  .highlight,
  .obra-layout,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-preview {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .main-nav {
    text-align: center;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
  }

  .lang-switch {
    justify-content: center;
    width: 100%;
  }

  /* Mostrar botón y ocultar menú por defecto */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .main-nav {
    position: static;
    display: none; /* oculto por defecto en móvil */
    flex-direction: column;
    width: 100%;
    padding: 8px 0 10px;
    margin-top: 6px;
    border-top: 1px solid var(--border-soft);
    background: rgba(251, 248, 244, 0.98);
  }

  .main-nav.is-open {
    display: flex; /* se muestra cuando se abre */
  }

  .main-nav a {
    padding: 6px 0;
  }

  .lang-switch {
    margin-top: 4px;
  }

  .hero {
    padding-top: 28px;
  }

  .shell {
    padding: 0 16px;
  }
}

  /* Idiomas como bloque al final del menú, siempre visibles */
  .lang-switch {
    margin-left: 0;
    margin-top: 4px;
  }

  .hero {
    padding-top: 28px;
  }

  .shell {
    padding: 0 16px;
  }
}

/* ===== Ajustes puntuales 2025/2026 – LOGO ===== */

.nav-logo {
  width: 64px;   /* más grande que antes */
  height: 64px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, #fde68a, #f97316 45%, #7c2d12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* Para que tu PNG nuevo se vea bien dentro del contenedor */
.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* respeta proporción del logo */
}

/* En móviles muy pequeños para que no se vea exagerado */
@media (max-width: 480px) {
  .nav-logo {
    width: 56px;
    height: 56px;
  }
}

/* ===== Ajustes puntuales 2025/2026 – GALERÍA DE OBRAS ===== */

/* Más columnas y menos espacio entre tarjetas */
.obras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); /* más tarjetas por fila */
  gap: 1.5rem; /* un poco menos de espacio entre obras */
}

/* Tarjetas más bajas (relación más cuadrada) */
.obra-card-image {
  padding-top: 100%;  /* si estaba en 120% o 130%, esto las baja */
}

/* En pantallas muy grandes, fuerza 4 columnas */
@media (min-width: 1200px) {
  .obras-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==================================================
   PÁGINA DE OBRA INDIVIDUAL (obra.php)
   ================================================== */

.obra-page {
  padding: 4rem 0 3rem;
}

.obra-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

/* COLUMNA MEDIA (IMAGEN / VIDEO) */

.obra-media {
  border-radius: 1.75rem;
  padding: 1rem;
  background: radial-gradient(circle at top, #1f2937 0, #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.obra-media-inner {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(15, 23, 42, 0.9);
}

/* Si usas imagen fija, puedes usar esto */
.obra-media-inner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Si en el futuro pones un <video> */
.obra-media-inner video {
  display: block;
  width: 100%;
  height: auto;
}

/* Etiqueta pequeña sobre el media (ej: "Video / proceso") */
.obra-media-label {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* COLUMNA INFO (FICHA TÉCNICA) */

.obra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.obra-info-header h1 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
}

.obra-info-header .obra-status {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

/* Pequeña línea de categoría, serie, etc. */
.obra-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.obra-chip {
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.85);
}

/* Ficha técnica en sí */

.obra-meta-block {
  border-radius: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 0.85rem 1.2rem;
  font-size: 0.9rem;
}

.obra-meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.95);
  margin-bottom: 0.15rem;
}

.obra-meta-value {
  color: var(--text-main);
}

/* Precio destacado */

.obra-price-main {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.3rem;
}

/* Descripción / texto libre */

.obra-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Botones de contacto */

.obra-actions-row {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.obra-actions-row .btn {
  font-size: 0.85rem;
}

/* Botón WhatsApp con un poquito más de presencia */
.obra-actions-row .btn-whatsapp {
  border-color: #22c55e;
  background: rgba(22, 163, 74, 0.18);
  color: #bbf7d0;
}

.obra-actions-row .btn-whatsapp:hover {
  background: rgba(22, 163, 74, 0.3);
}

/* Responsive */

@media (max-width: 960px) {
  .obra-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .obra-media {
    order: -1;
  }
}

@media (max-width: 480px) {
  .obra-meta-block {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==================================================
   PÁGINA SOBRE LA ARTISTA (sobre.php)
   ================================================== */

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.about-hero-text .section-kicker {
  margin-bottom: 0.9rem;
}

.about-hero-text .section-title {
  margin-bottom: 0.9rem;
}

.about-hero-text .section-subtitle + .section-subtitle {
  margin-top: 0.6rem;
}

/* Foto / retrato */

.about-hero-photo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.about-photo {
  width: 100%;
  border-radius: 1.75rem;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.about-photo-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Bloque principal + aside datos */

.about-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-main p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Cita */

.about-quote {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(229, 155, 77, 0.7);
  font-style: italic;
  color: #e5e7eb;
}

/* Aside de datos clave */

.about-aside {
  padding: 1.5rem 1.6rem;
}

.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-facts li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.fact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.95);
}

.fact-value {
  font-size: 0.92rem;
  color: var(--text-main);
}

/* Bloque coleccionistas */

.about-collector {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), #020617);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-subtle);
}

.about-collector-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-collector-cta {
  display: flex;
  justify-content: flex-end;
}

/* Responsive */

@media (max-width: 960px) {
  .about-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-main-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-collector {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-collector-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .about-photo {
    min-height: 220px;
  }

  .about-collector {
    padding: 1.4rem 1.2rem;
  }
}

/* ============================
   FIX VISIBILIDAD SOBRE.PHP
============================ */

/* Cita */
.about-quote {
  color: #f9fafb !important;  /* blanco sólido */
  border-left-color: rgba(229, 155, 77, 0.85) !important;
}

/* Texto de sección "Para coleccionistas" */
.about-collector-text p,
.about-collector-text h2,
.about-collector-text {
  color: #f9fafb !important;  /* blanco sólido */
}

/* Botón del bloque coleccionistas para que destaque mejor */
.about-collector-cta .btn {
  border-color: rgba(248, 250, 252, 0.7) !important;
  color: #f9fafb !important;
}

.about-collector-cta .btn:hover {
  background: rgba(248, 250, 252, 0.15) !important;
}

/* ============================
   FIX VISIBILIDAD — Cita
============================ */

.about-quote {
  color: #94a3b8 !important;  /* gris frío suave, contraste perfecto */
  border-left-color: rgba(229, 155, 77, 0.85) !important;
}

/* ==================================================
   PÁGINA COLOMBIA (colombia.php)
   ================================================== */

.colombia-hero {
  padding-top: 4rem;
}

.colombia-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.colombia-hero-text .section-title {
  margin-bottom: 0.9rem;
}

.colombia-hero-text .section-subtitle + .section-subtitle {
  margin-top: 0.6rem;
}

.colombia-badges {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Bloque imagen / textura */

.colombia-hero-map {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.colombia-hero-image {
  width: 100%;
  min-height: 260px;
  border-radius: 1.75rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
}

.colombia-hero-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Bloques texto A (paisaje) + B (biodiversidad) */

.colombia-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.colombia-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.colombia-subtitle {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

/* Moodboard */

.colombia-moodboard {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: 2.2rem;
  align-items: center;
}

.colombia-moodboard-text .section-title {
  margin-bottom: 0.5rem;
}

.colombia-moodboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.colombia-mood-tile {
  border-radius: 1.4rem;
  min-height: 130px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
}

/* CTA final */

.colombia-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), #020617);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-subtle);
}

.colombia-cta-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.colombia-cta-button {
  display: flex;
  justify-content: flex-end;
}

/* Responsive */

@media (max-width: 960px) {
  .colombia-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .colombia-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .colombia-moodboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .colombia-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .colombia-cta-button {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .colombia-hero-image {
    min-height: 220px;
  }

  .colombia-cta {
    padding: 1.4rem 1.2rem;
  }

  .colombia-mood-tile {
    min-height: 110px;
  }
}

/* ============================
   FIX CONTRASTE — CTA COLOMBIA
============================ */

.colombia-cta-text h2,
.colombia-cta-text p {
  color: #e5e7eb !important;   /* gris claro frío, elegante, súper legible */
}

/* Botón */
.colombia-cta-button .btn {
  border-color: rgba(248, 250, 252, 0.7) !important;
  color: #f9fafb !important;
}

.colombia-cta-button .btn:hover {
  background: rgba(248, 250, 252, 0.15) !important;
}

/* =========================================
   AJUSTE GLOBAL TIPOGRAFÍAS
   ========================================= */

/* Cuerpo de texto más cómodo */
body {
  font-size: 16px;
  line-height: 1.7;
}

/* TÍTULOS GRANDES (hero, secciones) */
.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.15;
}

/* Subtítulos / textos intro */
.section-subtitle,
.hero-subtitle,
.hero-sub {
  font-size: 1rem;
  line-height: 1.75;
}

/* Texto de párrafo principal en páginas largas */
.about-main p,
.about-collector-text p,
.colombia-block p,
.colombia-cta-text p,
.colombia-moodboard-text .section-subtitle,
.obra-desc {
  font-size: 1rem;
  line-height: 1.75;
}

/* Listas descriptivas (fichas técnicas, facts, etc.) */
.about-facts li,
.obra-meta,
.obra-meta dd,
.obra-meta dt,
.colombia-cta-text p {
  font-size: 0.95rem;
}

/* Pequeños labels / kker, metadatos */
.section-kicker,
.hero-meta-label,
.fact-label,
.obra-video .label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

/* Títulos de obra y bloques importantes */
.obra-title {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.series-name {
  font-size: 1rem;
}

.series-desc {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Botones un poquito más legibles */
.btn {
  font-size: 0.9rem;
}

/* ============== Mobile tweaks ============== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem; /* ya lo tenías, reafirmamos */
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-subtitle,
  .about-main p,
  .colombia-block p,
  .obra-desc {
    font-size: 1.02rem;
    line-height: 1.8;
  }

  .btn {
    font-size: 0.92rem;
  }
}

/* =========================================
   ANIMACIONES SUAVES AL HACER SCROLL
   ========================================= */

.section,
.hero,
.obra-layout,
.about-hero,
.about-main-layout,
.colombia-hero-inner,
.colombia-grid,
.colombia-moodboard,
.colombia-cta {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Cuando el observer las activa */
.section.is-visible,
.hero.is-visible,
.obra-layout.is-visible,
.about-hero.is-visible,
.about-main-layout.is-visible,
.colombia-hero-inner.is-visible,
.colombia-grid.is-visible,
.colombia-moodboard.is-visible,
.colombia-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .hero-image-main {
    height: 260px;  /* un poco más bajita en pantallas pequeñas */
  }
}

/* Badges coherentes con la paleta cálida */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(181, 86, 59, 0.06);  /* var(--accent) pero translúcido */
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==============================================
   Tira de colores en el menú
   ============================================== */

.color-strip {
  width: 100%;
  height: 10px; /* alto de la franja, puedes probar 8–12px */
  background-image: url('../img/color-strip.png');
  background-repeat: repeat-x;      /* se repite horizontalmente */
  background-size: auto 100%;       /* ajusta la altura, el ancho se repite */
}

/* Un pelín más fina en móviles si quieres */
@media (max-width: 480px) {
  .color-strip {
    height: 8px;
  }
}

.obra-thumb {
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.obra-thumb:hover {
  opacity: 1;
  transform: scale(1.03);
}

.active-thumb {
  opacity: 1 !important;
  box-shadow: 0 0 0 2px var(--accent-dark);
}

/* … todo tu CSS … */


/* BOTÓN GESTIONAR – DASHBOARD */
.admin-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

/* ================================
   GRID DE OBRAS DENTRO DE SERIES
================================ */

.cards-grid-artworks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Tarjeta de obra (versión pequeña dentro de series) */
.card-artwork {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-artwork:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* Imagen */
.card-artwork .card-thumb {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.card-artwork .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Texto dentro de la tarjeta */
.card-artwork .card-body {
  padding: 15px 18px;
}

.card-artwork .card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}

.card-artwork .card-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 5px;
}

/* Ajuste para móviles */
@media (max-width: 600px) {
  .card-artwork .card-thumb {
    height: 200px;
  }
}

.card-artwork {
    border-radius: 14px;
    overflow: hidden;
}

.card-artwork .card-thumb img {
    transition: transform 0.4s ease;
}

.card-artwork:hover .card-thumb img {
    transform: scale(1.05);
}

/* Tira de colores en la obra individual */
.color-strip {
  display: flex;
  width: 100%;
  height: 28px;
  margin-top: 10px;
  border-radius: 4px;
  overflow: hidden;
}

.color-strip span {
  flex: 1;
}

/* Un poco de margen respecto a la imagen principal */
.obra-color-strip {
  margin-top: 12px;
}

/* Título de la paleta */
.palette-wrapper {
  margin-top: 25px;
}

.palette-title {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

/* Barra de colores */
.sidebar-colors {
  margin-top: 8px;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  height: 32px;
  display: flex;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.sidebar-colors span {
  flex: 1;
  height: 100%;
}

/* ==================================================
   FIX: Obras - imágenes que aparecen tarde / al bajar
   ================================================== */

/* 1) Asegura que la caja de imagen tenga altura desde el inicio */
.art-image,
.obra-card-image,
.obra-image-main {
  min-height: 260px;
}

/* 2) Mejora estabilidad de render (evita parpadeo) */
.art-card,
.obra-card,
.art-image,
.obra-card-image {
  will-change: transform;
  transform: translateZ(0);
}

/* 3) Por seguridad: si quedó algún reveal/animación dejando cosas invisibles */
.art-grid,
.art-card,
.art-image,
.art-body,
.obras-grid,
.obra-card {
  opacity: 1 !important;
  transform: none !important;
}
