/* ==========================================================================
   Mercedes Bordón Dental Clinic — rediseño
   Colores de marca tomados del sitio actual:
   magenta #DC006A · rosa #EF7DB0 · azul oscuro #1C2035 · gris claro #F1F3FA
   ========================================================================== */

:root {
  --mg: #DC006A;
  --mg-d: #B1005A;
  --mg-dd: #6e0036;
  --pk: #EF7DB0;
  --pk-l: #FCE4F0;
  --pk-xl: #FFF5FA;
  --ink: #1C2035;
  --ink-2: #394058;
  --muted: #5d6279;
  --line: #ece8f0;
  --light: #F1F3FA;
  --white: #fff;
  --wa: #1fa855;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(28, 32, 53, .06);
  --shadow: 0 14px 40px rgba(28, 32, 53, .10);
  --shadow-mg: 0 14px 34px rgba(220, 0, 106, .28);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mg); text-decoration: none; }
a:hover { color: var(--mg-d); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--mg); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mg); color: #fff; box-shadow: var(--shadow-mg); }
.btn-primary:hover { background: var(--mg-d); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--mg); }
.btn-outline { border-color: var(--mg); color: var(--mg); background: transparent; }
.btn-outline:hover { background: var(--mg); color: #fff; }
.btn-white { background: #fff; color: var(--mg); }
.btn-white:hover { background: var(--pk-l); color: var(--mg-d); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a46; color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn .icon { width: 1.15em; height: 1.15em; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--ink); color: #d8d9e6; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: #d8d9e6; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info .icon { color: var(--pk); width: 1.05em; height: 1.05em; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.topbar-social a:hover { background: rgba(255,255,255,.12); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(28,32,53,.08); border-color: var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; padding-block: 4px; }
.brand img { height: 112px; width: auto; transition: height .3s var(--ease); }
.site-header.is-stuck .brand img { height: 84px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav a.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .98rem; transition: background .2s, color .2s; }
.nav a.nav-link:hover, .nav a.nav-link.active { background: var(--pk-l); color: var(--mg); }
.has-sub { position: relative; }
.has-sub .chev { width: .8em; height: .8em; }
.submenu { position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 8px); min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.submenu a:hover { background: var(--pk-xl); color: var(--mg); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.burger .icon { width: 22px; height: 22px; }
.nav-head, .nav-contact, .sub-toggle, .nav a.nav-link .ni { display: none; }
.nav-foot { display: contents; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; min-height: clamp(560px, 82vh, 760px); display: flex; align-items: center; background: var(--mg-dd); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; opacity: 0; }
.hero-bg img:first-child { opacity: 1; animation: heroA 16s infinite; }
.hero-bg img:nth-child(2) { animation: heroB 16s infinite; }
@keyframes heroA { 0%, 42% { opacity: 1 } 50%, 92% { opacity: 0 } 100% { opacity: 1 } }
@keyframes heroB { 0%, 42% { opacity: 0 } 50%, 92% { opacity: 1 } 100% { opacity: 0 } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(95, 0, 48, .86) 0%, rgba(150, 0, 76, .62) 38%, rgba(28, 32, 53, .10) 78%); }
.hero-inner { padding-block: 90px 150px; max-width: 700px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mg); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .eyebrow { color: var(--pk-l); }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: italic; color: var(--pk-l); font-weight: 500; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #fbe9f2; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; }
.hero-wave path { fill: #fff; }

/* Franja de valores que se superpone al hero */
.why { position: relative; z-index: 3; margin-top: -78px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: #fff; border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(220,0,106,.14); }
.why-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--pk-l); color: var(--mg); margin-bottom: 16px; }
.why-ico .icon { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.15rem; margin-bottom: .35em; }
.why-card p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Secciones ---------- */
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-soft { background: var(--pk-xl); }
.section-light { background: var(--light); }
.sec-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head-row .sec-head { margin: 0; }

/* Tratamientos */
.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.treat-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; color: #fff; background: var(--ink); box-shadow: var(--shadow-sm); isolation: isolate; }
.treat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); z-index: -2; }
.treat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28,32,53,0) 32%, rgba(28,32,53,.55) 58%, rgba(110,0,54,.96) 100%); transition: background .4s; }
.treat-card:hover img { transform: scale(1.07); }
.treat-card:hover::after { background: linear-gradient(180deg, rgba(110,0,54,.1) 10%, rgba(150,0,76,.78) 52%, rgba(110,0,54,.98) 100%); }
.treat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 24px; }
.treat-body h3 { color: #fff; font-size: 1.5rem; margin-bottom: .3em; }
.treat-body p { font-size: .94rem; color: #fbe3ee; margin: 0 0 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.treat-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .92rem; color: #fff; }
.treat-more .icon { transition: transform .3s var(--ease); }
.treat-card:hover .treat-more .icon { transform: translateX(6px); }

/* Nosotros */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-media { position: relative; padding: 0 0 30px 30px; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 82%; height: 82%; border-radius: 220px 220px 28px 28px; background: var(--pk); opacity: .35; }
.about-photo { position: relative; border-radius: 220px 220px 28px 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-badge { position: absolute; right: -6px; bottom: 6px; background: #fff; border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow); max-width: 230px; border: 1px solid var(--line); }
.about-badge strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); line-height: 1.2; }
.about-badge span { font-size: .85rem; color: var(--muted); }
.creds { margin: 26px 0 30px; display: grid; gap: 14px; }
.creds li { display: flex; gap: 14px; align-items: flex-start; }
.creds .icon { color: var(--mg); background: var(--pk-l); border-radius: 50%; padding: 6px; width: 32px; height: 32px; margin-top: 2px; stroke-width: 2.4; }
.creds span { font-size: 1rem; line-height: 1.55; }
.about-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 7vw, 80px); }
.pair-card { background: #fff; border-radius: var(--r); padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pair-card h3 { display: flex; align-items: center; gap: 12px; }
.pair-card h3 .why-ico { margin: 0; width: 44px; height: 44px; border-radius: 14px; }
.pair-card p { color: var(--muted); }
.pair-card ul li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.pair-card ul .icon { color: var(--mg); margin-top: 5px; stroke-width: 2.4; }
.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.photo-duo figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/2; position: relative; }
.photo-duo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .8s var(--ease); }
.photo-duo figure:hover img { transform: scale(1.05); }
.photo-duo figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(220,0,106,.18), transparent 60%); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; position: relative; }
.step { position: relative; padding: 34px 28px 30px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-n { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--pk); font-weight: 600; opacity: .55; margin-bottom: 6px; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); margin: 0; }

/* Casos */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.case-card { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-img { background: #fff; overflow: hidden; }
.case-img img { width: 100%; height: auto; }
.case-body { padding: 26px 28px 30px; }
.tag { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--pk-l); color: var(--mg-d); font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.case-body h3 { margin-bottom: .4em; }
.case-body p { color: var(--muted); margin: 0; font-size: .98rem; }
.case-note { margin-top: 30px; text-align: center; color: var(--muted); font-size: .92rem; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-img { aspect-ratio: 16/10; overflow: hidden; background: var(--light); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.06); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-body .tag { align-self: flex-start; }
.post-body h3 { font-size: 1.28rem; margin-bottom: .4em; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--mg); }
.post-body p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem; cursor: pointer; font-family: var(--sans); transition: all .2s; }
.chip:hover { border-color: var(--mg); color: var(--mg); }
.chip.is-on { background: var(--mg); border-color: var(--mg); color: #fff; }
.post-card.is-hidden { display: none; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { border-color: var(--pk); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 26px; font-weight: 800; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--mg); transition: transform .3s var(--ease); stroke-width: 2.4; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .ans { padding: 0 26px 22px; color: var(--muted); }
.faq .ans p { margin: 0; }

/* CTA y contacto */
.cta-band { background: linear-gradient(120deg, var(--mg-dd) 0%, var(--mg) 55%, #ee3e92 100%); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-band::before { width: 380px; height: 380px; right: -90px; top: -170px; }
.cta-band::after { width: 240px; height: 240px; left: 30%; bottom: -150px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .25em; max-width: 620px; }
.cta-band p { color: #ffe0ee; margin: 0; max-width: 540px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.where { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; }
.info-list { display: grid; gap: 16px; align-content: start; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; transition: transform .25s var(--ease), box-shadow .25s; }
a.info-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-item .why-ico { margin: 0; flex: none; }
.info-item small { display: block; font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mg); }
.info-item strong, .info-item address { font-style: normal; font-weight: 700; color: var(--ink); line-height: 1.45; word-break: break-word; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 380px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--light); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Páginas interiores ---------- */
.page-hero { position: relative; background: linear-gradient(120deg, var(--mg-dd) 0%, var(--mg) 62%, #ee3e92 100%); color: #fff; padding-block: clamp(54px, 8vw, 96px) clamp(70px, 9vw, 116px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.07); right: -140px; top: -230px; z-index: -1; }
.page-hero::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.06); left: 8%; bottom: -190px; z-index: -1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin-bottom: .3em; }
.page-hero p { color: #ffe3ef; max-width: 640px; font-size: 1.15rem; margin: 0; }
.page-hero .eyebrow { color: var(--pk-l); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #ffd0e5; margin-bottom: 22px; }
.crumbs a { color: #fff; font-weight: 700; }
.crumbs a:hover { color: var(--pk-l); }
.page-hero .hero-wave { height: 56px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-banner { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 38px; box-shadow: var(--shadow); }
.article-banner img { width: 100%; max-height: 300px; object-fit: cover; }
.prose { font-size: 1.08rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.7em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); scroll-margin-top: 110px; }
.prose h3 { margin-top: 1.4em; color: var(--mg-d); }
.prose p { margin: 0; }
.prose ul { display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 34px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--pk-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC006A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.prose figure { margin: 1.6em 0; border-radius: var(--r); overflow: hidden; background: var(--light); }
.prose figure img { width: 100%; max-height: 560px; object-fit: contain; margin-inline: auto; background: var(--light); }
.prose .figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 1.6em 0; }
.prose .figs figure { margin: 0; display: grid; align-items: center; }
.prose .figs img { height: 100%; object-fit: cover; }
.callout { border-left: 5px solid var(--mg); background: var(--pk-xl); padding: 22px 26px; border-radius: 0 var(--r) var(--r) 0; color: var(--ink); font-weight: 600; }
.video { aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; }

.aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
.aside-card.cta { background: linear-gradient(150deg, var(--mg) 0%, var(--mg-dd) 100%); border: 0; color: #fff; }
.aside-card.cta h3 { color: #fff; }
.aside-card.cta p { color: #ffe0ee; font-size: .96rem; }
.aside-card.cta .btn { width: 100%; }
.aside-card.cta .phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 800; }
.aside-card h3 { font-size: 1.15rem; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .96rem; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover, .aside-links a.on { color: var(--mg); }
.aside-links .icon { width: 1em; height: 1em; opacity: .5; }

.post-hero-img { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); aspect-ratio: 16/9; background: var(--light); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-nav { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 28px; }
.back-link .icon { transform: rotate(180deg); }

/* Formulario de contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.8rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--pk-xl); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mg); background: #fff; box-shadow: 0 0 0 4px rgba(220,0,106,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.social-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 800; background: #fff; transition: all .2s; }
.social-btn:hover { border-color: var(--mg); color: var(--mg); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4c7d9; margin-top: 0; padding-top: 72px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.foot-logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 16px; margin-bottom: 20px; }
.foot-logo img { height: 104px; width: auto; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 800; }
.site-footer a { color: #c4c7d9; }
.site-footer a:hover { color: #fff; }
.foot-links { display: grid; gap: 10px; }
.foot-contact { display: grid; gap: 14px; font-size: .96rem; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact .icon { color: var(--pk); margin-top: 4px; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.foot-social a:hover { background: var(--mg); color: #fff; transform: translateY(-3px); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; color: #9498b0; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; padding: 14px 20px 14px 16px; border-radius: 999px; font-weight: 800; box-shadow: 0 12px 30px rgba(31,168,85,.45); transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 38px rgba(31,168,85,.55); }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--wa); animation: ping 2.6s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7 } 80%, 100% { transform: scale(1.35); opacity: 0 } }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .treat-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .where, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .burger { display: grid; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff; display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 50px rgba(28,32,53,.18); z-index: 80; border-radius: 28px 0 0 28px; overflow: hidden; }
  .nav.open { transform: none; }
  .nav-head { display: flex; align-items: center; padding: 12px 84px 12px 22px; border-bottom: 1px solid var(--line); flex: none; background: #fff; }
  .nav-head img { height: 64px; width: auto; }
  .nav > ul { flex: 1 1 auto; overflow-y: auto; display: block; padding: 14px 14px 10px; }
  .nav > ul > li { margin-bottom: 4px; }
  .nav a.nav-link { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 16px; font-size: 1.06rem; font-weight: 700; width: 100%; background: transparent; }
  .nav a.nav-link .ni { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--pk-l); color: var(--mg); flex: none; transition: background .2s, color .2s; }
  .nav a.nav-link .ni .icon { width: 22px; height: 22px; }
  .nav a.nav-link:hover, .nav a.nav-link.active { background: var(--pk-xl); color: var(--ink); }
  .nav a.nav-link:hover .ni, .nav a.nav-link.active .ni { background: var(--mg); color: #fff; }
  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .has-sub > a.nav-link { flex: 1 1 0; width: auto; min-width: 0; }
  .has-sub .chev { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; flex: none; margin-right: 2px; }
  .sub-toggle .icon { width: 20px; height: 20px; transition: transform .3s var(--ease); }
  .has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
  .submenu, .has-sub:hover .submenu, .has-sub:focus-within .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; min-width: 0; width: 100%; padding: 0 0 0 66px; display: grid; gap: 2px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s; }
  .has-sub.open .submenu, .has-sub.open:hover .submenu { max-height: 520px; padding-top: 2px; padding-bottom: 8px; }
  .submenu a { padding: 9px 14px; font-size: .96rem; font-weight: 600; color: var(--ink-2); border-left: 2px solid var(--pk-l); border-radius: 0 12px 12px 0; }
  .submenu a:hover { background: var(--pk-xl); color: var(--mg); border-left-color: var(--mg); }
  .nav-foot { display: block; flex: none; padding: 16px 20px 22px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -12px 30px rgba(28,32,53,.06); }
  .nav-foot .btn { width: 100%; padding: 15px 22px; font-size: 1.05rem; }
  .nav-contact { display: flex; gap: 10px; margin-top: 12px; }
  .nav-contact a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 10px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 800; font-size: .92rem; }
  .nav-contact a .icon { color: var(--mg); }
  body.menu-open .wa-float, body.menu-open .chat { display: none; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .brand img { height: 84px; }
  .site-header.is-stuck .brand img { height: 68px; }
  .burger[aria-expanded="true"] { position: fixed; right: 20px; top: 16px; z-index: 90; }
  .scrim { position: fixed; inset: 0; background: rgba(28,32,53,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 75; }
  .scrim.on { opacity: 1; visibility: visible; }
  .topbar { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; margin-inline: auto; }
  .steps, .about-pair, .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar-info { gap: 14px; }
  .topbar-social { display: none; }
  .hero { min-height: 600px; }
  .hero-inner { padding-block: 64px 130px; }
  .hero-bg img { object-position: 78% 20%; }
  .why { margin-top: -60px; }
  .why-grid, .treat-grid, .post-grid, .photo-duo, .rel-grid, .aside, .field-row { grid-template-columns: 1fr; }
  .treat-card { aspect-ratio: 5/6; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .btn { padding: 14px 22px; }
  .cta-actions .btn, .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-bg img:nth-child(2) { display: none; }
}
@media print {
  .topbar, .site-header, .wa-float, .hero-wave, .aside, .cta-band { display: none !important; }
}

/* ==========================================================================
   Turno online (maqueta)
   ========================================================================== */
.bk-notice { display: flex; gap: 12px; align-items: flex-start; background: var(--pk-xl); border: 1.5px dashed var(--pk); color: var(--mg-dd); padding: 14px 20px; border-radius: var(--r-sm); font-weight: 700; font-size: .95rem; margin-bottom: 30px; }
.bk-notice .icon { margin-top: 3px; color: var(--mg); }
.bk { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(24px, 4vw, 44px); align-items: start; }
.bk-steps { display: flex; margin: 0 0 26px; padding: 0; list-style: none; }
.bk-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; position: relative; font-size: .86rem; font-weight: 800; color: var(--muted); }
.bk-step::before { content: ""; position: absolute; top: 21px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.bk-step:first-child::before { display: none; }
.bk-step.active::before, .bk-step.done::before { background: var(--mg); }
.bk-step .n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-family: var(--serif); font-size: 1.15rem; color: var(--muted); transition: all .3s var(--ease); }
.bk-step.active { color: var(--ink); }
.bk-step.active .n { background: var(--mg); border-color: var(--mg); color: #fff; box-shadow: 0 0 0 7px rgba(220, 0, 106, .14); }
.bk-step.done .n { background: var(--pk-l); border-color: var(--mg); color: var(--mg); }
.bk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow); }
.bk-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .2em; }
.bk-card .lead { color: var(--muted); margin-bottom: 24px; }
[hidden] { display: none !important; }
.bk-pro { display: flex; gap: 18px; align-items: center; border: 2px solid var(--mg); background: var(--pk-xl); border-radius: var(--r); padding: 16px 20px; margin-bottom: 22px; }
.bk-pro img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.bk-pro strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.bk-pro span { font-size: .92rem; color: var(--muted); }
.bk-pro .check { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--mg); color: #fff; display: grid; place-items: center; flex: none; }
.bk-pro .check .icon { stroke-width: 3; width: 16px; height: 16px; }
.bk-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.bk-actions .btn:only-child { margin-left: auto; }
.bk-err { color: #b00020; font-weight: 700; font-size: .92rem; margin: 14px 0 0; }

/* Calendario */
.cal { border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; background: #fff; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-head strong { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cal-nav:hover:not(:disabled) { border-color: var(--mg); color: var(--mg); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-nav.prev .icon { transform: rotate(180deg); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: .76rem; font-weight: 800; color: var(--muted); text-transform: uppercase; padding-bottom: 4px; }
.cal-day { height: 50px; border-radius: 12px; border: 1.5px solid transparent; background: var(--pk-xl); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; transition: all .2s; }
.cal-day:hover:not(:disabled) { border-color: var(--mg); color: var(--mg); }
.cal-day:disabled { background: transparent; color: #b9bccb; cursor: not-allowed; font-weight: 500; }
.cal-day.on { background: var(--mg); color: #fff; border-color: var(--mg); box-shadow: var(--shadow-mg); }
.slots { margin-top: 22px; }
.slots-empty { color: var(--muted); text-align: center; padding: 18px; background: var(--light); border-radius: var(--r-sm); margin: 0; }
.slots-day { font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.slots-group h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mg); margin: 14px 0 8px; font-weight: 800; }
.slots-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.slot { padding: 11px 6px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; transition: all .2s; }
.slot:hover:not(:disabled) { border-color: var(--mg); color: var(--mg); }
.slot.on { background: var(--mg); border-color: var(--mg); color: #fff; }
.slot:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; background: var(--light); }
.cal-note { font-size: .86rem; color: var(--muted); margin: 16px 0 0; }

/* Confirmación */
.bk-final { display: grid; gap: 4px; margin: 0 0 22px; }
.bk-final > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.bk-final dt { font-weight: 800; color: var(--mg); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.bk-final dd { margin: 0; color: var(--ink); font-weight: 700; word-break: break-word; }
.bk-check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.bk-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--mg); flex: none; }
.bk-success { text-align: center; padding: clamp(10px, 3vw, 30px) 0; }
.bk-success .ok { width: 84px; height: 84px; border-radius: 50%; background: var(--pk-l); color: var(--mg); display: grid; place-items: center; margin: 0 auto 20px; }
.bk-success .ok .icon { width: 42px; height: 42px; stroke-width: 2.6; }
.bk-success .bk-final { text-align: left; max-width: 520px; margin: 26px auto; }
.bk-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Resumen lateral */
.bk-side { position: sticky; top: 112px; display: grid; gap: 18px; }
.bk-sum { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.bk-sum-head { background: linear-gradient(120deg, var(--mg-dd), var(--mg)); color: #fff; padding: 20px 24px; }
.bk-sum-head h3 { color: #fff; margin: 0; font-size: 1.25rem; }
.bk-sum-head small { color: #ffd6e8; }
.bk-sum dl { margin: 0; padding: 8px 24px 16px; }
.bk-sum dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.bk-sum dl > div:last-child { border-bottom: 0; }
.bk-sum dt { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mg); }
.bk-sum dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); word-break: break-word; }
.bk-sum dd.is-empty { color: #b4b7c6; font-weight: 500; }
.bk-help { background: var(--pk-xl); border: 1px solid var(--pk-l); border-radius: var(--r); padding: 22px; }
.bk-help h3 { font-size: 1.1rem; }
.bk-help p { font-size: .95rem; color: var(--muted); }
.bk-help .btn { width: 100%; }

/* ==========================================================================
   Chatbot flotante (maqueta)
   ========================================================================== */
.chat-fab { position: fixed; right: 20px; bottom: 92px; z-index: 71; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--mg) 0%, #ee3e92 100%); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-mg); transition: transform .25s var(--ease), box-shadow .25s; }
.chat-fab:hover { transform: translateY(-3px) scale(1.04); }
.chat-fab .icon { width: 28px; height: 28px; }
.chat-fab .i-close { display: none; }
.chat-fab.is-open .i-chat { display: none; }
.chat-fab.is-open .i-close { display: block; }
.chat-fab .chat-dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; background: #ffd23f; border: 2px solid #fff; border-radius: 50%; }
.chat-fab.is-open .chat-dot { display: none; }
.chat-panel { position: fixed; right: 20px; bottom: 162px; z-index: 72; width: 372px; max-width: calc(100vw - 24px); height: min(540px, calc(100vh - 190px)); background: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 70px rgba(28, 32, 53, .28); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); animation: chatIn .35s var(--ease); }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(120deg, var(--mg-dd), var(--mg)); color: #fff; }
.chat-av { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--mg); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; flex: none; }
.chat-head strong { display: block; line-height: 1.2; }
.chat-head small { color: #ffd6e8; font-size: .78rem; }
.chat-x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-x:hover { background: rgba(255, 255, 255, .3); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--pk-xl); }
.chat-msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: .95rem; line-height: 1.5; }
.chat-msg p { margin: 0; }
.chat-msg.bot { background: #fff; color: var(--ink-2); border-bottom-left-radius: 5px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.chat-msg.user { background: var(--mg); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-act { display: block; margin-top: 10px; padding: 9px 14px; border-radius: 999px; background: var(--pk-l); color: var(--mg-d); font-weight: 800; font-size: .88rem; text-align: center; }
.chat-act:hover { background: var(--mg); color: #fff; }
.chat-msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.chat-msg.typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--pk); animation: dot 1s infinite; }
.chat-msg.typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 4px; background: var(--pk-xl); }
.chat-chip { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--mg); background: #fff; color: var(--mg); font: inherit; font-weight: 800; font-size: .84rem; cursor: pointer; transition: all .2s; }
.chat-chip:hover { background: var(--mg); color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 12px 14px; background: #fff; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; font: inherit; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--pk-xl); }
.chat-form input:focus { outline: none; border-color: var(--mg); background: #fff; }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mg); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.chat-form button:hover { background: var(--mg-d); }
.chat-foot { margin: 0; padding: 0 14px 12px; background: #fff; font-size: .74rem; color: var(--muted); text-align: center; }

@media (max-width: 1080px) {
  .bk { grid-template-columns: 1fr; }
  .bk-side { position: static; }
}
@media (max-width: 640px) {
  .bk-step .t { display: none; }
  .bk-final > div { grid-template-columns: 1fr; gap: 2px; }
  .bk-pro { flex-wrap: wrap; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 156px; height: min(520px, calc(100vh - 180px)); }
  .chat-fab { right: 16px; bottom: 88px; }
}
@media print { .chat { display: none !important; } }
.chat-msg .chat-act { display: inline-block; margin: 6px 6px 0 0; }
.chat-msg .chat-pay { background: var(--mg); color: #fff; }
.chat-msg .chat-pay:hover { background: var(--mg-d); }
.chat-msg a.chat-link { word-break: break-all; }
