/* /consultoria y /en/consulting (2026-11-20). Mismos componentes que el resto del sitio: el hero con foto de /alquileres
   (props-head--foto, en site.css), los paneles suaves y el revelado de suave.js. */
.consulta-hero__acciones { margin: var(--s-5) 0 0; }
.consulta-hero__datos { margin: var(--s-4) 0 0; font: 500 17px/1.4 var(--font-text); color: #e4ebf4; }

/* who you talk to (2026-11-23): the heading, then Bryan's biography set as a statement in the headline face
   (the site's title face), one column, so the section carries weight without a photo and leaves no empty column for one.
   The text is the same; the photo joins when Bryan has it. */
.consulta-quien { display: block !important; }
.consulta-quien h2 { margin: 0 0 clamp(20px, 2.4vw, 32px); }
html[data-estilo="suave"] .consulta-quien__texto { margin: 0; max-width: 34em; font: 500 clamp(24px, 2.4vw, 34px)/1.32 var(--font-titulares);
  letter-spacing: -0.015em; color: var(--navy) !important; text-wrap: pretty; }

/* four topics: two by two, soft cream panels */
.consulta-temas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.consulta-temas article { padding: clamp(24px, 2.6vw, 32px); border-radius: 18px; background: #fdfbf6; box-shadow: var(--sombra-suave); }
.consulta-temas h3 { margin: 0 0 10px; font: 600 20px/1.3 var(--font-text); color: var(--navy); }
.consulta-temas p { margin: 0; font-size: 16px; line-height: 1.6; color: #4f5f74; }

/* how it works: the heading on the left, the three steps on the right divided by lines (no numbers) */
.consulta-pasos { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
.consulta-pasos h2 { margin: 0; }
.consulta-pasos__lista > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 32px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.consulta-pasos__lista > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.consulta-pasos__lista h3 { margin: 0; font: 600 18px/1.35 var(--font-text); color: #fff; }
.consulta-pasos__lista p { margin: 0; font-size: 16px; line-height: 1.6; color: #d7e0ec; }

/* the booking (2026-11-23): the button opens Cal.com in a new tab; the cancellation line beside it */
.consulta-boton { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: #fff; box-shadow: var(--sombra-suave); }
.consulta-boton p { margin: 0; }
.consulta-boton__nota { font: 500 17px/1.5 var(--font-text); color: var(--navy); max-width: 46ch; }
/* the notice: readable size, never small print */
.consulta-aviso { margin: var(--s-6) 0 0; padding: 18px 22px; border-radius: 14px; background: rgba(14, 32, 57, .05); font-size: 16px; line-height: 1.6; color: #2f3e54; max-width: none !important; }
.consulta-aviso--pie { margin-top: var(--s-7); }

/* questions: one column, divided by lines */
html[data-estilo="suave"] .consulta-faq[data-acordeon] { display: block; max-width: 860px; }
html[data-estilo="suave"] .consulta-faq .faq__item { background: none; border-radius: 0; border-top: 1px solid rgba(14, 32, 57, .16) !important; }
html[data-estilo="suave"] .consulta-faq .faq__item:last-of-type { border-bottom: 1px solid rgba(14, 32, 57, .16) !important; }
html[data-estilo="suave"] .consulta-faq .faq__item > summary { padding: 18px 0; cursor: pointer; }
html[data-estilo="suave"] .consulta-faq .faq__item > summary h3 { display: flex; justify-content: space-between; gap: 16px; }
html[data-estilo="suave"] .consulta-faq .faq__item > summary h3::after { content: "+"; flex: none; font-weight: 400; color: #b83a20; }
html[data-estilo="suave"] .consulta-faq .faq__item[open] > summary h3::after { content: "\2212"; }
html[data-estilo="suave"] .consulta-faq .faq__item > p { padding: 0 0 20px; max-width: 62ch; }

.consulta-cierre .wrap > h2 { margin: 0 0 var(--s-3); }
.consulta-cierre .wrap > p:not(.a-cta):not(.consulta-aviso) { margin: 0; font-size: 18px; }
.consulta-cierre .a-cta { margin-top: var(--s-5); }

@media (max-width: 899px) {
  .consulta-pasos { grid-template-columns: 1fr; row-gap: var(--s-5); }
  .consulta-temas { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  /* the hero text is taller than the photo hero's minimum height: keep the h1 clear of the floating menu */
  main > section.section.consulta-hero { padding-top: 116px !important; }
  .consulta-pasos__lista > div { grid-template-columns: 1fr; row-gap: 6px; }
}

/* how it works: the heading travels with the reader beside the three steps (2026-11-20, no empty column) */
@media (min-width: 900px) { .consulta-pasos h2 { position: sticky; top: calc(var(--nav, 88px) + 32px); align-self: start; } }

/* ================================================================ 2026-11-24: "Quién te atiende" with Bryan's portrait
   Computer: the portrait (340 px, 4:5) beside the text, both centred on each other. Phone: the portrait on top, as wide
   as the text column, never taller than 62 % of the screen (the top of the 4:5 crop stays). The site's photo radius, no
   shadow, no frame, no filter. The studio's beige reads as a warm card on the light panel. */
html[data-estilo="suave"] .consulta-quien--foto { display: grid !important; grid-template-columns: 340px minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); align-items: center; }
html[data-estilo="suave"] .consulta-quien--foto > * { grid-column: auto !important; }
.consulta-quien__foto { display: block; margin: 0; border-radius: var(--r-photo, 28px); overflow: hidden; aspect-ratio: 4 / 5; background: #c9b8a4; }
.consulta-quien__foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (max-width: 767px) {
  html[data-estilo="suave"] .consulta-quien--foto { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-6); }
  .consulta-quien__foto { width: 100%; aspect-ratio: 4 / 5; max-height: 62svh; }
}

/* ================================================================ 2026-11-24: "Conoce a Bryan"
   A clear order instead of one long paragraph set as a headline: the h2, his name (title face 600, between the h2 and
   body sizes), his role in the text face in a softer navy, then three short paragraphs at the site's body size, lines under
   65 characters. On a computer the text starts at the top of the portrait. */
html[data-estilo="suave"] .consulta-quien--foto { align-items: start; }
html[data-estilo="suave"] .consulta-quien__cuerpo h2 { margin: 0 0 var(--s-5); }
html[data-estilo="suave"] main .consulta-quien__nombre { margin: 0; font: 600 clamp(24px, 2vw, 28px)/1.2 var(--font-titulares); letter-spacing: -0.015em; color: var(--navy); }
/* the site-wide section paragraph rule sets colour and width with more weight, hence the !important here */
html[data-estilo="suave"] main .consulta-quien__cargo { margin: 4px 0 var(--s-5); font: 500 16px/1.4 var(--font-text); color: #4a5a70 !important; }
html[data-estilo="suave"] main .consulta-quien__p { margin: 0; max-width: 46ch !important; font: 400 18px/1.6 var(--font-text); color: var(--texto); }
html[data-estilo="suave"] main .consulta-quien__p + .consulta-quien__p { margin-top: var(--s-4); }
@media (max-width: 767px) { html[data-estilo="suave"] main .consulta-quien__p { font-size: 17px; } }

/* Fase 2 (2026-11-27): los pasos van en una lista ordenada (secuencia autorizada por D5), con su número en el margen */
ol.consulta-pasos__lista { list-style: none; margin: 0; padding: 0; counter-reset: paso; }
.consulta-pasos__lista > li { counter-increment: paso; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 32px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.consulta-pasos__lista > li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.consulta-pasos__lista > li h3::before { content: counter(paso) ". "; }
@media (max-width: 767px) { .consulta-pasos__lista > li { grid-template-columns: minmax(0, 1fr); row-gap: 6px; } }
.consulta-quien__datos { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 600; color: var(--navy); }
.consulta-temas__cierre { margin: 24px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.6; }
.consulta-incluye { display: grid; gap: 12px; }
.consulta-incluye__precio { margin: 0; font: 600 clamp(22px, 2vw, 28px)/1.2 var(--font-titulares, inherit); color: var(--navy); }
