/* Portfolio de Nahuel Gutiérrez · estilo galería / boutique · paleta de Epic */
@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url("../fonts/SpaceGrotesk-Regular.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/SpaceGrotesk-Medium.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url("../fonts/SpaceGrotesk-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Artine"; font-weight: 700; font-display: swap; src: url("../fonts/Artine-Bold.woff2") format("woff2"); }

:root {
  --petroleo: #004851; --petroleo-hondo: #00313a; --azul: #34657f;
  --crema: #f0e4d8; --papel: #faf7f2; --blanco: #fff;
  --naranja: #e87722; --tinta: #1b2a2e; --suave: #4a5a5e; --linea: #e2d9cc;
  --display: "Artine", Georgia, "Times New Roman", serif;
  --cuerpo: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--cuerpo); font-size: 16px; line-height: 1.55; color: var(--tinta); background: var(--papel); }
img { max-width: 100%; display: block; }
a { color: var(--petroleo); }
a:hover { color: var(--petroleo-hondo); }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100%, 1240px); margin: 0 auto; padding: 0 var(--pad); }
h1, h2, h3, .display { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
.sec { padding-top: clamp(56px, 9vw, 96px); }
.sec-h { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.sec-h h2 { font-size: clamp(32px, 5vw, 48px); }
.sec-h p { margin: 0; color: var(--suave); font-size: 15px; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 6px; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; border: 1px solid var(--petroleo); text-decoration: none; background: transparent; color: var(--petroleo); }
.btn:hover { background: rgba(0, 72, 81, .07); color: var(--petroleo); }
.btn.p { background: var(--petroleo); color: #fff; }
.btn.p:hover { background: var(--petroleo-hondo); color: #fff; }
.btn.w { background: #fff; }
.btn.na { background: var(--naranja); border-color: var(--naranja); color: #000; font-weight: 600; }
.btn.na:hover { background: #f08a3a; color: #000; }
.btn.cr { background: var(--crema); border-color: var(--crema); color: var(--petroleo); }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn.full { width: 100%; }

/* barra superior */
.top { background: var(--papel); border-bottom: 1px solid var(--linea); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 8px 24px; min-height: 64px; flex-wrap: wrap; padding-block: 6px; }
.marca { margin-right: auto; text-decoration: none; color: var(--tinta); display: flex; flex-direction: column; line-height: 1.1; }
.marca b { font-family: var(--display); font-size: 24px; font-weight: 700; }
.marca small { font-size: 12px; color: var(--suave); }
.menu { display: flex; gap: 2px 20px; align-items: center; flex-wrap: wrap; }
.menu a:not(.btn) { color: var(--tinta); text-decoration: none; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.menu a:not(.btn):hover { color: var(--petroleo); text-decoration: underline; }
@media (max-width: 760px) { .menu a.opc { display: none; } .marca small { display: none; } }

/* portada */
.hero { display: grid; grid-template-columns: 5fr 6fr; min-height: min(78vh, 720px); background: var(--crema); }
.hero-foto { background: var(--petroleo); position: relative; overflow: hidden; min-height: 420px; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; position: absolute; inset: 0; }
.hero-txt { padding: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hero-txt .k { font-size: 14px; color: #3a2f22; margin: 0; }
.hero-txt h1 { font-size: clamp(44px, 7vw, 84px); }
.hero-txt .lema { font-size: clamp(17px, 2vw, 20px); margin: 0; max-width: 34ch; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-foto { min-height: 0; aspect-ratio: 4 / 5; max-height: 78vh; } }

.cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 32px; }
.cifras b { display: block; font-family: var(--display); font-size: clamp(30px, 4vw, 44px); line-height: 1; font-weight: 700; }
.cifras span { font-size: 14px; color: var(--suave); }
@media (max-width: 760px) { .cifras { grid-template-columns: 1fr 1fr; gap: 20px 16px; } }

/* redes */
.redes { background: var(--crema); border-radius: 10px; padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.redes h2 { font-size: clamp(24px, 3vw, 30px); }
.redes p { margin: 4px 0 0; font-size: 15px; color: #3a2f22; }
.redes-l { display: flex; flex-wrap: wrap; gap: 10px; }
.redes-l a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 6px; background: #fff; border: 1px solid #d8cfc1; color: var(--petroleo); text-decoration: none; font-weight: 500; }
.redes-l a:hover { background: #fff; border-color: var(--petroleo); }
.redes-l img { width: 22px; height: 22px; object-fit: contain; }

/* video destacado */
.dest { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 4vw, 40px); align-items: center; margin-bottom: 48px; }
.dest-info { display: flex; flex-direction: column; gap: 12px; }
.dest-info .k { font-size: 14px; color: var(--suave); }
.dest-info h3 { font-size: clamp(30px, 4vw, 40px); }
.precio { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dest-info p { margin: 0; color: var(--suave); }
@media (max-width: 860px) { .dest { grid-template-columns: 1fr; } }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--petroleo); border-radius: 12px; overflow: hidden; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: transparent; display: flex; align-items: center; justify-content: center; }
.video button::before { content: ""; position: absolute; inset: 0; background: rgba(0, 49, 58, .28); }
.video button svg { position: relative; width: 72px; height: 72px; }
.video button:hover::before { background: rgba(0, 49, 58, .12); }

/* tarjetas de propiedad */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.card { display: block; text-decoration: none; color: var(--tinta); }
.card .ph { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--crema); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .ph img { transform: scale(1.03); }
.card .meta { padding-top: 12px; }
.card .z { font-size: 13px; color: var(--suave); }
.card .t { font-size: 18px; font-weight: 500; line-height: 1.3; margin: 2px 0 4px; }
.card .p { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.card .p s { font-size: 14px; color: var(--suave); font-weight: 400; margin-left: 8px; }
.tag { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--petroleo); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 500; }
.tag + .tag { top: 42px; }
.tag.baja { background: var(--naranja); color: #000; }
.mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini .card .ph { aspect-ratio: 4 / 3; border-radius: 8px; }
.mini .card .t { font-size: 15px; }
.mini .card .p { font-size: 17px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } .mini { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.mas-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin: 56px 0 16px; }
.mas-h h3 { font-size: 30px; }

/* filtros de /propiedades/ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--petroleo); background: #fff; color: var(--petroleo); font: inherit; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--petroleo); color: #fff; }

/* sobre mí */
.sobre { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.sobre h2 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 20px; }
.sobre p { font-size: 18px; line-height: 1.65; margin: 0 0 16px; }
.cita { margin: 0; padding: 28px; background: var(--petroleo); color: var(--crema); border-radius: 10px; font-family: var(--display); font-size: clamp(22px, 3vw, 30px); line-height: 1.25; }
.cita cite { display: block; margin-top: 14px; font-family: var(--cuerpo); font-size: 14px; font-style: normal; color: #c9d9dc; }
.linea { margin-top: 28px; }
.linea div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--linea); }
.linea b { font-family: var(--display); font-size: 22px; font-weight: 700; }
.linea span { color: var(--suave); font-size: 15px; display: block; }
.linea strong { font-weight: 500; }
@media (max-width: 860px) { .sobre { grid-template-columns: 1fr; } }

/* reseñas */
.rev-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 20px; }
.rev-top .n { font-size: 15px; color: var(--suave); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 360px); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.rv { margin: 0; scroll-snap-align: start; background: #fff; border: 1px solid var(--linea); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rv .h { display: flex; align-items: center; gap: 12px; }
.rv .av { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.rv small { display: block; color: var(--suave); font-size: 13px; }
.rv .st { color: #8a4a0c; letter-spacing: 2px; font-size: 18px; }
.rv blockquote { margin: 0; font-size: 16px; line-height: 1.55; }

/* juegos */
.juegos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.juego { display: block; text-decoration: none; color: var(--tinta); background: #fff; border: 1px solid var(--linea); border-radius: 8px; padding: 24px; }
.juego:hover { border-color: var(--petroleo); }
.juego h3 { font-size: 26px; margin-bottom: 8px; }
.juego p { margin: 0; color: var(--suave); font-size: 15px; }
.juego.noche { background: var(--petroleo-hondo); color: var(--crema); border-color: var(--petroleo-hondo); }
.juego.noche p { color: #c9d9dc; }
@media (max-width: 760px) { .juegos { grid-template-columns: 1fr; } }

/* contacto */
.contacto { margin-top: clamp(56px, 9vw, 96px); background: var(--petroleo); color: var(--crema); padding: clamp(48px, 8vw, 80px) 0; }
.contacto .dos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 64px); align-items: start; }
.contacto h2 { font-size: clamp(34px, 5vw, 48px); color: #fff; margin-bottom: 16px; }
.contacto p { margin: 0 0 22px; font-size: 18px; max-width: 34ch; }
@media (max-width: 860px) { .contacto .dos { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form textarea { font: inherit; font-size: 16px; min-height: 48px; border-radius: 6px; border: 1px solid #c9d9dc; padding: 10px 12px; background: #fff; color: var(--tinta); width: 100%; }
.form textarea { min-height: 96px; resize: vertical; }
.form .ok-row { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.4; }
.form .ok-row input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--naranja); }
.form .ok-row a { color: inherit; }
.form .msg { min-height: 1.4em; margin: 0; font-size: 15px; }
.form .hp { position: absolute; left: -9999px; }
.claro .form label { color: var(--suave); }
.claro .form .ok-row a { color: var(--petroleo); }

/* ficha */
.ficha-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-block: 8px; }
.ficha-top a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.ficha-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; padding: 24px 0 8px; }
.ficha-h .z { font-size: 14px; color: var(--suave); }
.ficha-h h1 { font-size: clamp(36px, 6vw, 56px); margin-top: 4px; }
.ficha-h .precio { font-size: clamp(28px, 4vw, 34px); }
.ficha-h .antes { font-size: 15px; color: var(--suave); }
.mos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; margin-top: 28px; }
.mos > * { border-radius: 10px; overflow: hidden; background: var(--crema); position: relative; padding: 0; border: 0; cursor: pointer; }
.mos .big { grid-row: span 2; }
.mos img { width: 100%; height: 100%; object-fit: cover; }
.mos .mas { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--petroleo); border-radius: 6px; padding: 10px 14px; font-weight: 500; font-size: 15px; }
.mos.n1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
.mos.n1 .big { grid-row: auto; }
.mos.n2 { grid-template-columns: 2fr 1fr; }
.mos.n3 { grid-template-columns: 2fr 1fr; }
.mos.n3 .big { grid-row: span 2; }
.mos.n2 .big { grid-row: span 2; }
@media (max-width: 760px) { .mos, .mos.n2, .mos.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 150px 150px; } .mos .big { grid-column: span 2; grid-row: auto; } .mos.n1 { grid-template-columns: 1fr; grid-template-rows: 300px; } .mos.n1 .big { grid-column: auto; } }
.cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; padding-top: 44px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.cols h2 { font-size: 32px; margin: 0 0 14px; }
.cols h2:not(:first-child) { margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 0; border-block: 1px solid var(--linea); margin-bottom: 8px; }
.facts b { display: block; font-size: 20px; font-weight: 500; }
.facts span { font-size: 13px; color: var(--suave); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: #fff; border: 1px solid var(--linea); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.tabla { width: 100%; border-collapse: collapse; font-size: 16px; }
.tabla th, .tabla td { text-align: left; padding: 10px 0; border-top: 1px solid var(--linea); }
.tabla th { font-weight: 400; color: var(--suave); width: 45%; }
.mapa { width: 100%; aspect-ratio: 16 / 8; min-height: 260px; border: 0; border-radius: 10px; background: var(--crema); }
.aside { background: #fff; border: 1px solid var(--linea); border-radius: 10px; padding: 24px; position: sticky; top: 84px; }
@media (max-width: 900px) { .aside { position: static; } }
.aside .yo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.aside .yo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.aside .yo small { display: block; color: var(--suave); font-size: 14px; }
.aside .sep { height: 12px; }
.aside .form { margin-top: 18px; }
.aside-btns { display: flex; gap: 10px; margin-top: 16px; }
.aside-btns .btn { flex: 1; }

/* visor de fotos */
.visor { position: fixed; inset: 0; z-index: 50; background: rgba(0, 20, 24, .94); display: none; flex-direction: column; }
.visor.on { display: flex; }
.visor-barra { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; color: #fff; }
.visor-barra button, .visor-nav button { background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 6px; min-width: 48px; min-height: 48px; font: inherit; font-size: 18px; cursor: pointer; }
.visor-img { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 8px; }
.visor-img img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 4px; }
.visor-nav { display: flex; justify-content: center; gap: 16px; padding: 12px; }

/* pie */
.pie { background: var(--crema); margin-top: clamp(48px, 8vw, 80px); padding: 36px 0; font-size: 14px; color: #3a2f22; }
.contacto + .pie { margin-top: 0; }
.pie-in { display: grid; gap: 10px; }
.pie img { height: 40px; width: auto; }
.pie p { margin: 0; max-width: 100ch; }
.pie-l { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pie a { color: #3a2f22; }

/* texto legal */
.legal { max-width: 760px; padding-block: 32px 24px; }
.legal h1 { font-size: 40px; margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; }
.fine { color: var(--suave); font-size: 14px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card .ph img { transition: none; } }

/* ===== tanda 2: más vida, vendedor, videos de redes ===== */
.hero { min-height: min(52vh, 500px); }
.hero-foto { min-height: 320px; }
.hero-txt { gap: 14px; padding: clamp(24px, 4.5vw, 52px) clamp(24px, 6vw, 72px); }
.hero-txt h1 { font-size: clamp(38px, 5.6vw, 66px); }
@media (max-width: 860px) { .hero-foto { aspect-ratio: auto; height: min(52vh, 360px); min-height: 0; width: 100%; } .hero-foto img { object-position: 50% 14%; } }

/* detalle naranja en los títulos de sección */
.sec-h h2::before, .sobre h2::before, .reels-h h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--naranja); margin-bottom: 14px; }
.cifras-w { background: #fff; border-bottom: 1px solid var(--linea); padding-bottom: 28px; }
.cifras > div { border-top: 3px solid var(--naranja); padding-top: 12px; }
.cifras b { color: var(--petroleo); }

/* vendedor */
.vende { background: var(--petroleo); color: var(--crema); padding: clamp(48px, 8vw, 88px) 0; }
.vende-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.vende .k { color: var(--naranja); font-weight: 600; font-size: 14px; margin: 0 0 12px; }
.vende h2 { font-size: clamp(30px, 4.6vw, 52px); color: #fff; }
.vende-p { font-size: 18px; line-height: 1.6; margin: 18px 0 24px; max-width: 46ch; }
.btn.lin { border-color: rgba(240, 228, 216, .55); color: var(--crema); }
.btn.lin:hover { background: rgba(240, 228, 216, .1); color: #fff; }
.vende-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vende-l li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(240, 228, 216, .2); border-left: 4px solid var(--naranja); border-radius: 6px; padding: 14px 18px; }
.vende-l b { display: block; color: #fff; font-size: 17px; }
.vende-l span { font-size: 15px; color: #d9e4e6; }
@media (max-width: 860px) { .vende-in { grid-template-columns: 1fr; } }

/* videos de redes */
.reels { background: var(--crema); padding: clamp(48px, 8vw, 88px) 0; margin-top: clamp(0px, 1vw, 0px); }
.reels-h { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 28px; margin-bottom: 26px; }
.reels-h h2 { font-size: clamp(30px, 4.6vw, 46px); }
.reels-h p { margin: 8px 0 0; color: #3a2f22; max-width: 48ch; }
.reels .redes-l a { background: #fff; }
.reels-track { list-style: none; margin: 0; padding: 4px 0 18px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.reel { flex: 0 0 clamp(168px, 46vw, 232px); scroll-snap-align: start; }
.reel-btn { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--petroleo-hondo); color: #fff; cursor: pointer; text-decoration: none; box-shadow: 0 10px 26px rgba(0, 40, 46, .28); transition: transform .2s ease; }
.reel-btn:hover { transform: translateY(-4px); color: #fff; }
.reel-btn video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reel-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; background: linear-gradient(0deg, rgba(0, 20, 24, .88), transparent); font-size: 14px; font-weight: 600; line-height: 1.25; text-align: left; }
.reel-go { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--naranja); color: #000; display: flex; align-items: center; justify-content: center; font-size: 12px; padding-left: 2px; }
.dlg { position: fixed; inset: 0; z-index: 60; background: rgba(0, 20, 24, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dlg[hidden] { display: none; }
.dlg-in { background: #fff; border-radius: 10px; padding: 24px; width: min(100%, 380px); position: relative; }
.dlg-in h3 { font-size: 24px; margin: 0 28px 6px 0; }
.dlg-in p { margin: 0 0 16px; color: var(--suave); }
.dlg-in .btn { width: 100%; margin-top: 10px; gap: 10px; }
.dlg-in .btn img { width: 22px; height: 22px; object-fit: contain; }
.dlg-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 24px; cursor: pointer; color: var(--tinta); }

/* bandas de color */
.band.crema { background: var(--crema); margin-top: clamp(56px, 9vw, 96px); padding-bottom: clamp(48px, 7vw, 72px); }
.band.crema .sec { padding-top: clamp(48px, 7vw, 72px); }
.band.crema .rv { background: #fff; }
.band.noche-b { background: var(--petroleo-hondo); margin-top: clamp(56px, 9vw, 96px); padding-bottom: clamp(48px, 7vw, 72px); color: var(--crema); }
.band.noche-b .sec { padding-top: clamp(48px, 7vw, 72px); }
.band.noche-b .sec-h h2 { color: #fff; }
.band.noche-b .sec-h p { color: #c9d9dc; }
.band.noche-b .juego { background: var(--crema); border-color: var(--crema); border-top: 4px solid var(--naranja); }
.band.noche-b .juego:hover { background: #fff; }
.band.noche-b .juego.noche { background: var(--azul); border-color: var(--azul); border-top-color: var(--naranja); color: #fff; }
.band.noche-b .juego.noche p { color: #e6eef2; }
.band.noche-b .contacto { margin-top: 0; }

/* premios */
.premios { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.premio { margin: 0; background: #fff; border: 1px solid var(--linea); border-radius: 8px; overflow: hidden; }
.premio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.premio figcaption { padding: 14px 16px; display: grid; gap: 2px; }
.premio figcaption span { font-size: 14px; color: var(--suave); }

/* ===== asistente con IA (burbuja) ===== */
.asi { position: fixed; right: var(--asi-r, 22px); bottom: var(--asi-b, 30px); z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.asi.izq { align-items: flex-start; }
.asi-fab { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(232, 119, 34, .35); color: var(--naranja); display: flex; align-items: center; justify-content: center; cursor: grab; font: inherit; line-height: 1; touch-action: none; user-select: none; -webkit-user-select: none;
  background: #fff;
  box-shadow: 0 10px 26px rgba(232, 119, 34, .38), 0 2px 8px rgba(0, 40, 46, .16);
  transition: transform .18s ease, box-shadow .18s ease; }
.asi:not(.abierto) .asi-fab::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(232, 119, 34, .35); animation: asiOnda 3.4s ease-out infinite; pointer-events: none; }
@keyframes asiOnda { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.asi-fab b { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 18px; padding: 0 4px; border-radius: 10px; background: var(--naranja); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .3px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-sizing: content-box; }
.asi-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 119, 34, .46), 0 3px 10px rgba(0, 40, 46, .2); }
.asi.arrastrando .asi-fab { cursor: grabbing; transform: scale(1.08); box-shadow: 0 20px 36px rgba(232, 119, 34, .45), 0 4px 12px rgba(0, 40, 46, .22); }
.asi.arrastrando .asi-fab::after { display: none; }
@media (prefers-reduced-motion: reduce) { .asi-fab::after { animation: none !important; } }
.asi-hint { margin: 0; background: #fff; color: var(--tinta); border: 1px solid var(--linea); border-radius: 10px; padding: 8px 12px; font-size: 14px; box-shadow: 0 6px 18px rgba(0, 40, 46, .18); }
.asi-hint[hidden], .asi-panel[hidden] { display: none; }
.asi-panel { position: absolute; right: 0; bottom: 78px; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 110px)); background: #fff; border: 1px solid var(--linea); border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 40, 46, .35); display: flex; flex-direction: column; overflow: hidden; }
.asi-head { display: flex; align-items: center; gap: 10px; padding: 12px 8px 12px 14px; background: var(--petroleo); color: #fff; }
.asi-head > div { flex: 1; line-height: 1.2; }
.asi-head small { display: block; font-size: 12px; color: #cfe0e3; }
.asi-av { width: 34px; height: 34px; border-radius: 50%; background: var(--naranja); color: #000; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.asi-x { width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 26px; cursor: pointer; }
.asi-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--papel); }
.asi-m { max-width: 92%; padding: 10px 12px; border-radius: 10px; font-size: 15px; line-height: 1.45; }
.asi-bot { background: #fff; border: 1px solid var(--linea); align-self: flex-start; }
.asi-yo { background: var(--petroleo); color: #fff; align-self: flex-end; }
.asi-m p { margin: 0 0 6px; }
.asi-aparte { font-size: 13px; color: var(--suave); margin-top: 8px !important; }
.asi-escribe { letter-spacing: 3px; color: var(--suave); animation: asiPulso 1.2s infinite; }
@keyframes asiPulso { 50% { opacity: .35; } }
.asi-btn { margin-top: 8px; margin-right: 6px; min-height: 40px; }
.asi-cards { display: grid; gap: 8px; margin-top: 8px; }
.asi-card { display: flex; gap: 10px; text-decoration: none; color: var(--tinta); border: 1px solid var(--linea); border-radius: 8px; overflow: hidden; background: #fff; }
.asi-card img { width: 84px; height: 74px; object-fit: cover; flex: none; background: var(--crema); }
.asi-card > span { padding: 6px 8px 6px 0; display: grid; align-content: center; gap: 1px; font-size: 13px; line-height: 1.3; }
.asi-card b { font-size: 15px; }
.asi-card small { color: var(--suave); }
.asi-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.asi-tags span { background: var(--crema); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.asi-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--linea); background: #fff; }
.asi-form input { flex: 1; min-width: 0; min-height: 44px; font: inherit; font-size: 16px; border: 1px solid #cfc4b3; border-radius: 6px; padding: 0 12px; }
.asi-pie { margin: 0; padding: 0 12px 10px; font-size: 12px; color: var(--suave); background: #fff; }
@media (max-width: 639px) { .asi { right: var(--asi-r, 16px); bottom: var(--asi-b, 96px); } .asi-panel { position: fixed; right: 8px; left: 8px; bottom: 92px; top: auto; width: auto; height: min(70vh, 560px); } }
@media (max-width: 639px) { .asi.abierto .asi-fab { visibility: hidden; } }
