/* Estilos compartidos por todas las páginas de Nido Inmobiliaria */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: "Manrope", sans-serif; background: #F6F1E7; color: #1E2418; }
h1, h2, h3, h4 { font-family: "Cormorant Garamond", Georgia, serif; letter-spacing: -0.015em; font-optical-sizing: auto; }
.font-display { font-family: "Cormorant Garamond", Georgia, serif; letter-spacing: -0.01em; }

/* Línea fina de acento en la parte superior de las secciones */
.hazard-line { position: relative; }
.hazard-line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, rgba(143, 110, 53, 0) 0%, #8F6E35 18%, #E6CF9C 50%, #8F6E35 82%, rgba(143, 110, 53, 0) 100%);
}

.hero-slide { opacity: 0; pointer-events: none; transition: opacity .9s ease; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide:not(.active) > .z-10 { visibility: hidden; }
.hero-slide img { transform: scale(1.06); transition: transform 7s ease; }
.hero-slide.active img { transform: scale(1); }
.hero-dot { background: rgba(255, 255, 255, .25); }
.hero-dot.active { background: #C6A15B; box-shadow: 0 0 16px rgba(198, 161, 91, .45); }

/* Solo se ocultan si hay JavaScript (clase "js" en <html>); sin JS se ven normal */
.js .section-fade { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .section-fade.visible { opacity: 1; transform: none; }

.band-clean { background: linear-gradient(180deg, #FBF8F1 0%, #EDE6D7 100%); }
.band-light { background: linear-gradient(180deg, #E7DFCD 0%, #DCD3BF 100%); }
.band-carbon { background: linear-gradient(180deg, #2A3220 0%, #1D2316 100%); color: white; }
.band-accent {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .35), transparent 32%),
    linear-gradient(135deg, #D9C08A 0%, #BF9A55 100%);
}

.panel-white {
  background: linear-gradient(180deg, #FBF8F1 0%, #F2ECDF 100%);
  border: 1px solid rgba(110, 104, 86, .22);
  box-shadow: 0 18px 44px rgba(30, 34, 22, .10), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.panel-dark {
  background: linear-gradient(180deg, #333D28 0%, #262E1D 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.lift { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 24px 52px rgba(30, 36, 24, .20); border-color: rgba(198, 161, 91, .6); }

.chip { transition: background .2s, border-color .2s, color .2s; }
.chip.is-active { background: #232A1B; border-color: #232A1B; color: #E6CF9C; }

/* Texto con degradado cobre */
.texto-cobre {
  background: linear-gradient(180deg, #EFE2C2 0%, #D8BD84 45%, #B08A45 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Header ===== */
#siteHeader { transition: transform .35s ease; }
#siteHeader.oculto { transform: translateY(-100%); }
#siteHeader .topbar { max-height: 40px; transition: max-height .35s ease, opacity .25s ease; }
#siteHeader.scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
#siteHeader .barra {
  background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
#siteHeader.scrolled .barra {
  background: rgba(32, 38, 26, .86);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
#scrollProgress { transform: scaleX(0); transform-origin: left; transition: transform .1s linear; }

/* Menú cápsula con píldora deslizante */
#navPill { transition: left .35s cubic-bezier(.2, .8, .2, 1), width .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; }
.nav-link.is-current { color: #D8BD84; }

/* Menú lateral (celular) */
#mobilePanel { visibility: hidden; pointer-events: none; }
#mobilePanel .velo { opacity: 0; transition: opacity .3s ease; }
#mobilePanel .hoja { transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
#mobilePanel.abierto { visibility: visible; pointer-events: auto; }
#mobilePanel.abierto .velo { opacity: 1; }
#mobilePanel.abierto .hoja { transform: none; }
body.menu-abierto { overflow: hidden; }

input[type="range"] { accent-color: #B08A45; }

@media (max-width: 639px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  select:not([multiple]),
  textarea:not([hidden]) { font-size: 16px; }
}

.campo {
  width: 100%; border-radius: .9rem; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06); color: #fff; padding: .8rem 1rem; font: inherit;
}
.campo::placeholder { color: rgba(255, 255, 255, .4); }
.campo:focus { outline: none; border-color: #C6A15B; }
select.campo option { color: #1E2418; }

details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }

/* Evita que carruseles o textos largos ensanchen las columnas */
.grid > * { min-width: 0; }

/* Carruseles en celular */
.no-scrollbar { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Barra inferior (celular) */
.tab-link.is-current { color: #D8BD84; }
.tab-link.is-current .tab-ico { background: rgba(198, 161, 91, .16); }
.safe-bottom { padding-bottom: calc(.5rem + env(safe-area-inset-bottom)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .section-fade { opacity: 1; transform: none; }
}

#waMenu { transform-origin: bottom right; transition: opacity .2s ease, transform .2s ease; }
#waMenu.cerrado { opacity: 0; transform: scale(.9) translateY(8px); pointer-events: none; }

/* ===== Páginas internas ===== */
.page-hero { position: relative; isolation: isolate; }
.page-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; z-index: -1;
  background: linear-gradient(to top, rgba(20, 24, 15, .9), transparent);
}

/* Ficha de propiedad (ventana) */
dialog.ficha { padding: 0; border: 0; background: transparent; max-width: min(1000px, calc(100vw - 24px)); width: 100%; }
dialog.ficha::backdrop { background: rgba(18, 22, 14, .72); backdrop-filter: blur(4px); }
dialog.ficha[open] .ficha-caja { animation: ficha-entra .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes ficha-entra { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
body.ficha-abierta { overflow: hidden; }

/* Selector segmentado (venta / renta, etc.) */
.segmento { transition: background .2s, color .2s, box-shadow .2s; }
.segmento.is-active { background: #232A1B; color: #E6CF9C; box-shadow: 0 6px 16px rgba(35, 42, 27, .25); }

/* Lista con palomita */
.check-item::before {
  content: ""; flex-shrink: 0; width: 1.1rem; height: 1.1rem; margin-top: .15rem; border-radius: 9999px;
  background: #C6A15B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310201C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Logo (ícono SVG + nombre) */
.logo-marca { display: inline-flex; align-items: center; gap: .7rem; color: #fff; }
.logo-marca img { height: 3.1rem; width: auto; flex-shrink: 0; }
.logo-marca .logo-nombre { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: .01em; }
.logo-marca .logo-sub { display: block; margin-top: .3rem; font-family: "Manrope", sans-serif; font-size: .58rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #D8BD84; }

/* =====================================================================
   PORTADA · FIRMA LEGAL BOUTIQUE (verde olivo, oro sutil y arena)
   ===================================================================== */
h1, h2 { font-weight: 600; letter-spacing: -0.01em; }
.kr-hero { background: radial-gradient(120% 90% at 80% 10%, #3B4630 0%, #232A1B 45%, #1A1F14 100%); }
.kr-oscuro { background: linear-gradient(180deg, #232A1B 0%, #1A1F14 100%); }
.kr-eyebrow { display: inline-flex; align-items: center; gap: .9rem; font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.kr-raya { display: inline-block; width: 2.5rem; height: 1px; background: currentColor; opacity: .8; }
.kr-oro { font-style: italic; background: linear-gradient(100deg, #EFE2C2 0%, #C6A15B 55%, #A8823D 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kr-oro-oscuro { font-style: italic; color: #8F6E35; }
.kr-mini { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #C6A15B; }

.kr-btn-oro, .kr-btn-linea, .kr-btn-oscuro { display: inline-flex; align-items: center; gap: .6rem; min-height: 3.25rem; padding: 0 1.9rem; border-radius: 999px; font-size: .92rem; font-weight: 600; letter-spacing: .02em; transition: all .25s ease; }
.kr-btn-oro { background: linear-gradient(135deg, #D8BD84 0%, #C6A15B 50%, #A8823D 100%); color: #1A1F14; box-shadow: 0 14px 34px rgba(198, 161, 91, .28); }
.kr-btn-oro:hover { filter: brightness(1.06); transform: translateY(-1px); }
.kr-btn-linea { border: 1px solid rgba(251, 248, 241, .28); color: #FBF8F1; }
.kr-btn-linea:hover { border-color: #C6A15B; color: #E6CF9C; }
.kr-btn-oscuro { background: #232A1B; color: #FBF8F1; }
.kr-btn-oscuro:hover { background: #3B4630; }
.kr-btn-mini { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; border: 1px solid #C9BEA6; font-size: .8rem; font-weight: 600; color: #1E2418; transition: all .2s ease; }
.kr-btn-mini:hover { border-color: #232A1B; background: #232A1B; color: #FBF8F1; }
.kr-subraya { background: linear-gradient(#C6A15B, #C6A15B) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }

/* Retrato */
.kr-retrato { position: relative; aspect-ratio: 4 / 5; }
.kr-retrato-marco { position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(198, 161, 91, .55); border-radius: 220px 220px 18px 18px; }
.kr-retrato-foto { position: absolute; inset: 0; overflow: hidden; border-radius: 220px 220px 18px 18px; background: linear-gradient(160deg, #3B4630 0%, #2C3522 45%, #1A1F14 100%); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.kr-retrato-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(26, 31, 20, .55) 100%); pointer-events: none; }
.kr-monograma { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; }
.kr-monograma span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 7rem; font-weight: 500; line-height: 1; letter-spacing: .04em; background: linear-gradient(160deg, #EFE2C2, #C6A15B 60%, #8F6E35); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kr-monograma small { font-size: .65rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(251, 248, 241, .45); }
.kr-tarjeta-flotante { position: absolute; z-index: 2; border-radius: 16px; background: rgba(251, 248, 241, .97); padding: 1rem 1.2rem; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); border: 1px solid rgba(198, 161, 91, .35); }

/* Áreas de práctica */
.kr-area { position: relative; display: flex; flex-direction: column; background: #FBF8F1; padding: 2.5rem 2.1rem 2.2rem; transition: background .3s ease; }
.kr-area:hover { background: #FFFFFF; }
.kr-num { position: absolute; top: 2.3rem; right: 2.1rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.15rem; color: #C6A15B; letter-spacing: .1em; }
.kr-icono { display: inline-flex; width: 3.25rem; height: 3.25rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(198, 161, 91, .55); color: #8F6E35; }
.kr-lista { flex: 1; }
.kr-lista li { position: relative; padding: .7rem 0 .7rem 1.4rem; border-top: 1px solid #E7DFCD; font-size: .92rem; color: #1E2418; }
.kr-lista li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .55rem; height: 1px; background: #C6A15B; }
.kr-enlace { margin-top: 1.8rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 700; color: #1E2418; }
.kr-enlace:hover { color: #8F6E35; }

/* Método */
.kr-paso { position: relative; padding-top: 2rem; border-top: 1px solid rgba(198, 161, 91, .35); }
.kr-paso-num { font-family: "Cormorant Garamond", Georgia, serif; font-size: 3rem; line-height: 1; color: #C6A15B; }
.kr-paso h3 { margin-top: 1.1rem; font-size: 1.6rem; font-weight: 600; color: #FBF8F1; }
.kr-paso p { margin-top: .6rem; font-size: .95rem; line-height: 1.6; color: rgba(251, 248, 241, .62); }

/* Tabla de oportunidades */
.kr-tabla { border-top: 1px solid #C9BEA6; }
.kr-tabla-cab, .kr-tabla-fila { display: grid; grid-template-columns: 2.2fr 1.3fr 1.1fr 1.1fr .8fr 1.1fr; gap: 1.25rem; align-items: center; }
.kr-tabla-cab { padding: 1rem 0; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #565C4A; border-bottom: 1px solid #DCD3BF; }
.kr-tabla-fila { padding: 1.5rem 0; border-bottom: 1px solid #DCD3BF; transition: background .2s ease; }
.kr-tabla-fila:hover { background: rgba(233, 223, 201, .35); }
.kr-dato { text-align: right; font-size: .95rem; }
.kr-dato-et { display: none; }
.kr-etapa { display: inline-flex; border-radius: 999px; border: 1px solid #C9BEA6; padding: .3rem .8rem; font-size: .76rem; font-weight: 600; color: #3B4630; }
.kr-descuento { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; font-weight: 600; color: #8F6E35; }
@media (max-width: 900px) {
  .kr-tabla-cab { display: none; }
  .kr-tabla-fila { grid-template-columns: 1fr 1fr; gap: .9rem 1rem; padding: 1.4rem 0; }
  .kr-tabla-fila > div:first-child { grid-column: 1 / -1; }
  .kr-dato { text-align: left; }
  .kr-dato-et { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8C8A78; margin-bottom: .2rem; }
  .kr-tabla-fila > div:last-child { grid-column: 1 / -1; text-align: left; }
}

/* Gráfica de flipping */
.kr-grafica { border-radius: 28px; background: #FFFFFF; border: 1px solid #E7DFCD; padding: 2rem; box-shadow: 0 30px 70px rgba(35, 42, 27, .10); }
.kr-check, .kr-check-oscuro { display: inline-flex; flex: none; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; }
.kr-check { background: #232A1B; color: #C6A15B; }
.kr-check-oscuro { border: 1px solid rgba(198, 161, 91, .45); color: #C6A15B; }

/* Principios */
.kr-principio { display: flex; flex-direction: column; gap: .45rem; padding: 2rem 1.75rem; font-size: .9rem; color: #565C4A; }
.kr-principio svg { color: #8F6E35; margin-bottom: .4rem; }
@media (min-width: 1024px) { .kr-principio + .kr-principio { border-left: 1px solid #DCD3BF; } }

/* Formulario de consulta */
.kr-form { border-radius: 28px; border: 1px solid rgba(198, 161, 91, .28); background: rgba(251, 248, 241, .04); padding: 2rem; backdrop-filter: blur(6px); }
.kr-campo { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(251, 248, 241, .6); }
.kr-campo input, .kr-campo select, .kr-campo textarea { display: block; width: 100%; margin-top: .55rem; border-radius: 14px; border: 1px solid rgba(251, 248, 241, .16); background: rgba(26, 31, 20, .55); padding: .85rem 1rem; font-size: .95rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: #FBF8F1; outline: none; }
.kr-campo input::placeholder, .kr-campo textarea::placeholder { color: rgba(251, 248, 241, .35); }
.kr-campo input:focus, .kr-campo select:focus, .kr-campo textarea:focus { border-color: #C6A15B; }
.kr-campo select option { color: #1E2418; }
.kr-campo .kr-error, .kr-error { border-color: #C9707D !important; }

/* ===== Propiedades · pestañas desplegables de asesoría ===== */
.kr-pestana { display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); padding: .75rem 1.5rem; font-weight: 600; color: #fff; backdrop-filter: blur(6px); transition: border-color .2s, color .2s, background .2s; }
.kr-pestana:hover { border-color: #C6A15B; color: #D8BD84; }
.kr-pestana-oro { background: #C6A15B; border-color: #C6A15B; color: #232A1B; font-weight: 700; }
.kr-pestana-oro:hover { color: #232A1B; filter: brightness(.95); }
.kr-pestana[aria-expanded="true"] { border-color: #C6A15B; box-shadow: 0 0 0 3px rgba(198, 161, 91, .25); }
.kr-pestana-flecha { transition: transform .25s ease; }
.kr-pestana[aria-expanded="true"] .kr-pestana-flecha { transform: rotate(180deg); }
.kr-panel { margin-top: 1.25rem; max-width: 46rem; border-radius: 1.5rem; border: 1px solid rgba(198, 161, 91, .35); background: rgba(26, 31, 20, .82); padding: 1.75rem; backdrop-filter: blur(10px); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); animation: kr-panel-entra .3s ease both; }
.kr-panel[hidden] { display: none; }
@keyframes kr-panel-entra { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.kr-panel-lista { margin-top: 1.25rem; display: grid; gap: 1rem; }
.kr-panel-lista li { display: flex; gap: .85rem; align-items: flex-start; color: rgba(255, 255, 255, .78); line-height: 1.6; }
.kr-panel-lista strong { color: #fff; font-weight: 700; }
.kr-lista-ico { flex-shrink: 0; margin-top: .55rem; height: .5rem; width: .5rem; transform: rotate(45deg); background: #C6A15B; }
.kr-panel-cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: #D8BD84; border-bottom: 1px solid rgba(198, 161, 91, .5); padding-bottom: .15rem; }
.kr-panel-cta:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .kr-panel { animation: none; } }

/* ===== Propiedades · avalúos y créditos (fondo claro) ===== */
.kr-aliado { border-radius: 1rem; border: 1px solid #DCD3BF; background: #fff; padding: 1rem 1.1rem; }
.kr-pestana-clara { display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; border: 1px solid #232A1B; background: #fff; padding: .75rem 1.35rem; font-weight: 600; color: #232A1B; transition: background .2s, color .2s, box-shadow .2s; }
.kr-pestana-clara:hover { background: #F4EFE4; }
.kr-pestana-clara[aria-expanded="true"] { background: #232A1B; color: #FBF8F1; box-shadow: 0 10px 24px rgba(35, 42, 27, .18); }
.kr-pestana-clara[aria-expanded="true"] .kr-pestana-flecha { transform: rotate(180deg); }
.kr-panel-claro { margin-top: 1.25rem; border-radius: 1.5rem; border: 1px solid #DCD3BF; background: #fff; padding: 1rem; box-shadow: 0 24px 50px rgba(35, 42, 27, .08); animation: kr-panel-entra .3s ease both; }
.kr-panel-claro[hidden], .kr-subpanel[hidden] { display: none; }
.kr-subpestana { display: flex; width: 100%; align-items: center; gap: .9rem; border-radius: 1rem; padding: .9rem 1rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; font-weight: 600; color: #1E2418; transition: background .2s; }
.kr-subpestana:hover, .kr-subpestana[aria-expanded="true"] { background: #F6F1E7; }
.kr-subpestana[aria-expanded="true"] .kr-pestana-flecha { transform: rotate(180deg); }
.kr-subpestana-ico { display: flex; height: 2.6rem; width: 2.6rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; background: #232A1B; color: #C6A15B; }
.kr-subpanel { padding: 1rem 1rem .5rem; line-height: 1.65; animation: kr-panel-entra .3s ease both; }
.kr-lista-clara li { color: #565C4A; }
.kr-lista-clara strong { color: #1E2418; }
.kr-lista-clara .kr-lista-ico { background: #8F6E35; }
.kr-cta-clara { color: #8F6E35; }
.kr-cta-clara:hover { color: #232A1B; }
.faq-respuesta ul { margin-top: .6rem; display: grid; gap: .45rem; padding-left: 1.1rem; list-style: disc; }
.faq-respuesta li::marker { color: #C6A15B; }
.faq-respuesta strong { color: #1E2418; }
@media (prefers-reduced-motion: reduce) { .kr-panel-claro, .kr-subpanel { animation: none; } }
@media (max-width: 639px) { .kr-pestana-clara { width: 100%; justify-content: space-between; } .kr-subpestana { font-size: 1.2rem; } }

/* ===== Remates · línea de tiempo del juicio ===== */
.kr-linea { position: relative; display: grid; gap: .25rem; }
.kr-linea::before { content: ""; position: absolute; left: 1.2rem; top: .5rem; bottom: .5rem; width: 1px; background: linear-gradient(#C6A15B, #8F6E35 60%, #3B4630); opacity: .5; }
.kr-linea-grupo { position: relative; margin: 1rem 0 .35rem 3.4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; }
.kr-linea-grupo:first-child { margin-top: 0; }
.kr-linea-grupo span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; font-weight: 600; color: #1E2418; }
.kr-linea-grupo small { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8F6E35; }
.kr-linea-paso { position: relative; display: flex; gap: 1rem; padding: .7rem 0; }
.kr-linea-num { position: relative; z-index: 1; display: flex; height: 2.4rem; width: 2.4rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid #C6A15B; background: #FBF8F1; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.15rem; font-weight: 700; color: #8F6E35; }
.kr-linea-paso h3 { font-weight: 700; color: #1E2418; line-height: 1.35; padding-top: .45rem; }
.kr-linea-paso p { margin-top: .25rem; font-size: .9rem; line-height: 1.6; color: #565C4A; }
.kr-linea-paso.kr-grupo-adjudicado .kr-linea-num { background: #F4EFE4; }
.kr-linea-paso.kr-grupo-posesion .kr-linea-num { background: #232A1B; border-color: #232A1B; color: #C6A15B; }
article.kr-grupo-cesion { border-top: 3px solid #D8BD84; }
article.kr-grupo-adjudicado { border-top: 3px solid #C6A15B; }
article.kr-grupo-posesion { border-top: 3px solid #3B4630; }

.kr-etapa-card { cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.kr-etapa-card:hover, .kr-etapa-card:focus-visible { box-shadow: 0 18px 40px rgba(35, 42, 27, .14); outline: none; }
.kr-etapa-card:focus-visible { box-shadow: 0 0 0 3px rgba(198, 161, 91, .5); }
.kr-disponibles { display: inline-flex; align-items: baseline; gap: .35rem; border-radius: 9999px; background: #232A1B; padding: .35rem .85rem; font-size: .75rem; font-weight: 600; color: #FBF8F1; }
.kr-disponibles b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.25rem; line-height: 1; color: #C6A15B; }
.kr-disponibles.is-cero { background: #F4EFE4; color: #565C4A; }
.kr-disponibles.is-cero b { color: #8F6E35; }
.kr-etapa-ver { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; color: #8F6E35; }
.kr-etapa-card:hover .kr-etapa-ver { color: #232A1B; }
.kr-linea-grupo.kr-grupo-subasta span { color: #7A2E3B; }
.kr-linea-grupo.kr-grupo-subasta + .kr-linea-grupo { margin-top: .1rem; }
.faq-respuesta ul:not(:last-child) { margin-bottom: .75rem; }
.kr-area-lista li { position: relative; padding-left: 1rem; line-height: 1.5; }
.kr-area-lista li::before { content: ""; position: absolute; left: 0; top: .55em; height: .4rem; width: .4rem; transform: rotate(45deg); background: #C6A15B; }
.bg-primary .kr-area-lista li::before { background: #232A1B; }
.kr-area-lista strong { color: #1E2418; font-weight: 700; }

/* ===== Aviso de privacidad ===== */
.kr-aviso-indice { border-radius: 1.25rem; border: 1px solid #DCD3BF; background: #fff; padding: 1.4rem 1.5rem; }
.kr-aviso-indice ol { margin-top: .9rem; display: grid; gap: .55rem; counter-reset: av; }
.kr-aviso-indice li { counter-increment: av; font-size: .9rem; }
.kr-aviso-indice li::before { content: counter(av, decimal-leading-zero); margin-right: .6rem; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; color: #8F6E35; }
.kr-aviso-indice a { color: #565C4A; } .kr-aviso-indice a:hover { color: #1E2418; }
.kr-aviso-sec { scroll-margin-top: 7rem; border-bottom: 1px solid #DCD3BF; padding: 2rem 0; }
.kr-aviso-sec:first-child { padding-top: 0; } .kr-aviso-sec:last-child { border-bottom: 0; }
.kr-aviso-sec h2 { display: flex; align-items: baseline; gap: .8rem; font-size: 1.75rem; font-weight: 600; color: #1E2418; line-height: 1.2; }
.kr-aviso-sec h2 span { font-size: 1rem; font-weight: 700; color: #C6A15B; }
.kr-aviso-sec p { margin-top: .9rem; line-height: 1.75; color: #565C4A; }
.kr-aviso-sec strong { color: #1E2418; }
.kr-aviso-sec a { color: #8F6E35; text-decoration: underline; text-underline-offset: 3px; }
.kr-aviso-sec ul { margin-top: .8rem; display: grid; gap: .55rem; }
.kr-aviso-sec li { position: relative; padding-left: 1.2rem; line-height: 1.7; color: #565C4A; }
.kr-aviso-sec li::before { content: ""; position: absolute; left: 0; top: .7em; height: .4rem; width: .4rem; transform: rotate(45deg); background: #C6A15B; }

/* ===== Juicios ===== */
.kr-panel-enlace { display: flex; width: 100%; align-items: flex-start; gap: .85rem; border-radius: .9rem; margin: -.35rem -.6rem; padding: .35rem .6rem; transition: background .2s; }
.kr-panel-enlace:hover, .kr-panel-enlace:focus-visible { background: rgba(198, 161, 91, .12); outline: none; }
.kr-panel-enlace p { color: rgba(255, 255, 255, .85); }
.kr-juicio { border-radius: 1.5rem; border: 1px solid #DCD3BF; background: #fff; padding: 1.75rem; box-shadow: 0 18px 40px rgba(35, 42, 27, .06); }
.kr-juicio:target { border-color: #C6A15B; box-shadow: 0 0 0 3px rgba(198, 161, 91, .3), 0 18px 40px rgba(35, 42, 27, .08); }
.kr-juicio-num { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.2rem; font-weight: 600; line-height: 1; color: #C6A15B; }
.kr-aviso-sec h3 { margin-top: 1.2rem; font-family: "Manrope", sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0; color: #1E2418; }
.kr-aviso-sec em { color: #8F6E35; font-style: normal; font-size: .85em; }
.kr-firma-opciones { margin-top: 1rem; display: grid; gap: .35rem; }
.kr-firma-opciones p { margin-top: 0; display: flex; gap: .7rem; align-items: flex-start; }
.kr-casilla { flex-shrink: 0; margin-top: .3rem; height: 1rem; width: 1rem; border: 1.5px solid #8F6E35; border-radius: .2rem; }
.kr-firma-lineas { margin-top: 2.5rem; display: grid; gap: 2rem; }
@media (min-width: 640px) { .kr-firma-lineas { grid-template-columns: repeat(3, 1fr); } }
.kr-firma-lineas span { display: block; height: 2.5rem; border-bottom: 1px solid #1E2418; }
.kr-firma-lineas p { margin-top: .4rem; font-size: .8rem; text-align: center; }
.kr-aviso-solo-impresion { display: none; }
@media print {
  #siteHeader, #mobilePanel, footer, .kr-no-imprimir, .kr-hero, .fixed, dialog { display: none !important; }
  body { background: #fff !important; padding: 0 !important; }
  section { padding: 0 !important; background: #fff !important; }
  html, body { height: auto !important; min-height: 0 !important; }
  section > div { padding: 0 !important; display: block !important; }
  .kr-aviso { grid-column: 1 / -1 !important; }
  .kr-aviso-solo-impresion { display: block; margin-bottom: 1rem; font-size: 1.1rem; }
  section.kr-aviso-sec { break-inside: auto; padding: 1.1rem 0 !important; }
  .kr-aviso-sec h2 { break-after: avoid; }
  .kr-aviso-firma { break-inside: avoid; }
  .kr-aviso-sec a { color: #1E2418; text-decoration: none; }
}
.logo-marca .logo-r { margin-left: .12em; font-family: "Manrope", sans-serif; font-size: .46em; font-weight: 600; vertical-align: super; color: #D8BD84; }
.kr-r { margin-left: .08em; font-family: "Manrope", sans-serif; font-size: .5em; font-weight: 600; vertical-align: super; }

/* ===== Flipping · imagen de portada ===== */
.kr-fl-foto { position: relative; aspect-ratio: 4 / 5; }
@media (min-width: 1024px) { .kr-fl-foto { aspect-ratio: 5 / 6; } }
.kr-fl-foto img { position: relative; z-index: 1; height: 100%; width: 100%; border-radius: 1.75rem; object-fit: cover; background: linear-gradient(160deg, #3B4630, #1A1F14); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.kr-fl-marco { position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(198, 161, 91, .55); border-radius: 1.75rem; }
.kr-fl-chip { position: absolute; z-index: 2; top: 1rem; right: 1rem; display: inline-flex; align-items: center; gap: .4rem; border-radius: 9999px; background: rgba(26, 31, 20, .82); padding: .45rem .85rem; font-size: .72rem; font-weight: 600; color: #D8BD84; backdrop-filter: blur(6px); }
.kr-fl-foto .kr-tarjeta-flotante { z-index: 2; }
.kr-tarjeta-debajo { position: relative; z-index: 2; margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: 16px; background: rgba(251, 248, 241, .97); padding: 1rem 1.2rem; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); border: 1px solid rgba(198, 161, 91, .35); }
.kr-fl-unida img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.kr-fl-unida + .kr-tarjeta-debajo { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; border-top: 0; }

/* ===== Remates · imagen de portada ===== */
.kr-rem-portada { position: relative; }
.kr-rem-portada img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 1.5rem; box-shadow: 0 30px 60px rgba(35, 42, 27, .22); }
.kr-rem-marco { position: absolute; inset: -12px 12px 12px -12px; border: 1px solid rgba(198, 161, 91, .55); border-radius: 1.5rem; }
@media (max-width: 639px) { .kr-rem-portada img { border-radius: 1rem; } .kr-rem-marco { inset: -8px 8px 8px -8px; border-radius: 1rem; } }
@media (min-width: 1024px) { .kr-rem-lateral img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 92% center; } }
.kr-alianzas-img img { aspect-ratio: 16 / 10; object-fit: cover; object-position: center 70%; }

/* Imagen que ocupa la altura de su columna de recuadros (escritorio) */
@media (min-width: 1024px) {
  .kr-img-alta { height: 100%; }
  .kr-img-alta img { height: 100%; min-height: 26rem; object-fit: cover; object-position: center; }
}
.kr-logo-pie { width: 9rem; height: auto; }

/* ===== Blog ===== */
.kr-blog-sinfoto { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #3B4630, #1A1F14); color: #C6A15B; aspect-ratio: 16 / 10; }
.kr-articulo-texto { font-size: 1.05rem; line-height: 1.85; color: #3E4434; }
.kr-articulo-texto p { margin-top: 1.1rem; }
.kr-articulo-texto h2 { margin-top: 2.2rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.9rem; font-weight: 600; line-height: 1.2; color: #1E2418; }
.kr-articulo-texto ul { margin-top: 1rem; display: grid; gap: .5rem; padding-left: 1.2rem; list-style: none; }
.kr-articulo-texto li { position: relative; }
.kr-articulo-texto li::before { content: ""; position: absolute; left: -1.1rem; top: .75em; height: .4rem; width: .4rem; transform: rotate(45deg); background: #C6A15B; }
/* ===== Testimonios ===== */
.kr-testimonio { display: flex; flex-direction: column; border-radius: 1.5rem; border: 1px solid #DCD3BF; background: #fff; padding: 1.75rem; }
.kr-testimonio blockquote { flex: 1; margin-top: 1rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; line-height: 1.45; color: #1E2418; }
.kr-estrellas { display: flex; gap: .15rem; color: #C6A15B; }
