/* =========================================================
   Miki&Simone — hoja de estilo única
   Dirección: premium oscuro. Acento latón. Serif editorial.
   ========================================================= */

/* 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-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.03;
  font-family: var(--serif);
  text-wrap: balance;
}

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

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

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

.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-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.h1 {
  font-size: clamp(2.75rem, 7.2vw, 6.5rem);
  line-height: 0.98;
}
.h2 {
  font-size: clamp(2rem, 4.6vw, 3.625rem);
}
.h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.62;
  color: var(--text-2);
  font-weight: 300;
}

.muted {
  color: var(--text-3);
  font-weight: 300;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 54px;
  padding: 0 1.875rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
  text-align: center;
}
.btn:active {
  transform: translateY(1px);
}

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

.btn--ghost {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--text);
  font-weight: 500;
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}

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

.btn--dark {
  background: var(--band-text);
  color: var(--band-bg);
}
.btn--dark:hover {
  background: var(--band-surface);
  color: var(--band-bg);
}

.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: 1rem;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.lockup__iso {
  height: 42px;
  width: auto;
}
.lockup__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lockup__word {
  height: 19px;
  width: auto;
}
.lockup__sub {
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.125rem;
}
.nav a {
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 500;
}
.nav a:hover {
  color: var(--text);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header__cta .btn {
  min-height: 46px;
  padding: 0 1.375rem;
  font-size: 0.875rem;
}

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

.header__call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  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-size: 1.0625rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn {
  margin-top: 1.125rem;
}

@media (max-width: 960px) {
  .nav,
  .header__cta .btn--outline,
  .header__cta .phone-text {
    display: none;
  }
  .burger,
  .header__call {
    display: inline-flex;
  }
  .lockup__iso {
    height: 36px;
  }
  .lockup__word {
    height: 16px;
  }
  .lockup__sub {
    font-size: 0.5rem;
  }
}

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

.hero {
  padding-top: clamp(2.5rem, 6vw, 6rem);
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}
.hero__rule {
  flex: 1 1 auto;
  height: 1px;
  background: var(--border);
}
.hero__meta-alt {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.75rem;
  align-items: end;
}

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

.hero__media {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--surface);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.trust > div {
  padding: 1.875rem 2.125rem;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}
.trust > div:first-child {
  border-left: 0;
  padding-left: 0;
}
.trust > div:last-child {
  padding-right: 0;
}
.trust strong {
  font-size: 0.9375rem;
  font-weight: 600;
}
.trust span {
  font-size: 0.875rem;
  color: var(--text-3);
  font-weight: 300;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
  }
  .hero__actions {
    justify-content: flex-end;
  }
}
@media (max-width: 899px) {
  .hero__meta-alt {
    display: none;
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .hero__media {
    aspect-ratio: 4 / 3;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .trust > div {
    border-left: 0;
    padding: 1rem 0;
  }
}

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

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.sec-head p {
  max-width: 24rem;
  font-size: 1rem;
  color: var(--text-3);
  font-weight: 300;
}
@media (min-width: 900px) {
  .sec-head p {
    text-align: right;
  }
}

/* ---------- servicios (lista editorial) ---------- */

.svc-list {
  margin-top: 2.875rem;
}

.svc {
  display: grid;
  grid-template-columns: 5.75rem 1fr 1fr 9.375rem;
  grid-template-areas: "num title desc go";
  gap: 1.75rem;
  align-items: center;
  padding: 1.875rem 0;
  border-top: 1px solid var(--border);
  color: inherit;
  transition: background-color 0.18s ease;
}
.svc:last-child {
  border-bottom: 1px solid var(--border);
}
.svc:hover {
  background: rgba(199, 154, 75, 0.045);
}
.svc:hover .svc__title {
  color: var(--accent-hi);
}
.svc__num {
  grid-area: num;
  font-family: var(--serif);
  font-size: 1.875rem;
  color: var(--accent-ink);
}
.svc__title {
  grid-area: title;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  color: var(--text);
  transition: color 0.18s ease;
}
.svc__desc {
  grid-area: desc;
  font-size: 0.96875rem;
  color: var(--text-3);
  font-weight: 300;
}
.svc__go {
  grid-area: go;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-ink);
  white-space: nowrap;
}

@media (max-width: 899px) {
  .svc {
    grid-template-columns: 2.625rem 1fr 1.375rem;
    grid-template-areas:
      "num title go"
      ".   desc  .";
    gap: 0.3125rem 0.75rem;
    align-items: start;
    padding: 1.25rem 0;
  }
  .svc__num {
    grid-area: num;
    font-size: 1.375rem;
    line-height: 1.35;
  }
  .svc__title {
    grid-area: title;
  }
  .svc__desc {
    grid-area: desc;
    font-size: 0.875rem;
  }
  .svc__go {
    grid-area: go;
    align-self: center;
  }
  .svc__go span {
    display: none;
  }
}

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

.ba-head {
  display: grid;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.125rem;
}
@media (min-width: 900px) {
  .ba-head {
    grid-template-columns: 7fr 5fr;
  }
}

.ba {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: var(--surface);
}
@media (max-width: 700px) {
  .ba {
    aspect-ratio: 4 / 5;
  }
}
.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;
  top: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba__tag--before {
  left: 1.25rem;
  color: var(--text-2);
  border: 1px solid var(--border-soft);
  background: rgba(14, 17, 19, 0.66);
}
.ba__tag--after {
  right: 1.25rem;
  color: var(--on-accent);
  background: var(--accent);
}
.ba__line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--accent);
  pointer-events: none;
}
.ba__handle {
  position: absolute;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: var(--accent);
  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;
}

/* ---------- por qué ---------- */

.why {
  display: grid;
  gap: 0 2.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}
.why > div {
  display: flex;
  flex-direction: column;
  gap: 0.5625rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}
.why > div:nth-child(n + 4) {
  border-bottom: 1px solid var(--border);
}
.why b {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-ink);
  line-height: 1;
}
.why h4 {
  font-family: var(--sans);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}
.why p {
  font-size: 0.9375rem;
  color: var(--text-3);
  font-weight: 300;
}
@media (max-width: 1000px) {
  .why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
  }
  .why > div:nth-child(n + 4) {
    border-bottom: 0;
  }
  .why > div:nth-child(n + 5) {
    border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 640px) {
  .why {
    grid-template-columns: 1fr;
  }
  .why > div {
    padding: 1.125rem 0;
  }
  .why > div:nth-child(n + 4) {
    border-bottom: 0;
  }
  .why > div:last-child {
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- método ---------- */

.method {
  display: grid;
  gap: 2rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.steps > div {
  background: var(--bg);
  padding: 2.125rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.steps b {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent-ink);
  line-height: 1;
}
.steps h4 {
  font-family: var(--sans);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}
.steps p {
  font-size: 0.9375rem;
  color: var(--text-3);
  font-weight: 300;
}
@media (min-width: 900px) {
  .method {
    grid-template-columns: 4fr 8fr;
    gap: 2rem;
  }
}
@media (max-width: 620px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .steps > div {
    padding: 1.375rem 1.25rem;
  }
  .steps b {
    font-size: 1.875rem;
  }
}

/* ---------- zonas ---------- */

.zonas-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.625rem;
  border-bottom: 1px solid var(--border);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.625rem;
}
.chip {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border-soft);
  padding: 0.8125rem 1.625rem;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .chip {
    font-size: 0.90625rem;
    padding: 0.75rem 1.25rem;
  }
}

/* ---------- contacto (banda clara) ---------- */

.contacto {
  margin-top: var(--gap-section);
  background: var(--band-bg);
  color: var(--band-text);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.contacto .eyebrow {
  color: var(--band-accent);
}
.contacto h2 {
  color: var(--band-text);
}
.contacto__grid {
  display: grid;
  gap: 2.75rem;
}
@media (min-width: 950px) {
  .contacto__grid {
    grid-template-columns: 5fr 7fr;
  }
}
.contacto__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--band-text-2);
  font-weight: 300;
  margin-top: 1.125rem;
}
.contacto__tel {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--band-border);
}
.contacto__tel-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--band-text-3);
}
.contacto__tel a.num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--band-text);
  letter-spacing: -0.01em;
  margin-top: 0.375rem;
}
.contacto__tel a.num:hover {
  color: var(--band-accent);
}

/* formulario */

.form {
  background: var(--band-surface);
  border: 1px solid var(--band-border);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form__row {
  display: grid;
  gap: 1.125rem;
}
@media (min-width: 620px) {
  .form__row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}
.field > label {
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--band-text-2);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--band-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--field-border);
  border-radius: 0;
  padding: 0.75rem 0;
  min-height: 50px;
  width: 100%;
}
.field textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--field-placeholder);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-bottom-color: var(--band-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='%23999999' 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 2px center;
}

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

.form .btn--primary {
  margin-top: 1.5rem;
}
.form__status {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form__status[data-kind="ok"] {
  color: #1f6b3d;
}
.form__status[data-kind="error"] {
  color: #a12c22;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.footer {
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-block: 3.25rem 3.75rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.footer__brand .lockup__iso {
  height: 40px;
}
.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-3);
  font-weight: 300;
}
.footer__brand a {
  color: var(--text-2);
}
.footer__brand a:hover {
  color: var(--accent-ink);
}
.footer__cols {
  display: flex;
  gap: 3.25rem;
  flex-wrap: wrap;
}
.footer__cols ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer__cols a {
  font-size: 0.875rem;
  color: var(--text-2);
}
.footer__cols a:hover {
  color: var(--accent-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: 999px;
    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: 999px;
  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: 20px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.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);
  font-weight: 300;
}
.chat__close {
  background: transparent;
  border: 0;
  color: var(--text-2);
  cursor: pointer;
  padding: 0.375rem;
  border-radius: 999px;
  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: 14px 14px 4px 14px;
  font-weight: 500;
}
.chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chat__quick button {
  border-radius: 999px;
  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: 999px;
  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: 999px;
  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(--sans);
  font-size: 1.125rem;
  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-3);
  font-weight: 300;
}

.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(--surface);
}
.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(--border);
  font-size: 0.96875rem;
  color: var(--text-2);
  font-weight: 300;
}
.includes li:last-child {
  border-bottom: 1px solid var(--border);
}
.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: 999px;
  padding: 0.75rem 1.25rem;
  font-size: 0.90625rem;
  font-weight: 500;
  color: var(--text);
}
.otros a:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}

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

.carousel {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
  background: var(--surface);
}
.carousel__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.55s cubic-bezier(0.4, 0.1, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .carousel__track {
    transition: none;
  }
}
.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 7;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel__slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(10, 12, 14, 0.72), rgba(10, 12, 14, 0));
  pointer-events: none;
}
.carousel__caption {
  position: absolute;
  left: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0 1.375rem;
  border-radius: 999px;
  background: rgba(14, 17, 19, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f4f1ea;
  font-size: 0.9375rem;
  font-weight: 600;
}
.carousel__caption:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(14, 17, 19, 0.6);
  backdrop-filter: blur(6px);
  color: #f4f1ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.carousel__nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.carousel__nav--prev {
  left: clamp(0.75rem, 2vw, 1.5rem);
}
.carousel__nav--next {
  right: clamp(0.75rem, 2vw, 1.5rem);
}

.carousel__dots {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(14, 17, 19, 0.55);
  backdrop-filter: blur(6px);
}
.carousel__dot {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.carousel__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.45);
  transition: background-color 0.2s ease;
}
.carousel__dot[aria-current="true"]::after {
  background: var(--accent);
  width: 22px;
  border-radius: 999px;
  margin-left: -11px;
}

@media (max-width: 760px) {
  .carousel__slide {
    aspect-ratio: 4 / 3;
  }
  .carousel__nav {
    display: none;
  }
  .carousel__caption {
    font-size: 0.875rem;
    min-height: 44px;
    padding: 0 1rem;
  }
  .carousel__dots {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

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

.local {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}
@media (min-width: 860px) {
  .local {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  }
}
.local__card {
  border: 1px solid var(--border);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.local__card h3 {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.local__card p,
.local__card a.dato {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text);
}
.local__card a.dato:hover {
  color: var(--accent-ink);
}
.local__card span {
  font-size: 0.9375rem;
  color: var(--text-3);
  font-weight: 300;
}
.local__card .btn {
  margin-top: auto;
  align-self: flex-start;
}

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

.faqs {
  margin-top: 2.25rem;
  border-top: 1px solid var(--border);
}
.faq {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.1875rem, 2vw, 1.5rem);
  line-height: 1.25;
  color: var(--text);
}
.faq__q:hover {
  color: var(--accent-ink);
}
.faq__q svg {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--accent-ink);
  transition: transform 0.2s ease;
}
.faq__q[aria-expanded="true"] svg {
  transform: rotate(45deg);
}
.faq__a {
  padding: 0 3rem 1.75rem 0;
  max-width: 52rem;
}
.faq__a p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-3);
  font-weight: 300;
}
