/* INNOZONA · Páginas internas con la línea de la home C (Nosotros y Contacto)
 * Reutiliza tipografía, botones, reseñas, preguntas y cierre de home-c.css.
 */

/* ---------- Comunes ---------- */
.hp-crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--text-2); }
.hp-crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--text-3); }
.hp-crumbs a { color: inherit; text-decoration: underline 1px transparent; text-underline-offset: 4px; transition: text-decoration-color 0.25s; }
.hp-crumbs a:hover { text-decoration-color: currentColor; }
.hp-crumbs [aria-current] { color: var(--text); }
.hp-title { font-size: clamp(2.4rem, 3vw + 0.9rem, 3.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; }
.hp-title div { padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hp .hl { color: var(--accent-ink); }
.hp .hc-faq .hl, .hp .hb-close .hl { color: var(--lila); }

/* =====================================================================
   Nosotros
   ===================================================================== */
.hp-hero { padding: 9rem 0 0; }
.hp-hero__inner { display: grid; gap: 1.5rem; }
.hp-hero .hp-title { max-width: 18ch; }
.hp-hero__row { display: grid; gap: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.hp-hero__row p { max-width: 44ch; font-size: 1.125rem; line-height: 1.55; color: var(--text-2); }
.hp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hp-facts li { display: grid; gap: 0.35rem; }
.hp-facts b { font-family: var(--font-display); font-size: clamp(1.8rem, 1.5vw + 1rem, 2.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.hp-facts span { font-size: var(--fs-sm); line-height: 1.4; color: var(--text-2); }
.hp-hero__media { margin: clamp(2.5rem, 5vw, 4rem) 0 0; overflow: hidden; border-radius: 28px; aspect-ratio: 16 / 8; background: var(--img-bg); }
.hp-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 64rem) { .hp-hero__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 5rem; } }
@media (max-width: 47.99rem) { .hp-hero { padding-top: 7.5rem; } .hp-hero__media { aspect-ratio: 4 / 3; border-radius: 20px; } }

/* Historia: solo la frase, centrada, que se va encendiendo al bajar */
.hp-story { padding-block: var(--section-y); text-align: center; }
.hp-story .hc-about__say { max-width: 28ch; margin-inline: auto; font-size: clamp(1.8rem, 2vw + 1rem, 3.2rem); }

/* Comparativa: la columna de INNOZONA va resaltada */
.hp-vs { padding-block: var(--section-y); background: color-mix(in oklch, var(--accent-soft) 55%, var(--bg)); }
[data-theme="dark"] .hp-vs { background: oklch(19% 0.035 295); }
.hp-vs__scroll { overflow-x: auto; border-radius: 24px; outline-offset: 4px; }
.hp-vs__table { width: 100%; min-width: 56rem; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.hp-vs__table th, .hp-vs__table td { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: var(--fs-sm); line-height: 1.45; }

.hp-vs__table thead th { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.hp-vs__table tbody th { width: 13rem; font-weight: 600; color: var(--text); }
.hp-vs__table td { color: var(--text-2); }
.hp-vs__table td { display: table-cell; }
.hp-vs__table td .ico, .hp-dash { float: left; margin: 0.1rem 0.6rem 0 0; }
.hp-vs__table td.is-ok .ico { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--violet); color: var(--white); stroke-width: 3; }
.hp-vs__table td.is-no .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: color-mix(in oklch, var(--text) 10%, transparent); color: var(--text-2); stroke-width: 3; }
.hp-dash { display: block; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in oklch, var(--text) 10%, transparent); position: relative; }
.hp-dash::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 2px; border-radius: 2px; background: var(--text-2); }
.hp-vs__table .is-us { background: oklch(94% 0.04 293); color: var(--text); font-weight: 500; }
.hp-vs__table thead .is-us { color: var(--violet); border-radius: 0; }
[data-theme="dark"] .hp-vs__table .is-us { background: oklch(28% 0.08 293); }
[data-theme="dark"] .hp-vs__table thead .is-us { color: var(--lila); }
.hp-vs__table td > span:not(.sr-only) { display: block; overflow: hidden; }

.hp-work { padding-block: var(--section-y); overflow: hidden; }
.hp-strip li a { position: relative; display: block; width: clamp(15rem, 24vw, 21rem); overflow: hidden; border-radius: 24px; color: var(--white); }
.hp-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.hp-strip a:hover img { transform: scale(1.04); }
.hp-strip li a > span {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; display: grid; gap: 0.15rem; padding: 0.8rem 1rem; border-radius: 16px;
  background: oklch(20% 0.03 295 / 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: var(--fs-sm); color: oklch(92% 0.02 293);
}
.hp-strip li a > span b { font-size: 1rem; font-weight: 600; color: var(--white); }

.hp-svcs { padding-block: 0 var(--section-y); }
.hp-svcs__list { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .hp-svcs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .hp-svcs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hp-svcs__list a {
  position: relative; display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 24px;
  background: var(--card); color: var(--text); transition: border-color 0.3s, transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.hp-svcs__list a:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 30px 50px -40px oklch(25% 0.1 293 / 0.5); }
.hp-svc__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--img-bg); }
.hp-svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.hp-svcs__list a:hover .hp-svc__img img { transform: scale(1.05); }
.hp-svc__txt { display: grid; align-content: start; gap: 0.5rem; padding: 1.4rem 3.5rem 1.75rem 1.5rem; }
.hp-svc__txt b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.hp-svc__txt span { color: var(--text-2); line-height: 1.55; }
.hp-svcs__go { position: absolute; bottom: 1.85rem; right: 1.5rem; color: var(--text-3); transition: transform 0.45s var(--ease-out), color 0.3s; }
.hp-svcs__list a:hover .hp-svcs__go { transform: translateX(4px); color: var(--accent-ink); }

/* =====================================================================
   Contacto
   ===================================================================== */
.hp-ct { padding: clamp(9.5rem, 17vh, 11.5rem) 0 0; }
.hp-ct__head { display: grid; justify-items: center; gap: 1.5rem; text-align: center; }
.hp-ct__head .hp-title { max-width: 16ch; }
.hp-ct__head .hc-lead { max-width: 50ch; }
.hp-ways { display: grid; gap: 1rem; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; list-style: none; }
@media (min-width: 56rem) { .hp-ways { grid-template-columns: 1.2fr 1fr 1fr; } }
.hp-way { display: grid; align-content: start; gap: 0.35rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.hp-way__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.25rem; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); }
.hp-way small { font-size: var(--fs-sm); color: var(--text-2); }
.hp-way__main { overflow-wrap: anywhere; font-family: var(--font-display); font-size: clamp(1.3rem, 0.8vw + 1rem, 1.6rem); font-weight: 700; letter-spacing: -0.01em; color: var(--text); text-decoration: underline 1px transparent; text-underline-offset: 5px; transition: text-decoration-color 0.25s; }
.hp-way__main:hover { text-decoration-color: currentColor; }
.hp-way__foot { margin-top: 1rem; font-size: var(--fs-sm); color: var(--text-2); }
.hp-way__foot a { font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hp-way--wa { border-color: transparent; background: var(--violet); color: var(--white); }
.hp-way--wa .hp-way__ico { background: #25d366; color: var(--white); }
.hp-way--wa small, .hp-way--wa .hp-way__foot { color: oklch(92% 0.03 293); }
.hp-way--wa .hp-way__main { color: var(--white); font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); }

/* Formulario a la izquierda, el paso a paso a la derecha */
.hp-ask { padding: clamp(3rem, 6vw, 5rem) 0 var(--section-y); }
.hp-ask__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 64rem) {
  .hp-ask__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: clamp(3rem, 5vw, 5.5rem); }
  .hp-ask__aside { position: sticky; top: 8rem; }
}
.hp-ask__aside { display: grid; gap: 2rem; padding-top: 0.5rem; }
.hp-ask__title { font-size: clamp(1.4rem, 1vw + 1rem, 1.75rem); font-weight: 700; letter-spacing: -0.015em; }
.hp-flow { display: grid; margin: -0.75rem 0 0; padding: 0; list-style: none; }
.hp-flow li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.hp-flow__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.hp-flow li > span:last-child { display: grid; gap: 0.25rem; line-height: 1.5; color: var(--text-2); }
.hp-flow b { font-weight: 600; color: var(--text); }

/* Preguntas en una columna, fondo claro */
.hp-faq { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.hp-faq__inner { max-width: 56rem; }
.hp-faq .hc-faq__head a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 0.2em; }

.hp-copy {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 0.9rem; border: 1px solid var(--line-2); border-radius: 12px;
  background: none; color: var(--text-2); font: inherit; font-size: var(--fs-sm); cursor: pointer; transition: border-color 0.3s, color 0.3s;
}
.hp-copy:hover { border-color: var(--text); color: var(--text); }
.hp-social { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); color: var(--text-2); }
.hp-social span { margin-right: 0.5rem; }
.hp-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); transition: border-color 0.3s, color 0.3s; }
.hp-social a:hover { border-color: var(--accent-ink); color: var(--accent-ink); }

.hp-form { border-radius: 28px; box-shadow: 0 40px 80px -50px oklch(25% 0.1 293 / 0.45); }
.hp-form__title { font-size: clamp(1.4rem, 1vw + 1rem, 1.75rem); font-weight: 700; letter-spacing: -0.015em; }
@media (min-width: 40rem) { .hp-form .form__row { grid-template-columns: 1fr 1fr; } }
.hp-form .field input, .hp-form .field textarea { border-radius: 14px; }
.hp-form .chip span { border-radius: 12px; }
.hp-form .form__submit { display: grid; gap: 0.75rem; justify-items: start; }
.hp-form .form__submit .hc-btn { width: 100%; justify-content: center; }
.hp-form .form__note { font-size: var(--fs-sm); color: var(--text-2); }
@media (max-width: 47.99rem) {
  .hp-way small, .hp-way__foot, .hp-form .form__note { font-size: 1rem; }
}
.hp-form .field > label:not(.drop-zone), .hp-form .field__label { display: flex; align-items: baseline; gap: 0.4rem; min-height: 1.5rem; line-height: 1.5rem; }

/* Selects del formulario con el mismo aspecto que los campos */
.hp-form .field select {
  width: 100%; min-height: var(--control-h); padding: 0.85rem 2.75rem 0.85rem 1rem; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg);
  font: inherit; font-size: 1rem; color: var(--text); appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 50%, calc(100% - 0.95rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat;
}
.hp-form .field select:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 22%, transparent); }

/* Reseña junto al formulario */
.hp-quote { display: grid; gap: 0.85rem; margin: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.hp-quote blockquote { margin: 0; }
.hp-quote p { font-size: 1.05rem; line-height: 1.55; color: var(--text); }
.hp-quote figcaption { display: flex; align-items: center; gap: 0.75rem; }
.hp-quote figcaption > span:last-child { display: grid; font-size: var(--fs-sm); line-height: 1.35; color: var(--text-2); }
.hp-quote figcaption b { font-weight: 600; color: var(--text); }

@media (max-width: 47.99rem) { .hp-quote figcaption > span:last-child { font-size: 1rem; } }
.hp-vs__table tbody tr:last-child > * { border-bottom: 0; }
.hp-vs__table thead tr > * { border-bottom: 1px solid var(--line); }
.hp-vs__table thead .is-us { font-weight: 700; }
.hp-vs__scroll { position: relative; }
@media (max-width: 47.99rem) {
  .hp-vs__table { min-width: 44rem; }
  .hp-vs__table th, .hp-vs__table td { padding: 1rem 0.9rem; font-size: 0.9375rem; }
  .hp-vs__table tbody th { width: 7.5rem; }
  .hp-vs__table tbody th, .hp-vs__table thead td { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 1px 0 0 var(--line); }
}

/* Canales en móvil: ícono a la izquierda para que las tarjetas no se estiren */
@media (max-width: 55.99rem) {
  .hp-way { grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; padding: 1.25rem; }
  .hp-way__ico { grid-row: 1 / 4; width: 44px; height: 44px; margin: 0; }
  .hp-way__foot { margin-top: 0.5rem; }
}

/* =====================================================================
   Botones de las páginas internas antiguas con la forma de la home
   (64px, radio 1rem, flecha suelta sin caja)
   ===================================================================== */
.btn:not(.hc-btn):not(.hc-cta) { min-height: 64px; padding: 0 2.1rem; border-radius: 1rem; font-size: 1rem; font-weight: 500; gap: 0.7rem; }
.btn:not(.hc-btn):not(.hc-cta):has(.btn__icon) { padding-right: 1.8rem; }
.btn:not(.hc-btn) .btn__icon,
.btn--ghost:not(.hc-btn) .btn__icon { width: auto; height: auto; border-radius: 0; background: none; color: inherit; }
.btn--accent:not(.hc-btn) { background: var(--carbon); color: var(--white); }
.btn--accent:not(.hc-btn):hover { color: var(--white); }
