/* =========================
   RESET BÁSICO
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   ESTILOS GENERALES
========================= */
body {
  font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================
   HEADER
========================= */
header {
  background-color: #266aad; /*#266aad*/ /*4E6F94*/
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  max-width: 1200px;
  margin: 0 auto;

  padding: 16px 28px;
  min-height: 85px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* =========================
   LOGO
========================= */
.navbar img {
  height: 60px;
  display: block;
}

/* =========================
   MENÚ
========================= */
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
}

/* Links */
.menu a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
    font-size: 20px;
  position: relative;
  display: inline-block;
  padding: 6px 0;

  transition: color 0.25s ease;
}

/* Hover color */
.menu a:hover {
  color: #F0BC82;
}

/* Subrayado animado */
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #F0BC82;
  transition: width 0.25s ease;
}

.menu a:hover::after {
  width: 100%;
}

/* Estado activo */
.menu a.active {
  color: #F0BC82;
}

.menu a.active::after {
  width: 100%;
}

/* =========================
   CTA (solo desktop)
========================= */
.menu .cta a {
  background: #ffffff;
  color: #266aad;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.menu .cta a::after {
  display: none;
}

.menu .cta a:hover {
  background: #F0BC82;
  color: #266aad;
}

/* =========================
   HAMBURGUESA
========================= */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;

  width: 32px;
  height: 24px;

  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación ☰ → ✕ */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* =========================
   RESPONSIVE (HEADER)
========================= */
@media (max-width: 768px) {

  /* Mostrar hamburguesa */
  .hamburger {
    display: flex;
  }

  /* Navbar en fila (logo + burger) */
  .navbar {
    flex-direction: row;
  }

  /* Menú oculto por defecto */
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #266aad;
    padding: 20px 0;
  }

  /* Menú visible */
  .menu.open {
    display: flex;
  }

  .menu li {
    text-align: center;
  }

  .menu a {
    font-size: 18px;
  }

  /* CTA deja de ser botón en mobile */
  .menu .cta a {
    background: transparent;
    color: #ffffff;
    padding: 6px 0;
    border-radius: 0;
    font-weight: 500;
  }

  .menu .cta a:hover {
    color: #F0BC82;
    background: transparent;
  }

  .menu .cta a::after {
    display: block;
  }

  /* Ajuste subrayado */
  .menu a::after {
    bottom: -3px;
  }
}

/* =========================
   HERO SLIDER (DESLIZANTE)
========================= */
.hero {
  width: 100%;
}

.slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 85px); /* 85px = altura aprox del header */
  min-height: 520px;
  overflow: hidden;
}

/* Pista que se mueve */
.slides-track {
  height: 100%;
  display: flex;
  transition: transform 0.9s ease; /* <-- más suave; bajá a 0.6s si querés más rápido */
  will-change: transform;
}

/* Cada slide ocupa toda la pantalla */
.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Overlay para mejorar lectura */
.slide .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.slide .content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;

  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;

  color: #fff;
}

.slide h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.slide p {
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 620px;
  opacity: 0.95;
  margin-bottom: 18px;
}

/* Botón CTA del hero */
.btn {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  background: #F0BC82;
  color: #1b1b1b;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* Flechas */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;

  font-size: 28px;
  line-height: 0;
  display: grid;
  place-items: center;

  transition: background 0.2s ease;
}

.nav:hover {
  background: rgba(0,0,0,0.55);
}

.nav.prev { left: 18px; }
.nav.next { right: 18px; }

/* Dots */
.dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.5);
}

.dot.active {
  background: #F0BC82;
}

/* Responsive (SLIDER) */
@media (max-width: 768px) {
  .slider {
    height: calc(85vh - 85px);
    min-height: 460px;
  }

  .nav.prev { left: 12px; }
  .nav.next { right: 12px; }
}


/* =========================
   FEATURED (carrusel cards)
========================= */
.featured {
  padding: 70px 0;
  background: #f6f8fb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.featured-header h2 {
  font-size: clamp(22px, 2.2vw, 34px);
  color: #1b1b1b;
}

.btn-outline {
  text-decoration: none;
  border: 2px solid #266aad;
  color: #266aad;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  border-color: #F0BC82;
  color: #F0BC82;
  transform: translateY(-1px);
}

/* Track horizontal */
.cards-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 18px;

  overflow-x: auto;
  padding: 10px 2px 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  /* look clean */
  scrollbar-width: none;           /* Firefox */
}
.cards-track::-webkit-scrollbar {  /* Chrome */
  display: none;
}

/* Card */
.property-card {
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* Imagen */
.card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Badge */
.badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(38,106,173,0.92);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.badgeOut{
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(111, 118, 126, 0.92);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.badge-gold {
  background: #e6a45a;
  color: #1b1b1b;
}

/* Texto */
.card-body {
  padding: 14px 14px 16px;
}

.card-body h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #1b1b1b;
}

.meta {
  font-size: 13px;
  color: #4a4a4a;
  margin-bottom: 10px;
}

.price {
  font-size: 16px;
  font-weight: 900;
  color: #266aad;
}

/* Dots */
.cards-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.cards-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(38,106,173,0.35);
}

.cards-dots .dot.active {
  background: #266aad;
}

/* Responsive */
@media (max-width: 768px) {
  .featured { padding: 52px 0; }
  .container { padding: 0 18px; }
  .cards-track { grid-auto-columns: 78vw; }
  .card-image { height: 210px; }
}

.cards-track {
  touch-action: pan-x;       /* prioriza desplazamiento horizontal */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cards-track, .property-card, .property-card * {
  user-select: none;         /* evita seleccionar texto al arrastrar */
}

.property-card a {
  -webkit-user-drag: none;   /* evita arrastrar el link/imagen */
}

/* =========================
   DOTS DEL HERO
========================= */
.dots .hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
}

.dots .hero-dot.active {
  background: #F0BC82;
}

/* =========================
   DOTS DE PROPIEDADES
========================= */
.cards-dots .cards-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(38, 106, 173, 0.35);
}

.cards-dots .cards-dot.active {
  background: #266aad;
}

/* =========================
   ICONOS SOCIALES HEADER
========================= */
.social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social img {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(0) invert(1); /* blanco */
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social a:hover img {
  transform: translateY(-1px);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .social {
    display: none;
  }
}











/* =========================
   TASACIONES
========================= */
.appraisals {
  padding: 90px 0;
  background: #ffffff;
}

.appraisals-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.appraisals-info h2 {
  font-size: clamp(26px, 2.6vw, 40px);
  margin-bottom: 10px;
  color: #1b1b1b;
}

.appraisals-info .lead {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 18px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
}

.checks li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  color: #333;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #F0BC82;
  font-weight: 900;
}

.appraisals-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.note {
  font-size: 13px;
  color: #666;
}

/* Form */
.appraisals-form {
  background: #f6f8fb;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.appraisals-form h3 {
  font-size: 18px;
  margin-bottom: 14px;
  color: #1b1b1b;
}

.appraisals-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.appraisals-form input,
.appraisals-form select,
.appraisals-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  outline: none;
  font-family: inherit;
  font-size: 14px;
  background: #ffffff;
}

.appraisals-form input:focus,
.appraisals-form select:focus,
.appraisals-form textarea:focus {
  border-color: rgba(38,106,173,0.65);
  box-shadow: 0 0 0 3px rgba(38,106,173,0.15);
}

.btn.full {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}

.form-note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .appraisals {
    padding: 70px 0;
  }

  .appraisals-grid {
    grid-template-columns: 1fr;
  }
}


/* Imagen de la card */
.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badge sobre la imagen */
.card-image .tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #266aad;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
}

/* Variante destacada */
.card-image .tag.gold {
  background: #F0BC82;
  color: #1b1b1b;
}

/* Variante vendida */
.card-image .tag.silver {
  background: #8d8d8d;
  color: #ffffff;
}


.cards-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
}

.cards-track > * {
  scroll-snap-align: start;
}

.cards-track,
.cards-track * {
  user-select: none;
  -webkit-user-select: none;
}

/* =========================
   AJUSTE SCROLL PARA HEADER STICKY
========================= */
html {
  scroll-padding-top: 100px;
  scroll-behavior: smooth;
}

/* =========================
   NOSOTROS
========================= */
.about {
  padding: 90px 0;
  background: #f6f8fb;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

/* Texto */
.about-text h2 {
  font-size: clamp(26px, 2.6vw, 40px);
  margin-bottom: 12px;
  color: #1b1b1b;
}

.about-text .lead {
  font-size: 17px;
  color: #333;
  margin-bottom: 14px;
}

.about-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-values {
  margin-top: 18px;
  list-style: none;
  padding: 0;
}

.about-values li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #333;
}

.about-values li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #F0BC82;
  font-weight: 900;
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.stat .number {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: #266aad;
  margin-bottom: 4px;
}

.stat .label {
  color: #555;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .about {
    padding: 70px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* Sufijos de los contadores */
.stat:nth-child(1) .number::after {
  content: "+";
}

.stat:nth-child(3) .number::after {
  content: "%";
}

/* =========================
   CONTACTO
========================= */
.contact {
  padding: 90px 0;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(26px, 2.6vw, 40px);
  margin-bottom: 10px;
  color: #1b1b1b;
}

.contact-info .lead {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Cards de contacto */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #f6f8fb;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(38,106,173,0.35);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.cc-title {
  font-size: 13px;
  font-weight: 800;
  color: #266aad;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cc-value {
  font-size: 16px;
  font-weight: 800;
  color: #1b1b1b;
  margin-bottom: 4px;
}

.cc-note {
  font-size: 13px;
  color: #555;
}

/* Oficina + mapa */
.office {
  background: #f6f8fb;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 14px;
}

.office h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #1b1b1b;
}

.office-line {
  color: #333;
  margin-bottom: 4px;
}

.office-note {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* Form */
.contact-form {
  background: #f6f8fb;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.contact-form h3 {
  font-size: 18px;
  margin-bottom: 14px;
  color: #1b1b1b;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  outline: none;
  font-family: inherit;
  font-size: 14px;
  background: #ffffff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(38,106,173,0.65);
  box-shadow: 0 0 0 3px rgba(38,106,173,0.15);
}

.form-note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .contact {
    padding: 70px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-wrap iframe {
    height: 240px;
  }
}
/* =========================
   PÁGINA PROPIEDADES
========================= */
.props-hero {
  background: #f6f8fb;
  padding: 60px 0 26px;
}

.props-hero h1 {
  font-size: clamp(26px, 2.6vw, 40px);
  color: #1b1b1b;
  margin-bottom: 8px;
}

.props-hero p {
  color: #555;
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 18px;
}

.props-filters {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr auto;
  gap: 12px;
  align-items: center;
}

.props-filters input,
.props-filters select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  font-family: inherit;
  font-size: 14px;
  background: #ffffff;
  outline: none;
}

.props-filters input:focus,
.props-filters select:focus {
  border-color: rgba(38,106,173,0.65);
  box-shadow: 0 0 0 3px rgba(38,106,173,0.15);
}

.props-list {
  padding: 44px 0 90px;
  background: #ffffff;
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.props-empty {
  margin-top: 18px;
  color: #555;
}

/* Responsive */
@media (max-width: 1000px) {
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .props-filters {
    grid-template-columns: 1fr;
  }
  .props-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #0f2f4f;
  color: #ffffff;
  padding: 70px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
  gap: 30px;
}

/* Marca */
.footer-brand img {
  height: 60px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 320px;
}

/* Títulos */
.footer h4 {
  font-size: 15px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #F0BC82;
}

/* Navegación */
.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer a {
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #F0BC82;
}

/* Contacto */
.footer-contact p {
  margin-bottom: 10px;
  color: rgba(255,255,255,0.9);
}

/* Redes */
.footer-social .social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Bottom */
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-top: 56px;
  }
}


/* =========================
   DETALLE DE PROPIEDAD
========================= */
.property-detail {
  padding: 50px 0 90px;
  background: #ffffff;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
  color: #266aad;
  font-weight: 700;
}

.back-link:hover {
  color: #F0BC82;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.detail-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

.detail-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.detail-info h1 {
  font-size: clamp(24px, 2.8vw, 40px);
  margin: 10px 0 10px;
  color: #1b1b1b;
}

.detail-price {
  font-size: 22px;
  font-weight: 900;
  color: #266aad;
  margin-bottom: 14px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.meta-pill {
  background: #f6f8fb;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: #333;
  font-weight: 700;
}

.detail-desc {
  color: #555;
  line-height: 1.7;
  margin-top: 8px;
}

.detail-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.detail-notfound {
  color: #555;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-media img {
    height: 360px;
  }
}

/* =========================
   GALERÍA DETALLE (Opción C)
========================= */
.gallery {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #111;
}

.gallery #detailImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Flechas */
.g-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;

  font-size: 28px;
  line-height: 0;
  display: grid;
  place-items: center;

  transition: background 0.2s ease, transform 0.2s ease;
}

.g-nav:hover {
  background: rgba(0,0,0,0.55);
}

.g-nav.prev { left: 14px; }
.g-nav.next { right: 14px; }

/* Miniaturas (carrusel horizontal) */
.thumbs-wrap {
  background: #fff;
  padding: 12px 12px 14px;
}

.thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  touch-action: pan-x;
}

.thumbs::-webkit-scrollbar {
  height: 8px;
}
.thumbs::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 999px;
}

.thumb {
  flex: 0 0 auto;
  width: 86px;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.85;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.thumb.active {
  opacity: 1;
  border-color: #F0BC82;
}

/* Ajuste responsive */
@media (max-width: 900px) {
  .gallery {
    height: 360px;
  }
  .thumb {
    width: 78px;
    height: 56px;
  }
}


/* =========================
   LIGHTBOX (MODAL GALERÍA)
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: min(1400px, 96vw);
  height: min(900px, 92vh);
  margin: 4vh auto 0;
  border-radius: 16px;
  background: rgba(10,10,10,0.92);
  box-shadow: 0 18px 60px rgba(0,0,0,0.5);
  overflow: hidden;

  /* ✅ clave: centrar contenido y evitar recortes */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen grande */
.lb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* ✅ no recorta */
  display: block;
}

/* Cerrar */
.lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lb-close:hover {
  background: rgba(0,0,0,0.55);
}

/* Flechas */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;

  font-size: 30px;
  line-height: 0;
  display: grid;
  place-items: center;
}

.lb-nav:hover {
  background: rgba(0,0,0,0.55);
}

.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }

/* Contador */
.lb-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
}

/* Cursor para indicar que la imagen principal abre modal */
.gallery #detailImage {
  cursor: zoom-in;
}




.lightbox-content {
  position: relative;
  z-index: 1;

  width: 96vw;
  height: 94vh;
  margin: 3vh auto;

  border-radius: 14px;
  background: rgba(10,10,10,0.92);
  box-shadow: 0 18px 60px rgba(0,0,0,0.5);
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   FEATURED: Botones laterales (NO overlay)
   Pegá esto al FINAL de styles.css
========================= */
.cards-carousel{
  display: flex;
  align-items: center;
  gap: 12px;
}

.cards-nav{
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.cards-nav:disabled{
  opacity: .35;
  cursor: not-allowed;
}

/* En mobile los ocultamos para no comer espacio */
@media (max-width: 640px){
  .cards-nav{ display:none; }
}

.description {
  white-space: pre-line;
}