/* ===== Fonts ===== */

@font-face {
  font-family: 'Abril Text';
  src: url('assets/fonts/AbrilText-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Abril Text';
  src: url('assets/fonts/AbrilText-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Abril Text';
  src: url('assets/fonts/AbrilText-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Abril Text';
  src: url('assets/fonts/AbrilText-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/fonts/PlusJakartaSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/fonts/PlusJakartaSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ===== CSS Reset & Variables ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #f7f4ed;
  --color-bg-warm: #f7f1e8;
  --color-text: #4e4744;
  --color-text-dark: #2f2a27;
  --color-stroke: rgba(78, 71, 68, 0.6);
  --color-muted: rgba(78, 71, 68, 0.6);
  --font-serif: 'Abril Text', 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-category: 'Helvetica Neue', 'Arial', sans-serif;
  --max-width: 1400px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

em {
  font-style: italic;
}

/* ===== Focus States (Accessibility) ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn-outline:focus-visible {
  outline-offset: 4px;
  border-radius: 89px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-text-dark);
  color: var(--color-bg);
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
  z-index: 999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ===== Button ===== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 54px;
  padding: 0 22px;
  border: 1px solid var(--color-text);
  border-radius: 89px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  white-space: nowrap;
}

.btn-outline:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

/* ===== Top Bar ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.top-bar.scrolled {
  background-color: var(--color-bg);
}

.top-bar.scroll-up {
  background-color: var(--color-bg);
}

.review-bar {
  background-color: var(--color-bg-warm);
  padding: 10px 16px;
  text-align: center;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.top-bar.scroll-up .review-bar {
  max-height: 50px;
  opacity: 1;
  padding-top: 10px;
  padding-bottom: 10px;
}

.review-bar p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: 0.5px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  padding: 8px 34px;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.menu-toggle img {
  width: 24px;
  height: auto;
}

/* ===== Top Bar — Sub-page variant (logo left, hamburger right) ===== */
/* Desktop 1920+ base: logo 240×23.21 */
.top-bar--sub {
  background-color: var(--color-bg);
}

.top-bar--sub .review-bar {
  max-height: 50px;
  opacity: 1;
  padding-top: 10px;
  padding-bottom: 10px;
}

.top-bar--sub .nav-bar {
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-logo img {
  width: 240px;
  height: auto;
  display: block;
}

/* ===== Full Menu Overlay (Desktop 1920+ base) ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--color-bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 48px 60px;
  gap: 32px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

/* Top bar (brand + close) */
.menu-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5.333px 2.667px;
  width: 100%;
}

.menu-logo {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}

.menu-logo:hover {
  opacity: 0.7;
}

.menu-logo img {
  width: 180px;
  height: auto;
  display: block;
}

.menu-close {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43.5px;
  height: 43.5px;
  transition: opacity 0.2s;
}

.menu-close:hover {
  opacity: 0.6;
}

/* Grid (4 columns desktop) */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 48px;
  width: 100%;
  max-width: 2693px;
  margin: 0 auto;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
  border-bottom: 0.375px solid rgba(0, 0, 0, 0.2);
}

.menu-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 24px 48px;
  border-right: 0.375px solid var(--color-stroke);
  min-height: 0;
  overflow: hidden;
}

.menu-col:last-child {
  border-right: none;
}

.menu-col-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-col-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 80px;
  line-height: 1;
  color: var(--color-text);
  padding-top: 24px;
  display: block;
}

.menu-col-cat {
  font-family: var(--font-category);
  font-size: 22px;
  line-height: 28px;
  color: #9e8e84;
  text-transform: uppercase;
}

.menu-col-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
}

.menu-col-links a {
  display: block;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-text);
  padding: 6px 0;
  transition: opacity 0.2s, padding-left 0.3s;
}

.menu-col-links a:hover {
  opacity: 0.6;
  padding-left: 4px;
}

/* Footer */
.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 48px;
  width: 100%;
  flex-shrink: 0;
}

.menu-address {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  color: var(--color-text);
  flex: 1;
  min-width: 0;
}

.menu-address a[href^="https"],
.menu-address a[href^="http"] {
  text-decoration: underline;
}

.menu-sep {
  margin: 0 20px;
  color: var(--color-muted);
}

.menu-cta {
  min-width: 240px;
  height: auto;
  padding: 22px 33px;
  font-size: 18.67px;
  border-width: 1.5px;
}

/* ===== Hero ===== */
.hero {
  padding: 0 38px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hero-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.hero-title h1.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero-logo {
  width: 100%;
  max-width: 762px;
  height: auto;
}

.scroll-arrow {
  display: inline-block;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
}

.scroll-arrow:hover {
  opacity: 1;
  transform: translateY(4px);
}

.hero-tagline {
  max-width: 940px;
  margin: 0 auto;
  padding-bottom: 60px;
  text-align: center;
}

.hero-tagline p {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-text);
}

/* ===== Two Column Cards ===== */
.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  border-bottom: 0.25px solid var(--color-stroke);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
}

.card-image {
  position: relative;
  aspect-ratio: 1 / 0.96;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(181deg, rgba(62, 37, 15, 0) 64%, rgba(34, 21, 10, 0.6) 94%);
  pointer-events: none;
}

.card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 35px;
  min-height: 120px;
  gap: 24px;
}

.card-caption p {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  max-width: 700px;
}

/* ===== Services Intro ===== */
.services-intro {
  padding: 100px 36px 50px;
  max-width: 1200px;
}

.services-intro p {
  font-size: 40px;
  font-weight: 300;
  line-height: 1.4;
  max-width: 1134px;
}

/* ===== 3 Service Cards ===== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  border-bottom: 0.25px solid var(--color-stroke);
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card-image {
  position: relative;
  aspect-ratio: 1 / 0.94;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 35px;
  min-height: 100px;
  gap: 16px;
}

.service-card-caption p {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

/* ===== Paso a Paso ===== */
.steps {
  display: flex;
  border-bottom: 0.25px solid var(--color-stroke);
  min-height: 100vh;
}

.steps-content {
  flex: 1;
  padding: 80px 80px 80px 80px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: center;
  align-items: center;
}

.steps-header,
.steps-list {
  width: 100%;
  max-width: 540px;
}

.steps-header p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  padding: 30px 27px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-item {
  padding: 15px 36px 15px 13px;
  position: relative;
}

.step-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 13px;
  right: 71px;
  height: 0.125px;
  background-color: var(--color-stroke);
}

.step-item p {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
}

.steps-list > .btn-outline {
  margin-top: 12px;
  margin-left: 13px;
  align-self: flex-start;
}

.steps-image {
  width: 55%;
  max-width: 687px;
  flex-shrink: 0;
}

.steps-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Antes y Despues ===== */
/* Antes y Después — Figma 1:19850 (1280 ref): intro + 4 case cards row */
.before-after {
  display: flex;
  flex-direction: column;
  padding: 44.167px 0 0;
  overflow: hidden;
}

.before-after-top {
  padding: 30px 26.67px 0;
}

.before-after-intro {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-text);
  max-width: 601.333px;
  margin: 0;
}

.before-after-intro em {
  font-style: italic;
}

.before-after-cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 32px;
}

.ba-case {
  display: flex;
  flex-direction: column;
  position: relative;
}

.ba-case-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 319.667 / 335.647;
  overflow: hidden;
  text-decoration: none;
}

.ba-case-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ba-case-image:hover .ba-case-photo {
  transform: scale(1.04);
}

.ba-case-split {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.333px;
  background: rgba(247, 244, 237, 0.18);
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-case-hover {
  position: absolute;
  bottom: 4.67px;
  right: 10.93px;
  display: inline-flex;
  align-items: center;
  gap: 5.33px;
  background: rgba(247, 244, 237, 0.92);
  backdrop-filter: blur(1.333px);
  -webkit-backdrop-filter: blur(1.333px);
  padding: 6px 10.667px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 6.67px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(4px);
}

.ba-case-image:hover .ba-case-hover {
  opacity: 1;
  transform: translateY(0);
}

.ba-case-meta {
  padding: 17.333px 14.667px 5.333px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ba-case-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 9.333px;
  letter-spacing: 2.13px;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.55;
  margin: 0;
}

.ba-case-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}

.ba-chip {
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10.13px;
  border: 0.533px solid rgba(78, 71, 68, 0.45);
  border-radius: 1198.8px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 8px;
  letter-spacing: 2.88px;
  text-transform: uppercase;
  color: var(--color-text);
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ba-chip:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.ba-chip.is-active {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

/* ===== Pre y Post — Gallery page (Figma 1:30321, 3-col grid de casos con chips) ===== */
.pp-gallery {
  padding: 0;
  border-bottom: 0.25px solid var(--color-stroke);
}

.pp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pp-case {
  padding: 30px 14px 60px;
  border-top: 0.125px solid rgba(78, 71, 68, 0.25);
  border-right: 0.125px solid rgba(78, 71, 68, 0.25);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* Última columna por fila: sin border-right */
.pp-case:nth-child(3n) {
  border-right: none;
}

.pp-case-image {
  aspect-ratio: 398 / 349;
  border-radius: 16px;
}

.pp-case-image .ba-case-photo {
  border-radius: 16px;
}

.pp-case-meta {
  padding: 17.333px 14.667px 5.333px;
}

/* Pre y Post: título sin quote ni right col (oculta el divider vertical y border-bottom para evitar doble línea con la primera card) */
body[data-page="pre-y-post-rinoplastia"] .article-page-title {
  border-bottom: none;
}

body[data-page="pre-y-post-rinoplastia"] .article-page-title-right {
  display: none;
}

/* ===== FAQs Page (Figma 1:14299 laptop) — search bar + lista de FAQ accordion full-width ===== */
/* Mantenemos el right col visible (con padding completo y divider vertical) para igualar la altura del header del Figma */
/* Hacemos el right col más alto (con su propio padding-bottom) en lugar de la sección.
   Así la border-left (divider vertical) se extiende hasta el final del header. */
body[data-page="faqs"] .article-page-title-right {
  padding-bottom: 133px;
}

.faqs-page {
  border-bottom: 0.25px solid var(--color-stroke);
  padding: 18px 200px;
}

.faqs-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faqs-search {
  border-bottom: 0.25px solid var(--color-stroke);
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faqs-search-label {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 14px;
  line-height: 19.6px;
  color: var(--color-text-dark);
  padding: 0 8px;
  margin: 0;
}

.faqs-search-controls {
  width: 100%;
}

.faqs-search-input {
  position: relative;
  width: 100%;
  height: 43.2px;
  border: 0.25px solid var(--color-stroke);
  border-radius: 28.8px;
  display: flex;
  align-items: center;
  padding: 7.2px 20px;
  gap: 7.2px;
  background: rgba(248, 248, 248, 0);
}

.faqs-search-input input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 12px;
  line-height: 16.8px;
  color: var(--color-text);
  outline: none;
}

.faqs-search-input input::placeholder {
  color: #818181;
}

.faqs-search-icon {
  color: var(--color-text);
  flex-shrink: 0;
}

.faqs-list {
  display: flex;
  flex-direction: column;
}

.faqs-list .faq-item {
  border-bottom: 0.25px solid var(--color-stroke);
  border-top: none;
  padding: 0;
}

.faqs-list .faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 14px;
  line-height: 19.6px;
  color: var(--color-text);
}

.faqs-list .faq-question .faq-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--color-text);
  transition: transform 0.25s ease;
}

.faqs-list .faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faqs-list .faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faqs-list .faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 24px;
}

.faqs-list .faq-answer p {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 14px;
  line-height: 19.6px;
  color: #777;
  margin: 0;
}

/* Pre y Post — casos ocultos hasta hacer scroll (infinite scroll batch=9) */
.pp-case.is-pending {
  display: none;
}

.pp-sentinel {
  height: 1px;
  width: 100%;
}
.testimonials {
  padding: 120px 36px 100px;
}

.testimonials-title {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  max-width: 50%;
  margin-bottom: 40px;
}

.testimonials-columns {
  display: flex;
  gap: 40px;
}

.testimonials-left {
  flex: 1;
  border-top: 0.125px solid var(--color-stroke);
  padding-top: 32px;
}

.testimonials-rating p {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

.testimonials-rating a {
  text-decoration: underline;
}

.testimonials-right {
  flex: 1;
  border-top: 0.125px solid var(--color-stroke);
  padding-top: 32px;
}

.testimonial-author-name {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 16px;
}

.testimonials-right p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Testimonials Carousel */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonials-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.testimonial-arrow {
  width: 85px;
  height: 48px;
  border: 0.5px solid var(--color-stroke);
  border-radius: 100px;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, border-color 0.2s;
}

.testimonial-arrow:hover {
  opacity: 0.6;
  border-color: var(--color-text);
}

/* ===== Articles Section ===== */
.articles {
  padding: 0 0 0 0;
  border-bottom: 0.25px solid var(--color-stroke);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.articles-left {
  padding: 116px 0 24px 35px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.articles-header {
  border-bottom: 0.25px solid var(--color-stroke);
  padding-bottom: 12px;
  display: flex;
  align-items: flex-end;
}

.articles-header h2 {
  font-size: 34px;
  font-weight: 300;
  line-height: 2;
}

/* Make both article column headers the same height so borders align */
.articles-grid {
  align-items: start;
}

.articles-left,
.articles-right {
  display: flex;
  flex-direction: column;
}

.articles-header,
.articles-right-header {
  min-height: 68px;
}

.article-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 31px;
  flex: 1;
  padding-bottom: 24px;
}

.article-featured h3 {
  font-size: 30px;
  font-weight: 300;
  line-height: 2;
}

.article-featured-image {
  border-radius: 17px;
  overflow: hidden;
  position: relative;
  height: 550px;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(198deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.59) 87%);
  border-radius: 17px;
}

.articles-right {
  padding: 116px 35px 24px 35px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.articles-right-header {
  border-bottom: 0.25px solid var(--color-stroke);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: 12px;
}

.article-row {
  display: flex;
  align-items: flex-start;
  gap: 31px;
  padding: 12px 0;
  border-bottom: 0.25px solid var(--color-stroke);
  height: 274px;
  transition: opacity 0.2s;
}

.article-row .article-title {
  align-self: flex-start;
}

.article-row .article-thumb {
  align-self: center;
}

.article-row:last-child {
  border-bottom: none;
}

.article-row:hover {
  opacity: 0.8;
}

.article-title {
  flex: 1;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.4;
}

.article-thumb {
  width: 215px;
  min-width: 215px;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(195deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.59) 87%);
  border-radius: 16px;
}

/* ===== FAQ Section ===== */
.faq {
  border-bottom: 0.25px solid var(--color-stroke);
  padding: 80px 36px;
}

.faq-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 47px;
}

/* Imagen stack — oculto por default, se muestra en tablet/laptop/desktop con la variante */
.faq-images {
  display: none;
}

.faq-content {
  display: contents;
}

.faq-heading {
  min-width: 300px;
  max-width: 650px;
  padding-top: 74px;
}

.faq-heading h2 {
  font-size: 44px;
  font-weight: 300;
  line-height: 1.14;
}

.faq-list {
  flex: 1;
  max-width: 1294px;
  padding-left: 35px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-list > .btn-outline {
  margin-top: 40px;
  margin-left: 27px;
  align-self: flex-start;
}

.faq-item {
  border-bottom: 0.25px solid var(--color-stroke);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 47px 71px 47px 27px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.faq-question:hover {
  opacity: 0.7;
}

.faq-icon {
  flex-shrink: 0;
  width: 14px;
  height: 8px;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 71px 30px 27px;
}

.faq-answer p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-muted);
}

/* ===== Footer ===== */
.footer {
  padding: 0 200px;
  border-top: 0.25px solid var(--color-stroke);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.footer-col {
  border-right: 0.375px solid var(--color-stroke);
  padding: 100px 60px 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col:last-child {
  border-right: none;
}

.footer-number {
  font-size: 96px;
  font-weight: 300;
  line-height: 0.8;
  color: var(--color-text);
  margin-bottom: 0;
}

.footer-category {
  font-family: var(--font-category);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col li a {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-text);
  transition: opacity 0.2s;
  display: block;
  padding: 10px 0;
}

.footer-col li a:hover {
  opacity: 0.6;
}

.footer-bottom {
  border-top: 0.25px solid var(--color-stroke);
  padding: 44px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom p {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
}

.footer-bottom a[href]:not(.btn) {
  text-decoration: underline;
}

/* ===== Scroll Reveal Animations ===== */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
}

.reveal.visible {
  animation: revealUp 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.reveal-delay-1 { animation-delay: 0.15s !important; }
.reveal-delay-2 { animation-delay: 0.3s !important; }
.reveal-delay-3 { animation-delay: 0.45s !important; }
.reveal-delay-4 { animation-delay: 0.6s !important; }
.reveal-delay-5 { animation-delay: 0.75s !important; }
.reveal-delay-6 { animation-delay: 0.9s !important; }

/* Slide in from right (Paso a Paso steps) */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(60px);
}

.reveal-slide-right.visible {
  animation: slideInRight 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Marquee auto-scroll (Before/After gallery) */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* (legacy marquee gallery removed — replaced by .before-after-cases) */

/* ===== Hover Effects ===== */
.card-image img,
.service-card-image img,
.article-featured-image img,
.article-thumb img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card-image img,
.service-card:hover .service-card-image img,
.article-row:hover .article-thumb img {
  transform: scale(1.03);
}

.card-caption,
.service-card-caption {
  transition: background-color 0.3s ease;
}

/* FAQ hover enhancement */
.faq-question {
  transition: opacity 0.2s, padding-left 0.3s;
}

.faq-question:hover {
  padding-left: 32px;
}

/* Button hover enhancement */
.btn-outline {
  transition: background-color 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(78, 71, 68, 0.15);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Footer link hover */
.footer-col li a {
  transition: opacity 0.2s, padding-left 0.3s;
}

.footer-col li a:hover {
  padding-left: 4px;
}

/* Scroll arrow pulse */
@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.scroll-arrow {
  animation: gentleBounce 2.5s ease-in-out infinite;
}

.scroll-arrow:hover {
  animation: none;
}

/* Hero logo entrance */
@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-logo {
  animation: logoEntrance 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

/* Hero tagline entrance */
@keyframes taglineEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  animation: taglineEntrance 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border: 0.5px solid var(--color-stroke);
  border-radius: 50%;
  background-color: var(--color-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
  z-index: 90;
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--color-text);
}

.back-to-top:hover svg path {
  stroke: var(--color-bg);
}

/* ===== Page Title Block (Filosofía & other sub-pages) ===== */
.page-title {
  padding: 140px 44px 40px;
  border-bottom: 0.25px solid var(--color-stroke);
}

.page-title-inner {
  max-width: 1360px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Eyebrow heading (uppercase sans-serif small label) — shared style
   for page-title-heading, bio-heading and article-page-eyebrow */
.page-title-heading,
.bio-heading,
.article-page-eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

.page-title-heading em,
.bio-heading em,
.article-page-eyebrow em {
  font-style: normal;
}

.page-title-intro {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.4;
  color: var(--color-text);
}

.page-title-intro em {
  font-style: italic;
}

/* ===== Sub-nav (tabs for NOSOTROS/RINOPLASTIA/etc pages) ===== */
.sub-nav {
  padding: 30px 44px;
  border-bottom: 0.25px solid var(--color-stroke);
}

.sub-nav-inner {
  max-width: 1360px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sub-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 54px;
  padding: 0 40px;
  border: 1px solid var(--color-stroke);
  border-radius: 89px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  background: transparent;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.sub-nav-btn:hover {
  background-color: #4E4744;
  border-color: #4E4744;
  color: #ffffff;
}

.sub-nav-btn.is-active {
  border-width: 2px;
  border-color: var(--color-text);
  background: transparent;
  color: var(--color-text-dark);
  cursor: default;
}

/* Sub-nav — Su Experiencia: 5 botones en una sola línea (sin wrap), inner sin max-width fijo */
body[data-page="protocolo-pre"] .sub-nav-inner,
body[data-page="protocolo-post"] .sub-nav-inner,
body[data-page="anestesia"] .sub-nav-inner,
body[data-page="recuperacion"] .sub-nav-inner,
body[data-page="instalaciones"] .sub-nav-inner {
  flex-wrap: nowrap;
  max-width: none;
}

body[data-page="protocolo-pre"] .sub-nav-btn,
body[data-page="protocolo-post"] .sub-nav-btn,
body[data-page="anestesia"] .sub-nav-btn,
body[data-page="recuperacion"] .sub-nav-btn,
body[data-page="instalaciones"] .sub-nav-btn {
  min-width: 0;
  flex: 0 0 auto;
  padding: 0 40px;
}


/* ===== Bio Content (Filosofía unique block) ===== */
.bio-content {
  padding: 40px 44px 80px;
  border-bottom: 0.25px solid var(--color-stroke);
}

.bio-content-inner {
  max-width: 975px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bio-body {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.6;
  color: var(--color-text);
  text-align: justify;
}

.bio-figure {
  margin: 8px 0;
}

.bio-figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 550 / 494;
  object-fit: cover;
  border-radius: 12px;
}

/* Body content with sticky right-rail image (estructural variant) */
.bio-content--with-rail .bio-content-inner {
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 529px;
  column-gap: 40px;
  align-items: start;
}

.bio-content--with-rail .bio-text-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
}

.bio-content--with-rail .bio-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bio-rail {
  position: sticky;
  top: 120px;
  width: 100%;
  aspect-ratio: 529 / 977.094;
  border-radius: 9.335px;
  overflow: hidden;
}

.bio-content--with-rail .bio-body {
  font-size: 24px;
  line-height: 37.323px;
}

.bio-rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Per-page rail aspect overrides — Abierta (Desktop: image 761×961, Laptop: 394×510) */
.bio-content--with-rail.is-abierta .bio-content-inner {
  grid-template-columns: 1fr 761px;
}

.bio-content--with-rail.is-abierta .bio-rail {
  aspect-ratio: 761 / 961;
  border-radius: 9.185px;
}

/* Per-page rail aspect overrides — Preservación (Desktop: image 761×961, Laptop: 394×510 — mismo aspecto que Abierta) */
.bio-content--with-rail.is-preservacion .bio-content-inner {
  grid-template-columns: 1fr 761px;
}

.bio-content--with-rail.is-preservacion .bio-rail {
  aspect-ratio: 761 / 961;
  border-radius: 9.185px;
}

/* Bio list — bullet list dentro de bio-content (usado en preservación) */
.bio-list {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--color-text);
  text-align: justify;
}

.bio-list li {
  margin: 0 0 4px;
}

.bio-list li:last-child {
  margin-bottom: 0;
}

/* Anestesia figures — layout overlapping: imagen derecha (color) en upper-right en front;
   imagen izquierda (grey) en bottom-left, MÁS ABAJO, extendiéndose por debajo del bottom de la derecha */
.anestesia-figures {
  position: relative;
  width: 100%;
  aspect-ratio: 550 / 635;
  margin: 24px 0;
}

.anestesia-figure--1 {
  position: absolute;
  bottom: 0;
  left: 3.27%;   /* 18/550 */
  width: 52%;    /* 286/550 */
  aspect-ratio: 286 / 384;
  margin: 0;
  z-index: 1;
}

.anestesia-figure--2 {
  position: absolute;
  top: 0;
  right: 3.45%;  /* 19/550 */
  width: 52.36%; /* 288/550 */
  aspect-ratio: 288 / 441;
  margin: 0;
  z-index: 2;
}

.anestesia-figures img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6.5px;
}

/* Protocol list (Experiencia/Protocolo Pre & Post): cada item separado por línea divisora horizontal */
.protocol-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  text-align: justify;
}

.protocol-list li {
  padding: 16px 0;
  border-bottom: 0.25px solid var(--color-stroke);
  margin: 0;
}

.protocol-list li:first-child {
  padding-top: 0;
}

.protocol-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.protocol-list strong {
  font-weight: 400;
}

.protocol-list em {
  font-style: italic;
}

/* Variante stacked (Recuperación): título en su propia línea sobre la descripción.
   Nota: solo cargamos Abril Text 300/400 — pedir 600 provoca faux-bold (más grueso que el SemiBold del Figma) */
.protocol-list--stacked strong {
  display: block;
  font-weight: 400;
  margin-bottom: 2px;
}

/* Search dentro de bio-content (Recuperación): sin border-bottom propio, padding lateral 0 */
.recovery-search {
  border-bottom: none;
  padding: 24px 0 8px;
}

/* Recuperación: columna de contenido más ancha (Figma: 838 en 1280) */
body[data-page="recuperacion"] .bio-content-inner {
  max-width: 838px;
}

/* Fila input + botón Filtrar (Figma 1:25466): gap 34, input h-48 r-32, botón #718991 blanco */
.faqs-search-controls--row {
  display: flex;
  align-items: stretch;
  gap: 34px;
}

.faqs-search-controls--row .faqs-search-input {
  flex: 1 1 0;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 32px;
  padding: 8px 16px;
}

.faqs-search-controls--row .faqs-search-input input {
  font-size: 12px;
  line-height: 19.6px;
}

.faqs-search-controls--row .faqs-search-input input::placeholder {
  font-style: italic;
  color: rgba(78, 71, 68, 0.6);
}

.recovery-search .faqs-search-label {
  font-weight: 400;
}

.faqs-filter-btn {
  flex: 0 0 160px;
  align-self: center;
  height: 48px;
  padding: 0 8px;
  border: none;
  border-radius: 43px;
  background: #718991;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s;
}

.faqs-filter-btn:hover {
  background-color: #5d747c;
}

.bio-content--with-rail .bio-list {
  font-size: 24px;
  line-height: 37.323px;
}

/* ===== El Éxito de la Rinoplastia — body custom (Figma 1:15691, 1:15713, 1:15780) ===== */
.exito-body {
  display: flex;
  flex-direction: column;
  border-bottom: 0.25px solid var(--color-stroke);
}

.exito-block {
  display: flex;
  width: 100%;
}

.exito-text {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--color-text);
}

.exito-text p {
  margin: 0 0 16px;
}

.exito-text p:last-child {
  margin-bottom: 0;
}

.exito-text em {
  font-style: italic;
}

.exito-image {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
}

.exito-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Block 2 secondary paragraph (Ultrasonica: subtítulo no-italic debajo del quote) */
.exito-quote--secondary {
  font-style: normal;
  margin-top: 1.4em;
}

/* Block 3 compare lists (Ultrasonica: 2 sub-secciones con título + bullet list) */
.exito-text--compare {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.exito-compare-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exito-compare-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0;
}

.exito-compare-title em {
  font-style: italic;
}

.exito-compare-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.exito-compare-list li {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0 0 6px;
}

.exito-compare-list li:last-child {
  margin-bottom: 0;
}

/* Ultrasonica: quote no-italic globalmente, solo <em> italic; secondary paragraph con gap */
body[data-page="ultrasonica-rinoplastia"] .exito-block--full .exito-quote {
  font-style: normal;
}

body[data-page="ultrasonica-rinoplastia"] .exito-block--full .exito-quote em {
  font-style: italic;
}

body[data-page="ultrasonica-rinoplastia"] .exito-block--full .exito-quote--secondary {
  margin-top: 1.4em;
}

/* ===== Formación section (Títulos universitarios + Cursos) ===== */
.formacion-section {
  padding: 60px 60px 80px;
  border-bottom: 0.25px solid var(--color-stroke);
}

.formacion-section--cursos {
  padding-top: 40px;
}

.formacion-inner {
  max-width: 975px;
  margin: 0 auto;
}

.formacion-heading {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: 32px;
}

.formacion-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 0.25px solid var(--color-stroke);
}

.formacion-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 0.25px solid var(--color-stroke);
  align-items: baseline;
}

/* Variant: items with university logo */
.formacion-item--titulo {
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 32px;
}

.formacion-item-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.formacion-item-logo img {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.formacion-item-logo--multiply {
  mix-blend-mode: multiply;
}

.formacion-item-logo--multiply img {
  mix-blend-mode: multiply;
}

.formacion-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.formacion-item-title,
.formacion-item-date {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--color-text-dark);
  margin: 0;
}

.formacion-item-title em,
.formacion-item-date em {
  font-style: italic;
}

.formacion-item-desc {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0;
}

/* ===== Article Page Title (Rinoplastia / Servicios sub-pages) ===== */
.article-page-title {
  padding: 124px 44px 0;
  border-bottom: 0.25px solid var(--color-stroke);
}

.article-page-title-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 100%;
  margin: 0;
}

.article-page-title-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.article-page-title-right {
  padding: 150px 83px 100px;
  border-left: 0.25px solid var(--color-stroke);
  display: flex;
  align-items: center;
}

.article-page-eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12.444px;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

.article-page-quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: 40px;
  line-height: 1.4;
  color: var(--color-text);
  max-width: 734px;
}

.article-page-heading {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 50px;
  line-height: 0.896;
  color: var(--color-text);
  margin: 0;
}

.article-page-heading em {
  font-style: normal;
}

/* ===== Equipo (team grid) ===== */
.equipo-intro {
  padding: 40px 60px 0;
}

.equipo-intro-inner {
  max-width: 1469px;
  margin: 0 auto;
  padding: 24px 40px;
}

.equipo-intro-text {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.5;
  color: var(--color-text);
}

.equipo-team {
  padding: 0 60px 80px;
  border-bottom: 0.25px solid var(--color-stroke);
}

.equipo-team-inner {
  max-width: 1549px;
  margin: 0 auto;
  padding: 0 40px;
}

.equipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 32px;
}

.equipo-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.equipo-card-photo {
  width: 100%;
  aspect-ratio: 718 / 374;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-warm);
}

.equipo-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.equipo-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.equipo-card-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0;
}

.equipo-card-role {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0;
}

.equipo-card--no-photo .equipo-card-photo {
  display: none;
}

/* ===== Responsive: Laptop 1280-1919px ===== */
@media (max-width: 1919px) {
  /* Buttons */
  .btn-outline {
    min-width: 120px;
    height: 40px;
    padding: 0 18px;
    border-width: 0.4px;
    font-size: 8px;
    letter-spacing: 1.6px;
  }

  /* Header */
  .review-bar p {
    font-family: var(--font-sans);
    font-size: 10px;
    line-height: 1.96;
    letter-spacing: normal;
  }

  .nav-bar {
    gap: 16px;
    padding: 19px 16px;
  }

  /* Hero */
  .hero {
    height: 100vh;
  }

  .hero-title {
    gap: 50px;
  }

  .hero-logo {
    max-width: 760px;
  }

  .hero-tagline {
    max-width: 700px;
    padding-bottom: 40px;
  }

  .hero-tagline p {
    font-size: 18px;
    line-height: 1.4;
  }

  /* Cards */
  .card-caption {
    padding: 12px 16px;
    min-height: 60px;
    gap: 12px;
  }

  .card-caption p {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Services Intro */
  .services-intro {
    padding: 60px 16px 30px;
  }

  .services-intro p {
    font-size: 20px;
    max-width: 575px;
  }

  /* Articles */
  .articles-left {
    padding: 58px 0 24px 16px;
  }

  .articles-header h2 {
    font-size: 24px;
    line-height: 2;
  }

  .article-featured h3 {
    font-size: 17px;
    line-height: 2;
  }

  .articles-right {
    padding: 58px 16px 24px 16px;
  }

  .articles-right-header {
    height: 60px;
  }

  .article-row {
    height: 151px;
    gap: 16px;
  }

  .article-title {
    font-size: 16px;
  }

  .article-thumb {
    width: 109px;
    min-width: 109px;
  }

  /* FAQ — Figma Laptop 1280: image stack izq + content der */
  .faq {
    padding: 80px 0;
  }

  .faq-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .faq-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    padding-left: 41px;
    padding-right: 47px;
  }

  .faq-images {
    display: block;
    position: relative;
    flex: 0 0 auto;
    width: 624px;
    height: 702px;
    max-width: 50%;
  }

  .faq-image {
    position: absolute;
    object-fit: cover;
    border-radius: 8px;
  }

  .faq-image--1 {
    top: 46px;
    left: 29px;
    width: 433px;
    height: 518px;
  }

  .faq-image--2 {
    top: 363px;
    left: 144px;
    width: 430px;
    height: 272px;
  }

  .faq-heading {
    min-width: auto;
    max-width: none;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 71px;
  }

  .faq-heading h2 {
    font-family: var(--font-sans);
    font-size: 12.25px;
    font-weight: 400;
    line-height: 14.34px;
    letter-spacing: 1.65px;
    text-transform: uppercase;
    color: rgba(47, 42, 39, 0.55);
  }

  .faq-heading h2 em {
    font-style: normal;
  }

  .faq-list {
    padding-left: 0;
    gap: 0;
  }

  .faq-item {
    border-bottom: 0.138px solid var(--color-stroke);
  }

  .faq-question {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    padding: 25.85px 39.05px 25.85px 14.667px;
  }

  .faq-icon {
    width: 11.733px;
    height: 11.733px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .faq-item.active .faq-answer {
    padding: 0 39.05px 20px 14.667px;
  }

  .faq-list > .btn-outline {
    margin-top: 22px;
    margin-left: 13.75px;
    min-width: 120px;
    height: 40px;
    padding: 0 22px;
    font-size: 8px;
    letter-spacing: 1.6px;
    border-width: 0.4px;
  }

  .faq-list > .btn-outline {
    margin-top: 24px;
    margin-left: 15px;
  }

  /* Service Cards */
  .service-card-caption {
    padding: 12px 16px;
    min-height: 60px;
  }

  .service-card-caption p {
    font-size: 16px;
  }

  /* Steps — Figma Laptop 1:19820 (1280 ref): pl-31 gap-47, content flex-1, image 687 fija */
  .steps {
    flex-direction: row;
    align-items: stretch;
    gap: 47px;
    padding-left: 31px;
    min-height: auto;
    height: 780px;
  }

  .steps-content {
    flex: 1 0 0;
    height: 100%;
    padding: 66px 0 66px 57.5px;
    gap: 10px;
    min-width: 500px;
    justify-content: center;
    align-items: flex-start;
  }

  .steps-header,
  .steps-list {
    width: 100%;
    max-width: none;
  }

  .steps-header p {
    font-family: var(--font-sans);
    font-size: 12.25px;
    line-height: 14.344px;
    letter-spacing: 1.6467px;
    color: rgba(47, 42, 39, 0.55);
    padding: 30px 71px 30px 0;
  }

  .steps-list {
    gap: 2.5px;
  }

  .step-item {
    padding: 15px 35.5px 15px 13.333px;
    min-height: 61.5px;
  }

  .step-item::after {
    left: 0;
    right: 0;
  }

  .step-item p {
    font-size: 18px;
    line-height: 25px;
  }

  .steps-list > .btn-outline {
    margin-top: 12px;
    margin-left: 12.5px;
    min-width: 120px;
    width: auto;
    height: 40px;
    padding: 0 22px;
    font-size: 8px;
    letter-spacing: 2px;
    border-width: 0.4px;
    border-radius: 88.889px;
  }

  .steps-image {
    flex: 687 1 0;
    min-width: 503.8px;
    width: auto;
    max-width: none;
    height: 100%;
  }

  .steps-content {
    flex: 515 1 0;
  }

  /* El Éxito body — Figma Laptop (1:15691, 1:15713, 1:15780): h-551, image max-w-550, text 14/19.6 */
  .exito-body {
    border-bottom: none;
  }

  .exito-block--text-image,
  .exito-block--image-text {
    border-bottom: 0.125px solid var(--color-stroke);
    flex-direction: row;
    align-items: stretch;
  }

  /* Block 1: alineado con title divider; aspect-ratio + vw paddings escalan proporcionalmente */
  .exito-block--text-image {
    padding-left: 1.47vw;
    padding-right: 1.47vw;
    aspect-ratio: 1280 / 551;
    height: auto;
    min-height: 0;
  }

  .exito-block--text-image .exito-text {
    flex: 0 0 50%;
    height: 100%;
    padding: 14.3vw 7.34vw 0.625vw 0;
    display: block;
    box-sizing: border-box;
  }

  .exito-block--text-image .exito-image {
    flex: 1 1 0;
    height: 100%;
  }

  .exito-block--text-image .exito-image img {
    object-position: bottom;
  }

  /* Block 2: vw paddings + clamp() → escala proporcional con el viewport */
  .exito-block--full {
    border-bottom: 0.25px solid var(--color-stroke);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3.2vw 1.41vw;
  }

  .exito-block--full .exito-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(18px, 1.875vw, 28px);
    line-height: 1.4;
    color: var(--color-text);
    width: 62.34%;
    max-width: 1200px;
    margin: 0;
    padding: 0.39vw 6.48vw 0 0;
  }

  /* Block 3: aspect-ratio + vw paddings → escala proporcional con el viewport */
  .exito-block--image-text {
    padding: 5.78vw 6.25vw;
    gap: 4.06vw;
    align-items: stretch;
    aspect-ratio: 1280 / 551;
    height: auto;
    min-height: 0;
  }

  .exito-block--image-text .exito-image {
    flex: 550 1 0;
    max-width: none;
    height: 100%;
    min-width: 0;
  }

  .exito-block--image-text .exito-text {
    flex: 623 1 0;
    height: 100%;
    padding: 0 6.33vw 0.625vw 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .exito-text {
    font-family: var(--font-serif);
    font-weight: 300;
  }

  .exito-text p {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(13px, 1.094vw, 18px);
    line-height: 1.4;
    color: var(--color-text);
    text-align: justify;
    margin: 0 0 1.4em;
  }

  .exito-text p:last-child {
    margin-bottom: 0;
  }

  /* Ultrasonica — Laptop/Tablet Block 3 (Figma 694:32677): vw-based scaling, flex-grow proporcional (image 550 : text 623), height auto */
  body[data-page="ultrasonica-rinoplastia"] .exito-block--image-text {
    padding: 5.78vw 6.25vw;
    gap: 4.06vw;
    aspect-ratio: auto;
    height: auto;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-block--image-text .exito-image {
    flex: 550 1 0;
    max-width: none;
    height: auto;
    min-width: 0;
    align-self: stretch;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-block--image-text .exito-text {
    flex: 623 1 0;
    width: auto;
    height: auto;
    padding: 0 6.33vw 0.625vw 0;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-text--compare {
    gap: 0;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-group {
    gap: 16px;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-group + .exito-compare-group {
    margin-top: 16px;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-text);
    padding: 12px 8px;
    margin: 0;
    border-bottom: 1px solid rgba(47, 42, 39, 0.16);
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-title em {
    font-style: normal;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-list {
    list-style: disc;
    padding: 16px 8px 16px 29px;
    margin: 0;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-list li {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 14px;
    line-height: 28px;
    color: var(--color-text);
    margin: 0;
    text-align: left;
  }

  /* Before After */
  .before-after {
    padding: 0;
  }

  .before-after-top {
    padding: 50px 26.67px 0;
  }

  .before-after-cases {
    margin-top: 26px;
  }

  /* Testimonials */
  .testimonials {
    padding: 80px 16px 60px;
  }

  .testimonials-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .testimonials-columns {
    gap: 30px;
  }

  .testimonials-left,
  .testimonials-right {
    padding-top: 24px;
  }

  .testimonial-author-name {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .testimonials-right p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .testimonials-rating p {
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 8.711px;
    letter-spacing: 1px;
    color: rgba(78, 71, 68, 0.5);
    text-transform: uppercase;
  }

  .testimonials-rating a {
    text-decoration: underline;
  }

  /* Footer */
  .footer {
    padding: 0 20px;
  }

  .footer-col {
    padding: 80px 16px 60px;
    gap: 8px;
  }

  .footer-number {
    font-size: 48px;
    line-height: 0.9;
  }

  .footer-category {
    font-size: 12px;
    margin-bottom: 12px;
    letter-spacing: 1px;
  }

  .footer-col ul {
    gap: 4px;
  }

  .footer-col li a {
    font-size: 13px;
    padding: 4px 0;
    line-height: 1.5;
  }

  .footer-bottom {
    padding: 20px 16px;
    border-top: 0.125px solid var(--color-stroke);
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .footer-bottom .btn-outline {
    min-width: 100px;
    height: 34px;
    font-size: 7px;
    padding: 0 14px;
  }

  /* Page title / Sub-nav / Bio content — Laptop */
  .page-title {
    padding: 140px 22px 28px;
  }

  .page-title-inner {
    max-width: 780px;
    gap: 16px;
  }

  .page-title-heading,
  .article-page-eyebrow,
  .bio-heading {
    font-size: 8px;
    letter-spacing: 1.8px;
  }

  .page-title-intro {
    font-size: 16px;
    line-height: 1.4;
  }

  .sub-nav {
    padding: 16px 22px;
  }

  .sub-nav-inner {
    max-width: 712px;
    gap: 12px;
  }

  .sub-nav-btn {
    min-width: 200px;
    height: 40px;
    padding: 0 24px;
    font-size: 10px;
    letter-spacing: 1.5px;
    border-width: 0.5px;
  }

  .sub-nav-btn.is-active {
    border-width: 1px;
  }

  .bio-content {
    padding: 34px 22px 49px;
  }

  .bio-content-inner {
    max-width: 550px;
    gap: 18px;
  }

  /* Bio content with rail — Laptop (Figma: container 731, text 346, image 363×670, gap 21.5) */
  .bio-content--with-rail .bio-content-inner {
    max-width: 731px;
    grid-template-columns: 1fr 363px;
    column-gap: 21.5px;
  }

  .bio-content--with-rail .bio-text-stack {
    max-width: 346.5px;
    gap: 18px;
  }

  .bio-content--with-rail .bio-text {
    gap: 18px;
  }

  .bio-rail {
    aspect-ratio: 363 / 670.48;
    border-radius: 6.5px;
  }

  /* Per-page laptop overrides — Abierta (image 394×510) */
  .bio-content--with-rail.is-abierta .bio-content-inner {
    grid-template-columns: 1fr 394px;
  }

  .bio-content--with-rail.is-abierta .bio-rail {
    aspect-ratio: 394 / 510;
  }

  /* Per-page laptop overrides — Preservación (image 394 + h-stretch) */
  .bio-content--with-rail.is-preservacion .bio-content-inner {
    grid-template-columns: 1fr 394px;
  }

  .bio-content--with-rail.is-preservacion .bio-rail {
    aspect-ratio: auto;
    height: auto;
    align-self: stretch;
    border-radius: 6.445px;
  }

  .bio-content--with-rail .bio-body {
    font-size: 14px;
    line-height: 1.6;
  }

  .bio-content--with-rail .bio-list {
    font-size: 14px;
    line-height: 1.6;
  }

  .bio-body {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Article Page Title — Laptop */
  .article-page-title {
    padding: 107px 18.8px 0;
  }

  .article-page-title-inner {
    max-width: 100%;
    gap: 0;
  }

  .article-page-title-left {
    padding: 46.6px 0 0;
    gap: 12px;
  }

  .article-page-title-right {
    padding: 80.6px 44.6px 53.7px;
    border-left: 0.25px solid var(--color-stroke);
  }

  .article-page-heading {
    font-size: 28px;
    line-height: 1.2;
  }

  .article-page-quote {
    font-size: 20px;
    line-height: 28px;
    max-width: 394px;
  }

  /* Equipo — Laptop */
  .equipo-intro {
    padding: 24px 22px 0;
  }

  .equipo-intro-inner {
    padding: 16px 22px;
  }

  .equipo-intro-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .equipo-team {
    padding: 0 22px 60px;
  }

  .equipo-team-inner {
    padding: 0 22px;
  }

  .equipo-grid {
    gap: 40px 24px;
  }

  .equipo-card {
    gap: 14px;
  }

  .equipo-card-name {
    font-size: 14px;
    line-height: 1.4;
  }

  .equipo-card-role {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Formación — Laptop */
  .formacion-section {
    padding: 40px 22px 60px;
  }

  .formacion-section--cursos {
    padding-top: 24px;
  }

  .formacion-inner {
    max-width: 550px;
  }

  .formacion-heading {
    font-size: 12px;
    letter-spacing: 1.8px;
    margin-bottom: 24px;
  }

  .formacion-item {
    grid-template-columns: 180px 1fr;
    gap: 24px;
    padding: 18px 0;
  }

  .formacion-item--titulo {
    grid-template-columns: 130px 1fr;
    gap: 28px;
  }

  .formacion-item-logo img {
    max-height: 90px;
  }

  .formacion-item-title,
  .formacion-item-date,
  .formacion-item-desc {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Menu overlay — Figma Laptop: forzar fit en viewport */
  .mobile-menu {
    height: 100vh;
    padding: 32px 40px;
    gap: 12px;
    overflow: hidden;
  }

  .menu-logo img {
    width: 120px;
  }

  .menu-close {
    width: 29px;
    height: 29px;
    padding: 4px;
  }

  /* Top-bar sub-page logo (Laptop): 120×11.6 */
  .nav-logo img {
    width: 120px;
  }

  .menu-grid {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
  }

  .menu-col {
    gap: 24px;
    padding: 12px 24px;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .menu-col-header {
    gap: 24px;
  }

  .menu-col-num {
    font-size: 56px;
    line-height: 1;
    padding-top: 18px;
    display: block;
  }

  .menu-col-cat {
    font-size: 16px;
    line-height: 22px;
  }

  .menu-col-links {
    gap: 16px;
    padding-top: 16px;
  }

  .menu-col-links a {
    font-size: 15px;
    line-height: 21px;
    padding: 4px 0;
  }

  .menu-footer {
    padding: 12px 24px;
    flex-shrink: 0;
  }

  .menu-address {
    font-size: 16px;
    line-height: 22.4px;
  }

  .menu-cta {
    min-width: 160px;
    height: 44px;
    padding: 0 22px;
    font-size: 11px;
    letter-spacing: 1.8px;
    border-width: 0.5px;
  }
}

/* ===== Responsive: Tablet 768-1279 ===== */
@media (max-width: 1279px) {
  /* Header */
  .header-inner {
    padding: 0 20px;
  }

  /* Page title / Sub-nav / Bio content — Tablet */
  .page-title {
    padding: 130px 20px 24px;
  }

  .page-title-inner {
    max-width: 700px;
    gap: 14px;
  }

  .page-title-heading,
  .article-page-eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
  }

  .page-title-intro {
    font-size: 16px;
    line-height: 1.5;
  }

  .sub-nav {
    padding: 16px 20px;
  }

  .sub-nav-inner {
    gap: 10px;
  }

  .sub-nav-btn {
    min-width: 0;
    flex: 1 1 auto;
    height: 40px;
    padding: 0 18px;
    font-size: 10px;
    letter-spacing: 1.4px;
    border-width: 0.4px;
  }

  .sub-nav-btn.is-active {
    border-width: 1px;
  }

  .bio-content {
    padding: 32px 20px 48px;
  }

  .bio-content-inner {
    max-width: 600px;
    gap: 16px;
  }

  .bio-heading {
    font-size: 11px;
    letter-spacing: 1.6px;
  }

  .bio-body {
    font-size: 14px;
    line-height: 1.55;
  }

  /* Article Page Title — Tablet */
  .article-page-title {
    padding: 132px 18.798px 0;
    border-bottom: 0.134px solid var(--color-stroke);
  }

  .article-page-title-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 100%;
  }

  .article-page-title-left {
    justify-content: flex-start;
    padding-top: 66.6px;
    gap: 4.297px;
  }

  .article-page-title-right {
    padding: 80.565px 44.579px 53.71px;
    border-left: 0.134px solid var(--color-stroke);
    align-items: center;
  }

  .article-page-eyebrow {
    font-size: 7px;
    letter-spacing: 2px;
    line-height: 2;
  }

  .article-page-heading {
    font-size: 24px;
    line-height: 1.003;
  }

  .article-page-quote {
    font-size: 16px;
    line-height: 1.4;
    max-width: 394.23px;
  }

  /* Equipo — Tablet */
  .equipo-intro {
    padding: 24px 20px 0;
  }

  .equipo-intro-inner {
    padding: 16px 0;
  }

  .equipo-intro-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .equipo-team {
    padding: 0 20px 48px;
  }

  .equipo-team-inner {
    padding: 0;
  }

  .equipo-grid {
    gap: 28px 16px;
  }

  .equipo-card {
    gap: 12px;
  }

  .equipo-card-name {
    font-size: 13px;
    line-height: 1.4;
  }

  .equipo-card-role {
    font-size: 13px;
    line-height: 1.4;
  }

  /* Formación — Tablet */
  .formacion-section {
    padding: 32px 20px 48px;
  }

  .formacion-section--cursos {
    padding-top: 16px;
  }

  .formacion-heading {
    font-size: 11px;
    letter-spacing: 1.6px;
    margin-bottom: 20px;
  }

  .formacion-item {
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 16px 0;
  }

  .formacion-item--titulo {
    grid-template-columns: 80px 1fr;
    gap: 20px;
  }

  .formacion-item-logo img {
    max-height: 44px;
  }

  .formacion-item-title,
  .formacion-item-date,
  .formacion-item-desc {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Hero — Figma Tablet: px-38.222, logo 636, gap 82 logo→tagline, tagline 14/19.6, pb-16 */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 0 38px;
  }

  .hero-logo {
    max-width: 636px;
  }

  .hero-title {
    gap: 59.26px;
  }

  .hero-tagline {
    max-width: 600px;
    padding-bottom: 16px;
  }

  .hero-tagline p {
    font-size: 14px;
    line-height: 19.6px;
  }

  /* Two cards — Figma Tablet: gap 7, caption h-88, px-8, text 10/14 */
  .two-cards {
    gap: 7px;
  }

  .card-image {
    aspect-ratio: 1 / 1.48;
  }

  .card-caption {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px 16px 12px;
    min-height: 0;
    gap: 6px;
  }

  .card-caption p {
    font-size: 11px;
    line-height: 1.35;
  }

  /* Services intro — Figma Tablet: 16/24, max-w 460, pb-30 pt-60 px-16 */
  .services-intro {
    padding: 60px 16px 30px;
  }

  .services-intro p {
    font-size: 16px;
    line-height: 24px;
    max-width: 460px;
  }

  /* Service cards — Figma Tablet: 3 cols gap 7, caption h-76 px-8, text 12, button 118x40 */
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .service-card-image {
    aspect-ratio: 1 / 1.48;
  }

  .service-card-caption {
    padding: 0 8px;
    min-height: 76px;
  }

  .service-card-caption p {
    font-size: 12px;
    line-height: 19.6px;
  }

  /* Steps — Figma Tablet: row, gap 47, pl-31, content pt-66 pl-12 pb-16, items 17/25 */
  .steps {
    flex-direction: row;
    min-height: auto;
    gap: 47px;
    padding-left: 31px;
  }

  .steps-content {
    padding: 86px 0 70px 12px;
    min-width: 333px;
    gap: 8px;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .steps-header,
  .steps-list {
    max-width: none;
  }

  .steps-header p {
    font-family: var(--font-sans);
    font-size: 10.25px;
    line-height: 14.344px;
    letter-spacing: 1.6467px;
    color: rgba(47, 42, 39, 0.55);
    padding: 30px 0;
    width: auto;
    max-width: none;
    white-space: nowrap;
  }

  .steps-list > .btn-outline {
    margin-top: 22px;
    margin-left: 13.75px;
    min-width: 0;
    width: 119px;
    height: 40px;
    padding: 9.9px 22px;
    font-size: 8px;
    letter-spacing: 1.6467px;
    border-width: 0.4px;
    border-radius: 48.889px;
  }

  .step-item {
    padding: 15px 35.5px 15px 13.333px;
    height: 61.5px;
    display: flex;
    align-items: center;
  }

  .step-item::after {
    left: 0;
    right: 0;
  }

  .step-item p {
    font-size: 17px;
    line-height: 25px;
  }

  .steps-image {
    flex: 389 1 0;
    min-width: 389px;
    width: auto;
    max-width: none;
  }

  .steps-content {
    flex: 301 1 0;
  }

  /* FAQ — Figma Tablet (547:32424): stack vertical, eyebrow heading + lista compacta */
  .faq {
    padding: 80px 16px;
  }

  .faq-inner {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 47px;
  }

  .faq-images {
    display: none;
  }

  .faq-content {
    display: contents;
  }

  .faq-heading {
    min-width: auto;
    max-width: none;
    padding: 0 36px;
    width: 589px;
    max-width: 100%;
  }

  .faq-heading h2 {
    font-family: var(--font-sans);
    font-size: 10.25px;
    font-weight: 400;
    line-height: 14.344px;
    letter-spacing: 1.6467px;
    text-transform: uppercase;
    color: rgba(47, 42, 39, 0.55);
  }

  .faq-heading h2 em {
    font-style: normal;
  }

  .faq-list {
    padding-left: 19.25px;
    gap: 0;
  }

  .faq-item {
    border-bottom: 0.138px solid var(--color-text);
  }

  .faq-question {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    padding: 25.85px 39.05px 25.85px 14.667px;
  }

  .faq-icon {
    width: 11.733px;
    height: 11.733px;
  }

  .faq-answer p {
    font-size: 12px;
  }

  .faq-item.active .faq-answer {
    padding: 0 39.05px 20px 14.667px;
  }

  .faq-list > .btn-outline {
    margin-top: 22px;
    margin-left: 13.75px;
    min-width: 0;
    width: 119px;
    height: 40px;
    padding: 9.9px 22px;
    font-size: 8px;
    letter-spacing: 1.6467px;
    border-width: 0.4px;
    border-radius: 48.889px;
  }

  /* El Éxito body — Tablet (Figma 460:21223): horizontal layouts, Block 1 con imagen flush right */
  .exito-body {
    border-bottom: none;
    padding: 0 21.484px;
    align-items: stretch;
  }

  .exito-block {
    max-width: none;
    width: 100%;
  }

  .exito-block + .exito-block {
    margin-top: 0;
  }

  /* Block 1: text 381 + image flex-1 max-w-550, pl-17.5 (image flush right edge) */
  .exito-block--text-image {
    border-bottom: 0.125px solid var(--color-stroke);
    flex-direction: row;
    align-items: stretch;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    padding: 39px 0 39px 17.5px;
    gap: 0;
  }

  .exito-block--text-image .exito-text {
    flex: 381 1 0;
    width: auto;
    max-width: none;
    height: auto;
    padding: 8px 12.24vw 8px 0;
    align-self: flex-end;
    display: block;
  }

  .exito-block--text-image .exito-image {
    flex: 326.5 1 0;
    max-width: none;
    width: auto;
    height: auto;
    aspect-ratio: 326.5 / 476;
    border-radius: 0;
  }

  .exito-block--text-image .exito-image img {
    border-radius: 0;
    object-position: center;
  }

  /* Block 2: full-width, italic Abril 20/28, w-607, padding 41/18, pr-83 */
  .exito-block--full {
    border-bottom: 0.25px solid var(--color-stroke);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 41px 18px;
  }

  .exito-block--full .exito-quote {
    width: 607px;
    max-width: 100%;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: 20px;
    line-height: 28px;
    color: var(--color-text);
    padding: 5px 83px 0 0;
    margin: 0;
  }

  .exito-block--full .exito-quote em {
    font-style: italic;
  }

  /* Block 3: image flex-1 + text flex-1, gap-42, py-74 px-18 */
  .exito-block--image-text {
    border-bottom: none;
    flex-direction: row;
    align-items: center;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    padding: 74px 18px;
    gap: 42px;
  }

  .exito-block--image-text .exito-image {
    flex: 1 1 0;
    max-width: none;
    width: auto;
    height: auto;
    min-width: 200px;
    aspect-ratio: 323.5 / 339;
    border-radius: 0;
  }

  .exito-block--image-text .exito-image img {
    border-radius: 0;
    object-position: center;
  }

  .exito-block--image-text .exito-text {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    height: auto;
    padding: 0 0 8px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Body text (cuerpo de los bloques 1 y 3) */
  .exito-text p {
    font-size: 14px;
    line-height: 19.6px;
    margin: 0 0 19.6px;
    text-align: justify;
  }

  .exito-text p:last-child {
    margin-bottom: 0;
  }

  /* Pre y Post Gallery — Tablet: 2 columnas */
  .pp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pp-gallery-grid .pp-case {
    flex: 1 1 auto;
    width: 100%;
    scroll-snap-align: none;
  }

  .pp-gallery-grid .pp-case:nth-child(3n) {
    border-right: 0.125px solid rgba(78, 71, 68, 0.25);
  }

  .pp-gallery-grid .pp-case:nth-child(2n) {
    border-right: none;
  }

  /* FAQs — Tablet: reducir padding lateral para que la columna de preguntas no quede angosta */
  .faqs-page {
    padding: 18px 40px;
  }

  /* Antes y Después — Figma Tablet (570:32738): pt-24, intro 16/22.4, cards en scroll horizontal */
  .before-after {
    padding: 24px 0 0;
  }

  .before-after-top {
    padding: 30px 27px 0;
  }

  .before-after-intro {
    font-size: 16px;
    line-height: 22.4px;
    max-width: 473px;
  }

  .before-after-cases {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    margin-top: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .ba-case {
    flex: 0 0 319.667px;
    width: 319.667px;
    scroll-snap-align: start;
  }

  .ba-case-image {
    aspect-ratio: 319.667 / 335.647;
  }

  .ba-case-meta {
    padding: 17.333px 14.667px 5.333px;
    gap: 8px;
  }

  .ba-case-label {
    font-size: 9.333px;
    letter-spacing: 2.13px;
  }

  .ba-chip {
    height: 20px;
    padding: 0 10.13px;
    border-width: 0.533px;
    font-size: 8px;
    letter-spacing: 2.88px;
  }

  .ba-case-hover {
    opacity: 1;
    transform: none;
    bottom: 4.67px;
    right: 10.93px;
    padding: 6px 10.667px;
    font-size: 6.67px;
    letter-spacing: 3.2px;
  }

  /* Testimonials — Figma Tablet: row, gap 47x36, heading 20, body 14/19.6 */
  .testimonials {
    padding: 60px 20px;
  }

  .testimonials-columns {
    flex-direction: row;
    gap: 47px 36px;
  }

  .testimonials-title {
    font-size: 20px;
    max-width: none;
    white-space: nowrap;
  }

  .testimonials-right p {
    font-size: 14px;
    line-height: 19.6px;
  }

  .testimonial-arrow {
    width: 65px;
    height: 40px;
  }

  /* Articles — Figma Tablet: gap 47x69.333, heading 20, featured h3 12, titles 12 */
  .articles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 47px 32px;
  }

  .articles-left {
    padding: 60px 0 24px 20px;
  }

  .articles-right {
    padding: 60px 20px 24px 0;
  }

  .articles-header h2 {
    font-size: 20px;
  }

  .article-featured h3 {
    font-size: 12px;
    line-height: 16.8px;
  }

  .article-featured-image {
    height: 348px;
  }

  .article-row {
    height: auto;
    min-height: 112px;
    gap: 12px;
  }

  .article-title {
    font-size: 12px;
    line-height: 16.8px;
  }

  .article-thumb {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    height: 120px;
    border-radius: 12px;
  }

  /* Footer — Figma Tablet: 4 cols pt-32 px-40, number 40, category 14, items 12, bottom py-18 px-40 */
  .footer-col {
    padding: 50px 40px 40px;
  }

  .footer-number {
    font-size: 40px;
  }

  .footer-category {
    font-size: 14px;
    letter-spacing: 0;
  }

  .footer-col li a {
    font-size: 12px;
  }

  .footer-bottom {
    padding: 18px 40px;
    font-size: 12px;
  }

  /* Menu overlay — Figma Tablet 768: 4-col grid (mismo patrón laptop, escala menor) */
  .mobile-menu {
    height: 100vh;
    padding: 23px 0;
    gap: 24px;
    overflow: hidden;
  }

  .menu-top-bar {
    padding: 5.333px 16px;
  }

  .menu-logo img {
    width: 120px;
  }

  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: minmax(0, 1fr);
    flex: 1 1 auto;
    min-height: 0;
    gap: 20px;
    align-items: stretch;
    border-bottom: 0.25px solid rgba(0, 0, 0, 0.2);
  }

  .menu-col {
    gap: 20px;
    padding: 14px 24px;
    border-right: 0.25px solid var(--color-stroke);
    border-bottom: none;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .menu-col:nth-child(2n) {
    border-right: 0.25px solid var(--color-stroke);
  }

  .menu-col:last-child {
    border-right: none;
  }

  .menu-col:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .menu-col-header {
    gap: 6px;
  }

  .menu-col-num {
    font-size: 48px;
    line-height: 1;
    padding-top: 14px;
    display: block;
  }

  .menu-col-cat {
    font-size: 13.6px;
    line-height: 19.6px;
  }

  .menu-col-links {
    gap: 14px;
    padding-top: 14px;
  }

  .menu-col-links a {
    font-size: 12px;
    line-height: 17px;
    padding: 4px 0;
  }

  .menu-footer {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 14px 30px;
    flex-shrink: 0;
  }

  .menu-address {
    font-size: 10px;
    line-height: 17px;
  }

  .menu-sep {
    margin: 0 8px;
  }

  .menu-cta {
    min-width: 120px;
    height: 40px;
    padding: 0 22px;
    font-size: 8px;
    letter-spacing: 1.6px;
    border-width: 0.4px;
  }
}

/* ===== Responsive: Mobile < 768 (Figma Mobile 375) — Tablet inicia en 768 ===== */
@media (max-width: 767px) {
  /* Collapse grids to 1 column */
  .two-cards,
  .service-cards,
  .articles-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  /* Page title / Sub-nav / Bio content — Mobile */
  .page-title {
    padding: 120px 22px 24px;
  }

  .page-title-inner {
    gap: 12px;
  }

  .page-title-heading,
  .article-page-eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .page-title-intro {
    font-size: 14px;
    line-height: 1.5;
  }

  .sub-nav {
    padding: 8px 20px;
  }

  .sub-nav-inner {
    flex-direction: column;
    gap: 12px;
  }

  .sub-nav-btn {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    height: 54px;
    padding: 0 22px;
    font-size: 10px;
    letter-spacing: 1.5px;
    border-width: 0.4px;
  }

  .sub-nav-btn.is-active {
    border-width: 1px;
  }

  .bio-content {
    padding: 32px 22px 48px;
  }

  .bio-content-inner {
    gap: 16px;
  }

  .bio-heading {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .bio-body {
    font-size: 12px;
    line-height: 16.8px;
  }

  .protocol-list {
    font-size: 12px;
    line-height: 16.8px;
    margin: 16px 0;
  }

  .protocol-list li {
    margin: 0 0 8px;
  }

  /* Bio content with rail — Mobile (Figma: image between paragraphs via order, content fluido sin max-w) */
  .bio-content--with-rail .bio-content-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: none;
    margin: 0 auto;
  }

  .bio-content--with-rail .bio-text-stack {
    display: contents;
  }

  .bio-content--with-rail .bio-text {
    max-width: 100%;
    gap: 12px;
  }

  .bio-content--with-rail .bio-text--first { order: 1; }
  .bio-rail { order: 2; }
  .bio-content--with-rail .bio-text--rest { order: 3; }

  .bio-rail {
    position: static;
    width: 100%;
    aspect-ratio: 294.703 / 544.333;
    border-radius: 5.201px;
  }

  /* Per-page mobile rail — Preservación (Figma: h-368 fijo + w-full, rounded 12px) */
  .bio-content--with-rail.is-preservacion .bio-rail {
    aspect-ratio: auto;
    height: 368px;
    border-radius: 12px;
  }

  .bio-content--with-rail .bio-body {
    font-size: 12px;
    line-height: 1.4;
  }

  .bio-content--with-rail .bio-list {
    font-size: 12px;
    line-height: 16.8px;
  }

  /* Article Page Title — Mobile */
  .article-page-title {
    padding: 150px 22px 20px;
    border-bottom: 0.14px solid var(--color-stroke);
  }

  .article-page-title-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }

  .article-page-title-left {
    padding-top: 0;
    gap: 8px;
    justify-content: flex-start;
  }

  .article-page-title-right {
    padding: 24px 22px 0;
    margin: 0 -22px;
    border-left: none;
    border-top: 0.14px solid var(--color-stroke);
    align-items: flex-start;
  }

  .article-page-eyebrow {
    font-size: 7px;
    letter-spacing: 2px;
    line-height: 2;
  }

  .article-page-heading {
    font-size: 16px;
    line-height: 1.225;
  }

  .article-page-quote {
    font-size: 14px;
    line-height: 1.4;
    max-width: 100%;
  }

  /* El Éxito / Ultrasonica / FAQs — Mobile: título sin quote (oculta right col con su divider) */
  body[data-page="el-exito-rinoplastia"] .article-page-title-right,
  body[data-page="ultrasonica-rinoplastia"] .article-page-title-right,
  body[data-page="faqs"] .article-page-title-right {
    display: none;
  }

  /* FAQs Page — Mobile (Figma 1:14732): search bar + lista 12/16.8 con padding px-30 py-24 */
  body[data-page="faqs"] .article-page-title {
    padding-bottom: 40px;
  }

  .faqs-page {
    padding: 34px 20px;
  }

  .faqs-inner {
    max-width: none;
  }

  .faqs-search {
    padding: 24px 0;
    gap: 16px;
  }

  .faqs-search-label {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 12px;
    line-height: 16.8px;
    padding: 0 8px;
  }

  .faqs-search-input {
    height: 43.2px;
    border-radius: 28.8px;
    padding: 7.2px 14.4px 7.2px 28px;
    gap: 7.2px;
  }

  .faqs-search-input input {
    font-size: 12px;
    line-height: 16.8px;
  }

  .faqs-list .faq-item {
    padding: 0;
  }

  .faqs-list .faq-question {
    padding: 24px 30px;
    gap: 41px;
    font-size: 12px;
    line-height: 16.8px;
  }

  .faqs-list .faq-question .faq-icon {
    width: 12px;
    height: 12px;
  }

  .faqs-list .faq-answer {
    padding: 0 30px;
  }

  .faqs-list .faq-item.active .faq-answer {
    padding: 0 30px 24px;
  }

  .faqs-list .faq-answer p {
    font-size: 12px;
    line-height: 16.8px;
  }

  /* Fila search + Filtrar — Mobile: stack vertical, botón full-width */
  .faqs-search-controls--row {
    flex-direction: column;
    gap: 12px;
  }

  .faqs-filter-btn {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    align-self: stretch;
  }

  .exito-body {
    border-bottom: 0.25px solid var(--color-stroke);
    padding: 34px 20px 49px;
    align-items: center;
  }

  /* Mobile content template — fluido (sin max-w fijo) para que el texto crezca con el viewport */
  .exito-block {
    max-width: none;
    width: 100%;
  }

  .exito-block + .exito-block {
    margin-top: 20px;
  }

  .exito-block--text-image,
  .exito-block--image-text {
    border-bottom: none;
    flex-direction: column;
    align-items: stretch;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    gap: 20px;
  }

  .exito-block--text-image .exito-text,
  .exito-block--image-text .exito-text {
    flex: none;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 0;
  }

  /* Bloque 1: imagen con esquinas redondeadas (12px) */
  .exito-block--text-image .exito-image {
    flex: none;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 295 / 259;
    border-radius: 12px;
    overflow: hidden;
  }

  .exito-block--text-image .exito-image img {
    border-radius: 12px;
  }

  /* Bloque 3: imagen con esquinas cuadradas */
  .exito-block--image-text .exito-image {
    flex: none;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 295 / 339;
    border-radius: 0;
  }

  .exito-block--image-text .exito-image img {
    border-radius: 0;
    object-position: center;
  }

  /* Bloque 2: quote sin italic global, solo en <em> */
  .exito-block--full {
    border-bottom: none;
    align-items: stretch;
    padding: 0;
  }

  .exito-block--full .exito-quote {
    width: 100%;
    max-width: none;
    font-family: var(--font-serif);
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 22.4px;
    color: var(--color-text);
    padding: 0;
    margin: 0;
  }

  .exito-block--full .exito-quote em {
    font-style: italic;
  }

  /* Párrafos del cuerpo */
  .exito-text p {
    font-size: 14px;
    line-height: 19.6px;
    margin: 0 0 19.6px;
    text-align: justify;
  }

  .exito-text p:last-child {
    margin-bottom: 0;
  }

  /* Ultrasonica — Mobile (Figma 1:21650): texto 12/16.8, imágenes rounded h-259, compare cards con título border-b */
  body[data-page="ultrasonica-rinoplastia"] .exito-text p,
  body[data-page="ultrasonica-rinoplastia"] .exito-block--full .exito-quote {
    font-size: 12px;
    line-height: 16.8px;
    margin: 0 0 16.8px;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-text p:last-child,
  body[data-page="ultrasonica-rinoplastia"] .exito-block--full .exito-quote:last-child {
    margin-bottom: 0;
  }

  /* Quote em sin italic en mobile (Figma muestra todo no-italic) */
  body[data-page="ultrasonica-rinoplastia"] .exito-block--full .exito-quote em {
    font-style: normal;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-block--full .exito-quote--secondary {
    margin-top: 0;
  }

  /* Compare cards mobile: gap entre groups 16, title 14 Abril Regular con border-b, list py-16 */
  body[data-page="ultrasonica-rinoplastia"] .exito-text--compare {
    gap: 16px;
    padding-bottom: 8px;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-group {
    gap: 0;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-text);
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid rgba(47, 42, 39, 0.16);
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-title em {
    font-style: normal;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-list {
    list-style: disc;
    padding: 16px 0 16px 18px;
    margin: 0;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-list li {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 12px;
    line-height: 23px;
    color: var(--color-text);
    margin: 0;
    text-align: justify;
  }

  /* Mobile overrides para Block 3 ultrasónica (overrides laptop ultrasónica que se cascadea por especificidad) */
  body[data-page="ultrasonica-rinoplastia"] .exito-block--image-text {
    padding: 0;
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-block--image-text .exito-text {
    flex: none;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 0;
  }

  /* Imágenes con border-radius 12px también en Block 3 (Figma mobile aplica radius a ambas) */
  body[data-page="ultrasonica-rinoplastia"] .exito-block--image-text .exito-image {
    flex: none;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 295 / 259;
    border-radius: 12px;
    overflow: hidden;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-block--image-text .exito-image img {
    border-radius: 12px;
  }

  /* Equipo — Mobile */
  .equipo-intro {
    padding: 16px 16px 0;
  }

  .equipo-intro-inner {
    padding: 12px 0;
  }

  .equipo-intro-text {
    font-size: 12px;
    line-height: 1.5;
  }

  .equipo-team {
    padding: 0 16px 40px;
  }

  .equipo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .equipo-card {
    gap: 10px;
  }

  .equipo-card-photo {
    aspect-ratio: 335 / 205;
  }

  .equipo-card-name {
    font-size: 14px;
    line-height: 1.4;
  }

  .equipo-card-role {
    font-size: 13px;
    line-height: 1.4;
  }

  /* Formación — Mobile */
  .formacion-section {
    padding: 24px 16px 40px;
  }

  .formacion-section--cursos {
    padding-top: 12px;
  }

  .formacion-heading {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
  }

  .formacion-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .formacion-item--titulo {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: center;
  }

  .formacion-item-logo img {
    max-height: 40px;
  }

  .formacion-item-title,
  .formacion-item-date,
  .formacion-item-desc {
    font-size: 12px;
    line-height: 1.5;
  }

  /* Header — Figma Mobile: button p-22 text-8 tracking-2 */
  .btn-outline {
    min-width: 120px;
    height: 40px;
    padding: 0 22px;
    font-size: 8px;
    letter-spacing: 2px;
    border-width: 0.4px;
  }

  .nav-bar {
    padding: 8px 20px;
    gap: 16px;
  }

  .review-bar p {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  /* Hero — Figma Mobile: px-38.222, logo w-297, gap-152 logo→tagline, tagline text-12/16.8 pb-16 */
  .hero {
    padding: 0 38.222px;
    height: auto;
    min-height: 100vh;
  }

  .hero-inner {
    height: auto;
  }

  .hero-title {
    gap: 152px;
  }

  .hero-logo {
    max-width: 297px;
  }

  .hero-tagline {
    max-width: 100%;
    padding-bottom: 16px;
  }

  .hero-tagline p {
    font-size: 12px;
    line-height: 16.8px;
  }

  /* Two cards — Figma Mobile: stack, image min-h-300, caption p-16 h-120 text-10/14 */
  .two-cards {
    gap: 7px;
  }

  .card-image {
    aspect-ratio: auto;
    min-height: 300px;
  }

  .card-caption {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 16px 24px;
    min-height: 0;
    gap: 16px;
  }

  .card-caption p {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Services intro — Figma Mobile: pb-30 pt-60 px-16, text 14/19.6 */
  .services-intro {
    padding: 60px 16px 30px;
  }

  .services-intro p {
    font-size: 14px;
    line-height: 19.6px;
    max-width: 100%;
  }

  /* Service cards — Figma Mobile: 3 stacked, caption row h-62 px-20, text-12 */
  .service-cards {
    gap: 7px;
  }

  .service-card-image {
    aspect-ratio: auto;
    min-height: 300px;
  }

  .service-card-caption {
    padding: 0 20px;
    min-height: 62px;
  }

  .service-card-caption p {
    font-size: 12px;
    line-height: 16.8px;
  }

  /* Steps — Figma Mobile: row 55/45 (text/image), header 1-línea, botón CITA DE VALORACIÓN wide */
  .steps {
    flex-direction: row;
    align-items: stretch;
    min-height: auto;
    height: 524px;
    gap: 0;
    padding-left: 8px;
  }

  .steps-content {
    padding: 64px 0 44px 0;
    min-width: 0;
    flex: 55 1 0;
    gap: 4px;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .steps-header,
  .steps-list {
    max-width: none;
    width: 100%;
  }

  .steps-header p {
    font-family: var(--font-sans);
    font-size: 7px;
    line-height: 14px;
    letter-spacing: 1.1919px;
    color: rgba(47, 42, 39, 0.5);
    padding: 0 35.468px 21.715px 0;
    width: auto;
    max-width: none;
    white-space: nowrap;
  }

  .step-item {
    padding: 10px 8px 10px 10px;
    min-height: 44px;
    height: auto;
    display: flex;
    align-items: center;
  }

  .step-item::after {
    left: 0;
    right: 16px;
    height: 0.09px;
  }

  .step-item p {
    font-size: 13px;
    line-height: 1.4;
  }

  .steps-list > .steps-btn {
    margin-top: 23px;
    margin-left: 9.048px;
    min-width: 120px;
    height: 40px;
    padding: 0 22px;
    font-size: 8px;
    letter-spacing: 2px;
    border-width: 0.4px;
    border-radius: 88.889px;
  }

  .steps-image {
    min-width: 0;
    flex: 45 1 0;
    max-width: none;
    width: auto;
    overflow: hidden;
  }

  .steps-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* FAQ — Figma Mobile (1:20008): eyebrow 7/14/1.19, items 12/16.8 */
  .faq {
    padding: 64px 16px;
  }

  .faq-inner {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
  }

  .faq-images {
    display: none;
  }

  .faq-content {
    display: contents;
  }

  .faq-heading {
    min-width: auto;
    max-width: none;
    padding: 0;
    width: 343px;
  }

  .faq-heading h2 {
    font-family: var(--font-sans);
    font-size: 7px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 1.1919px;
    text-transform: uppercase;
    color: rgba(47, 42, 39, 0.5);
  }

  .faq-heading h2 em {
    font-style: normal;
  }

  .faq-list {
    padding: 0 4px;
    gap: 0;
  }

  .faq-item {
    border-bottom: 0.138px solid var(--color-stroke);
  }

  .faq-question {
    font-family: var(--font-serif);
    font-size: 12px;
    font-weight: 300;
    line-height: 16.8px;
    padding: 25.85px 39.05px 25.85px 14.667px;
  }

  .faq-icon {
    width: 11.733px;
    height: 11.733px;
  }

  .faq-answer p {
    font-size: 11px;
    line-height: 1.5;
  }

  .faq-item.active .faq-answer {
    padding: 0 39.05px 20px 14.667px;
  }

  .faq-list > .btn-outline {
    margin-top: 22px;
    margin-left: 13.75px;
    min-width: 120px;
    width: auto;
    height: 40px;
    padding: 0 22px;
    font-size: 8px;
    letter-spacing: 2px;
    border-width: 0.4px;
    border-radius: 88.889px;
  }

  /* Pre y Post Gallery — Mobile (Figma 1:32493): 1 columna full-width, padding 20.48/14/27.307 */
  .pp-gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Ocultar overlay "Ver más" en mobile (no hover en touch devices) */
  .pp-case .ba-case-hover {
    display: none;
  }

  .pp-gallery-grid .pp-case {
    flex: 1 1 auto;
    width: 100%;
    padding: 20.48px 14px 27.307px;
    border-right: none;
    scroll-snap-align: none;
  }

  .pp-gallery-grid .pp-case:nth-child(3n),
  .pp-gallery-grid .pp-case:nth-child(2n) {
    border-right: none;
  }

  .pp-gallery-grid .pp-case-image {
    aspect-ratio: auto;
    height: 271px;
    border-radius: 16px;
  }

  .pp-gallery-grid .pp-case-meta {
    padding: 17.333px 14.667px 5.333px;
    gap: 8px;
  }

  /* Before/after — Figma Mobile (1:20046): intro + horizontal scroll de cards 302×395 */
  .before-after {
    padding: 0;
  }

  .before-after-top {
    padding: 60px 16px 30px;
    max-width: none;
    margin: 0;
    align-items: flex-start;
  }

  .before-after-intro {
    font-size: 14px;
    line-height: 19.6px;
    max-width: 100%;
  }

  .before-after-cases {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    margin-top: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-top: none;
  }

  .ba-case {
    flex: 0 0 302.63px;
    width: 302.63px;
    scroll-snap-align: start;
  }

  .ba-case-image {
    aspect-ratio: 301.63 / 316.7;
  }

  .ba-case-hover {
    opacity: 1;
    transform: none;
    bottom: 13px;
    right: 16.39px;
    padding: 9px 16px;
    font-size: 10px;
    letter-spacing: 3.2px;
    gap: 8px;
  }

  .ba-case-meta {
    padding: 18px 16px 8px;
    gap: 12px;
  }

  .ba-case-label {
    font-size: 10px;
    letter-spacing: 3.2px;
  }

  .ba-case-chips {
    gap: 0 6px;
  }

  .ba-chip {
    height: 21px;
    padding: 0 8.1px;
    border-width: 0.6px;
    font-size: 9px;
    letter-spacing: 2.88px;
  }

  /* Testimonials — Figma Mobile: title text-17/67.532 1-line, nav buttons circular pair */
  .testimonials {
    padding: 24px 16px;
  }

  .testimonials-columns {
    flex-direction: column;
    gap: 25px;
  }

  .testimonials-title {
    font-size: 17px;
    line-height: 67.532px;
    max-width: none;
    white-space: nowrap;
    padding-bottom: 6px;
    margin-bottom: 0;
  }

  .testimonials-left,
  .testimonials-right {
    padding-top: 17.5px;
  }

  .testimonials-rating p {
    font-size: 7px;
    letter-spacing: 2px;
  }

  .testimonial-author-name {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .testimonials-right p {
    font-size: 12px;
    line-height: 16.8px;
    margin-bottom: 8px;
  }

  .testimonial-arrow {
    width: 60px;
    height: 32px;
  }

  /* Articles — Figma Mobile: header pt-58 pl-16 text-17/33.766, rows gap-16, thumbs max-w-109 rounded-8 */
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .articles-left {
    padding: 58px 16px 10px 16px;
    gap: 16px;
  }

  .articles-header h2 {
    font-size: 17px;
    line-height: 33.766px;
  }

  .article-featured {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 12px;
  }

  .article-featured h3 {
    font-size: 12px;
    line-height: 16.8px;
  }

  .article-featured-image {
    height: 200px;
    border-radius: 8px;
  }

  .articles-right {
    padding: 16px 16px 10px 16px;
    gap: 16px;
  }

  .articles-right-header {
    min-height: 40px;
    padding-bottom: 16px;
  }

  .article-row {
    height: auto;
    min-height: 100px;
    gap: 16px;
    padding-bottom: 12px;
  }

  .article-title {
    font-size: 12px;
    line-height: 16.8px;
  }

  .article-thumb {
    width: 109px;
    min-width: 109px;
    max-width: 109px;
    height: 96px;
    border-radius: 8px;
  }

  .article-thumb::after {
    border-radius: 8px;
  }

  /* Footer — Figma Mobile: stacked 4 cols, number 40, category 12, items 12, bottom px-20 py-18 text-8 */
  .footer {
    padding: 0;
  }

  .footer-col {
    border-right: none;
    border-bottom: 0.375px solid var(--color-stroke);
    padding: 32px 20px;
    gap: 16px;
  }

  .footer-col:last-child {
    border-bottom: none;
  }

  .footer-number {
    font-size: 40px;
    line-height: 26px;
    padding-top: 18px;
  }

  .footer-category {
    font-size: 12px;
    letter-spacing: 0;
    line-height: 26px;
    margin-bottom: 0;
  }

  .footer-col ul {
    gap: 0;
  }

  .footer-col li a {
    font-size: 12px;
    line-height: 16.8px;
    padding: 13.6px 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 12px;
  }

  .footer-bottom p {
    font-size: 8px;
    line-height: 16.8px;
  }

  .footer-bottom .btn-outline {
    min-width: 100px;
    height: 34px;
    font-size: 7px;
    padding: 0 14px;
  }

  /* Menu overlay — Figma Mobile: stack vertical, secciones apiladas con border-bottom */
  .mobile-menu {
    height: 100vh;
    padding: 0;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .menu-logo img {
    width: 100px;
  }

  .menu-close {
    width: 32px;
    height: 32px;
  }

  /* Top-bar sub-page logo (Mobile): 120×11.6 */
  .nav-logo img {
    width: 120px;
  }

  .menu-top-bar {
    padding: 16px 20px;
    border-bottom: 0.25px solid var(--color-stroke);
    flex-shrink: 0;
  }

  .menu-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 0;
    border-bottom: none;
    flex: 0 0 auto;
    min-height: 0;
    align-items: stretch;
  }

  .menu-col {
    width: 100%;
    gap: 8px;
    padding: 16px 0;
    border-right: none;
    border-bottom: 0.25px solid var(--color-stroke);
    overflow: visible;
    min-height: 0;
  }

  .menu-col:nth-last-child(-n+2) {
    border-bottom: 0.25px solid var(--color-stroke);
  }

  .menu-col:last-child {
    border-bottom: none;
  }

  .menu-col-header {
    gap: 12px;
    padding: 0;
  }

  .menu-col-num {
    font-size: 40px;
    line-height: 1;
    padding: 18px 20px 0;
    display: block;
  }

  .menu-col-cat {
    font-family: var(--font-category);
    font-size: 12px;
    line-height: 26px;
    color: var(--color-text);
    letter-spacing: normal;
    padding: 0 20px;
  }

  .menu-col-links {
    gap: 0;
    padding: 18px 20px 0;
  }

  .menu-col-links a {
    font-size: 12px;
    line-height: 16.8px;
    padding: 13px 0;
  }

  .menu-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    flex-shrink: 0;
  }

  .menu-address {
    font-size: 12px;
    line-height: 16.8px;
    width: 100%;
  }

  .menu-address > a:first-child {
    display: block;
    white-space: nowrap;
    margin-bottom: 16px;
  }

  .menu-address > .menu-sep:first-of-type {
    display: none;
  }

  .menu-sep {
    margin: 0 6px;
  }

  .menu-cta {
    min-width: 120px;
    height: 40px;
    padding: 0 22px;
    font-size: 8px;
    letter-spacing: 1.6px;
    font-weight: 300;
    border-width: 0.4px;
  }
}

/* ===== Responsive: Desktop 1920+ (Figma 1920-2500) ===== */
/* Overrides para viewports grandes — valores escalados del Figma Desktop */
@media (min-width: 1920px) {
  /* Top bar — Figma: review 46, nav 62, button 208×54, hamburger at right */
  .review-bar {
    padding: 10px 16px;
  }

  .review-bar p {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: normal;
  }

  .nav-bar {
    gap: 32px;
    padding: 19px 35px;
  }

  /* Sub-page top bar logo — Figma Desktop: 240×23 */
  .nav-logo img {
    width: 240px;
  }

  /* Hero — Figma Desktop: logo max 1160, tagline 2-line ~84px tall */
  .hero {
    padding: 0 38px;
  }

  .hero-logo {
    max-width: 1160px;
  }

  .hero-title {
    gap: 100px;
  }

  .hero-tagline {
    max-width: 1050px;
    padding-bottom: 80px;
  }

  .hero-tagline p {
    font-size: 30px;
    line-height: 1.4;
  }

  /* Two cards — Figma: total 1346, image 1192, caption 147 (max altura en Desktop) */
  .card-image {
    aspect-ratio: 956 / 1192;
    max-height: 1192px;
  }

  .card-caption {
    padding: 45px 35px;
    min-height: 147px;
    gap: 32px;
  }

  .card-caption p {
    font-size: 20px;
    line-height: 1.4;
    max-width: 725px;
  }

  /* Services intro — Figma: pb-80 pt-119 px-35, text 40, max-w 974 */
  .services-intro {
    padding: 119px 35px 80px;
    max-width: 100%;
  }

  .services-intro p {
    font-size: 30px;
    line-height: 1.4;
    max-width: 974px;
  }

  /* Service cards — Figma: total 958, image 826, caption 132 (max altura en Desktop) */
  .service-card-image {
    aspect-ratio: 635 / 826;
    max-height: 826px;
  }

  .service-card-caption {
    padding: 39px 40px;
    min-height: 132px;
    gap: 20px;
  }

  .service-card-caption p {
    font-size: 28px;
    line-height: 1.4;
  }

  /* Steps — Figma Desktop 1:20118 (4K 2500): heading eyebrow 18px, items 34/50, button h-54 */
  .steps {
    gap: 47px;
    padding-left: 31px;
  }

  .steps-content {
    padding: 66px 0 86px 115px;
    gap: 80px;
    min-width: 500px;
  }

  .steps-header,
  .steps-list {
    max-width: none;
  }

  .steps-header p {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 17.422px;
    letter-spacing: 2px;
    color: rgba(47, 42, 39, 0.55);
    padding: 30px 71px 30px 26.667px;
    width: auto;
    max-width: none;
    white-space: nowrap;
  }

  .steps-list {
    gap: 5px;
  }

  .step-item {
    padding: 30px 71px 30px 26.667px;
    min-height: 121px;
    height: auto;
  }

  .step-item::after {
    left: 0;
    right: 0;
  }

  .step-item p {
    font-size: 34px;
    line-height: 50px;
  }

  .steps-list > .btn-outline {
    margin-top: 24px;
    margin-left: 25px;
    min-width: 160px;
    width: auto;
    height: 54px;
    padding: 0 22px;
    font-size: 12.444px;
    letter-spacing: 2px;
    border-width: 1px;
    border-radius: 88.889px;
  }

  .steps-image {
    flex: 1 0 0;
    min-width: 916px;
    width: auto;
    max-width: none;
  }

  /* FAQ — Figma Desktop 1:20357 (1920-2500): image stack izq + content der con eyebrow */
  .faq {
    padding: 80px 35px 80px 35.556px;
  }

  .faq-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .faq-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    gap: 80px;
  }

  .faq-images {
    display: block;
    position: relative;
    flex: 0.85 0 0;
    min-width: 0;
    width: auto;
    height: 1100px;
    max-width: none;
    align-self: center;
  }

  .faq-image {
    position: absolute;
    object-fit: cover;
    border-radius: 8px;
  }

  .faq-image--1 {
    top: 130px;
    left: 30px;
    width: 580px;
    height: 690px;
  }

  .faq-image--2 {
    top: 540px;
    left: 180px;
    width: 575px;
    height: 360px;
  }

  .faq-heading {
    min-width: auto;
    max-width: none;
    flex: none;
    padding: 30px 71px 30px 26.667px;
    align-self: stretch;
  }

  .faq-heading h2 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 17.422px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(47, 42, 39, 0.55);
    max-width: none;
  }

  .faq-heading h2 em {
    font-style: normal;
  }

  .faq-list {
    flex: 1 1 auto;
    max-width: none;
    padding-left: 0;
    gap: 0;
  }

  .faq-item {
    border-bottom: 0.25px solid var(--color-stroke);
  }

  .faq-question {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 24px;
    line-height: 19.6px;
    padding: 47px 71px 47px 26.667px;
  }

  .faq-icon {
    width: 21.333px;
    height: 21.333px;
  }

  .faq-item.active .faq-answer {
    padding: 0 71px 30px 26.667px;
  }

  .faq-answer p {
    font-size: 18px;
    line-height: 1.6;
  }

  .faq-list > .btn-outline {
    margin-top: 40px;
    margin-left: 25px;
    min-width: 160px;
    width: auto;
    height: 54px;
    padding: 0 22px;
    font-size: 12.444px;
    letter-spacing: 2px;
    border-width: 1px;
    border-radius: 88.889px;
  }

  /* Before/After — Figma Desktop 1:20185 (1920-2500): intro 30/42, cards row, image 499.882×524.871 */
  .before-after {
    padding: 66.833px 0 0;
    border-top: none;
  }

  .before-after-top {
    padding: 45.82px 40.35px 0;
  }

  .before-after-intro {
    font-size: 30px;
    line-height: 42px;
    max-width: 909.938px;
  }

  .before-after-cases {
    margin-top: 80px;
  }

  .ba-case-image {
    aspect-ratio: 499.882 / 524.871;
  }

  .ba-case-split {
    width: 2.085px;
  }

  .ba-case-meta {
    padding: 27.105px 22.935px 8.34px;
    gap: 12.51px;
  }

  .ba-case-label {
    font-size: 14.595px;
    letter-spacing: 3.336px;
  }

  .ba-case-chips {
    gap: 0 6.255px;
  }

  .ba-chip {
    height: 31.275px;
    padding: 0 15.846px;
    border-width: 0.834px;
    font-size: 12.51px;
    letter-spacing: 2.88px;
  }

  .ba-case-hover {
    bottom: 7.3px;
    right: 17.09px;
    padding: 9.383px 16.68px;
    gap: 8.34px;
    font-size: 10.43px;
    letter-spacing: 3.2px;
  }

  /* Testimonials — Desktop */
  .testimonials {
    padding: 120px 35px 100px;
  }

  .testimonials-title {
    font-size: 34px;
    max-width: 50%;
    margin-bottom: 40px;
  }

  .testimonials-columns {
    gap: 40px;
  }

  .testimonials-left,
  .testimonials-right {
    padding-top: 32px;
  }

  .testimonial-author-name {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .testimonials-right p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .testimonials-rating p {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .testimonial-arrow {
    width: 100px;
    height: 54px;
  }

  /* Articles — Figma: total 1210, columns 942.5, row 274, thumb 215×250 */
  .articles-grid {
    gap: 0;
  }

  .articles-left {
    padding: 116px 0 24px 35px;
    gap: 24px;
  }

  .articles-right {
    padding: 116px 35px 24px 35px;
    gap: 0;
  }

  .articles-header h2 {
    font-size: 34px;
    line-height: 2;
  }

  .article-featured h3 {
    font-size: 36px;
    line-height: 1.5;
  }

  .article-featured-image {
    height: 846px;
    border-radius: 17px;
  }

  .articles-right-header {
    min-height: 80px;
  }

  .article-row {
    height: 274px;
    gap: 31px;
    padding: 12px 0;
  }

  .article-title {
    font-size: 30px;
    line-height: 1.4;
  }

  .article-thumb {
    width: 215px;
    min-width: 215px;
    max-width: 215px;
    height: 240px;
    border-radius: 16px;
  }

  /* Footer — Figma: total 1214, columns 453.5, number 96, category 24 */
  .footer {
    padding: 0 53px;
  }

  .footer-col {
    padding: 100px 60px 60px;
    gap: 16px;
  }

  .footer-number {
    font-size: 96px;
    line-height: 0.8;
  }

  .footer-category {
    font-size: 24px;
    letter-spacing: 0;
    margin-bottom: 28px;
    line-height: 1.6;
  }

  .footer-col ul {
    gap: 16px;
  }

  .footer-col li a {
    font-size: 24px;
    line-height: 1.4;
    padding: 10px 0;
  }

  .footer-bottom {
    padding: 44px 60px;
    border-top: 0.25px solid var(--color-stroke);
  }

  .footer-bottom p {
    font-size: 22px;
  }

  /* Top bar button — Figma: 208×54 */
  .btn-outline {
    min-width: 160px;
    height: 54px;
    padding: 0 22px;
    font-size: 14px;
    letter-spacing: 2px;
    border-width: 1px;
  }

  /* Article Page Title — Desktop (Figma 1:15265): mismo patrón vertical que laptop (pt-107 + col pt-46.6 + justify-center), sides 35 y grid 1065/1fr */
  .article-page-title {
    padding: 107px 35px 0;
  }

  .article-page-title-inner {
    grid-template-columns: 1065px 1fr;
    gap: 0;
    max-width: none;
  }

  .article-page-title-left {
    padding: 46.6px 0 0;
    gap: 8px;
    justify-content: center;
  }

  .article-page-title-right {
    padding: 150px 83px 100px;
    border-left: 0.25px solid var(--color-stroke);
    border-top: none;
    margin: 0;
    align-items: center;
  }

  .article-page-eyebrow {
    font-size: 12.444px;
    line-height: 1.4;
    letter-spacing: 2px;
  }

  .article-page-heading {
    font-size: 50px;
    line-height: 0.896;
  }

  .article-page-quote {
    font-size: 40px;
    line-height: 1.4;
    max-width: 734px;
  }

  /* El Éxito — Desktop (Figma 1:15167): título sin quote text (mantiene divider), body alineado a Figma 2515 */
  body[data-page="el-exito-rinoplastia"] .article-page-quote {
    display: none;
  }

  .exito-body {
    border-bottom: none;
    padding: 0;
    align-items: stretch;
  }

  .exito-block {
    max-width: none;
    width: 100%;
  }

  .exito-block + .exito-block {
    margin-top: 0;
  }

  /* Block 1: text 1065 + image flex-1 max 1100, pl-35 (image extiende a la derecha) */
  .exito-block--text-image {
    border-bottom: 0.25px solid var(--color-stroke);
    flex-direction: row;
    align-items: center;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    padding: 0 0 0 35px;
    gap: 0;
  }

  .exito-block--text-image .exito-text {
    flex: 0 0 1065px;
    width: 1065px;
    max-width: 1065px;
    height: auto;
    padding: 16px 188px 16px 0;
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .exito-block--text-image .exito-image {
    flex: 1 1 0;
    max-width: 1100px;
    width: auto;
    height: auto;
    aspect-ratio: 1100 / 1102;
    border-radius: 0;
  }

  .exito-block--text-image .exito-image img {
    border-radius: 0;
    object-position: bottom;
  }

  /* Block 2: full-width quote, NOT italic globally (solo em italic), 40/56, max-w 1200 */
  .exito-block--full {
    border-bottom: 0.25px solid var(--color-stroke);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 150px 43px 100px;
  }

  .exito-block--full .exito-quote {
    width: 100%;
    max-width: 1200px;
    font-family: var(--font-serif);
    font-style: normal;
    font-weight: 300;
    font-size: 40px;
    line-height: 56px;
    color: var(--color-text);
    padding: 0 83px 0 0;
    margin: 0;
  }

  .exito-block--full .exito-quote em {
    font-style: italic;
  }

  /* Block 3: image w-710 + text flex-1 max-964, gap 114, pl-195 pr-194 py-78 */
  .exito-block--image-text {
    border-bottom: 0.25px solid var(--color-stroke);
    flex-direction: row;
    align-items: stretch;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    padding: 78px 194px 78px 195px;
    gap: 114px;
  }

  .exito-block--image-text .exito-image {
    flex: 0 0 710px;
    max-width: 710px;
    width: 710px;
    height: auto;
    min-width: 0;
    aspect-ratio: 710 / 620;
    border-radius: 0;
  }

  .exito-block--image-text .exito-image img {
    border-radius: 0;
    object-position: center;
  }

  .exito-block--image-text .exito-text {
    flex: 1 1 0;
    width: auto;
    max-width: 964px;
    height: auto;
    padding: 118px 0 16px 78px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Body text — Desktop: 24/37.323 */
  .exito-text p {
    font-size: 24px;
    line-height: 37.323px;
    margin: 0 0 37.323px;
    text-align: justify;
  }

  .exito-text p:last-child {
    margin-bottom: 0;
  }

  /* Ultrasonica — Desktop Block 3 (Figma 709:32964): image 710×779, inner h-971, text col flex-1 w-1047 con compare 24/44 */
  body[data-page="ultrasonica-rinoplastia"] .exito-block--image-text {
    align-items: center;
    height: auto;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-block--image-text .exito-image {
    flex: 0 0 710px;
    max-width: 710px;
    width: 710px;
    height: 779px;
    aspect-ratio: auto;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-block--image-text .exito-text {
    flex: 1 1 0;
    max-width: none;
    padding: 24px 0 24px 78px;
    justify-content: center;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-text--compare {
    gap: 21px;
    width: 1047px;
    max-width: 100%;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-group {
    gap: 16px;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-group + .exito-compare-group {
    margin-top: 0;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 24px;
    line-height: 37.323px;
    color: var(--color-text);
    padding: 24px 16px;
    margin: 0;
    border-bottom: 1px solid rgba(47, 42, 39, 0.16);
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-title em {
    font-style: normal;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-list {
    list-style: disc;
    padding: 16px 8px 16px 44px;
    margin: 0;
  }

  body[data-page="ultrasonica-rinoplastia"] .exito-compare-list li {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 24px;
    line-height: 44px;
    color: var(--color-text);
    margin: 0;
    text-align: left;
  }

  /* Recuperación — Desktop (Figma 1:25072): columna 1083, texto 24/37.3, search input h-64 + botón 202×64 */
  body[data-page="recuperacion"] .bio-content-inner {
    max-width: 1083px;
  }

  body[data-page="recuperacion"] .bio-body {
    font-size: 24px;
    line-height: 37.323px;
  }

  body[data-page="recuperacion"] .protocol-list {
    font-size: 24px;
    line-height: 37.323px;
  }

  body[data-page="recuperacion"] .protocol-list li {
    padding: 24px 0;
  }

  .recovery-search .faqs-search-label {
    font-size: 24px;
    line-height: 37.323px;
  }

  .faqs-search-controls--row {
    gap: 34px;
  }

  .faqs-search-controls--row .faqs-search-input {
    height: 64px;
    border-radius: 43px;
    padding: 8px 30px;
  }

  .faqs-search-controls--row .faqs-search-input input {
    font-size: 18px;
    line-height: 1.4;
  }

  .faqs-filter-btn {
    flex: 0 0 202px;
    height: 64px;
    font-size: 18px;
    border-radius: 55px;
  }
}
