/* FisioValentia — colores tomados del logo */
@font-face {
  font-family: "Lexend";
  src: url("/fonts/lexend-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lexend";
  src: url("/fonts/lexend-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #1f67a3;        /* azul Valentia */
  --blue-deep: #134a7a;
  --ink: #0e2b48;
  --orchid: #bc73b4;      /* rosado del logo */
  --orchid-deep: #9a4f92;
  --blush: #fbf3f9;
  --blush-2: #f4e4f1;
  --mist: #eef4fa;
  --white: #ffffff;
  --text: #28415a;
  --muted: #5b6f84;
  --line: #dbe5ef;

  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(14, 43, 72, .35);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
h1 em, h2 em, .manifesto em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orchid-deep);
  letter-spacing: 0;
}
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orchid); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* El punto rosado sobre las "i" del logo es el marcador de toda la página */
.eyebrow {
  display: inline-flex; align-items: flex-start; gap: .55em;
  font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: .6em; height: .6em; margin-top: .5em; border-radius: 50%; background: var(--orchid); flex: none;
}

/* Buttons */
.btn {
  --bg: var(--blue); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(31, 103, 163, .7); }
.btn--blue:hover { --bg: var(--blue-deep); }
.btn--pink { --bg: var(--orchid-deep); }
.btn--pink:hover { --bg: #7f3f78; box-shadow: 0 10px 24px -12px rgba(154, 79, 146, .7); }
.btn--ghost { --bg: transparent; --fg: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { --bg: var(--mist); }
.btn--small { padding: .7em 1.2em; font-size: .92rem; }
.btn--block { width: 100%; }

/* Top bar + header */
.topbar { background: var(--ink); color: #dce8f4; font-size: .82rem; text-align: center; padding: .5em var(--gutter); }
.topbar p { margin: 0; }
.topbar strong { color: #f3cbee; font-weight: 500; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { width: 150px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 400; font-size: .95rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--orchid); transform: scale(0); transition: transform .2s ease;
}
.nav a:hover::after, .nav a.is-active::after { transform: scale(1); }
.header__actions { display: flex; align-items: center; gap: 12px; }

.cart-btn, .icon-btn, .menu-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--mist); color: var(--ink); cursor: pointer;
}
.cart-btn svg, .icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn__count {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--orchid-deep); color: var(--white);
  font-size: .72rem; font-weight: 600; display: grid; place-items: center;
}
.cart-btn__count[hidden] { display: none; }
.cart-btn.is-bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.15); } }
.menu-btn { display: none; }
.menu-btn span { position: absolute; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease; }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(60% 70% at 85% 30%, var(--blush-2) 0%, transparent 70%),
    radial-gradient(50% 60% at 10% 90%, var(--mist) 0%, transparent 70%);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.hero__title em { display: block; font-size: 1.08em; line-height: 1; margin-top: .08em; }
.hero__lead { font-size: 1.15rem; max-width: 34em; margin-top: 1.4rem; color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero__facts { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .92rem; color: var(--muted); }
.hero__facts strong { color: var(--ink); font-weight: 500; }

.hero__figure { position: relative; margin: 0; justify-self: center; width: min(100%, 460px); }
.arch {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #dcebf7, var(--blush-2));
  box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Firma: la curva del logo convertida en línea de movimiento */
.motion-arc {
  position: absolute; z-index: 2; pointer-events: none;
  inset: -8% -14% -6% -18%;
  width: 132%; height: 114%;
  overflow: visible;
}
.motion-arc path { fill: none; stroke-linecap: round; stroke-width: 14; }
.motion-arc__pink { stroke: var(--orchid); stroke-dasharray: 560; stroke-dashoffset: 560; animation: draw 1.6s .3s cubic-bezier(.6, 0, .2, 1) forwards; }
.motion-arc__blue { stroke: var(--blue); stroke-dasharray: 480; stroke-dashoffset: 480; animation: draw 1.4s .7s cubic-bezier(.6, 0, .2, 1) forwards; }
.motion-arc__dot { fill: var(--orchid); transform-origin: 470px 118px; transform: scale(0); animation: pop .5s 1.8s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }

.hero__badge {
  position: absolute; z-index: 3; left: -6%; bottom: 8%;
  display: grid; gap: 2px;
  background: var(--white); padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow);
  font-size: .82rem; color: var(--muted);
}
.hero__badge-name { font-weight: 600; color: var(--ink); font-size: .95rem; }

/* Manifesto */
.manifesto { background: var(--blue); color: var(--white); padding: clamp(40px, 6vw, 70px) 0; text-align: center; }
.manifesto p { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 300; line-height: 1.25; letter-spacing: -.02em; }
.manifesto em { color: #f3cbee; font-size: 1.12em; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--mist { background: var(--mist); }
.section--blush { background: var(--blush); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.section__head--row > div { max-width: 640px; }
.section__head--row .section__lead { max-width: 360px; margin: 0; }
.section__lead { font-size: 1.08rem; color: var(--muted); margin-top: 1rem; }

/* Consultorio — la dirección es la protagonista */
.clinic { background: linear-gradient(180deg, var(--white) 0%, var(--mist) 100%); }
.clinic__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.clinic__perks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 14px; }
.clinic__perks li { position: relative; padding-left: 26px; }
.clinic__perks li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--orchid);
}
.clinic__card {
  position: relative; overflow: hidden; font-style: normal;
  background: var(--blue); color: var(--white);
  border-radius: var(--radius) 160px var(--radius) var(--radius);
  padding: clamp(32px, 5vw, 52px);
  box-shadow: var(--shadow);
}
.clinic__arc { position: absolute; right: -20px; top: -10px; width: 220px; height: 220px; pointer-events: none; }
.clinic__arc path { fill: none; stroke: var(--orchid); stroke-width: 12; stroke-linecap: round; opacity: .9; }
.clinic__arc circle { fill: #f3cbee; }
.clinic__card p { margin: 0; position: relative; }
.clinic__label { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #cfe0f0; margin-bottom: .6rem !important; }
.clinic__street { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.clinic__detail { font-size: 1.15rem; margin-top: .8rem !important; color: #e6eef7; line-height: 1.5; }
.clinic__ref { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: #f3cbee; margin-top: .8rem !important; }
.clinic__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; position: relative; }
.clinic__card .btn--blue { --bg: var(--white); --fg: var(--blue); }
.clinic__card .btn--blue:hover { --bg: var(--mist); }
.clinic__card .btn--ghost { --fg: var(--white); border-color: rgba(255, 255, 255, .7); }
.clinic__card .btn--ghost:hover { --bg: rgba(255, 255, 255, .12); }
.price .price__amount--ask { font-size: 1.2rem; letter-spacing: -.01em; margin: .8rem 0 .4rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service__body { padding: 22px 24px 26px; }
.service__body h3 { margin-bottom: .5rem; }
.service__body p { margin: 0; color: var(--muted); font-size: .98rem; }
.service--wide { grid-column: 1 / -1; flex-direction: row; background: var(--ink); border-color: var(--ink); }
.service--wide img { width: 48%; aspect-ratio: auto; min-height: 340px; object-position: 50% 30%; }
.service--wide .service__body { align-self: center; padding: clamp(28px, 4vw, 56px); }
.service--wide h3 { color: var(--white); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.service--wide p { color: #c7d6e6; font-size: 1.05rem; }

/* Steps — secuencia real, por eso numerada */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--blue); font-weight: 600; border: 2px solid var(--blue);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 56px; right: -8px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--orchid) 0 6px, transparent 6px 12px);
}
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Pricing */
.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px;
  background: var(--mist); border-radius: 999px; margin-bottom: 32px;
}
.tab {
  border: 0; background: transparent; color: var(--ink);
  font: 400 .95rem var(--sans); padding: .75em 1.3em; border-radius: 999px; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--blue); color: var(--white); font-weight: 500; }
.panel { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.panel[hidden] { display: none; }
.panel__intro img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; }
.panel__intro p { color: var(--muted); font-size: .96rem; }
.prices { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.price {
  position: relative; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white);
}
.price h3 { font-size: 1rem; font-weight: 500; color: var(--text); }
.price__amount { font-size: 2rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em; margin: .4rem 0 .2rem; }
.price__amount small { font-size: .45em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price__meta { font-size: .88rem; color: var(--muted); margin: 0; }
.price--start { background: var(--blush); border-color: var(--blush-2); }
.price--featured { background: var(--blue); border-color: var(--blue); }
.price--featured h3, .price--featured .price__amount { color: var(--white); }
.price--featured .price__meta { color: #cfe0f0; }
.price__tag {
  position: absolute; top: -12px; right: 18px; margin: 0;
  background: var(--orchid-deep); color: var(--white); font-size: .74rem; font-weight: 500;
  padding: 4px 12px; border-radius: 999px;
}
.referral {
  margin-top: 40px; padding: 28px clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--blush) 0%, var(--blush-2) 100%);
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px 28px; align-items: center;
}
.referral__title { margin: 0; font-weight: 600; color: var(--orchid-deep); font-size: 1.1rem; }
.referral p:not(.referral__title) { margin: 0; }

/* About */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__photo { margin: 0; }
.about__photo img { border-radius: var(--radius) 200px var(--radius) var(--radius); box-shadow: var(--shadow); }
.about__copy h2 { margin-bottom: 1.4rem; }
.about__label { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 2rem 0 .8rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1px solid var(--blush-2); color: var(--ink); padding: .4em 1em; border-radius: 999px; font-size: .88rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote {
  margin: 0; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.quote blockquote { margin: 0; }
.quote__title { font-family: var(--serif); font-style: italic; font-size: 1.9rem; line-height: 1.1; color: var(--orchid-deep); }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--muted); }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 500; }

/* Shop */
.products { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line);
}
.product__img { aspect-ratio: 1; background: var(--white); padding: 14px; }
.product__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.product:hover .product__img img { transform: scale(1.04); }
.product__body { padding: 4px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product__name { font-size: 1.02rem; font-weight: 500; }
.product__desc { font-size: .88rem; color: var(--muted); margin: .4rem 0 1rem; flex: 1; }
.product__price { font-size: 1.3rem; font-weight: 600; color: var(--ink); margin: 0 0 .8rem; }
.product__price--ask { font-size: .95rem; font-weight: 400; color: var(--muted); }
.product select {
  width: 100%; margin-bottom: 10px; padding: .6em .8em; border-radius: 10px;
  border: 1px solid var(--line); font: inherit; font-size: .9rem; color: var(--ink); background: var(--white);
}
.product .btn { width: 100%; padding: .8em 1em; font-size: .92rem; }
.noscript { text-align: center; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--white) 0%, var(--blush) 100%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__info h2 { margin-bottom: 1rem; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--blush-2); }
.contact__list span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font-weight: 500; text-decoration: none; font-size: 1.1rem; word-break: break-word; }

.form { background: var(--white); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 6px; }
.form h3 { font-size: 1.4rem; }
.form__hint { font-size: .85rem; color: var(--muted); margin: 0 0 10px; }
.form label, .cart__form label { font-size: .88rem; font-weight: 500; color: var(--ink); margin-top: 8px; }
.form input, .form select, .form textarea, .cart__form input {
  width: 100%; padding: .8em 1em; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s ease;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus, .cart__form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(31, 103, 163, .15); }
.form .btn { margin-top: 14px; }
.form__error { color: #b3261e; font-size: .9rem; margin: 6px 0 0; }

/* Footer */
.footer { background: var(--ink); color: #b9cadb; padding: 48px 0; }
.footer__inner { display: grid; justify-items: center; text-align: center; gap: 10px; }
.footer img { background: var(--white); padding: 10px 16px; border-radius: 14px; width: 170px; box-sizing: content-box; }
.footer p { margin: 0; }
.footer__small { font-size: .82rem; opacity: .8; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* Cart drawer */
.cart {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(420px, 100vw);
  border: 0; padding: 0; background: var(--white); color: var(--text);
  display: flex; flex-direction: column;
}
.cart:not([open]) { display: none; }
.cart[open] { animation: slide-in .3s ease; }
.cart::backdrop { background: rgba(14, 43, 72, .45); backdrop-filter: blur(2px); }
@keyframes slide-in { from { transform: translateX(100%); } }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 1.4rem; }
.cart__items { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; flex: 1; }
.cart__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart__item img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: var(--mist); }
.cart__item-name { font-weight: 500; color: var(--ink); font-size: .95rem; margin: 0; line-height: 1.3; }
.cart__item-meta { font-size: .82rem; color: var(--muted); margin: 2px 0 0; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font: 500 1rem var(--sans); color: var(--ink); line-height: 1; }
.qty span { min-width: 22px; text-align: center; font-size: .9rem; }
.cart__item-price { font-weight: 600; color: var(--ink); font-size: .95rem; }
.cart__empty { padding: 24px; color: var(--muted); }
.cart__empty[hidden] { display: none; }
.cart__form { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; background: var(--blush); }
.cart__form[hidden] { display: none; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; margin-bottom: 4px; }
.cart__total strong { font-size: 1.5rem; color: var(--ink); }

/* Scroll reveal (solo si hay JS y el usuario acepta movimiento) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--white); padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(14, 43, 72, .3);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .menu-btn { display: grid; }
  .header__actions { margin-left: auto; }
  .hero__grid, .about, .contact__grid, .clinic__grid { grid-template-columns: 1fr; }
  .hero__figure { width: min(84%, 400px); margin-top: 16px; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .steps li:nth-child(2)::after { display: none; }
  .panel { grid-template-columns: 1fr; }
  .panel__intro { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; }
  .panel__intro img { margin: 0; }
  .referral { grid-template-columns: 1fr; }
  .referral .btn { justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { width: 120px; }
  .header__cta { display: none; }
  .services, .quotes { grid-template-columns: 1fr; }
  .service--wide { flex-direction: column; }
  .service--wide img { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .hero__badge { left: 0; bottom: 4%; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product__body { padding: 0 12px 14px; }
  .product__desc { display: none; }
  .product__price { font-size: 1.1rem; }
  .panel__intro { grid-template-columns: 100px 1fr; }
  .tabs { display: grid; width: 100%; border-radius: 20px; }
  .tab { border-radius: 14px; text-align: left; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .clinic__card { border-top-right-radius: 90px; }
  .clinic__arc { width: 120px; height: 120px; right: -34px; top: -34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .motion-arc path { stroke-dashoffset: 0; }
  .motion-arc__dot { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
