/* =========================================================
   Desarrollo de sistemas web — estilos de la plantilla
   La tipografía la carga el tema; aquí solo tamaños y pesos.
   ========================================================= */

:root {
  --k-sky: #A9CDF6;
  --k-blue: #3D8BE8;
  --k-deep: #1E5FB4;
  --k-navy: #0F2A44;
  --k-soft: #EBF3FD;
  --k-line: #D5E3F6;
  --k-text: #0F2A44;
  --k-muted: #4A6178;
  --k-white: #FFFFFF;
  --k-radius: 10px;
  --k-gap: clamp(1.25rem, 4vw, 4rem);
  --k-ease: cubic-bezier(.2, .7, .2, 1);
}

.k-page { color: var(--k-text); font-size: 1rem; font-weight: 400; line-height: 1.65; overflow-x: hidden; }
@media (min-width: 768px) { .k-page { font-size: 1.0625rem; font-weight: 400; } }
.k-page *, .k-page *::before, .k-page *::after { box-sizing: border-box; }
.k-page img { max-width: 100%; height: auto; display: block; }

/* ---------- Tipografía: tamaños y pesos ---------- */
.k-page h1, .k-page h2, .k-page h3, .k-page h4 { margin: 0; color: inherit; letter-spacing: -0.02em; }
.k-page h1 { font-size: clamp(2.25rem, 5.2vw, 4.125rem); font-weight: 800; line-height: 1.08; }
.k-page h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; line-height: 1.15; }
.k-page h3 { font-size: clamp(1.1875rem, 1.8vw, 1.375rem); font-weight: 700; line-height: 1.3; }
.k-page p { margin: 0; color: var(--k-muted); font-size: 1rem; font-weight: 400; max-width: 66ch; }
@media (min-width: 768px) { .k-page p { font-size: 1.0625rem; font-weight: 400; } }
.k-page ul, .k-page ol { margin: 0; padding: 0; }
.k-page .k-lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 400; }
.k-kicker { display: inline-block; font-size: .9375rem; font-weight: 600; color: var(--k-deep); margin-bottom: .75rem; }
.k-mt { margin-top: 1.25rem !important; }
.k-mt-s { margin-top: 1rem !important; }
.k-more { font-size: .9375rem; font-weight: 600; color: var(--k-deep); }

/* ---------- Contenedores ---------- */
.k-wrap { width: min(1600px, 100% - 2 * var(--k-gap)); margin-inline: auto; }
.k-section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.k-section--soft { background: var(--k-soft); }
.k-section--navy { background: var(--k-navy); color: var(--k-white); }
.k-section--navy p { color: #B8CCDD; }
.k-section--blue { background: var(--k-blue); color: var(--k-white); }
.k-section--blue p { color: #E3EEFC; }
.k-section--navy .k-kicker { color: var(--k-sky); }
.k-section--blue .k-kicker { color: var(--k-white); }
.k-section--cta { padding-top: 0; }
.k-section--soft + .k-section--cta, .k-section--navy + .k-section--cta, .k-section--blue + .k-section--cta { padding-top: clamp(4rem, 8vw, 6.5rem); }
.k-head { display: grid; gap: 1rem; max-width: 780px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.k-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Botones ---------- */
.k-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .875rem 1.75rem; border-radius: var(--k-radius);
  font-size: 1rem; font-weight: 600; line-height: 1; text-decoration: none; text-align: center; cursor: pointer;
  background: var(--k-deep); color: var(--k-white); border: 2px solid var(--k-deep);
  transition: background .2s var(--k-ease), border-color .2s var(--k-ease), color .2s var(--k-ease), transform .2s var(--k-ease);
}
.k-btn:hover { background: var(--k-navy); border-color: var(--k-navy); color: var(--k-white); transform: translateY(-2px); }
.k-btn--ghost { background: transparent; color: var(--k-text); border-color: var(--k-line); }
.k-btn--ghost:hover { background: transparent; color: var(--k-deep); border-color: var(--k-deep); }
.k-btn--light { background: var(--k-white); color: var(--k-navy); border-color: var(--k-white); }
.k-btn--light:hover { background: var(--k-navy); border-color: var(--k-navy); }
.k-section--navy .k-btn--ghost { color: var(--k-white); border-color: rgba(255,255,255,.3); }
.k-section--navy .k-btn--ghost:hover { color: var(--k-sky); border-color: var(--k-sky); }
.k-page a:focus-visible, .k-page summary:focus-visible, .k-page button:focus-visible, .k-page input:focus-visible, .k-page select:focus-visible, .k-page textarea:focus-visible { outline: 3px solid var(--k-blue); outline-offset: 3px; }
.k-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.k-actions:empty { display: none; }

/* ---------- Hero ---------- */
.k-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); }
.k-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.k-hero h1 { max-width: 16ch; }
.k-hero .k-lead { margin-top: 1.5rem; }
.k-hero__media img { aspect-ratio: 5 / 4; }
.k-hero__note { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2rem; }
.k-hero__note span { font-size: .9375rem; font-weight: 600; color: var(--k-text); display: flex; align-items: center; gap: .5rem; }
.k-hero__note span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k-blue); }

/* ---------- Imágenes ---------- */
.k-media { position: relative; }
.k-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--k-radius); background: var(--k-soft); }
.k-media--offset { margin: 0 18px 18px 0; }
.k-media--offset::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--k-radius); background: var(--k-sky); }
.k-media--offset img { position: relative; }

/* ---------- Íconos: SVG desde archivo, color por CSS, sin fondos ni bordes ---------- */
.k-ico {
  display: inline-block; width: 46px; height: 46px; flex: none; background-color: var(--k-blue);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
  transition: background-color .25s var(--k-ease), transform .25s var(--k-ease);
}
.k-icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); }
.k-icons--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.k-icon-item { display: grid; gap: .75rem; align-content: start; text-decoration: none; color: inherit; }
.k-icon-item h3 { margin-top: .25rem; }
.k-icon-item p { font-size: 1rem; font-weight: 400; }
a.k-icon-item:hover .k-ico { background-color: var(--k-deep); transform: translateY(-4px); }
a.k-icon-item:hover h3 { color: var(--k-deep); }
.k-section--navy .k-ico { background-color: var(--k-sky); }

/* ---------- Texto + imagen ---------- */
.k-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.k-split--rev > :first-child { order: 2; }
.k-split .k-media img { aspect-ratio: 4 / 3; }

/* ---------- Lista con check ---------- */
.k-checks { list-style: none; display: grid; gap: .875rem; margin-top: 1.75rem !important; }
.k-checks li { position: relative; padding-left: 2rem; font-size: 1rem; font-weight: 500; color: var(--k-text); }
.k-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 9px; border-left: 3px solid var(--k-blue); border-bottom: 3px solid var(--k-blue); transform: rotate(-45deg); }
.k-section--navy .k-checks li, .k-section--blue .k-checks li { color: var(--k-white); }
.k-section--navy .k-checks li::before { border-color: var(--k-sky); }

/* ---------- Tarjetas ---------- */
.k-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.k-card { background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); padding: clamp(1.5rem, 3vw, 2rem); display: grid; gap: .75rem; align-content: start; text-decoration: none; color: inherit; transition: transform .3s var(--k-ease), border-color .3s var(--k-ease), box-shadow .3s var(--k-ease); }
.k-card:hover { transform: translateY(-4px); border-color: var(--k-blue); box-shadow: 0 14px 30px rgba(15, 42, 68, .08); }
.k-card p { font-size: 1rem; font-weight: 400; }
.k-section--navy .k-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }

/* ---------- Banda de beneficios (bordes en los 4 lados) ---------- */
.k-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.k-band__item { position: relative; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid rgba(255,255,255,.16); border-radius: var(--k-radius); display: grid; gap: .75rem; align-content: start; transition: border-color .3s var(--k-ease), background .3s var(--k-ease), transform .3s var(--k-ease); }
.k-band__item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(61,139,232,.22), transparent 60%); opacity: 0; transition: opacity .4s var(--k-ease); }
.k-band__item > * { position: relative; }
.k-band__item:hover { border-color: var(--k-blue); transform: translateY(-4px); }
.k-band__item:hover::before { opacity: 1; }
.k-band__item p { font-size: 1rem; font-weight: 400; }
.k-section--soft .k-band__item { background: var(--k-white); border-color: var(--k-line); }
.k-section--soft .k-band__item::before { background: linear-gradient(135deg, rgba(61,139,232,.08), transparent 60%); }

/* ---------- Pasos (tarjetas con borde completo) ---------- */
.k-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; counter-reset: kstep; }
.k-steps li { counter-increment: kstep; position: relative; display: grid; gap: .625rem; align-content: start; padding: 1.75rem 1.5rem; background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); transition: border-color .3s var(--k-ease), transform .3s var(--k-ease), box-shadow .3s var(--k-ease); }
.k-steps li::before { content: counter(kstep, decimal-leading-zero); font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--k-sky); transition: color .3s var(--k-ease), transform .4s var(--k-ease); transform-origin: left bottom; }
.k-steps li:hover { border-color: var(--k-blue); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 42, 68, .08); }
.k-steps li:hover::before { color: var(--k-blue); transform: scale(1.12); }
.k-steps p { font-size: 1rem; font-weight: 400; }
.k-section--navy .k-steps li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }

/* ---------- Planes y precios ---------- */
.k-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem 1.5rem; align-items: stretch; }
.k-plan { position: relative; display: flex; flex-direction: column; gap: 1rem; background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); padding: clamp(1.75rem, 3vw, 2.25rem); transition: transform .3s var(--k-ease), box-shadow .3s var(--k-ease), opacity .3s var(--k-ease); }
.k-plan:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15, 42, 68, .1); }
.k-plan > p { font-size: 1rem; font-weight: 400; }
.k-plan--featured { background: var(--k-navy); border-color: var(--k-navy); color: var(--k-white); }
.k-plan--featured > p, .k-plan--featured .k-plan__note, .k-plan--featured .k-plan__old { color: #B8CCDD; }
.k-plan__badge { position: absolute; top: -13px; left: 1.75rem; background: var(--k-blue); color: var(--k-white); font-size: .8125rem; font-weight: 700; padding: .3rem .75rem; border-radius: 6px; }
.k-plan__price { display: flex; align-items: baseline; gap: .375rem; flex-wrap: wrap; }
.k-plan__price strong { font-size: clamp(2rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1; }
.k-plan__price span { font-size: .9375rem; font-weight: 500; color: var(--k-muted); }
.k-plan--featured .k-plan__price span { color: #B8CCDD; }
.k-plan__old { font-size: .9375rem; font-weight: 500; color: var(--k-muted); text-decoration: line-through; }
.k-plan__note { font-size: .875rem; font-weight: 500; color: var(--k-deep); }
.k-plan ul { list-style: none; display: grid; gap: .625rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--k-line); flex: 1; }
.k-plan--featured ul { border-color: rgba(255, 255, 255, .15); }
.k-plan li { position: relative; padding-left: 1.625rem; font-size: .96875rem; font-weight: 400; }
.k-plan li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--k-blue); border-bottom: 2px solid var(--k-blue); transform: rotate(-45deg); }
.k-plan--featured li::before { border-color: var(--k-sky); }
.k-plan .k-btn { width: 100%; }
.k-plan--featured .k-btn { background: var(--k-blue); border-color: var(--k-blue); }
.k-plan--featured .k-btn:hover { background: var(--k-white); border-color: var(--k-white); color: var(--k-navy); }
.k-plans__note { margin: 2rem auto 0 !important; text-align: center; font-size: .9375rem !important; font-weight: 400 !important; }
.k-section--soft .k-plan:not(.k-plan--featured) { border-color: transparent; }

/* ---------- Tabla ---------- */
.k-table { overflow-x: auto; border: 1px solid var(--k-line); border-radius: var(--k-radius); background: var(--k-white); }
.k-table table { width: 100%; min-width: 640px; border-collapse: collapse; }
.k-table th, .k-table td { padding: 1rem 1.25rem; text-align: left; border: 1px solid var(--k-line); vertical-align: top; }
.k-table tr > :first-child { border-left: 0; } .k-table tr > :last-child { border-right: 0; } .k-table thead th { border-top: 0; } .k-table tbody tr:last-child td { border-bottom: 0; }
.k-table th { background: var(--k-navy); color: var(--k-white); font-size: .9375rem; font-weight: 700; }
.k-table td { font-size: .96875rem; font-weight: 400; color: var(--k-muted); }
.k-table td:first-child { font-weight: 700; color: var(--k-text); }
.k-table tbody tr { transition: background .2s var(--k-ease); }
.k-table tbody tr:hover { background: var(--k-soft); }

/* ---------- Galería ---------- */
.k-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.k-gallery figure { margin: 0; display: grid; gap: .875rem; }
.k-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--k-radius); background: var(--k-sky); transition: transform .5s var(--k-ease); }
.k-gallery figure:hover img { transform: scale(1.02); }
.k-gallery figcaption { font-size: 1rem; font-weight: 600; color: var(--k-text); }
.k-section--navy .k-gallery figcaption { color: var(--k-white); }

/* ---------- Preguntas frecuentes (cada pregunta con borde completo) ---------- */
.k-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.k-faq .k-head { position: sticky; top: 120px; }
.k-faq__list { display: grid; gap: .75rem; }
.k-faq details { background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); transition: border-color .25s var(--k-ease), box-shadow .25s var(--k-ease); }
.k-faq details:hover { border-color: var(--k-sky); }
.k-faq details[open] { border-color: var(--k-blue); box-shadow: 0 12px 28px rgba(15, 42, 68, .07); }
.k-faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.25rem 3.5rem 1.25rem 1.5rem; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); font-weight: 600; line-height: 1.45; color: var(--k-text); transition: color .2s var(--k-ease); }
.k-faq summary::-webkit-details-marker { display: none; }
.k-faq summary:hover, .k-faq details[open] summary { color: var(--k-deep); }
.k-faq summary::after { content: ""; position: absolute; right: 1.5rem; top: 1.65rem; width: 10px; height: 10px; border-right: 2px solid var(--k-blue); border-bottom: 2px solid var(--k-blue); transform: rotate(45deg); transition: transform .3s var(--k-ease), top .3s var(--k-ease); }
.k-faq details[open] summary::after { transform: rotate(-135deg); top: 1.9rem; }
.k-faq__answer { padding: 0 1.5rem 1.5rem; animation: kFaqIn .4s var(--k-ease); }
.k-faq__answer p { font-size: 1rem; font-weight: 400; }
@keyframes kFaqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Llamado final ---------- */
.k-cta { background: linear-gradient(135deg, var(--k-deep) 0%, var(--k-blue) 100%); color: var(--k-white); border-radius: var(--k-radius); padding: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.k-cta p { color: #E3EEFC; margin-top: 1rem; }
.k-cta .k-actions { margin-top: 0; }

/* ---------- Iconos: animación al pasar el mouse ---------- */
.k-icon-item .k-ico { transform-origin: center bottom; }
.k-icon-item:hover .k-ico { animation: kIcoBounce .6s var(--k-ease); background-color: var(--k-deep); }
@keyframes kIcoBounce { 0% { transform: translateY(0); } 35% { transform: translateY(-8px) rotate(-6deg); } 65% { transform: translateY(0) rotate(3deg); } 100% { transform: none; } }

/* ---------- Kicker con línea que se dibuja ---------- */
.k-kicker { position: relative; padding-left: 2.25rem; }
.k-kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.5rem; height: 2px; background: currentColor; transform-origin: left; }
.k-js [data-reveal] .k-kicker::before, .k-js .k-kicker::before { transform: scaleX(0); transition: transform .8s var(--k-ease) .3s; }
.k-js .is-in .k-kicker::before, .k-js .is-in.k-kicker::before { transform: scaleX(1); }
.k-head--center .k-kicker { padding-left: 0; }
.k-head--center .k-kicker::before { display: none; }

/* ---------- Botones: brillo al pasar el mouse ---------- */
.k-btn { position: relative; overflow: hidden; isolation: isolate; }
.k-btn::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); z-index: -1; transition: left .6s var(--k-ease); }
.k-btn:hover::after { left: 140%; }
.k-btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(61,139,232,.15), transparent); }

/* ---------- Insignia del plan destacado ---------- */
.k-plan__badge { animation: kBadge 2.4s ease-in-out infinite; }
@keyframes kBadge { 0%, 100% { box-shadow: 0 0 0 0 rgba(61,139,232,.45); } 50% { box-shadow: 0 0 0 8px rgba(61,139,232,0); } }

/* ---------- Tarjetas con inclinación (la activa el JS) ---------- */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ---------- Barra de progreso de lectura ---------- */
.k-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--k-deep), var(--k-blue), var(--k-sky)); transform: scaleX(0); transform-origin: left; z-index: 9999; pointer-events: none; }

/* ---------- Perfil del fundador ---------- */
.k-profile { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.k-profile__media { position: relative; }
.k-profile__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--k-radius); background: var(--k-sky); }
.k-profile__tag { position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem; background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); padding: 1rem 1.25rem; display: grid; gap: .125rem; box-shadow: 0 14px 30px rgba(15,42,68,.12); }
.k-profile__tag strong { font-size: 1.125rem; font-weight: 800; color: var(--k-text); }
.k-profile__tag span { font-size: .9375rem; font-weight: 500; color: var(--k-deep); }
.k-companies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.k-company { border: 1px solid var(--k-line); border-radius: var(--k-radius); padding: 1.125rem 1.25rem; background: var(--k-white); display: grid; gap: .25rem; transition: border-color .3s var(--k-ease), transform .3s var(--k-ease); }
.k-company:hover { border-color: var(--k-blue); transform: translateY(-3px); }
.k-company strong { font-size: 1.0625rem; font-weight: 800; color: var(--k-text); }
.k-company span { font-size: .875rem; font-weight: 500; color: var(--k-muted); }

/* ---------- Equipo ---------- */
.k-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.k-member { border: 1px solid var(--k-line); border-radius: var(--k-radius); overflow: hidden; background: var(--k-white); display: flex; flex-direction: column; transition: border-color .3s var(--k-ease), box-shadow .3s var(--k-ease); }
.k-member:hover { border-color: var(--k-blue); box-shadow: 0 16px 34px rgba(15,42,68,.1); }
.k-member__photo { overflow: hidden; background: var(--k-sky); }
.k-member__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--k-ease); }
.k-member:hover .k-member__photo img { transform: scale(1.05); }
.k-member__body { padding: 1.25rem 1.25rem 1.5rem; display: grid; gap: .375rem; }
.k-member__role { font-size: .9375rem; font-weight: 600; color: var(--k-deep); }
.k-member__body p { font-size: .96875rem; font-weight: 400; margin-top: .375rem; }

/* ---------- Animaciones de entrada (las activa el JS) ---------- */
.k-js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--k-ease), transform .9s var(--k-ease), filter .9s var(--k-ease); transition-delay: var(--d, 0s); }
.k-js [data-reveal="left"] { transform: translateX(-40px); }
.k-js [data-reveal="right"] { transform: translateX(40px); }
.k-js [data-reveal="zoom"] { transform: scale(.94); }
.k-js .k-head[data-reveal] h2 { filter: blur(6px); transition: filter 1s var(--k-ease) .1s; }
.k-js .k-head[data-reveal].is-in h2 { filter: none; }
.k-js [data-reveal].is-in { opacity: 1; transform: none; }

/* Imagen que se descubre con una cortina */
.k-js .k-media--reveal img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--k-ease) .15s, transform 1.4s var(--k-ease) .15s; transform: scale(1.08); }
.k-js .k-media--reveal.is-in img { clip-path: inset(0 0 0 0); transform: none; }
.k-js .k-media--offset.k-media--reveal::before { transform: translate(-18px, -18px); opacity: 0; transition: transform 1s var(--k-ease) .6s, opacity 1s var(--k-ease) .6s; }
.k-js .k-media--offset.k-media--reveal.is-in::before { transform: none; opacity: 1; }

/* Entrada del hero al cargar */
.k-hero-in > * { animation: kHeroIn 1s var(--k-ease) both; }
.k-hero-in > *:nth-child(2) { animation-delay: .12s; }
.k-hero-in > *:nth-child(3) { animation-delay: .24s; }
.k-hero-in > *:nth-child(4) { animation-delay: .36s; }
@keyframes kHeroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.k-hero__media::before { animation: kOffsetIn 1.2s var(--k-ease) .5s both; }
@keyframes kOffsetIn { from { opacity: 0; transform: translate(-18px, -18px); } to { opacity: 1; transform: none; } }
.k-hero__media img { animation: kHeroImg 1.3s var(--k-ease) both; }
@keyframes kHeroImg { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.k-hero__note span::before { animation: kDot 2s ease-in-out infinite; }
@keyframes kDot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }

/* Degradado del llamado final en movimiento */
.k-cta { background-size: 200% 200%; animation: kCtaBg 10s ease-in-out infinite; }
@keyframes kCtaBg { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet horizontal y laptops pequeñas */
@media (max-width: 1200px) {
  .k-team { grid-template-columns: repeat(3, 1fr); }
  .k-companies { grid-template-columns: 1fr 1fr; }
}

/* Tablet */
@media (max-width: 1024px) {
  .k-page h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); font-weight: 800; }
  .k-hero__grid, .k-split, .k-profile, .k-faq { gap: 2.5rem; }
  .k-cards { grid-template-columns: repeat(2, 1fr); }
  .k-plans { grid-template-columns: repeat(2, 1fr); }
  .k-steps { grid-template-columns: repeat(3, 1fr); }
  .k-icons { grid-template-columns: repeat(2, 1fr); }
  .k-gallery { grid-template-columns: repeat(2, 1fr); }
  .k-team { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet vertical */
@media (max-width: 900px) {
  .k-hero__grid, .k-split, .k-profile, .k-faq, .k-cta { grid-template-columns: 1fr; }
  .k-split--rev > :first-child { order: 0; }
  .k-hero { padding-top: 2.5rem; }
  .k-hero h1 { max-width: none; }
  .k-hero__media, .k-split .k-media { max-width: 680px; }
  .k-faq .k-head { position: static; }
  .k-profile__media { max-width: 520px; }
  .k-steps { grid-template-columns: repeat(2, 1fr); }
}

/* Celular */
@media (max-width: 640px) {
  .k-section { padding: 3.5rem 0; }
  .k-page h1 { font-size: 2.125rem; font-weight: 800; }
  .k-page h2 { font-size: 1.75rem; font-weight: 800; }
  .k-page h3 { font-size: 1.1875rem; font-weight: 700; }
  .k-page .k-lead { font-size: 1.0625rem; font-weight: 400; }
  .k-cards, .k-plans, .k-steps, .k-icons, .k-gallery, .k-band, .k-team, .k-companies { grid-template-columns: 1fr; }
  .k-actions { flex-direction: column; align-items: stretch; }
  .k-actions .k-btn { width: 100%; }
  .k-media--offset { margin: 0 12px 12px 0; }
  .k-media--offset::before { inset: 12px -12px -12px 12px; }
  .k-cta { padding: 2rem 1.5rem; }
  .k-faq summary { padding: 1.125rem 3rem 1.125rem 1.125rem; font-size: 1rem; font-weight: 600; }
  .k-faq summary::after { right: 1.125rem; top: 1.45rem; }
  .k-faq details[open] summary::after { top: 1.7rem; }
  .k-faq__answer { padding: 0 1.125rem 1.25rem; }
  .k-plan { padding: 1.75rem 1.5rem; }
  .k-hero__note { flex-direction: column; gap: .625rem; }
  .k-profile__tag { left: .75rem; right: .75rem; bottom: .75rem; }
}

/* Celulares pequeños */
@media (max-width: 380px) {
  .k-page h1 { font-size: 1.875rem; font-weight: 800; }
  .k-btn { padding: .875rem 1.25rem; font-size: .9375rem; font-weight: 600; }
}

@media (prefers-reduced-motion: reduce) {
  .k-page *, .k-page *::before, .k-page *::after { animation: none !important; transition: none !important; }
  .k-js [data-reveal], .k-js .k-media--reveal img { opacity: 1; transform: none; clip-path: none; filter: none; }
  .k-progress { display: none; }
}

/* =========================================================
   DISEÑO EL PUMA HOST — componentes visuales compartidos
   ========================================================= */
.k-page { background: var(--k-white); }
.k-page em { font-style: normal; color: var(--k-blue); position: relative; }
.k-page .hm-why em, .k-page .hm-cta em { color: var(--k-sky); }

/* Encabezados de sección */
.hm-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hm-head h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; max-width: 18ch; }
.hm-head > p { font-size: 1.0625rem; font-weight: 400; }
.hm-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hm-head--center h2 { margin-inline: auto; }
.hm-head--center > p { margin-inline: auto; }
.hm-head--center .k-kicker { padding-left: 0; }
.hm-head--center .k-kicker::before { display: none; }

/* Enlace con flecha */
.hm-link { display: inline-flex; align-items: center; gap: .625rem; font-size: 1rem; font-weight: 700; color: var(--k-text); text-decoration: none; padding: .5rem 0; }
.hm-link::after { content: ""; width: 28px; height: 2px; background: currentColor; transition: width .35s var(--k-ease); }
.hm-link:hover { color: var(--k-deep); }
.hm-link:hover::after { width: 44px; }
.hm-link--light { color: var(--k-white); }
.hm-link--light:hover { color: var(--k-sky); }
.hm-arrow { display: inline-block; width: 16px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--k-ease); }
.hm-arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.k-btn:hover .hm-arrow { transform: translateX(4px); }
.hm-btn-big { min-height: 58px; padding: 1rem 2rem; font-size: 1.0625rem; font-weight: 700; }

.hm-pill { display: inline-flex; align-items: center; gap: .625rem; padding: .5rem .875rem; border: 1px solid var(--k-line); border-radius: 8px; background: var(--k-white); font-size: .875rem; font-weight: 600; color: var(--k-text); }
.hm-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--k-blue); box-shadow: 0 0 0 0 rgba(61,139,232,.6); animation: hmPing 2s infinite; }
.hm-pill--light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: var(--k-white); }
.hm-pill--light .hm-pill__dot { background: #7CF2B0; box-shadow: 0 0 0 0 rgba(124,242,176,.6); }
@keyframes hmPing { 0% { box-shadow: 0 0 0 0 rgba(61,139,232,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(61,139,232,0); } }

/* ---------- HERO ---------- */
.hm-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hm-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hm-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hm-blob--a { width: 520px; height: 520px; background: var(--k-sky); top: -180px; right: -120px; animation: hmFloatA 16s ease-in-out infinite; }
.hm-blob--b { width: 380px; height: 380px; background: #CFE3FB; bottom: -160px; left: -120px; animation: hmFloatB 18s ease-in-out infinite; }
@keyframes hmFloatA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-60px, 50px); } }
@keyframes hmFloatB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(70px, -40px); } }
.hm-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--k-line) 1px, transparent 1px), linear-gradient(90deg, var(--k-line) 1px, transparent 1px); background-size: 64px 64px; opacity: .45; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); }
.hm-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hm-title { margin-top: 1.5rem !important; font-size: clamp(2.75rem, 6.6vw, 5.75rem) !important; font-weight: 800 !important; line-height: 1 !important; letter-spacing: -0.045em !important; }
.hm-title__line { display: block; overflow: hidden; padding-bottom: .08em; }
.hm-title__line > * , .hm-title__line { animation: hmLineUp 1s var(--k-ease) both; }
.hm-title__line:nth-child(2) { animation-delay: .1s; }
.hm-title__line:nth-child(3) { animation-delay: .2s; }
@keyframes hmLineUp { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
.hm-rotator { position: relative; display: inline-block; color: var(--k-blue); }
.hm-rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--k-sky); border-radius: 4px; z-index: -1; transform-origin: left; animation: hmUnderline 1s var(--k-ease) .7s both; }
@keyframes hmUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hm-rotator__word { display: inline-block; }
.hm-rotator__word.is-out { animation: hmWordOut .45s var(--k-ease) forwards; }
.hm-rotator__word.is-in { animation: hmWordIn .55s var(--k-ease) forwards; }
@keyframes hmWordOut { to { opacity: 0; transform: translateY(-60%) rotateX(60deg); filter: blur(4px); } }
@keyframes hmWordIn { from { opacity: 0; transform: translateY(60%) rotateX(-60deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hm-hero__lead { margin-top: 1.75rem !important; font-size: clamp(1.0625rem, 1.45vw, 1.25rem) !important; font-weight: 400 !important; max-width: 52ch !important; animation: kHeroIn 1s var(--k-ease) .35s both; }
.hm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.5rem; animation: kHeroIn 1s var(--k-ease) .45s both; }
.hm-hero__notes { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem !important; animation: kHeroIn 1s var(--k-ease) .55s both; }
.hm-hero__notes li { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; font-weight: 500; color: var(--k-muted); }
.hm-hero__notes li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--k-blue); border-bottom: 2px solid var(--k-blue); transform: rotate(-45deg) translateY(-2px); }
.hm-hero__text .hm-pill { animation: kHeroIn .8s var(--k-ease) both; }

.hm-hero__visual { position: relative; aspect-ratio: 1 / 1.05; max-width: 620px; justify-self: end; width: 100%; }
.hm-shot { position: absolute; border-radius: var(--k-radius); overflow: hidden; background: var(--k-sky); box-shadow: 0 30px 60px rgba(15,42,68,.18); transition: transform .2s linear; }
.hm-shot img { width: 100%; height: 100%; object-fit: cover; }
.hm-shot--main { inset: 0 12% 16% 0; animation: hmReveal 1.3s var(--k-ease) .2s both; }
.hm-shot--small { width: 44%; aspect-ratio: 1; right: 0; bottom: 0; border: 6px solid var(--k-white); animation: hmReveal 1.3s var(--k-ease) .5s both; }
@keyframes hmReveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.hm-chip { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .625rem .875rem; background: var(--k-white); border: 1px solid var(--k-line); border-radius: 8px; box-shadow: 0 12px 30px rgba(15,42,68,.12); font-size: .875rem; font-weight: 700; color: var(--k-text); white-space: nowrap; transition: transform .2s linear; }
.hm-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--k-blue); }
.hm-chip--1 { top: 8%; left: -8%; animation: hmChipIn .8s var(--k-ease) .9s both, hmBob 5s ease-in-out 1.7s infinite; }
.hm-chip--2 { top: 46%; right: -4%; animation: hmChipIn .8s var(--k-ease) 1.05s both, hmBob 6s ease-in-out 1.9s infinite; }
.hm-chip--2 i { background: var(--k-deep); }
.hm-chip--3 { bottom: 10%; left: 4%; animation: hmChipIn .8s var(--k-ease) 1.2s both, hmBob 5.5s ease-in-out 2s infinite; }
.hm-chip--3 i { background: var(--k-sky); }
@keyframes hmChipIn { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes hmBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hm-seal { position: absolute; top: -4%; right: 6%; width: 118px; height: 118px; border-radius: 50%; background: var(--k-navy); color: var(--k-white); display: grid; place-items: center; animation: hmChipIn .8s var(--k-ease) 1.3s both; }
.hm-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: hmSpin 16s linear infinite; }
.hm-seal text { fill: currentColor; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; }
.hm-seal__arrow { width: 22px; height: 22px; border-top: 3px solid var(--k-sky); border-right: 3px solid var(--k-sky); transform: rotate(135deg) translate(-3px, -3px); }
@keyframes hmSpin { to { transform: rotate(360deg); } }
.hm-scroll { position: absolute; left: 50%; bottom: 1.5rem; width: 26px; height: 42px; border: 2px solid var(--k-line); border-radius: 10px; transform: translateX(-50%); }
.hm-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--k-blue); animation: hmScroll 1.8s ease-in-out infinite; }
@keyframes hmScroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- CINTA ---------- */
.hm-marquee { overflow: hidden; background: var(--k-navy); padding: 1.5rem 0; transform: rotate(-1.5deg); margin: 0 -2rem; position: relative; z-index: 2; }
.hm-marquee__track { display: flex; width: max-content; gap: 2.5rem; animation: kMarquee 45s linear infinite; }
.hm-marquee:hover .hm-marquee__track { animation-play-state: paused; }
.hm-marquee span { display: inline-flex; align-items: center; gap: 2.5rem; font-size: clamp(1.5rem, 3.2vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; color: var(--k-white); white-space: nowrap; }
.hm-marquee span.is-outline { color: transparent; -webkit-text-stroke: 1.5px var(--k-sky); }
.hm-marquee span::after { content: ""; width: 14px; height: 14px; background: var(--k-blue); transform: rotate(45deg); }
@keyframes kMarquee { to { transform: translateX(-50%); } }

/* ---------- 1. QUIÉNES SOMOS ---------- */
.hm-about { padding-top: clamp(5rem, 10vw, 8rem); }
.hm-about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hm-statement { margin-top: .5rem !important; max-width: 24ch !important; font-size: clamp(1.75rem, 3.4vw, 2.875rem) !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: -0.025em; color: var(--k-text) !important; }
.hm-statement .w { opacity: .15; transition: opacity .3s linear; }
.hm-statement .w.is-lit { opacity: 1; }
.hm-about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2.5rem 0 2rem; padding-top: 2rem; }
.hm-about__cols > div { display: grid; gap: .5rem; align-content: start; }
.hm-about__cols p { font-size: 1rem; font-weight: 400; }
.hm-about__media { position: relative; min-height: 520px; }
.hm-frame { overflow: hidden; border-radius: var(--k-radius); background: var(--k-sky); }
.hm-frame img { width: 100%; height: 100%; object-fit: cover; }
.hm-frame--tall { position: absolute; top: 0; right: 0; width: 78%; height: 84%; }
.hm-frame--float { position: absolute; left: 0; bottom: 0; width: 50%; aspect-ratio: 1; border: 6px solid var(--k-white); box-shadow: 0 24px 50px rgba(15,42,68,.18); }
.hm-about__deco { position: absolute; right: -18px; bottom: 6%; width: 120px; height: 120px; background-image: radial-gradient(var(--k-blue) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .5; z-index: -1; }

/* ---------- 2. SERVICIOS (bento) ---------- */
.hm-services { background: var(--k-soft); }
.hm-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hm-bento__item { --mx: 50%; --my: 50%; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .75rem; min-height: 280px; padding: 1.75rem; background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); text-decoration: none; color: inherit; transition: border-color .3s var(--k-ease), transform .3s var(--k-ease), box-shadow .3s var(--k-ease); }
.hm-bento__item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(61,139,232,.14), transparent 60%); opacity: 0; transition: opacity .3s var(--k-ease); pointer-events: none; }
.hm-bento__item:hover { border-color: var(--k-blue); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,42,68,.1); }
.hm-bento__item:hover::before { opacity: 1; }
.hm-bento__item > * { position: relative; }
.hm-bento__item--wide { grid-column: span 2; }
.hm-bento__n { font-size: .875rem; font-weight: 700; color: var(--k-muted); letter-spacing: .08em; }
.hm-bento__item .k-ico { width: 52px; height: 52px; margin: .5rem 0 auto; }
.hm-bento__item h3 { font-size: 1.375rem; font-weight: 800; margin-top: 1.5rem; }
.hm-bento__item p { font-size: .96875rem; font-weight: 400; }
.hm-bento__go { position: absolute !important; top: 1.5rem; right: 1.5rem; width: 40px; height: 40px; border: 1px solid var(--k-line); border-radius: 8px; transition: background .3s var(--k-ease), border-color .3s var(--k-ease), transform .3s var(--k-ease); }
.hm-bento__go::after { content: ""; position: absolute; left: 13px; top: 15px; width: 9px; height: 9px; border-top: 2px solid var(--k-text); border-right: 2px solid var(--k-text); transition: border-color .3s var(--k-ease); }
.hm-bento__item:hover .hm-bento__go { background: var(--k-deep); border-color: var(--k-deep); transform: rotate(-45deg); }
.hm-bento__item:hover .hm-bento__go::after { border-color: var(--k-white); }
.hm-bento__item:hover .k-ico { animation: kIcoBounce .6s var(--k-ease); background-color: var(--k-deep); }
.hm-bento__item--wide h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
.hm-bento__item--wide p { max-width: 46ch; font-size: 1.0625rem; font-weight: 400; }
.hm-bento__item--ask { grid-column: span 2; background: var(--k-deep); border-color: var(--k-deep); color: var(--k-white); justify-content: flex-end; min-height: 220px; }
.hm-bento__item--ask::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255,255,255,.18), transparent 60%); }
.hm-bento__item--ask p { color: #E3EEFC; max-width: 44ch; }
.hm-bento__item--ask h3 { margin-top: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
.hm-bento__item--ask:hover { border-color: var(--k-navy); }
.hm-bento__item--hotel { grid-column: 1 / -1; flex-direction: row; gap: 0; padding: 0; background: var(--k-navy); border-color: var(--k-navy); color: var(--k-white); min-height: 340px; }
.hm-bento__item--hotel::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(61,139,232,.3), transparent 60%); }
.hm-bento__hotel-text { flex: 1; display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.75rem, 4vw, 3rem); }
.hm-bento__hotel-text .hm-bento__n { color: #8FA6BD; }
.hm-bento__hotel-text p { color: #B8CCDD; max-width: 46ch; font-size: 1.0625rem; font-weight: 400; }
.hm-bento__hotel-text h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
.hm-bento__item--hotel .k-ico { background-color: var(--k-sky); }
.hm-bento__item--hotel:hover .k-ico { background-color: var(--k-white); }
.hm-bento__item--hotel:hover { border-color: var(--k-blue); }
.hm-bento__hotel-img { flex: 1; overflow: hidden; }
.hm-bento__hotel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--k-ease); }
.hm-bento__item--hotel:hover .hm-bento__hotel-img img { transform: scale(1.05); }

/* ---------- 3. POR QUÉ NOSOTROS ---------- */
.hm-why { position: relative; overflow: hidden; background: var(--k-navy); color: var(--k-white); }
.hm-why p { color: #B8CCDD; }
.hm-why .k-kicker { color: var(--k-sky); }
.hm-why__orb { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(61,139,232,.45), transparent 65%); top: -200px; left: -200px; animation: hmFloatA 20s ease-in-out infinite; pointer-events: none; }
.hm-why__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.hm-why__head { position: sticky; top: 120px; display: grid; gap: 1.75rem; justify-items: start; }
.hm-why__head h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.hm-why__list { display: grid; gap: 1rem; }
.hm-why__item { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid rgba(255,255,255,.14); border-radius: var(--k-radius); background: rgba(255,255,255,.03); transition: border-color .3s var(--k-ease), background .3s var(--k-ease), transform .3s var(--k-ease); }
.hm-why__item:hover { border-color: var(--k-blue); background: rgba(61,139,232,.1); transform: translateX(8px); }
.hm-why__item > span { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: var(--k-radius); font-size: 1.5rem; font-weight: 800; color: var(--k-sky); transition: background .3s var(--k-ease), color .3s var(--k-ease), border-color .3s var(--k-ease); }
.hm-why__item:hover > span { background: var(--k-blue); border-color: var(--k-blue); color: var(--k-white); }
.hm-why__item h3 { font-size: 1.3125rem; font-weight: 800; margin-bottom: .5rem; }
.hm-why__item p { font-size: 1rem; font-weight: 400; }

/* ---------- 4. PROCESO (línea de tiempo) ---------- */
.hm-timeline { --p: 0; list-style: none; position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 1.5rem; padding-top: 1rem; }
.hm-timeline::before, .hm-timeline::after { content: ""; position: absolute; top: calc(1rem + 27px); left: 10%; right: 10%; height: 2px; background: var(--k-line); }
.hm-timeline::after { background: linear-gradient(90deg, var(--k-deep), var(--k-blue)); transform-origin: left; transform: scaleX(var(--p)); }
.hm-timeline__step { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: .75rem; }
.hm-timeline__dot { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--k-white); border: 2px solid var(--k-line); font-size: 1.25rem; font-weight: 800; color: var(--k-muted); transition: background .4s var(--k-ease), border-color .4s var(--k-ease), color .4s var(--k-ease), transform .4s var(--k-ease); }
.hm-timeline__step.is-active .hm-timeline__dot { background: var(--k-deep); border-color: var(--k-deep); color: var(--k-white); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(61,139,232,.15); }
.hm-timeline__step h3 { font-size: 1.25rem; font-weight: 800; margin-top: .5rem; }
.hm-timeline__step p { font-size: .96875rem; font-weight: 400; max-width: 24ch; }

/* ---------- 5. SISTEMA HOTELERO ---------- */
.hm-hotel { background: var(--k-soft); overflow: hidden; }
.hm-hotel__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hm-hotel__text h2, .hm-web__text h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.hm-p-lead { margin-top: 1.5rem !important; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem) !important; font-weight: 400 !important; color: var(--k-text) !important; }
.hm-hotel__text > p + p { margin-top: 1rem; }
.hm-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.hm-tags span { padding: .5rem .875rem; background: var(--k-white); border: 1px solid var(--k-line); border-radius: 8px; font-size: .875rem; font-weight: 600; color: var(--k-text); transition: background .25s var(--k-ease), color .25s var(--k-ease), border-color .25s var(--k-ease); }
.hm-tags span:hover { background: var(--k-deep); border-color: var(--k-deep); color: var(--k-white); }
.hm-hotel__visual { position: relative; padding: 2rem 0; }
.hm-browser { border-radius: var(--k-radius); overflow: hidden; background: var(--k-white); border: 1px solid var(--k-line); box-shadow: 0 40px 80px rgba(15,42,68,.18); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .8s var(--k-ease); }
.hm-hotel__visual:hover .hm-browser { transform: perspective(1400px) rotateY(0) rotateX(0); }
.hm-browser__bar { display: flex; align-items: center; gap: .375rem; padding: .75rem 1rem; background: var(--k-white); border-bottom: 1px solid var(--k-line); }
.hm-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--k-line); }
.hm-browser__bar i:first-child { background: var(--k-blue); }
.hm-browser__bar span { margin-left: .75rem; padding: .25rem .75rem; background: var(--k-soft); border-radius: 6px; font-size: .8125rem; font-weight: 500; color: var(--k-muted); }
.hm-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hm-float { position: absolute; display: grid; gap: .125rem; padding: .875rem 1.125rem .875rem 2.5rem; background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); box-shadow: 0 18px 40px rgba(15,42,68,.14); }
.hm-float::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #34C58A; box-shadow: 0 0 0 4px rgba(52,197,138,.2); }
.hm-float strong { font-size: .9375rem; font-weight: 800; color: var(--k-text); }
.hm-float span { font-size: .8125rem; font-weight: 500; color: var(--k-muted); }
.hm-float--1 { top: 0; left: -1.5rem; animation: hmBob 6s ease-in-out infinite; }
.hm-float--2 { bottom: 0; right: -1rem; animation: hmBob 7s ease-in-out 1s infinite; }
.hm-float--2::before { background: var(--k-blue); box-shadow: 0 0 0 4px rgba(61,139,232,.2); }

/* ---------- 6. WEBS Y SISTEMAS ---------- */
.hm-web__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hm-web__media { position: relative; padding: 0 3rem 3rem 0; }
.hm-frame--wide img { aspect-ratio: 4 / 3; }
.hm-web__phone { position: absolute; right: 0; bottom: 0; width: 32%; aspect-ratio: 9 / 18; border: 8px solid var(--k-navy); border-radius: 10px; overflow: hidden; background: var(--k-navy); box-shadow: 0 30px 60px rgba(15,42,68,.3); }
.hm-web__phone img { width: 100%; height: 100%; object-fit: cover; }
.hm-rows { display: grid; gap: .75rem; margin-top: 2rem; }
.hm-row { position: relative; display: grid; gap: .25rem; padding: 1.25rem 3.5rem 1.25rem 1.5rem; border: 1px solid var(--k-line); border-radius: var(--k-radius); text-decoration: none; color: inherit; background: var(--k-white); transition: border-color .3s var(--k-ease), background .3s var(--k-ease), transform .3s var(--k-ease); }
.hm-row::after { content: ""; position: absolute; right: 1.5rem; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-top: 2px solid var(--k-blue); border-right: 2px solid var(--k-blue); transform: rotate(45deg); transition: right .3s var(--k-ease); }
.hm-row:hover { border-color: var(--k-blue); background: var(--k-soft); transform: translateX(6px); }
.hm-row:hover::after { right: 1.125rem; }
.hm-row strong { font-size: 1.125rem; font-weight: 800; color: var(--k-text); }
.hm-row span { font-size: .96875rem; font-weight: 400; color: var(--k-muted); }

/* ---------- 7. OFERTAS ---------- */
.hm-offers { position: relative; background: var(--k-soft); overflow: hidden; }
.hm-offers::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--k-line) 1.5px, transparent 1.5px); background-size: 26px 26px; opacity: .8; pointer-events: none; }
.hm-offers .k-wrap { position: relative; }
.hm-offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.hm-offer { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.75rem, 3vw, 2.25rem); background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); transition: box-shadow .3s var(--k-ease), border-color .3s var(--k-ease); }
.hm-offer:hover { border-color: var(--k-blue); box-shadow: 0 24px 50px rgba(15,42,68,.12); }
.hm-offer h3 { font-size: 1.375rem; font-weight: 800; }
.hm-offer > p { font-size: 1rem; font-weight: 400; }
.hm-offer__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .625rem; padding: 1rem 0; }
.hm-offer__price strong { font-size: clamp(2.25rem, 3.6vw, 2.875rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.hm-offer__old { width: 100%; font-size: .9375rem; font-weight: 500; color: var(--k-muted); text-decoration: line-through; }
.hm-offer__price small { font-size: .9375rem; font-weight: 500; color: var(--k-muted); }
.hm-offer ul { list-style: none; display: grid; gap: .625rem; flex: 1; margin-bottom: .5rem !important; }
.hm-offer li { position: relative; padding-left: 1.625rem; font-size: .96875rem; font-weight: 400; }
.hm-offer li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--k-blue); border-bottom: 2px solid var(--k-blue); transform: rotate(-45deg); }
.hm-offer .k-btn { width: 100%; }
.hm-offer--featured { background: var(--k-navy); border-color: var(--k-navy); color: var(--k-white); transform: translateY(-12px); }
.hm-offer--featured::before { content: ""; position: absolute; inset: -2px; border-radius: 12px; padding: 2px; background: conic-gradient(from var(--hm-angle, 0deg), var(--k-blue), var(--k-sky), var(--k-deep), var(--k-blue)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hmAngle 4s linear infinite; pointer-events: none; }
@property --hm-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes hmAngle { to { --hm-angle: 360deg; } }
.hm-offer--featured > p, .hm-offer--featured .hm-offer__old, .hm-offer--featured small { color: #B8CCDD; }
.hm-offer--featured li::before { border-color: var(--k-sky); }
.hm-offer--featured .k-btn { background: var(--k-blue); border-color: var(--k-blue); }
.hm-offer--featured .k-btn:hover { background: var(--k-white); border-color: var(--k-white); color: var(--k-navy); }
.hm-offer__badge { position: absolute; top: -14px; left: 1.75rem; padding: .375rem .875rem; background: var(--k-blue); color: var(--k-white); border-radius: 6px; font-size: .8125rem; font-weight: 700; animation: kBadge 2.4s ease-in-out infinite; }
.hm-offers__more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.5rem; margin-top: 3rem; }
.hm-offers__more p { font-size: 1rem; font-weight: 500; color: var(--k-text); }

/* ---------- 8. PREGUNTAS FRECUENTES (dos columnas) ---------- */
.hm-faq__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; align-items: start; }
.hm-faq__title { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem !important; font-size: 1.1875rem !important; font-weight: 800 !important; }
.hm-faq__title::before { content: ""; width: 10px; height: 10px; background: var(--k-blue); transform: rotate(45deg); }
.hm-faq .k-faq__list { display: grid; gap: .75rem; }
.hm-faq details { background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); transition: border-color .25s var(--k-ease), box-shadow .25s var(--k-ease); }
.hm-faq details:hover { border-color: var(--k-sky); }
.hm-faq details[open] { border-color: var(--k-blue); box-shadow: 0 12px 28px rgba(15,42,68,.07); }
.hm-faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.125rem 3.25rem 1.125rem 1.25rem; font-size: 1.03125rem; font-weight: 600; line-height: 1.45; color: var(--k-text); }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::before, .hm-faq summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 14px; height: 2px; background: var(--k-blue); transition: transform .3s var(--k-ease); }
.hm-faq summary::after { transform: rotate(90deg); }
.hm-faq details[open] summary::after { transform: rotate(0deg); }
.hm-faq details[open] summary { color: var(--k-deep); }
.hm-faq .k-faq__answer { padding: 0 1.25rem 1.25rem; animation: kFaqIn .4s var(--k-ease); }
.hm-faq .k-faq__answer p { font-size: .96875rem; font-weight: 400; }

/* ---------- 9. CONTACTO ---------- */
.hm-cta-wrap { padding-top: 0; }
.hm-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem); border-radius: var(--k-radius); background: linear-gradient(125deg, var(--k-navy) 0%, var(--k-deep) 55%, var(--k-blue) 100%); background-size: 200% 200%; animation: kCtaBg 12s ease-in-out infinite; color: var(--k-white); }
.hm-cta__pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 20% 30%, #000, transparent 70%); pointer-events: none; }
.hm-cta__text { position: relative; display: grid; gap: 1.5rem; justify-items: start; }
.hm-cta h2 { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }
.hm-cta p { color: #D6E6F8; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); font-weight: 400; max-width: 48ch; }
.hm-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: .5rem; }
.hm-cta__visual { position: relative; padding: 0 0 3rem 2rem; }
.hm-cta__img { border-radius: var(--k-radius); overflow: hidden; border: 6px solid rgba(255,255,255,.15); aspect-ratio: 4 / 5; background: var(--k-deep); }
.hm-cta__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-chat { position: absolute; left: 0; bottom: 0; display: grid; gap: .5rem; width: min(300px, 90%); }
.hm-chat__msg { padding: .875rem 1rem; border-radius: 10px; font-size: .9375rem; font-weight: 500; line-height: 1.4; box-shadow: 0 16px 36px rgba(15,42,68,.25); opacity: 0; transform: translateY(12px) scale(.96); }
.hm-chat__msg--out { justify-self: end; background: var(--k-white); color: var(--k-text); border-bottom-right-radius: 2px; }
.hm-chat__msg--in { background: #DCF8C6; color: #0F2A44; border-bottom-left-radius: 2px; }
.hm-chat__typing { display: inline-flex; gap: 4px; justify-self: start; padding: .75rem 1rem; background: var(--k-white); border-radius: 10px; opacity: 0; }
.hm-chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--k-muted); animation: hmTyping 1s ease-in-out infinite; }
.hm-chat__typing i:nth-child(2) { animation-delay: .15s; }
.hm-chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hmTyping { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }
.hm-cta.is-in .hm-chat__msg--out { animation: hmMsg .6s var(--k-ease) .6s forwards; }
.hm-cta.is-in .hm-chat__typing { animation: hmTypingShow 1.6s var(--k-ease) 1.3s forwards; }
.hm-cta.is-in .hm-chat__msg--in { animation: hmMsg .6s var(--k-ease) 2.9s forwards; }
@keyframes hmMsg { to { opacity: 1; transform: none; } }
@keyframes hmTypingShow { 0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; } }

/* ---------- RESPONSIVE DEL HOME ---------- */
@media (max-width: 1200px) {
  .hm-bento { grid-template-columns: repeat(3, 1fr); }
  .hm-bento__item--wide { grid-column: span 2; }
  .hm-bento__item--ask { grid-column: span 3; min-height: 180px; }
  .hm-chip--1 { left: -2%; }
}
@media (max-width: 1024px) {
  .hm-hero__grid { grid-template-columns: 1fr; }
  .hm-hero__visual { justify-self: center; max-width: 560px; margin-top: 1rem; }
  .hm-about__grid, .hm-why__grid, .hm-hotel__grid, .hm-web__grid, .hm-cta { grid-template-columns: 1fr; }
  .hm-why__head { position: static; }
  .hm-about__media { min-height: 460px; max-width: 620px; }
  .hm-web__grid > :first-child { order: 2; }
  .hm-head { grid-template-columns: 1fr; }
  .hm-timeline { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 1rem; }
  .hm-offers__grid { grid-template-columns: 1fr 1fr; }
  .hm-offer--featured { transform: none; }
  .hm-faq__cols { grid-template-columns: 1fr; }
  .hm-cta__visual { max-width: 460px; }
  .hm-hotel__visual { max-width: 680px; }
}
@media (max-width: 900px) {
  .hm-timeline { grid-template-columns: 1fr; gap: 1.75rem; padding-left: 0; }
  .hm-timeline::before, .hm-timeline::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .hm-timeline::after { transform-origin: top; transform: scaleY(var(--p)); }
  .hm-timeline__step { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 1.25rem; row-gap: .25rem; }
  .hm-timeline__dot { grid-row: span 2; }
  .hm-timeline__step h3 { margin-top: .75rem; }
  .hm-timeline__step p { max-width: none; }
  .hm-bento { grid-template-columns: 1fr 1fr; }
  .hm-bento__item--wide, .hm-bento__item--ask { grid-column: span 2; }
  .hm-bento__item--hotel { flex-direction: column-reverse; }
  .hm-bento__hotel-img { aspect-ratio: 16 / 9; flex: none; }
}
@media (max-width: 640px) {
  .hm-hero { padding-top: 2rem; }
  .hm-title { font-size: 2.625rem !important; font-weight: 800 !important; }
  .hm-hero__actions { flex-direction: column; align-items: stretch; }
  .hm-hero__actions .k-btn { width: 100%; }
  .hm-hero__actions .hm-link { justify-content: center; }
  .hm-hero__notes { flex-direction: column; }
  .hm-chip { font-size: .8125rem; font-weight: 700; padding: .5rem .75rem; }
  .hm-chip--1 { left: 0; top: 4%; }
  .hm-chip--2 { right: 0; }
  .hm-seal { width: 90px; height: 90px; }
  .hm-scroll { display: none; }
  .hm-head h2 { font-size: 2rem; font-weight: 800; }
  .hm-statement { font-size: 1.625rem !important; font-weight: 700 !important; }
  .hm-about__cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .hm-about__media { min-height: 360px; }
  .hm-bento { grid-template-columns: 1fr; }
  .hm-bento__item--wide, .hm-bento__item--ask { grid-column: auto; }
  .hm-bento__item { min-height: 0; }
  .hm-bento__item .k-ico { margin-bottom: 0; }
  .hm-why__item { grid-template-columns: 1fr; gap: 1rem; }
  .hm-why__item:hover { transform: none; }
  .hm-float { display: none; }
  .hm-browser { transform: none; }
  .hm-web__media { padding: 0 1.5rem 2rem 0; }
  .hm-offers__grid { grid-template-columns: 1fr; }
  .hm-cta { padding: 2.25rem 1.5rem; }
  .hm-cta h2 { font-size: 2.25rem; font-weight: 800; }
  .hm-cta__actions { flex-direction: column; align-items: stretch; }
  .hm-cta__actions .k-btn { width: 100%; }
  .hm-cta__visual { padding-left: 1rem; }
  .hm-marquee { transform: none; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-statement .w { opacity: 1; }
  .hm-chat__msg, .hm-chat__typing { opacity: 1; transform: none; }
  .hm-chat__typing { display: none; }
}

/* =========================================================
   COMPONENTES PARA LAS PÁGINAS INTERNAS
   ========================================================= */
.hm-hero--inner { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hm-title--inner { font-size: clamp(2.5rem, 5.2vw, 4.5rem) !important; font-weight: 800 !important; line-height: 1.04 !important; letter-spacing: -0.04em !important; }
.hm-title--inner .hm-title__line { overflow: visible; }

/* Texto + imagen */
.hm-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hm-split--rev .hm-split__text { order: 2; }
.hm-split h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.hm-split__media { position: relative; isolation: isolate; }
.hm-split__media .hm-frame img { aspect-ratio: 4 / 3.2; }
.hm-split__media.is-offset .hm-frame { box-shadow: 18px 18px 0 var(--k-sky); overflow: visible; }
.hm-split__media.is-offset .hm-frame img { border-radius: var(--k-radius); }
.hm-split__deco { position: absolute; width: 140px; height: 140px; left: -28px; bottom: -28px; background-image: radial-gradient(var(--k-blue) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .45; z-index: -1; }
.hm-split--rev .hm-split__deco { left: auto; right: -28px; }
.hm-split .k-checks li { font-size: 1rem; font-weight: 500; }

/* Tarjetas (con y sin ícono) */
.hm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.hm-cards--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hm-card { --mx: 50%; --my: 50%; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); text-decoration: none; color: inherit; transition: border-color .3s var(--k-ease), transform .3s var(--k-ease), box-shadow .3s var(--k-ease); }
.hm-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--mx) var(--my), rgba(61,139,232,.13), transparent 60%); opacity: 0; transition: opacity .3s var(--k-ease); pointer-events: none; }
.hm-card > * { position: relative; }
.hm-card:hover { border-color: var(--k-blue); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,42,68,.1); }
.hm-card:hover::before { opacity: 1; }
.hm-card__n { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; color: var(--k-muted); }
.hm-card .k-ico { width: 48px; height: 48px; margin: .5rem 0 .75rem; }
.hm-card:hover .k-ico { animation: kIcoBounce .6s var(--k-ease); background-color: var(--k-deep); }
.hm-card h3 { font-size: 1.25rem; font-weight: 800; }
.hm-card--text h3 { margin-top: .75rem; }
.hm-card p { font-size: .96875rem; font-weight: 400; }
.hm-card .hm-bento__go { position: absolute; top: 1.25rem; right: 1.25rem; }
.hm-card:hover .hm-bento__go { background: var(--k-deep); border-color: var(--k-deep); transform: rotate(-45deg); }
.hm-card:hover .hm-bento__go::after { border-color: var(--k-white); }
.k-section--soft .hm-card { border-color: transparent; box-shadow: 0 1px 0 rgba(15,42,68,.04); }
.k-section--soft .hm-card:hover { border-color: var(--k-blue); }
.hm-why__head p { font-size: 1.0625rem; font-weight: 400; max-width: 44ch; }

/* Galería */
.hm-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hm-gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--k-radius); background: var(--k-sky); aspect-ratio: 3 / 4; }
.hm-gallery__item:nth-child(even) { transform: translateY(2rem); }
.hm-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--k-ease); }
.hm-gallery__item:hover img { transform: scale(1.06); }
.hm-gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .75rem; padding: 3rem 1.25rem 1.25rem; background: linear-gradient(transparent, rgba(15,42,68,.85)); color: var(--k-white); font-size: 1.0625rem; font-weight: 700; }
.hm-gallery__item figcaption span { font-size: .8125rem; font-weight: 700; color: var(--k-sky); }
.hm-gallery + * { margin-top: 2rem; }

/* Paquetes */
.hm-offers--plain { background: var(--k-white); }
.hm-offers--plain::before { display: none; }
.hm-offers__grid { row-gap: 2rem; }
.hm-offer__note { font-size: .875rem; font-weight: 700; color: var(--k-deep); }
.hm-offer--featured .hm-offer__note { color: var(--k-sky); }
.hm-offers__note { margin: 2.5rem auto 0 !important; text-align: center; font-size: .9375rem !important; font-weight: 400 !important; }

/* Tabla */
.hm-table { box-shadow: 0 20px 40px rgba(15,42,68,.06); }
.hm-table th { font-size: .9375rem; font-weight: 700; padding: 1.125rem 1.25rem; }
.hm-table td:first-child { color: var(--k-text); font-weight: 700; }

/* Perfil y equipo */
.k-profile__media { position: relative; isolation: isolate; }
.k-profile__media .hm-frame img { aspect-ratio: 4 / 5; }
.k-profile__media .hm-split__deco { z-index: -1; }
.k-profile h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.k-company { position: relative; overflow: hidden; }

@media (max-width: 1024px) {
  .hm-split { grid-template-columns: 1fr; }
  .hm-split--rev .hm-split__text { order: 0; }
  .hm-split__media { max-width: 680px; }
  .hm-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hm-title--inner { font-size: 2.375rem !important; font-weight: 800 !important; }
  .hm-split h2, .k-profile h2 { font-size: 1.875rem; font-weight: 800; }
  .hm-split__deco { display: none; }
  .hm-split__media.is-offset .hm-frame { box-shadow: 10px 10px 0 var(--k-sky); }
  .hm-cards, .hm-cards--4 { grid-template-columns: 1fr; }
  .hm-gallery { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .hm-gallery__item:nth-child(even) { transform: none; }
  .hm-gallery__item figcaption { font-size: .9375rem; font-weight: 700; padding: 2rem .875rem .875rem; }
}

/* Franja de llamado a la acción entre secciones */
.hm-strip { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin: clamp(1rem, 3vw, 2rem) 0; padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem); border-radius: var(--k-radius); background: linear-gradient(120deg, var(--k-deep), var(--k-blue)); background-size: 200% 200%; animation: kCtaBg 10s ease-in-out infinite; color: var(--k-white); }
.hm-strip::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.hm-strip > * { position: relative; }
.hm-strip div { display: grid; gap: .25rem; }
.hm-strip strong { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 800; letter-spacing: -0.02em; }
.hm-strip span { font-size: 1rem; font-weight: 400; color: #E3EEFC; }
.hm-offer__alt { align-self: center; margin-top: -.25rem; font-size: .875rem; font-weight: 600; color: var(--k-muted); text-decoration: underline; text-underline-offset: 3px; }
.hm-offer__alt:hover { color: var(--k-deep); }
.hm-offer--featured .hm-offer__alt { color: #B8CCDD; }
.hm-offer--featured .hm-offer__alt:hover { color: var(--k-white); }
@media (max-width: 640px) {
  .hm-strip { flex-direction: column; align-items: stretch; }
  .hm-strip .k-btn { width: 100%; }
}

/* =========================================================
   BARRA FIJA Y BLOQUES PROMOCIONALES (páginas con paquetes)
   ========================================================= */
/* Barra fija de WhatsApp */
.o-sticky { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 90; display: flex; align-items: center; gap: 1.25rem; padding: .625rem .625rem .625rem 1.25rem; width: max-content; max-width: calc(100% - 2rem); background: var(--k-navy); color: var(--k-white); border: 1px solid rgba(255,255,255,.12); border-radius: var(--k-radius); box-shadow: 0 20px 40px rgba(15,42,68,.3); transform: translate(-50%, 150%); transition: transform .5s var(--k-ease); }
.o-sticky.is-visible { transform: translate(-50%, 0); }
.o-sticky span { font-size: .9375rem; font-weight: 400; color: #D6E6F8; }
.o-sticky strong { font-weight: 700; color: var(--k-white); }
.o-sticky .k-btn { min-height: 44px; padding: .75rem 1.25rem; font-size: .9375rem; font-weight: 700; background: #25D366; border-color: #25D366; color: #0F2A44; }
.o-sticky .k-btn:hover { background: var(--k-white); border-color: var(--k-white); color: var(--k-navy); }
@media (max-width: 640px) {
  .o-sticky { left: 1rem; right: 1rem; width: auto; max-width: none; transform: translateY(150%); padding: .625rem; }
  .o-sticky.is-visible { transform: none; }
  .o-sticky span { display: none; }
  .o-sticky .k-btn { width: 100%; }
}

/* =========================================================
   Bloques promocionales entre los paquetes
   ========================================================= */
.o-promo { grid-column: 1 / -1; position: relative; overflow: hidden; display: grid; align-items: center; gap: 2rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--k-radius); }
.o-promo.is-hidden { display: none; }
.o-promo h3 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin: .75rem 0 .75rem; }
.o-promo p { font-size: 1.0625rem; font-weight: 400; max-width: 54ch; }
.o-promo__tag { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .75rem; border-radius: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.o-promo__actions { margin-top: 1.5rem; }
.o-promo .k-btn { margin-top: 1.5rem; }
.o-promo__actions .k-btn { margin-top: 0; }

/* 1. Pack a tu medida */
.o-promo--custom { grid-template-columns: 1.1fr .9fr; background: linear-gradient(120deg, var(--k-deep), var(--k-blue)); background-size: 200% 200%; animation: kCtaBg 10s ease-in-out infinite; color: var(--k-white); }
.o-promo--custom::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); mask-image: linear-gradient(90deg, transparent 20%, #000); pointer-events: none; }
.o-promo--custom > * { position: relative; }
.o-promo--custom p { color: #E3EEFC; }
.o-promo--custom .o-promo__tag { background: rgba(255,255,255,.15); color: var(--k-white); }
.o-promo__mix { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; }
.o-promo__mix b { font-size: 1.75rem; font-weight: 800; color: var(--k-sky); opacity: 0; }
.o-mix { padding: .875rem 1.125rem; border-radius: var(--k-radius); background: var(--k-white); color: var(--k-navy); font-size: 1rem; font-weight: 800; box-shadow: 0 14px 30px rgba(15,42,68,.25); opacity: 0; transform: translateY(16px) scale(.9); }
.o-mix--4 { background: var(--k-navy); color: var(--k-white); border: 2px solid var(--k-sky); }
.o-promo--custom.is-in .o-mix, .o-promo--custom.is-in .o-promo__mix b { animation: oPop 6s var(--k-ease) infinite; }
.o-promo--custom.is-in .o-promo__mix > :nth-child(2) { animation-delay: .3s; }
.o-promo--custom.is-in .o-promo__mix > :nth-child(3) { animation-delay: .6s; }
.o-promo--custom.is-in .o-promo__mix > :nth-child(4) { animation-delay: .9s; }
.o-promo--custom.is-in .o-promo__mix > :nth-child(5) { animation-delay: 1.2s; }
.o-promo--custom.is-in .o-promo__mix > :nth-child(6) { animation-delay: 1.5s; }
.o-promo--custom.is-in .o-promo__mix > :nth-child(7) { animation-delay: 1.8s; }
@keyframes oPop { 0% { opacity: 0; transform: translateY(16px) scale(.9); } 8%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-10px) scale(.95); } }
.o-promo--custom.is-in .o-mix--4 { animation-name: oPopFinal; }
@keyframes oPopFinal { 0% { opacity: 0; transform: scale(.8); } 8% { opacity: 1; transform: scale(1.08); } 14%, 80% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(169,205,246,.6); } 50% { box-shadow: 0 0 0 12px rgba(169,205,246,0); } 92%, 100% { opacity: 0; transform: scale(.95); } }

/* 2. Ahorro */
.o-promo--save { grid-template-columns: auto 1fr auto; background: var(--k-navy); color: var(--k-white); }
.o-promo--save p { color: #B8CCDD; }
.o-promo--save .o-promo__tag { background: rgba(61,139,232,.25); color: var(--k-sky); }
.o-promo--save .k-btn { margin-top: 0; background: var(--k-blue); border-color: var(--k-blue); }
.o-promo--save .k-btn:hover { background: var(--k-white); border-color: var(--k-white); color: var(--k-navy); }
.o-promo__shine { position: absolute; top: 0; left: -40%; width: 30%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.1), transparent); transform: skewX(-20deg); animation: oShine 5s ease-in-out infinite; pointer-events: none; }
@keyframes oShine { 0%, 40% { left: -40%; } 100% { left: 140%; } }
.o-promo__big { position: relative; display: flex; align-items: flex-start; line-height: .85; color: var(--k-white); }
.o-promo__big small { position: absolute; top: -1.5rem; left: .25rem; font-size: .9375rem; font-weight: 600; color: var(--k-sky); }
.o-promo__big strong { font-size: clamp(5rem, 11vw, 8.5rem); font-weight: 800; letter-spacing: -0.06em; background: linear-gradient(180deg, #FFFFFF, var(--k-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.o-promo__big em { font-style: normal; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: var(--k-blue); margin-top: .5rem; }

/* 3. Chat */
.o-promo--chat { grid-template-columns: 1.1fr .9fr; background: var(--k-white); border: 2px solid var(--k-blue); box-shadow: 0 24px 50px rgba(61,139,232,.15); }
.o-promo--chat .o-promo__tag { background: #E7F9EF; color: #11824F; }
.o-live { width: 8px; height: 8px; border-radius: 50%; background: #25D366; animation: oLive 1.6s ease-in-out infinite; }
@keyframes oLive { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); } 70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } }
.o-btn-wa { background: #25D366; border-color: #25D366; color: #0F2A44; animation: oWa 2.4s ease-in-out infinite; }
.o-btn-wa:hover { background: var(--k-navy); border-color: var(--k-navy); color: var(--k-white); animation: none; }
@keyframes oWa { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 60% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } }
.o-promo__chat { display: grid; gap: .625rem; padding: 1.5rem; border-radius: var(--k-radius); background: #EFEAE2; background-image: radial-gradient(rgba(15,42,68,.06) 1px, transparent 1px); background-size: 14px 14px; }
.o-bubble { max-width: 85%; padding: .75rem 1rem; border-radius: 10px; font-size: .9375rem; font-weight: 500; line-height: 1.4; box-shadow: 0 2px 6px rgba(15,42,68,.08); opacity: 0; }
.o-bubble--out { justify-self: end; background: #DCF8C6; color: #0F2A44; border-bottom-right-radius: 2px; }
.o-bubble--in { justify-self: start; background: var(--k-white); color: #0F2A44; border-bottom-left-radius: 2px; }
.o-bubble--typing { display: inline-flex; gap: 4px; justify-self: start; background: var(--k-white); }
.o-bubble--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--k-muted); animation: hmTyping 1s ease-in-out infinite; }
.o-bubble--typing i:nth-child(2) { animation-delay: .15s; }
.o-bubble--typing i:nth-child(3) { animation-delay: .3s; }
.o-promo--chat.is-in .o-bubble--out { animation: oChatOut 7s var(--k-ease) infinite; }
.o-promo--chat.is-in .o-bubble--typing { animation: oChatTyping 7s var(--k-ease) infinite; }
.o-promo--chat.is-in .o-bubble--in { animation: oChatIn 7s var(--k-ease) infinite; }
@keyframes oChatOut { 0% { opacity: 0; transform: translateY(10px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes oChatTyping { 0%, 14% { opacity: 0; } 18%, 34% { opacity: 1; } 38%, 100% { opacity: 0; height: 0; padding-top: 0; padding-bottom: 0; } }
@keyframes oChatIn { 0%, 36% { opacity: 0; transform: translateY(10px); } 42%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

@media (max-width: 1024px) {
  .o-promo--custom, .o-promo--chat { grid-template-columns: 1fr; }
  .o-promo--save { grid-template-columns: auto 1fr; }
  .o-promo--save .k-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .o-promo--save { grid-template-columns: 1fr; }
  .o-promo__big { margin-top: 1.25rem; }
  .o-promo .k-btn { width: 100%; }
  .o-promo__mix { gap: .5rem; }
  .o-mix { padding: .625rem .875rem; font-size: .875rem; font-weight: 800; }
  .o-promo__mix b { font-size: 1.25rem; font-weight: 800; }
}
@media (prefers-reduced-motion: reduce) {
  .o-mix, .o-promo__mix b, .o-bubble { opacity: 1; transform: none; }
  .o-bubble--typing { display: none; }
}
.o-promo-wrap { display: grid; margin-block: clamp(.5rem, 2vw, 1.5rem); }
.hm-cards .o-promo, .hm-offers__grid .o-promo { margin-block: .5rem; }

.hm-offer__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: .375rem; padding: .3rem .625rem; border: 1px dashed var(--k-blue); border-radius: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; color: var(--k-deep); background: var(--k-soft); }
.hm-offer__tag::before { content: ""; width: 10px; height: 12px; border: 2px solid currentColor; border-radius: 2px; }
.hm-offer--featured .hm-offer__tag { color: var(--k-sky); background: rgba(255,255,255,.06); border-color: var(--k-sky); }
