@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

.site-page,
.admin-theme {
  --theme-green: #0d3d2c;
  --theme-green-dark: #07291e;
  --theme-lime: #77b82a;
  --theme-orange: #d4633b;
  --theme-cream: #f6f4ee;
  --theme-white: #fff;
  --theme-ink: #18231d;
  --theme-muted: #667169;
  --theme-line: #d9ddd7;
  --theme-radius: 14px;
  --theme-shadow: 0 18px 50px rgba(18,48,35,.09);
  --theme-gutter: clamp(20px, 4vw, 64px);
  --theme-width: 1180px;
  margin: 0;
  color: var(--theme-ink);
  background: var(--theme-cream);
  font-family: "Manrope", Arial, sans-serif;
  animation: none !important;
  transform: none !important;
}

.site-page *,
.admin-theme * { box-sizing: border-box; }

.site-page h1,
.site-page h2,
.site-page h3,
.admin-theme h1,
.admin-theme h2,
.admin-theme h3 { font-family: "Manrope", Arial, sans-serif; letter-spacing: -.035em; }

.site-page p,
.admin-theme p { color: var(--theme-muted); }

.site-page .eyebrow,
.admin-theme .eyebrow { color: var(--theme-orange); font-size: 11px; font-weight: 800; letter-spacing: .1em; }

/* Encabezado compartido */
.site-page .site-header,
.admin-theme .site-header {
  grid-template-columns: 170px minmax(0, 1fr) auto auto;
  gap: 24px;
  min-height: 78px;
  padding: 12px max(var(--theme-gutter), calc((100vw - var(--theme-width)) / 2));
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--theme-line);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.site-page .site-header.is-scrolled,
.admin-theme .site-header.is-scrolled { min-height: 68px; padding-block: 8px; box-shadow: 0 8px 30px rgba(13,61,44,.08); }

.site-page .brand img,
.admin-theme .brand img { width: 156px; }

.site-page .site-nav,
.admin-theme .site-nav {
  justify-self: end;
  flex-wrap: nowrap;
  gap: 22px;
  padding: 0;
  color: var(--theme-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
}

.site-page .site-nav a,
.admin-theme .site-nav a { min-height: 34px; padding: 8px 0; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.site-page .site-nav a:hover,
.site-page .site-nav a.is-active,
.admin-theme .site-nav a:hover { color: var(--theme-green); background: none; border-color: var(--theme-lime); }

.site-page .admin-access { padding: 8px 3px; color: var(--theme-muted); background: none; border: 0; border-radius: 0; box-shadow: none; font-size: 10px; }
.site-page .header-cta,
.admin-theme .header-cta { min-height: 42px; padding: 0 18px; color: #fff; background: var(--theme-green); border: 0; border-radius: 8px; box-shadow: none; font-size: 12px; }

.site-page .button,
.admin-theme .button { min-height: 46px; padding: 0 18px; border-radius: 8px; box-shadow: none; font-family: "Manrope", Arial, sans-serif; font-size: 12px; font-weight: 800; }
.site-page .button.primary,
.admin-theme .button.primary { color: #fff; background: var(--theme-orange); }
.site-page .button.secondary,
.admin-theme .button.secondary { color: #fff; background: var(--theme-green); }
.site-page .button:hover,
.admin-theme .button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13,61,44,.14); }

/* Cabeceras de catálogo */
.site-page .category-hero {
  min-height: 540px;
  align-items: end;
  padding: 150px max(var(--theme-gutter), calc((100vw - var(--theme-width)) / 2)) 72px;
  background:
    linear-gradient(90deg, rgba(7,41,30,.94), rgba(7,41,30,.65) 55%, rgba(7,41,30,.18)),
    var(--hero) center / cover;
}
.site-page .category-hero > div { width: min(760px, 100%); }
.site-page .category-hero h1 { max-width: 760px; font-size: clamp(44px, 5vw, 64px); line-height: 1.04; }
.site-page .category-hero p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.76); font-size: 16px; }
.site-page .back-link { display: inline-flex; margin-bottom: 22px; padding: 8px 12px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; font-size: 11px; }

.site-page .listing-tools,
.site-page .category-intel,
.site-page .category-listing,
.site-page .mini-contact {
  width: min(var(--theme-width), calc(100% - (var(--theme-gutter) + var(--theme-gutter))));
  margin-left: auto;
  margin-right: auto;
}

.site-page .listing-tools {
  gap: 8px;
  margin-top: 28px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--theme-line);
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow);
}
.site-page .listing-tools button { min-height: 38px; padding: 0 16px; color: var(--theme-muted); background: var(--theme-cream); border: 1px solid transparent; border-radius: 8px; font-family: inherit; font-size: 11px; font-weight: 700; }
.site-page .listing-tools button:hover,
.site-page .listing-tools button.is-active { color: #fff; background: var(--theme-green); border-color: var(--theme-green); }

.site-page .category-intel {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 26px;
  padding: 30px 34px;
  background: #eef3ef;
  border: 1px solid var(--theme-line);
  border-radius: var(--theme-radius);
  box-shadow: none;
}
.site-page .category-intel span { color: var(--theme-orange); font-size: 10px; letter-spacing: .08em; }
.site-page .category-intel strong { color: var(--theme-green-dark); font-size: 22px; }
.site-page .category-intel p { margin: 0; font-size: 13px; }

.site-page .section.category-listing { min-height: 300px; padding: 72px 0 88px; }
.site-page .category-listing .property-card { background: #fff; border: 1px solid var(--theme-line); border-radius: var(--theme-radius); box-shadow: 0 10px 28px rgba(13,61,44,.07); }
.site-page .property-card::before { background: var(--theme-green); border-radius: 6px; }
.site-page .property-card img { filter: saturate(.9); }
.site-page .property-body { padding: 20px; }
.site-page .tags span { color: var(--theme-green); background: #eef3ef; border-radius: 6px; }

.site-page .empty-state { padding: 46px; background: #fff; border: 1px solid var(--theme-line); border-radius: var(--theme-radius); box-shadow: none; text-align: center; }
.site-page .empty-state strong { color: var(--theme-green); font-size: 21px; }

/* Cierre de páginas de categoría */
.site-page .mini-contact {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  margin-bottom: 48px;
  padding: 42px;
  color: #fff;
  background: var(--theme-green-dark);
  border-radius: var(--theme-radius);
}
.site-page .mini-contact h2 { color: #fff; font-size: clamp(32px, 3vw, 44px); }
.site-page .mini-contact .contact-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
}
.site-page .mini-contact .contact-card strong { margin: 0; color: #fff; font-size: 20px; }
.site-page .mini-contact .contact-card a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; color: #fff; background: rgba(255,255,255,.05); border-radius: 8px; font-size: 12px; }
.site-page .mini-contact .contact-card a:hover { background: rgba(255,255,255,.1); }

.site-page .site-footer {
  display: block;
  padding: 0 max(var(--theme-gutter), calc((100vw - var(--theme-width)) / 2));
  color: #fff;
  text-align: left;
  background: #041e16;
}
.site-page .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(150px, .55fr) minmax(220px, .8fr);
  gap: clamp(36px, 7vw, 92px);
  padding: 64px 0 48px;
}
.site-page .footer-brand img { width: 172px; }
.site-page .footer-brand p { max-width: 390px; margin: 20px 0 0; color: rgba(255,255,255,.6); font-size: 13px; }
.site-page .footer-nav,
.site-page .footer-contact { display: grid; align-content: start; gap: 11px; }
.site-page .footer-nav strong,
.site-page .footer-contact strong { margin-bottom: 5px; color: #a8d36f; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.site-page .footer-nav a,
.site-page .footer-contact a,
.site-page .footer-contact span { width: fit-content; color: rgba(255,255,255,.72); border: 0; font-size: 12px; line-height: 1.5; }
.site-page .footer-nav a:hover,
.site-page .footer-contact a:hover { color: #fff; }
.site-page .footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 24px; border-top: 1px solid rgba(255,255,255,.13); }
.site-page .footer-bottom p,
.site-page .footer-bottom a { margin: 0; color: rgba(255,255,255,.44); border: 0; font-size: 10px; }

/* WhatsApp fijo en todos los catálogos y fichas */
.site-page .floating-whatsapp {
  position: fixed;
  z-index: 1400;
  right: max(28px, env(safe-area-inset-right));
  bottom: max(28px, env(safe-area-inset-bottom));
  width: 60px;
  height: 60px;
  min-height: 60px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #25d366;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(4,30,22,.24);
  font-size: 0;
  animation: none;
  transform: none;
}
.site-page .floating-whatsapp::before { width: 31px; height: 31px; }

/* Ficha individual */
.property-page [data-property-detail] { min-height: 70vh; }
.site-page .property-detail-hero { min-height: 570px; padding: 150px max(var(--theme-gutter), calc((100vw - var(--theme-width)) / 2)) 70px; }
.site-page .property-detail-hero > div { width: min(760px, 100%); }
.site-page .property-detail-hero h1 { font-size: clamp(44px, 5vw, 64px); }
.site-page .property-detail-grid { width: min(var(--theme-width), calc(100% - (var(--theme-gutter) + var(--theme-gutter)))); gap: 34px; padding: 72px 0 90px; }
.site-page .detail-gallery { gap: 12px; }
.site-page .detail-gallery img { border-radius: 10px; }
.site-page .detail-copy,
.site-page .detail-sidebar { background: #fff; border: 1px solid var(--theme-line); border-radius: var(--theme-radius); box-shadow: none; }
.site-page .detail-sidebar { top: 96px; }
.site-page .detail-price { color: var(--theme-green); }

/* Ficha dinámica de propiedad */
.property-page .property-detail-hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  background: var(--theme-green-dark);
}
.property-page .property-detail-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 34, 24, .95) 0%, rgba(4, 34, 24, .72) 48%, rgba(4, 34, 24, .2) 100%);
}
.property-page .property-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-page .property-detail-hero-content {
  width: min(1180px, 100%);
}
.property-page .property-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.property-page .property-back-link svg { width: 17px; }
.property-page .property-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.property-page .property-detail-badges span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.property-page .property-detail-badges span:last-child {
  border-color: rgba(164, 218, 100, .45);
  color: #d6f5ae;
  background: rgba(126, 185, 64, .2);
}
.property-page .property-detail-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  text-wrap: balance;
}
.property-page .property-hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
}
.property-page .property-hero-location svg { width: 19px; flex: 0 0 auto; }
.property-page .property-hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  max-width: 1040px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.property-page .property-hero-bottom > p {
  max-width: 650px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
.property-page .property-hero-bottom > div {
  flex: 0 0 auto;
  text-align: right;
}
.property-page .property-hero-bottom small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.property-page .property-hero-bottom strong {
  margin: 0;
  padding: 0;
  color: #fff;
  background: none;
  font-size: clamp(25px, 3vw, 38px);
}
.property-page .property-facts-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  width: min(var(--theme-width), calc(100% - (var(--theme-gutter) + var(--theme-gutter))));
  margin: -38px auto 0;
  overflow: hidden;
  border: 1px solid var(--theme-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(12, 49, 34, .1);
}
.property-page .property-facts-bar > div {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 22px 24px;
  border-right: 1px solid var(--theme-line);
}
.property-page .property-facts-bar > div:last-child { border-right: 0; }
.property-page .property-facts-bar svg {
  width: 24px;
  color: var(--theme-orange);
  flex: 0 0 auto;
}
.property-page .property-facts-bar span { display: grid; gap: 3px; min-width: 0; }
.property-page .property-facts-bar small {
  color: var(--theme-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.property-page .property-facts-bar strong {
  overflow: hidden;
  color: var(--theme-green-dark);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.property-page .property-detail-grid {
  grid-template-columns: minmax(0, 1fr) 370px;
  padding-top: 56px;
}
.property-page .detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(120px, .7fr) minmax(120px, .7fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 520px;
  overflow: hidden;
  border-radius: 12px;
  background: #dfe6df;
}
.property-page .detail-gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #dfe6df;
  cursor: zoom-in;
}
.property-page .detail-gallery-item:first-child { grid-row: 1 / -1; }
.property-page .detail-gallery-1 { grid-template-columns: 1fr; }
.property-page .detail-gallery-1 .detail-gallery-item:first-child { grid-column: 1; }
.property-page .detail-gallery-2 {
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 1fr);
  grid-template-rows: 1fr;
}
.property-page .detail-gallery-2 .detail-gallery-item:first-child { grid-row: auto; }
.property-page .detail-gallery-3 { grid-template-columns: minmax(0, 1.65fr) minmax(180px, .85fr); }
.property-page .detail-gallery-item img,
.property-page .detail-gallery img:first-child {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  transition: transform .45s ease;
}
.property-page .detail-gallery-item:hover img { transform: scale(1.035); }
.property-page .detail-gallery-item > span {
  position: absolute;
  right: 15px;
  bottom: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--theme-green-dark);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  font-size: 12px;
  font-weight: 900;
}
.property-page .detail-gallery-item > span svg { width: 16px; }
.property-page .detail-copy {
  margin-top: 24px;
  padding: 40px;
}
.property-page .detail-section-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--theme-line);
}
.property-page .detail-section-heading .eyebrow,
.property-page .property-location-card .eyebrow { margin: 0 0 9px; }
.property-page .detail-copy h2,
.property-page .property-location-card h2 {
  margin: 0;
  color: var(--theme-green-dark);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.08;
}
.property-page .detail-description {
  margin: 26px 0 0;
  color: #526159;
  font-size: 16px;
  line-height: 1.85;
  white-space: pre-line;
}
.property-page .detail-feature-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--theme-line);
}
.property-page .detail-feature-section h3 {
  margin: 0 0 18px;
  color: var(--theme-green-dark);
  font-size: 19px;
}
.property-page .detail-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.property-page .detail-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid #dce9d8;
  border-radius: 8px;
  color: #234c36;
  background: #f4f8f1;
  font-size: 13px;
}
.property-page .detail-features li svg {
  width: 16px;
  color: #6c9f34;
  flex: 0 0 auto;
}
.property-page .property-location-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  margin-top: 24px;
  padding: 32px 36px;
  border: 1px solid var(--theme-line);
  border-radius: 12px;
  background: #f1f2eb;
}
.property-page .property-location-icon {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--theme-green);
  place-items: center;
}
.property-page .property-location-icon svg { width: 21px; }
.property-page .property-location-card h2 { font-size: 25px; }
.property-page .property-location-card p:not(.eyebrow) { margin: 10px 0 6px; color: #53625a; }
.property-page .property-location-card small { color: var(--theme-muted); line-height: 1.5; }
.property-page .property-directions-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: var(--theme-green);
  border: 1px solid var(--theme-green);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.property-page .property-directions-button:hover {
  color: #fff;
  background: var(--theme-green-dark);
  box-shadow: 0 10px 24px rgba(8, 67, 48, 0.18);
  transform: translateY(-2px);
}
.property-page .property-directions-button svg { width: 18px; height: 18px; }
.property-page .property-map-frame {
  grid-column: 1 / -1;
  min-height: 340px;
  margin-top: 4px;
  overflow: hidden;
  background: #eef3ef;
  border: 1px solid var(--theme-line);
  border-radius: 10px;
}
.property-page .property-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
}
.property-page .detail-sidebar {
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
}
.property-page .detail-sidebar-heading {
  padding: 28px;
  color: var(--theme-green-dark);
  background: #fff;
  border-bottom: 1px solid var(--theme-line);
}
.property-page .detail-sidebar-heading > small {
  display: block;
  margin-bottom: 6px;
  color: #5f7067;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.property-page .detail-sidebar-heading .detail-price {
  color: var(--theme-green-dark);
  max-width: 100%;
  font-size: clamp(27px, 2.45vw, 38px);
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
}
.property-page .detail-sidebar-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: #4f7f22;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}
.property-page .detail-sidebar-heading > span svg { width: 16px; }
.property-page .detail-sidebar-location {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--theme-line);
  background: #f7f8f4;
}
.property-page .detail-sidebar-location > svg { width: 20px; color: var(--theme-orange); flex: 0 0 auto; }
.property-page .detail-sidebar-location span { display: grid; gap: 3px; }
.property-page .detail-sidebar-location small { color: var(--theme-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.property-page .detail-sidebar-location strong { color: var(--theme-green-dark); font-size: 13px; line-height: 1.4; }
.property-page .detail-spec-list {
  gap: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.property-page .detail-spec-list div {
  padding: 13px 26px;
  border-bottom: 1px solid var(--theme-line);
}
.property-page .detail-spec-list dt { font-size: 12px; }
.property-page .detail-spec-list dd { font-size: 13px; text-transform: capitalize; }
.property-page .detail-contact-box { padding: 26px; background: #fff; }
.property-page .detail-contact-box > span {
  display: block;
  margin-bottom: 6px;
  color: var(--theme-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.property-page .detail-contact-box > strong {
  display: block;
  color: var(--theme-green-dark);
  font-size: 20px;
  line-height: 1.2;
}
.property-page .detail-contact-box p { margin: 9px 0 18px; color: var(--theme-muted); font-size: 13px; line-height: 1.5; }
.property-page .detail-contact-box .button {
  display: flex;
  width: 100%;
  gap: 8px;
  padding-inline: 14px;
}
.property-page .detail-contact-box .button svg { width: 18px; }
.property-page .detail-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 11px;
  border: 1px solid var(--theme-line);
  border-radius: 7px;
  color: var(--theme-green);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.property-page .detail-phone-link svg { width: 16px; }
.property-page .detail-reference {
  margin: 0;
  padding: 14px 26px;
  border-top: 1px solid var(--theme-line);
  color: var(--theme-muted);
  background: #f7f8f4;
  font-size: 10px;
}
.property-page .property-lightbox[hidden] { display: none; }
.property-page .property-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  padding: 44px;
  color: #fff;
  background: rgba(3, 18, 13, .96);
}
.property-page .property-lightbox figure {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 1200px;
  max-height: calc(100vh - 88px);
  margin: auto;
}
.property-page .property-lightbox figure img {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  border-radius: 8px;
  object-fit: contain;
}
.property-page .property-lightbox figcaption { color: rgba(255,255,255,.7); font-size: 13px; }
.property-page .property-lightbox button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  place-items: center;
  cursor: pointer;
}
.property-page .property-lightbox-close { position: absolute; top: 24px; right: 24px; }
.property-page .property-lightbox-nav.is-next { justify-self: end; }
.property-page .property-lightbox button svg { width: 22px; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .property-page .property-detail-hero::after { background: linear-gradient(90deg, rgba(4, 34, 24, .94), rgba(4, 34, 24, .55)); }
  .property-page .property-hero-bottom { align-items: flex-start; flex-direction: column; gap: 22px; }
  .property-page .property-hero-bottom > div { text-align: left; }
  .property-page .property-facts-bar { grid-template-columns: repeat(2, 1fr); }
  .property-page .property-facts-bar > div:nth-child(2n) { border-right: 0; }
  .property-page .detail-gallery { height: 430px; }
}

@media (max-width: 640px) {
  .property-page .property-detail-hero { min-height: 590px; }
  .property-page .property-back-link { margin-bottom: 24px; }
  .property-page .property-detail-badges { margin-bottom: 14px; }
  .property-page .property-detail-badges span { font-size: 9px; }
  .property-page .property-hero-bottom { margin-top: 28px; padding-top: 20px; }
  .property-page .property-facts-bar { margin-top: -20px; }
  .property-page .property-facts-bar > div { padding: 17px 14px; }
  .property-page .property-facts-bar svg { width: 20px; }
  .property-page .property-facts-bar strong { font-size: 14px; }
  .property-page .property-detail-grid { padding-top: 34px; }
  .property-page .detail-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px 120px;
    height: 340px;
  }
  .property-page .detail-gallery-2 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    height: 280px;
  }
  .property-page .detail-gallery-3 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px 120px;
  }
  .property-page .detail-gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .property-page .detail-gallery-item:nth-child(n+4) { display: none; }
  .property-page .detail-gallery-1 { grid-template-rows: 1fr; height: 300px; }
  .property-page .detail-copy { padding: 28px 22px; }
  .property-page .detail-features { grid-template-columns: 1fr; }
  .property-page .property-location-card { grid-template-columns: 1fr; padding: 26px 22px; }
  .property-page .property-directions-button { width: 100%; }
  .property-page .property-map-frame,
  .property-page .property-map-frame iframe { min-height: 290px; }
  .property-page .property-lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; padding: 20px 8px; }
  .property-page .property-lightbox button { width: 40px; height: 40px; }
  .property-page .property-lightbox-close { top: 14px; right: 14px; }
}

/* Panel privado: misma identidad, densidad funcional */
.admin-theme .admin-page { padding-top: 86px; background: var(--theme-cream); }
.admin-theme .admin-shell { width: min(1380px, calc(100% - (var(--theme-gutter) + var(--theme-gutter)))); }
.admin-theme .admin-shell > .section-heading h1 { color: var(--theme-green-dark); font-size: clamp(38px, 4vw, 54px); }
.admin-theme .admin-login-card,
.admin-theme .admin-panel,
.admin-theme .admin-list-panel,
.admin-theme .admin-editor { border-color: var(--theme-line); border-radius: var(--theme-radius); box-shadow: none; }
.admin-theme input,
.admin-theme select,
.admin-theme textarea { border-color: #cfd6d0; border-radius: 8px; font-family: "Manrope", Arial, sans-serif; }
.admin-theme .admin-toolbar {
  min-height: 82px;
  padding: 16px 18px;
  background: var(--theme-green-dark);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(7,41,30,.12);
}
.admin-theme .admin-session { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-theme .admin-session-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  color: #d8efb9;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
}
.admin-theme .admin-session-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.admin-theme .admin-session-copy { min-width: 0; display: grid; gap: 4px; }
.admin-theme .admin-session-copy strong { overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-theme .admin-session-copy small { display: inline-flex; align-items: center; gap: 5px; color: #a8d36f; font-size: 10px; font-weight: 700; }
.admin-theme .admin-session-copy small svg { width: 13px; height: 13px; }
.admin-theme .admin-toolbar .admin-actions { flex-wrap: nowrap; gap: 10px; }
.admin-theme .admin-toolbar .button.secondary { color: #fff; background: var(--theme-orange); }
.admin-theme .admin-toolbar .button.secondary:hover { background: #b94f2b; }
.admin-theme .admin-toolbar .button.ghost-dark { color: var(--theme-green-dark); background: #fff; border-color: #fff; }
.admin-theme .admin-toolbar .button.ghost-dark:hover { color: var(--theme-green); background: #f1f4ef; }
.admin-theme .admin-list-heading button { border-radius: 7px; }

.admin-theme .admin-editor {
  padding: clamp(22px, 3vw, 36px);
  background: #f8f9f6;
}
.admin-theme .admin-editor-heading {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--theme-line);
}
.admin-theme .admin-editor-heading h2 { margin: 4px 0 8px; color: var(--theme-green-dark); font-size: clamp(32px, 4vw, 46px); }
.admin-theme .admin-editor-heading span { color: var(--theme-orange); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.admin-theme .admin-editor-heading p { margin: 0; font-size: 13px; }

.admin-theme .admin-form-section {
  min-width: 0;
  margin: 0 0 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--theme-line);
  border-radius: 12px;
}
.admin-theme .admin-form-section legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  margin: 0 0 20px;
  padding: 0 8px 0 0;
  color: var(--theme-ink);
}
.admin-theme .admin-form-section legend > span:first-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--theme-green);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}
.admin-theme .admin-form-section .legend-copy { display: grid; gap: 2px; }
.admin-theme .admin-form-section legend strong { font-size: 15px; }
.admin-theme .admin-form-section legend small { color: var(--theme-muted); font-size: 11px; font-weight: 500; }

.admin-theme .admin-fields { display: grid; gap: 16px; }
.admin-theme .admin-fields-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-theme .admin-fields-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-theme .admin-fields-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-theme .admin-fields .field-wide { grid-column: 1 / -1; }
.admin-theme .admin-form label { gap: 7px; color: #4f5d55; font-size: 10px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.admin-theme .admin-form label > small:not(.field-help) { color: var(--theme-muted); font-size: 9px; }
.admin-theme .admin-form input:not([type="checkbox"]):not([type="file"]),
.admin-theme .admin-form select { min-height: 46px; padding: 0 12px; background: #fff; }
.admin-theme .admin-form textarea { padding: 12px; background: #fff; line-height: 1.55; resize: vertical; }
.admin-theme .admin-form input:focus,
.admin-theme .admin-form select:focus,
.admin-theme .admin-form textarea:focus { outline: 3px solid rgba(119,184,42,.14); border-color: var(--theme-lime); }
.admin-theme .field-help { color: #7b877f; font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; }

.admin-theme .admin-media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr);
  gap: 18px;
  align-items: stretch;
}
.admin-theme .admin-image-preview {
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--theme-muted);
  background: #eef3ef;
  border: 1px dashed #b8c5bb;
  border-radius: 10px;
  font-size: 11px;
}
.admin-theme .admin-image-preview img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.admin-theme .file-field { position: relative; align-content: start; }
.admin-theme .file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.admin-theme .file-field > span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--theme-green);
  background: #eef3ef;
  border: 1px dashed #aebdb1;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.admin-theme .file-field:hover > span { background: #e4ede5; border-color: var(--theme-green); }
.admin-theme .admin-gallery-fields { margin-top: 18px; }

.admin-theme .admin-publish-bar {
  position: sticky;
  z-index: 5;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 16px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--theme-line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(13,61,44,.12);
  backdrop-filter: blur(12px);
}
.admin-theme .admin-publish-bar .form-checks { display: flex; gap: 10px; margin: 0; }
.admin-theme .admin-publish-bar .form-checks label {
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f2f5f1;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  cursor: pointer;
  text-transform: none;
}
.admin-theme .admin-publish-bar input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--theme-green); }
.admin-theme .admin-publish-bar label > span { display: grid; gap: 2px; }
.admin-theme .admin-publish-bar label strong { color: var(--theme-ink); font-size: 11px; }
.admin-theme .admin-publish-bar label small { color: var(--theme-muted); font-size: 9px; font-weight: 500; }
.admin-theme .admin-publish-bar .admin-actions { flex-wrap: nowrap; }

.admin-theme .admin-list-panel { background: #fff; }
.admin-theme .admin-property-item { border-radius: 10px; }

/* Inventario de propiedades del panel */
body.admin-theme .admin-grid {
  grid-template-columns: minmax(350px, 400px) minmax(0, 1fr);
  gap: 26px;
}
body.admin-theme .admin-list-panel {
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100dvh - 112px);
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
}
.admin-theme .admin-list-heading {
  align-items: center;
  margin: 0;
  padding: 22px 22px 18px;
  background: #fff;
}
.admin-theme .admin-list-heading > div {
  display: grid;
  gap: 4px;
}
.admin-theme .admin-list-heading > div > span {
  color: var(--theme-orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.admin-theme .admin-list-heading h2 {
  font-size: 28px;
  letter-spacing: -.035em;
}
.admin-theme .admin-list-heading button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
  border-color: var(--theme-line);
  border-radius: 7px;
  color: var(--theme-green);
  background: #f5f6f1;
  font-size: 10px;
}
.admin-theme .admin-list-heading button svg { width: 14px; }
.admin-theme .admin-property-list {
  gap: 12px;
  grid-auto-rows: max-content;
  align-content: start;
  min-height: 0;
  max-height: calc(100dvh - 215px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 14px;
  background: #f4f5f0;
  scrollbar-color: #bdc7bd transparent;
  scrollbar-width: thin;
}
.admin-theme .admin-property-list::-webkit-scrollbar { width: 8px; }
.admin-theme .admin-property-list::-webkit-scrollbar-track { background: transparent; }
.admin-theme .admin-property-list::-webkit-scrollbar-thumb {
  background: #bdc7bd;
  border: 2px solid #f4f5f0;
  border-radius: 999px;
}
.admin-theme .admin-property-item {
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d9ded7;
  background: #fff;
  box-shadow: 0 4px 14px rgba(12, 49, 34, .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.admin-theme .admin-property-item:hover {
  border-color: #b9c7ba;
  box-shadow: 0 10px 25px rgba(12, 49, 34, .09);
  transform: translateY(-1px);
}
.admin-theme .admin-property-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
  background: #e8ece6;
}
.admin-theme .admin-property-thumb {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform .35s ease;
}
.admin-theme .admin-property-item:hover .admin-property-thumb { transform: scale(1.025); }
.admin-theme .admin-property-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  color: #849087;
  background: linear-gradient(145deg, #edf0eb, #e0e6df);
  place-content: center;
  justify-items: center;
  gap: 7px;
}
.admin-theme .admin-property-placeholder svg { width: 25px; }
.admin-theme .admin-property-placeholder span {
  margin: 0;
  font-size: 10px;
  text-transform: uppercase;
}
.admin-theme .admin-visibility {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 39, 28, .82);
  box-shadow: 0 4px 12px rgba(0,0,0,.14);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}
.admin-theme .admin-visibility::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #9ed950;
}
.admin-theme .admin-visibility.is-draft::before { background: #f2b35f; }
.admin-theme .admin-property-content { padding: 16px 17px 14px; }
.admin-theme .admin-property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}
.admin-theme .admin-property-tags span {
  margin: 0;
  padding: 4px 7px;
  border-radius: 4px;
  color: #496154;
  background: #eef2eb;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
}
.admin-theme .admin-property-content h3 {
  margin: 0;
  color: var(--theme-green-dark);
  font-size: 16px;
  line-height: 1.35;
  text-wrap: balance;
}
.admin-theme .admin-property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.35;
}
.admin-theme .admin-property-location svg {
  width: 14px;
  color: var(--theme-orange);
  flex: 0 0 auto;
}
.admin-theme .admin-property-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--theme-line);
}
.admin-theme .admin-property-summary strong {
  color: var(--theme-green);
  font-size: 17px;
  line-height: 1.1;
}
.admin-theme .admin-property-summary small {
  color: var(--theme-muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: capitalize;
}
.admin-theme .admin-item-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px;
  gap: 7px;
  padding: 11px 12px;
  border-top: 1px solid var(--theme-line);
  background: #fafbf8;
}
.admin-theme .admin-item-actions a,
.admin-theme .admin-item-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #d7ded6;
  border-radius: 7px;
  color: var(--theme-green);
  background: #fff;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.admin-theme .admin-item-actions a span,
.admin-theme .admin-item-actions button span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}
.admin-theme .admin-item-actions svg {
  width: 15px;
  height: 15px;
  color: currentColor;
  flex: 0 0 auto;
}
.admin-theme .admin-item-actions .admin-action-edit {
  border-color: var(--theme-green);
  color: #fff;
  background: var(--theme-green);
}
.admin-theme .admin-item-actions .admin-action-view:hover {
  border-color: #aebbb0;
  background: #f0f4ee;
}
.admin-theme .admin-item-actions .admin-action-edit:hover { background: var(--theme-green-dark); }
.admin-theme .admin-item-actions .admin-action-delete {
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  padding: 0;
  overflow: hidden;
  border-color: #ecd1cc;
  color: #b54234;
  background: #fff5f3;
}
.admin-theme .admin-item-actions .admin-action-delete:hover {
  border-color: #b54234;
  color: #fff;
  background: #b54234;
}
.admin-theme .admin-item-actions .admin-action-delete span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.admin-theme .admin-item-actions a:focus-visible,
.admin-theme .admin-item-actions button:focus-visible,
.admin-theme .admin-list-heading button:focus-visible {
  outline: 3px solid rgba(211, 99, 55, .25);
  outline-offset: 2px;
}

@media (max-width: 1050px) {
  .site-page .site-header,
  .admin-theme .site-header { grid-template-columns: 1fr auto auto; padding-inline: var(--theme-gutter); }
  .site-page .menu-toggle,
  .admin-theme .menu-toggle { display: block; grid-column: 3; border-radius: 8px; }
  .site-page .site-nav,
  .admin-theme .site-nav { display: none; }
  .site-page .site-nav.is-open,
  .admin-theme .site-nav.is-open { display: grid; justify-self: stretch; gap: 0; padding: 10px; background: #fff; border: 1px solid var(--theme-line); border-radius: 10px; box-shadow: var(--theme-shadow); }
  .site-page .site-nav.is-open a,
  .admin-theme .site-nav.is-open a { min-height: 44px; padding: 12px; border-radius: 6px; }
  .site-page .header-cta,
  .admin-theme .header-cta { display: none; }
  .admin-theme .admin-fields-3,
  .admin-theme .admin-fields-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.admin-theme .admin-grid { grid-template-columns: 1fr; }
  body.admin-theme .admin-list-panel {
    position: static;
    max-height: min(760px, calc(100dvh - 32px));
  }
  .admin-theme .admin-property-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 720px) {
  .site-page .site-header,
  .admin-theme .site-header { min-height: 68px; padding: 9px var(--theme-gutter); }
  .site-page .brand img,
  .admin-theme .brand img { width: 140px; }
  .site-page .admin-access { display: none; }
  .site-page .category-hero { min-height: 500px; padding: 122px var(--theme-gutter) 54px; }
  .site-page .category-hero h1 { font-size: clamp(38px, 11vw, 50px); }
  .site-page .listing-tools { flex-wrap: nowrap; overflow-x: auto; }
  .site-page .category-intel { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .site-page .section.category-listing { padding: 58px 0 72px; }
  .site-page .empty-state { padding: 34px 22px; }
  .site-page .mini-contact { grid-template-columns: 1fr; padding: 32px 24px; }
  .site-page .mini-contact .contact-card { grid-template-columns: 1fr; align-items: flex-start; gap: 8px; padding: 18px; }
  .site-page .mini-contact .contact-card a { width: 100%; padding-inline: 0; background: none; overflow-wrap: anywhere; }
  .site-page .footer-main { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 36px; }
  .site-page .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-page .property-detail-hero { min-height: 500px; padding: 120px var(--theme-gutter) 54px; }
  .site-page .property-detail-grid { grid-template-columns: 1fr; padding: 58px 0 72px; }
  .site-page .detail-sidebar { position: static; }
  .site-page .floating-whatsapp { right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 56px; height: 56px; min-height: 56px; }
  .site-page .floating-whatsapp::before { width: 29px; height: 29px; }
  .admin-theme .admin-shell { width: calc(100% - 32px); }
  body.admin-theme .admin-list-panel {
    max-height: min(720px, calc(100dvh - 24px));
  }
  .admin-theme .admin-property-list {
    grid-template-columns: 1fr;
    max-height: none;
    padding: 12px 10px 18px 12px;
    scroll-padding-block: 12px 18px;
  }
  .admin-theme .admin-property-media { aspect-ratio: 16 / 7.5; }
  .admin-theme .admin-form-section { padding: 18px; }
  .admin-theme .admin-toolbar { align-items: stretch; gap: 16px; }
  .admin-theme .admin-toolbar .admin-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .admin-theme .admin-fields-2,
  .admin-theme .admin-fields-3,
  .admin-theme .admin-fields-5,
  .admin-theme .admin-media-layout { grid-template-columns: 1fr; }
  .admin-theme .admin-publish-bar { position: static; align-items: stretch; flex-direction: column; }
  .admin-theme .admin-publish-bar .form-checks { display: grid; grid-template-columns: 1fr; }
  .admin-theme .admin-publish-bar .admin-actions { display: grid; grid-template-columns: 1fr; }
}

/* Heroes editoriales para las categorías principales. */
.site-page .featured-category-hero {
  min-height: 680px;
  align-items: center;
  padding: 138px max(var(--theme-gutter), calc((100vw - var(--theme-width)) / 2)) 62px;
  background:
    linear-gradient(90deg, rgba(4, 31, 22, .96) 0%, rgba(4, 31, 22, .84) 40%, rgba(4, 31, 22, .42) 70%, rgba(4, 31, 22, .16) 100%),
    linear-gradient(0deg, rgba(4, 31, 22, .6), transparent 52%),
    var(--hero) center / cover;
}

.site-page .featured-category-hero > .category-hero-content {
  width: min(1180px, 100%);
}

.site-page .featured-category-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 5.7vw, 78px);
  line-height: .99;
  text-wrap: balance;
}

.site-page .featured-category-hero .category-hero-content > p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
}

.site-page .category-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.site-page .category-hero-actions .button { min-height: 48px; }
.site-page .category-hero-actions .button.ghost {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(8px);
}

.site-page .category-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(720px, 100%);
  margin: 38px 0 0;
  border-top: 1px solid rgba(255,255,255,.18);
}

.site-page .category-hero-metrics div {
  min-width: 0;
  padding: 18px 20px 0 0;
}

.site-page .category-hero-metrics dt {
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.site-page .category-hero-metrics dd {
  margin: 5px 0 0;
  color: rgba(255,255,255,.6);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .site-page .featured-category-hero {
    min-height: 700px;
    align-items: end;
    padding: 112px var(--theme-gutter) 52px;
    background:
      linear-gradient(0deg, rgba(4,31,22,.98) 0%, rgba(4,31,22,.88) 55%, rgba(4,31,22,.28) 100%),
      var(--hero) center / cover;
  }
  .site-page .featured-category-hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .site-page .featured-category-hero .category-hero-content > p:not(.eyebrow) { margin-top: 17px; font-size: 14px; }
  .site-page .category-hero-actions { margin-top: 22px; }
  .site-page .category-hero-actions .button { flex: 1 1 170px; }
  .site-page .category-hero-metrics { margin-top: 28px; }
  .site-page .category-hero-metrics div { padding-right: 8px; }
  .site-page .category-hero-metrics dt { font-size: 12px; }
  .site-page .category-hero-metrics dd { font-size: 8px; }
}

@media (min-width: 1051px) and (max-width: 1250px) {
  .site-page .site-header { gap: 16px; padding-inline: 22px; }
  .site-page .site-nav { gap: 14px; font-size: 11px; }
  .site-page .header-cta { padding-inline: 14px; }
}
