:root {
  --bg: #fdfbf7;
  --bg-muted: #f3efe6;
  --text: #1f1f1f;
  --text-light: #fdfbf7;
  --arena: #c9a66b;
  --arena-dark: #a78346;
  --tierra: #8b5a2b;
  --verde: #1e5631;
  --rojo: #b9382a;
  --petroleo: #2e4a62;
  --carbon: #1a1a1a;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --maxw: 1200px;
  --header-h: 80px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--carbon);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  z-index: 200;
}
.skip-link:focus {
  top: 0;
}
.container {
  width: min(92%, var(--maxw));
  margin-inline: auto;
}
.section {
  padding: 5rem 0;
}
.section--muted {
  background: var(--bg-muted);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.section-title--light {
  color: var(--text-light);
}
.section-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #555;
  margin: 0 0 2.5rem;
  max-width: 600px;
}
.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  border: 2px solid transparent;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--rojo);
  color: var(--text-light);
  box-shadow: 0 6px 18px rgba(185, 56, 42, 0.35);
}
.btn-primary:hover {
  background: #9e2e21;
}
.btn-text {
  padding: 0;
  background: none;
  border: none;
  color: var(--tierra);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-text:hover {
  color: var(--arena-dark);
}
.btn-large {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand-logo {
  height: 52px;
  width: auto;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.menu-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--carbon);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 1.5rem;
}
.nav-list {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 0.2rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rojo);
  transition: width 0.25s;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.btn-reserva {
  white-space: nowrap;
}
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(31, 31, 31, 0.15) 0%,
    rgba(31, 31, 31, 0.7) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  padding-top: calc(var(--header-h) + 3rem);
}
.hero--right .hero-content {
  text-align: right;
}
.hero--right .hero-title,
.hero--right .hero-subtitle,
.hero--right .hero-actions {
  margin-left: auto;
}
.hero--arena {
  min-height: 52vh;
  min-height: 52svh;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  background-color: #fff;
  background-image: none !important;
  align-items: center;
}
.hero--arena .hero-overlay {
  display: none;
}
.hero--arena .hero-content {
  color: var(--carbon);
  padding-top: calc(var(--header-h) + 1.5rem);
}
.hero--arena .hero-eyebrow {
  color: var(--petroleo);
}
.hero--arena .hero-title,
.hero--arena .hero-subtitle {
  color: var(--carbon);
}
.hero--arena .hero-subtitle {
  opacity: 1;
}
.hero-eyebrow {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--arena);
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  max-width: 800px;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  max-width: 650px;
  margin: 0 0 2.5rem;
  opacity: 0.95;
}
.hero-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 900px;
}
.action-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.05rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}
.action-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.action-card--package {
  background: var(--petroleo);
}
.action-card--money {
  background: var(--verde);
}
.action-card--shop {
  background: var(--rojo);
}
.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-label {
  line-height: 1.2;
}
.dates-bar {
  background: var(--bg-muted);
  padding: 1.5rem 0;
}
.dates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.date-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.date-icon {
  color: var(--rojo);
  display: flex;
  flex-shrink: 0;
}
.date-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #777;
  margin: 0;
}
.date-value {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
  color: var(--text);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-image {
  width: 38%;
  min-width: 280px;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.service-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.service-body p {
  color: #555;
  margin: 0 0 1.25rem;
  flex: 0 1 auto;
}
.service-body .btn-text {
  align-self: flex-start;
}
.about {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.82);
}
.about-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}
.about-content {
  width: min(100%, 560px);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.about-content p {
  opacity: 0.95;
  margin: 0 0 1rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--arena);
  font-weight: 700;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--bg-muted);
  border-radius: var(--radius);
  text-align: center;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rojo);
  color: var(--text-light);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.step p {
  color: #555;
  margin: 0;
  font-size: 0.95rem;
}
.rates-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.rates-text .section-title {
  text-align: left;
}
.rates-text .section-lead {
  text-align: left;
  margin-left: 0;
}
.rates-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rates-badge {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.shop {
  background: var(--bg-muted);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-image {
  aspect-ratio: 1/1;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-body {
  padding: 1.25rem;
}
.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}
.product-price {
  color: var(--rojo);
  font-weight: 700;
  margin: 0;
}
.shop-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.reserve {
  background: var(--verde);
  color: var(--text-light);
}
.reserve-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.reserve-text .section-title {
  color: var(--text-light);
}
.reserve-text p {
  opacity: 0.95;
  margin: 0 0 1.5rem;
}
.reserve-contact {
  background: rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.reserve-contact h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}
.reserve-contact p {
  margin: 0.4rem 0;
  font-size: 1.05rem;
}
.reserve-contact a {
  color: var(--arena);
  font-weight: 600;
}
.reserve-contact a[href^="tel:"],
.reserve-contact a[href*="wa.me"],
.reserve-contact a[href^="mailto:"] {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
}
.reserve-contact a[href^="tel:"] svg,
.reserve-contact a[href*="wa.me"] svg,
.reserve-contact a[href^="mailto:"] svg {
  width: 22px;
  height: 22px;
}
.site-footer {
  background: var(--carbon);
  color: var(--text-light);
  padding: 4rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p {
  opacity: 0.8;
  max-width: 320px;
}
.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a,
.footer-contact a {
  opacity: 0.8;
}
.footer-contact p {
  margin: 0.4rem 0;
  font-size: 1.02rem;
}
.footer-contact a[href^="tel:"],
.footer-contact a[href*="wa.me"],
.footer-contact a[href^="mailto:"] {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
}
.footer-contact a[href^="tel:"] svg,
.footer-contact a[href*="wa.me"] svg {
  width: 22px;
  height: 22px;
}
.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
  color: var(--arena);
}
.socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 2rem;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-link {
    font-size: 1.1rem;
  }
  .menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 90vh;
    min-height: 90svh;
    padding-bottom: 2rem;
  }
  .hero--arena {
    min-height: 52vh;
    min-height: 52svh;
    padding-bottom: 2rem;
  }
  .hero--right {
    background-position: left center;
  }
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .action-card {
    padding: 1.1rem 1.25rem;
    font-size: 1rem;
  }
  .dates-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    flex-direction: column;
  }
  .service-image {
    width: 100%;
    min-width: 0;
    min-height: 200px;
    height: 200px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .rates-inner {
    grid-template-columns: 1fr;
  }
  .rates-visual {
    order: -1;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reserve-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .section {
    padding: 3.5rem 0;
  }
}
@media (max-width: 560px) {
  .brand-logo {
    height: 44px;
  }
  .hero-content {
    padding-top: calc(var(--header-h) + 2rem);
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    padding: 1.5rem;
  }
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  .btn-large {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
}
.faq {
  background: var(--bg);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: var(--bg);
  border: 1px solid #e5e0d5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}
.faq-question:hover {
  background: var(--bg-muted);
}
.faq-icon {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  color: var(--rojo);
  transition: transform 0.2s;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  color: #444;
  line-height: 1.6;
  border-top: 1px solid #eee;
}
.faq-answer p {
  margin: 0.75rem 0 0;
}
.faq-answer ul {
  margin: 0.75rem 0 0;
  padding-left: 1.4rem;
}
.faq-answer li + li {
  margin-top: 0.4rem;
}
/* Timeline (linea_temporal.php) */
.timeline-page {
  background: var(--bg);
}
.timeline-status__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--petroleo);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e5e0d5;
  transform: translateX(-50%);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin: 0;
  z-index: 1;
}
.timeline-item__marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #c9a66b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--petroleo);
  box-shadow: var(--shadow);
  position: sticky;
  left: 50%;
  transform: translateX(-50%);
  margin-left: calc(50% - 28px);
}
.timeline-item__number {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}
.timeline-item__card {
  flex: 1;
  background: #fff;
  border: 1px solid #e5e0d5;
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
  margin-left: 0.5rem;
}
.timeline-item__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--carbon);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.timeline-item__desc {
  margin: 0;
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
}
.timeline-item__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--rojo);
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.timeline-item__badge--done {
  background: var(--verde);
}
.timeline-item--activo .timeline-item__marker {
  background: var(--rojo);
  border-color: var(--rojo);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(185,56,42,0.15), var(--shadow);
}
.timeline-item--activo .timeline-item__card {
  border-color: var(--rojo);
  box-shadow: 0 10px 30px rgba(185,56,42,0.12);
}
.timeline-item--pasado .timeline-item__marker {
  background: var(--verde);
  border-color: var(--verde);
  color: #fff;
}
.timeline-item--pasado .timeline-item__card {
  opacity: 0.95;
  border-color: #c8ddd0;
}
.timeline-arrow {
  text-align: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--petroleo);
  margin: 0.6rem 0;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .timeline::before {
    left: 28px;
    transform: none;
  }
  .timeline-item__marker {
    left: 28px;
    transform: translateX(-50%);
    margin-left: 0;
    width: 48px;
    height: 48px;
  }
  .timeline-arrow {
    margin-left: 28px;
    text-align: left;
    padding-left: 12px;
  }
}
/* Banner CTA Línea Temporal en home */
.timeline-cta {
  background: linear-gradient(135deg, var(--petroleo) 0%, #1e3a4f 100%);
  color: #fff;
  padding: 2.2rem 0;
}
.timeline-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.timeline-cta__text h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
}
.timeline-cta__text p {
  margin: 0;
  opacity: 0.9;
  max-width: 600px;
}
.timeline-cta__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
/* Últimas Entregas (home) */
.ultimas-entregas {
  background: var(--bg-muted);
}
.ultimas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
.ultimas-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #e5e0d5;
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ultimas-thumb:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.ultimas-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .ultimas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .ultimas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Lightbox */
.ue-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  padding: 2rem;
  cursor: zoom-out;
}
.ue-lightbox.open {
  display: flex;
}
.ue-lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: default;
}
.ue-lightbox__caption {
  color: #fff;
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 700px;
}
.ue-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
}
.ue-lightbox__close:hover { opacity: 1; }
