:root {
  --tinta: #111114; --gris: #6e6e73; --linea: #e3e3e8; --fondo: #fbfbfd; --suave: #f2f2f5;
  --acento: #ff5a36; --acento-osc: #e5431f; --ok: #1f9d55; --radio: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, sans-serif;
  color: var(--tinta); background: var(--fondo); -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.barra { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(20px, 5vw, 56px); background: color-mix(in srgb, var(--fondo) 78%, transparent); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid color-mix(in srgb, var(--linea) 60%, transparent); }
.marca { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.marca b { color: var(--acento); }

.contenedor { width: min(1100px, 100% - 40px); margin-inline: auto; }
.angosto { width: min(680px, 100% - 40px); margin-inline: auto; }

.hero { padding: clamp(56px, 10vw, 120px) 0 40px; text-align: center; }
.hero h1 { font-size: clamp(44px, 8.5vw, 104px); line-height: 0.98; letter-spacing: -0.045em; margin: 0 0 22px; font-weight: 800; }
.hero h1 span { background: linear-gradient(100deg, var(--acento), #ff9a3d 60%, #ffc24b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(18px, 2.3vw, 24px); color: var(--gris); max-width: 640px; margin: 0 auto 34px; line-height: 1.4; }

.vistas { display: flex; justify-content: center; gap: clamp(8px, 3vw, 32px); margin: 30px auto 0; perspective: 900px; }
.vistas img { width: min(31%, 300px); height: auto; border-radius: var(--radio); background: var(--suave); animation: flotar 6s ease-in-out infinite; }
.vistas img:nth-child(2) { animation-delay: -2s; } .vistas img:nth-child(3) { animation-delay: -4s; }
@keyframes flotar { 50% { transform: translateY(-10px); } }

.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 80px 0; }
.paso { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 26px; }
.paso .n { font-size: 15px; font-weight: 700; color: var(--acento); }
.paso h3 { font-size: 22px; letter-spacing: -0.02em; margin: 8px 0 6px; }
.paso p { margin: 0; color: var(--gris); line-height: 1.45; }

.seccion-titulo { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.035em; line-height: 1.02; margin: 0 0 10px; font-weight: 800; }
.sub { color: var(--gris); font-size: 19px; margin: 0 0 34px; line-height: 1.4; }

.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.18); }
.campo { margin-bottom: 26px; }
.campo > label:not(.opcion), .etiqueta { display: block; font-weight: 650; font-size: 17px; margin-bottom: 10px; letter-spacing: -0.01em; }
.ayuda { font-size: 14px; color: var(--gris); margin: -4px 0 10px; }
input[type=text], input[type=tel], input[type=email], textarea {
  width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--linea); background: var(--fondo); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acento) 18%, transparent); }

.segmento { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--suave); padding: 5px; border-radius: 16px; }
.segmento label { position: relative; text-align: center; padding: 13px; border-radius: 12px; cursor: pointer; font-weight: 600; transition: background .25s, box-shadow .25s; }
.segmento input { position: absolute; opacity: 0; pointer-events: none; }
.segmento label:has(input:checked) { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); }

.opcion { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--linea); border-radius: 16px; margin-bottom: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.opcion:has(input:checked) { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 5%, #fff); }
.opcion:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.opcion input { accent-color: var(--acento); width: 20px; height: 20px; margin: 0; }
.opcion .txt { flex: 1; } .opcion .precio { font-weight: 650; white-space: nowrap; }
.opcion small { display: block; color: var(--gris); }

.soltar { border: 2px dashed var(--linea); border-radius: 20px; padding: 28px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; color: var(--gris); }
.soltar.encima, .soltar:hover { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 4%, #fff); }
.miniaturas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.miniaturas div { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--suave); }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.miniaturas button { position: absolute; top: 6px; right: 6px; border: 0; border-radius: 99px; width: 26px; height: 26px; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: 18px; border: 0; border-radius: 99px; padding: 17px 30px; background: var(--acento); color: #fff; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, opacity .2s; }
.boton:hover { background: var(--acento-osc); } .boton:active { transform: scale(.97); }
.boton[disabled] { opacity: .5; pointer-events: none; }
.boton.claro { background: var(--suave); color: var(--tinta); } .boton.claro:hover { background: var(--linea); }
.boton.ancho { width: 100%; }

.aviso { padding: 14px 18px; border-radius: 14px; background: #fff3f0; color: #a3260b; margin-bottom: 16px; display: none; }
.aviso.ver { display: block; }
.nota { padding: 14px 18px; border-radius: 14px; background: var(--suave); color: var(--gris); font-size: 15px; }

.estado-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--suave); font-weight: 600; font-size: 14px; }
.estado-pill::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--acento); animation: latido 1.6s infinite; }
@keyframes latido { 50% { opacity: .3; } }

.propuesta-img { border-radius: 24px; background: var(--suave); width: 100%; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 22px; font-weight: 700; padding-top: 14px; border-top: 1px solid var(--linea); margin-top: 10px; }
.linea-precio { display: flex; justify-content: space-between; color: var(--gris); padding: 4px 0; }

.aparecer { animation: subir .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes subir { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

footer { text-align: center; color: var(--gris); font-size: 14px; padding: 60px 20px; }
