/* =========================================================
   Miki&Simone — hoja de estilo única
   Dirección: oscuro y sobrio. Filetes de 1px, sin sombras.
   Titulares Space Grotesk · cuerpo IBM Plex Sans · etiquetas IBM Plex Mono.
   ========================================================= */

/* Los colores y tipografías se inyectan en tema.css según el tema elegido. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
picture {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-ink);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hi);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radio);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 20px;
  z-index: 100;
  font-weight: 600;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- estructura ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-top: var(--gap-section);
}

.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.h1 {
  font-size: clamp(2.375rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.h2 {
  font-size: clamp(1.875rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.15;
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-lead);
}

.muted {
  color: var(--text-2);
}

/* ---------- botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.625rem;
  border-radius: var(--radio);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.14s ease-out,
    border-color 0.14s ease-out,
    color 0.14s ease-out;
  text-align: center;
}

.btn--primary {
  background: var(--ink);
  color: var(--on-accent);
}
.btn--primary:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(232, 236, 241, 0.32);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(245, 247, 249, 0.06);
  color: var(--ink);
}

.btn--sm {
  min-height: 42px;
  padding: 0 1.125rem;
  font-size: 0.90625rem;
}

.btn--block {
  width: 100%;
}

/* ---------- cabecera ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.lockup__iso {
  height: 34px;
  width: auto;
}
.lockup__word {
  height: 17px;
  width: auto;
}
/* Etiqueta mono junto al logo: alineada con la base del wordmark. */
.lockup__sub {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.625rem;
}
.nav a {
  font-size: 0.90625rem;
  color: var(--text-2);
  transition: color 0.14s ease-out;
}
.nav a:hover {
  color: var(--ink);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.header__tel {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.header__tel:hover {
  color: var(--accent);
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radio);
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.burger[aria-expanded="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-accent);
}

.header__call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radio);
  border: 1px solid var(--border-soft);
  color: var(--text);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding-block: 0.5rem 1.25rem;
}
.mobile-nav[data-open="true"] {
  display: block;
}
.mobile-nav a {
  display: block;
  padding: 0.875rem 0;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn {
  margin-top: 1.125rem;
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .header__cta .btn,
  .header__tel,
  .lockup__sub {
    display: none;
  }
  .header__call {
    display: inline-flex;
  }
  .header__inner {
    padding-block: 0.875rem;
  }
  .lockup__iso {
    height: 28px;
  }
  .lockup__word {
    height: 14px;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}

/* Pila de fotos que se funden una sobre otra. */
.hero__fondo {
  position: absolute;
  inset: 0;
  background: var(--brand);
}
.hero__foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease-out;
}
.hero__foto[data-activa="true"] {
  opacity: 0.5;
}
@media (prefers-reduced-motion: reduce) {
  .hero__foto {
    transition: none;
  }
}

.hero__velo {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    #0a0d11 6%,
    rgba(10, 13, 17, 0.86) 46%,
    rgba(18, 49, 79, 0.42) 100%
  );
}

.hero__contenido {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.75rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  max-width: 820px;
}
.hero .eyebrow {
  color: var(--accent);
}
.hero .h1 {
  margin-top: 1.375rem;
}
.hero .lead {
  margin-top: 1.5rem;
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.125rem;
}

/* Pie del carrusel: qué se ve en la foto y los controles. */
.hero__barra {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 clamp(1.75rem, 5vw, 4.5rem) clamp(1.75rem, 3vw, 2.5rem);
}

.hero__pie {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
.hero__pie:hover {
  color: var(--accent);
}
.hero__pie-etiqueta {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Banda de cifras: rejilla de filetes de 1px sobre el fondo del hero. */
.cifras {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}
.cifra {
  background: rgba(10, 13, 17, 0.82);
  padding: 1.375rem 1.5rem;
}
.cifra__valor {
  display: block;
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}
.cifra__texto {
  display: block;
  font-size: 0.875rem;
  color: var(--text-2);
}

@media (max-width: 720px) {
  .hero {
    margin-top: 1.5rem;
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .hero__barra {
    justify-content: center;
  }
  .cifras {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- cabecera de sección ---------- */

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-bottom: 1.375rem;
  border-bottom: 1px solid var(--rule);
}
.sec-head .h2 {
  margin-top: 0.875rem;
  max-width: 22ch;
}
.sec-head > p {
  max-width: 38ch;
  font-size: 1rem;
  color: var(--text-2);
}

/* ---------- servicios ---------- */

.svc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--rule);
  margin-top: 1px;
}

.svc {
  display: block;
  background: var(--bg);
  color: inherit;
  transition: background-color 0.14s ease-out;
}
.svc:hover {
  background: var(--surface);
}
.svc__foto {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand);
}
.svc__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: opacity 0.14s ease-out;
}
.svc:hover .svc__foto img {
  opacity: 1;
}
.svc__cuerpo {
  display: block;
  padding: 1.375rem 1.5rem 1.75rem;
}
.svc__num {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--num);
}
.svc__title {
  display: block;
  margin: 0.5rem 0;
  font-family: var(--display);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
.svc__desc {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-2);
}

/* ---------- antes / después ---------- */

.ba {
  position: relative;
  margin-top: 2.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: var(--brand);
  border: 1px solid var(--border);
}
@media (max-width: 700px) {
  .ba {
    aspect-ratio: 3 / 4;
  }
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__after {
  clip-path: inset(0 0 0 50%);
}
.ba__tag {
  position: absolute;
  bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(10, 13, 17, 0.78);
  padding: 0.4375rem 0.6875rem;
  pointer-events: none;
}
.ba__tag--before {
  left: 1.125rem;
}
.ba__tag--after {
  right: 1.125rem;
}
.ba__line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-1px);
  background: var(--ink);
  pointer-events: none;
}
.ba__handle {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-accent);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  touch-action: none;
}
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba__pie {
  margin-top: 1.25rem;
  max-width: 60ch;
  font-size: 0.9375rem;
  color: var(--text-2);
}

/* ---------- cómo trabajamos ---------- */

.metodo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--rule);
}

.metodo__lista {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.75rem;
}
.metodo__item {
  display: flex;
  gap: 0.875rem;
  font-size: 0.96875rem;
  color: var(--text-lead);
}
.metodo__item::before {
  content: "—";
  font-family: var(--mono);
  color: var(--accent);
  flex: 0 0 auto;
}

.pasos > div {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}
.pasos > div:last-child {
  border-bottom: 1px solid var(--rule);
}
.pasos b {
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--num);
  min-width: 28px;
  line-height: 1.6;
}
.pasos h4 {
  font-size: 1.25rem;
  line-height: 1.3;
}
.pasos p {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: var(--text-2);
}

/* ---------- chips de zonas ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.chip {
  font-size: 0.875rem;
  color: var(--text-lead);
  border: 1px solid var(--border-soft);
  border-radius: var(--radio);
  padding: 0.4375rem 0.75rem;
}

/* ---------- contacto (bloque azul) ---------- */

.contacto {
  margin-top: var(--gap-section);
}
.contacto__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  background: var(--band-bg);
  border: 1px solid var(--border);
}
.contacto__info {
  padding: clamp(2rem, 4vw, 3.5rem);
  color: var(--band-text-2);
}
.contacto .eyebrow {
  color: var(--band-text-3);
}
.contacto__h2 {
  margin-top: 0.875rem;
  max-width: 20ch;
  color: var(--band-text);
}
.contacto__lead {
  margin-top: 1.125rem;
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--band-text-2);
}
.contacto__tel {
  margin-top: 2rem;
  padding-top: 1.625rem;
  border-top: 1px solid var(--band-border);
}
.contacto__tel-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--band-text-3);
}
.contacto__tel a.num {
  display: block;
  margin-top: 0.375rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--band-text);
}
.contacto__tel a.num:hover {
  color: var(--band-text-3);
}
.contacto__mail {
  display: inline-block;
  margin-top: 0.625rem;
  color: var(--band-text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contacto__mail:hover {
  color: var(--band-text);
}

/* formulario */

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--band-surface);
  padding: clamp(2rem, 4vw, 3.5rem);
}
.form__row {
  display: grid;
  gap: 1rem;
}
.form__row--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}
.field > label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--band-text-3);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.96875rem;
  color: #ffffff;
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--radio);
  padding: 0.8125rem 0.875rem;
  min-height: 48px;
  width: 100%;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--field-placeholder);
  opacity: 0.75;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A8C6E2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}
/* El desplegable lo dibuja el sistema: sin esto sale texto blanco sobre blanco. */
.field select option {
  color: #16181a;
  background: #ffffff;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 0.25rem;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
}
.consent label {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--band-text-3);
}
.consent a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form .btn--primary {
  margin-top: 0.25rem;
}
.form__status {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--band-text-2);
}
.form__status[data-kind="ok"] {
  color: #9fe0b8;
}
.form__status[data-kind="error"] {
  color: #f2b3ac;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- pie ---------- */

.footer {
  margin-top: var(--gap-section);
  padding-block: 2.125rem 3rem;
  border-top: 1px solid var(--rule);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.footer__brand .lockup__iso {
  height: 32px;
}
.footer__brand .lockup__word {
  height: 16px;
}
.footer__claim {
  margin-top: 0.875rem;
  font-size: 0.90625rem;
  color: var(--text-2);
}
.footer__datos {
  margin-top: 0.375rem;
  font-size: 0.90625rem;
  color: var(--text-3);
}
.footer__datos a {
  color: var(--text-2);
}
.footer__datos a:hover {
  color: var(--accent);
}
.footer__legal {
  display: flex;
  align-items: center;
  gap: 1.375rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-3);
}
.footer__legal a {
  color: var(--text-3);
}
.footer__legal a:hover {
  color: var(--ink);
}

/* ---------- barra fija móvil ---------- */

.dock {
  display: none;
}
@media (max-width: 899px) {
  .dock {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--dock-bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radio);
    backdrop-filter: blur(8px);
  }
  .dock .btn {
    min-height: 48px;
    padding: 0 1rem;
    font-size: 0.90625rem;
  }
  body {
    padding-bottom: 5.5rem;
  }
}

/* ---------- asistente ---------- */

.chat-open {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.375rem;
  border-radius: var(--radio);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.chat-open:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
@media (max-width: 899px) {
  .chat-open {
    bottom: 5.25rem;
    right: 0.75rem;
    width: 52px;
    padding: 0;
    justify-content: center;
    background: var(--dock-bg);
    backdrop-filter: blur(8px);
  }
  .chat-open span {
    display: none;
  }
  .chat-open__iso {
    height: 30px;
  }
}

.chat {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  width: min(calc(100vw - 1.5rem), 380px);
  height: min(78vh, 560px);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radio);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.chat[data-open="true"] {
  display: flex;
}
@media (max-width: 899px) {
  .chat {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }
}
.chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.chat__marca {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}
.chat__iso {
  height: 34px;
  width: auto;
  flex: 0 0 auto;
}
.chat-open__iso {
  height: 26px;
  width: auto;
  flex: 0 0 auto;
}
.chat__head p {
  font-size: 0.8125rem;
  color: var(--text-3);
}
.chat__close {
  background: transparent;
  border: 0;
  color: var(--text-2);
  cursor: pointer;
  padding: 0.375rem;
  border-radius: var(--radio);
  line-height: 0;
}
.chat__close:hover {
  color: var(--text);
}
.chat__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.msg {
  max-width: 88%;
  font-size: 0.9375rem;
  line-height: 1.5;
  white-space: pre-line;
}
.msg--bot {
  color: var(--text-2);
}
.msg--user {
  margin-left: auto;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.625rem 0.875rem;
  border-radius: var(--radio);
  font-weight: 500;
}
.chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chat__quick button {
  border-radius: var(--radio);
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 0.875rem;
  min-height: 44px;
  cursor: pointer;
}
.chat__quick button:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.chat__form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
}
.chat__form input {
  flex: 1;
  min-height: 44px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radio);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9375rem;
  padding: 0 0.9375rem;
}
.chat__form input:focus {
  outline: 0;
  border-color: var(--accent);
}
.chat__form button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: var(--radio);
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- páginas interiores ---------- */

.page {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.prose {
  max-width: 46rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.prose h2 {
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
}
.prose p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-2);
}

.svc-hero {
  display: grid;
  gap: 2.25rem;
  align-items: center;
  margin-top: 1.75rem;
}
@media (min-width: 950px) {
  .svc-hero {
    grid-template-columns: 6fr 6fr;
  }
}
.svc-hero__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand);
  border: 1px solid var(--border);
}
.svc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.includes {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}
.includes li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.96875rem;
  color: var(--text-2);
}
.includes li:last-child {
  border-bottom: 1px solid var(--rule);
}
.includes svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--accent-ink);
}

.otros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.otros a {
  border: 1px solid var(--border-soft);
  border-radius: var(--radio);
  padding: 0.5625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--text-lead);
}
.otros a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ---------- controles del carrusel del hero ---------- */

.carousel__ctrl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radio);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition:
    border-color 0.14s ease-out,
    color 0.14s ease-out;
}
.carousel__nav:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
/* El punto es pequeño, pero el botón mantiene una zona táctil de 24x32. */
.carousel__dot {
  position: relative;
  width: 24px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.carousel__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: rgba(232, 236, 241, 0.32);
  transition:
    background-color 0.14s ease-out,
    width 0.14s ease-out;
}
.carousel__dot:hover::after {
  background: rgba(232, 236, 241, 0.6);
}
.carousel__dot[aria-current="true"]::after {
  width: 20px;
  margin-left: -10px;
  border-radius: 999px;
  background: var(--ink);
}

@media (max-width: 720px) {
  .carousel__nav {
    display: none;
  }
}

/* ---------- dónde estamos ---------- */

.local {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 2.25rem;
}
.local__card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: 1.875rem 1.625rem;
}
.local__dato {
  margin-top: 0.75rem;
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}
.local__dato--sm {
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 400;
}
.local__dato a {
  color: inherit;
}
.local__dato a:hover {
  color: var(--accent);
}
.local__enlace {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.90625rem;
  font-weight: 500;
  color: var(--accent);
}
.local__enlace:hover {
  color: var(--ink);
}
.local__nota {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.90625rem;
  color: var(--text-2);
}

/* ---------- preguntas frecuentes ---------- */

.faqs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2.75rem;
  align-items: start;
}

.faqs {
  border-bottom: 1px solid var(--rule);
}
.faq {
  border-top: 1px solid var(--rule);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.375rem 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.14s ease-out;
}
.faq__q:hover {
  color: var(--accent);
}
.faq__signo {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--num);
  flex: 0 0 auto;
}
.faq__a p {
  max-width: 60ch;
  padding: 0 2.5rem 1.5rem 0;
  font-size: 0.96875rem;
  color: var(--text-2);
}

@media (max-width: 560px) {
  .faq__a p {
    padding-right: 0;
  }
}
