/* Inicio v6: seis bloques con la altura de su contenido (site.css pone el padding uniforme). */

/* ---------------------------------------------------------------- 1 hero: 88% of the screen, at most 960px */
main > section.hero.h-hero { height: min(88svh, 960px) !important; min-height: 560px !important; padding-top: calc(var(--nav) + 40px) !important; padding-bottom: 72px !important; }
main > section.hero.h-hero > .wrap { height: 100% !important; }
.h-hero__text h1 { max-width: 22em; }

/* ---------------------------------------------------------------- 2 qué es: 55 / 45 */
.qe { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); column-gap: 64px; align-items: end; }
.qe .sec-head { margin-bottom: var(--s-5); }
.qe__lead { margin: 0; font-size: 19px; line-height: 1.55; max-width: 50ch; color: var(--ink); }
/* two paragraphs (2026-11-23): the second keeps the same style, one paragraph step below the first */
.qe__lead + .qe__lead { margin-top: var(--s-4); }
.qe__big { margin: 0; display: grid; gap: var(--s-3); font: 500 18px/1.3 var(--font-text); color: var(--ink); }
.qe__big .qe__n { font: 800 clamp(88px, 10vw, 150px)/.86 var(--font-display); font-stretch: 125%; letter-spacing: -0.05em; color: var(--navy); }
.qe__facts { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; }
.qe__facts li { padding: var(--s-3) 0; border-top: 1px solid rgba(14, 32, 57, .14); font: 500 16px/1.4 var(--font-text); color: var(--ink); }

/* ---------------------------------------------------------------- 3 the three services, alternating rows */
.svc-rows { display: grid; }
.svc-row { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); column-gap: 64px; align-items: center; padding: var(--s-6) 0; border-top: 1px solid rgba(14, 32, 57, .12); }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row:last-child { padding-bottom: 0; }
.svc-row--flip { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
.svc-row--flip .svc-row__photo { order: 2; }
.svc-row__photo { margin: 0; height: clamp(380px, 32vw, 460px); border-radius: 16px; overflow: hidden; }
.svc-row__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-row__text { display: grid; gap: var(--s-4); align-content: center; }
.svc-row__n { margin: 0; font: 800 clamp(44px, 4vw, 60px)/1 var(--font-display); font-stretch: 125%; color: var(--b-coral, #e15a3d); letter-spacing: -0.03em; }
.svc-row__text h3 { margin: 0; font: 800 clamp(26px, 2.2vw, 32px)/1.12 var(--font-display); font-stretch: 118%; letter-spacing: -0.02em; }
.svc-row__text p { margin: 0; font-size: 17px; line-height: 1.55; max-width: 42ch; color: var(--ink); }
.svc-row__text .link { justify-self: start; }

/* ---------------------------------------------------------------- 4 the one pinned moment: 250% tall, a 100% sticky stage */
main > section.stays { padding: 0 !important; }
.stays__pin { padding: var(--sec-pad) 0 var(--sec-pad-b); }
.stays__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-7); }
.stays__ch { display: grid; gap: var(--s-4); }
.stays__photo { margin: 0; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #17304f; }
.stays__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stays__cap span { display: block; font: 600 13px/1 var(--font-text); letter-spacing: .08em; color: #c9d4e3; margin-bottom: var(--s-2); }
.stays__cap h3 { margin: 0 0 var(--s-2); color: #fff; font: 800 28px/1.15 var(--font-display); font-stretch: 118%; }
.stays__cap p { margin: 0; color: #e4ebf4; font-size: 17px; }
/* live (set by estancias.js on screens 768px and wider, motion allowed): the section holds while three chapters pass */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  main > section.stays.is-live { height: 250vh !important; }
  .stays.is-live .stays__pin { position: sticky; top: 0; height: 100vh; padding: calc(var(--nav) + var(--s-6)) 0 var(--s-6); box-sizing: border-box; }
  .stays.is-live .stays__inner { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
  .stays.is-live .sec-head { margin-bottom: var(--s-5); }
  .stays.is-live .stays__list { position: relative; display: block; height: 100%; }
  .stays.is-live .stays__ch { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity var(--m-media) var(--m-entra); pointer-events: none; }
  .stays.is-live .stays__ch.is-active { opacity: 1; pointer-events: auto; }
  .stays.is-live .stays__photo { position: absolute; inset: 0; aspect-ratio: auto; }
  .stays.is-live .stays__cap { position: absolute; left: var(--s-5); bottom: var(--s-5); width: min(420px, calc(100% - 48px)); padding: var(--s-5) var(--s-6); background: var(--navy); border-radius: 12px; }
}

/* ---------------------------------------------------------------- 5 portfolio */
.pf { color: inherit; text-decoration: none; min-width: 0; }
.pf__photo { margin: 0; overflow: hidden; background: #dfe3e8; }
.pf__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--m-media) var(--m-entra); }
.pf:hover .pf__photo img { transform: scale(1.03); }
.pf__rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: var(--ink); }
.pf__rating .star { width: 14px; height: 14px; fill: var(--b-coral, #e15a3d); }
.pf__meta { margin: 0; font-size: 14px; color: var(--muted); }
.pf__name { margin: 0; font: 500 16px/1.35 var(--font-text); color: var(--ink); }
.pf-feat .pf--featured { display: grid; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); column-gap: 48px; align-items: center; }
.pf-feat .pf__photo { aspect-ratio: 3 / 2; border-radius: 16px; }
.pf-feat .pf__text { display: grid; gap: var(--s-3); }
.pf-feat .pf__label { margin: 0; font: 600 13px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pf-feat .pf__name { font: 800 clamp(26px, 2.4vw, 34px)/1.12 var(--font-display); font-stretch: 118%; letter-spacing: -0.02em; }
.pf-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pf-grid .pf { display: grid; gap: var(--s-2); align-content: start; }
.pf-grid .pf__photo { aspect-ratio: 4 / 3; border-radius: 12px; margin-bottom: var(--s-1); }
.pf-all { margin: 48px 0 0; }

/* ---------------------------------------------------------------- 6 conversemos */
.conv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: center; }
.conv .sec-head { margin-bottom: var(--s-6); }
.conv__photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.conv__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width: 1023px) {
  .qe, .conv { grid-template-columns: 1fr; row-gap: var(--s-7); }
  .svc-row, .svc-row--flip { grid-template-columns: 1fr; row-gap: var(--s-5); }
  .svc-row--flip .svc-row__photo { order: 0; }
  .svc-row__photo { height: auto; aspect-ratio: 16 / 9; }
  .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pf-feat .pf--featured { grid-template-columns: 1fr; row-gap: var(--s-4); }
  .pf-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .pf-grid .pf__name { font-size: 14px; }
  .stays__photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 639px) {
  main > section.hero.h-hero { padding-top: calc(var(--nav) + 24px) !important; padding-bottom: 56px !important; }
  .qe__big .qe__n { font-size: 84px; }
  .qe__lead { font-size: 17px; }
  .svc-row { padding: var(--s-5) 0; }
  .conv__photo { aspect-ratio: 4 / 3; }
}

/* override the older portfolio rules from home.css */
.pf-feat .pf--featured > .pf__photo, .pf-feat .pf--featured > .pf__text { grid-column: auto !important; }
.pf-feat .pf--featured { align-items: center !important; }
.pf-feat .pf__photo { aspect-ratio: 3 / 2 !important; height: auto; }
.pf-grid .pf__photo { aspect-ratio: 4 / 3 !important; }
.h-hero__text h1 { max-width: none; font-size: clamp(40px, 3.6vw, 54px); }
@media (max-width: 767px) { .pf-feat .pf--featured { grid-template-columns: 1fr !important; } }
/* length pass */
.svc-row { padding: var(--s-5) 0; }
.svc-row__photo { height: clamp(360px, 30vw, 420px); }
@media (max-width: 1023px) { .svc-row__photo { height: auto; } }

/* on the kit's 12 columns (about 55 / 45 as 7 / 5), so every block starts on a column line */
@media (min-width: 1024px) {
  .wrap.qe { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .qe__text { grid-column: 1 / span 7; }
  .qe__num { grid-column: 9 / -1; }
  .svc-row, .svc-row--flip { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .svc-row .svc-row__photo { grid-column: 1 / span 7; grid-row: 1; }
  .svc-row .svc-row__text { grid-column: 9 / -1; grid-row: 1; }
  .svc-row--flip .svc-row__text { grid-column: 1 / span 4; }
  .svc-row--flip .svc-row__photo { grid-column: 6 / -1; }
  .pf-feat .pf--featured { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; column-gap: 24px; }
  .pf-feat .pf--featured > .pf__photo { grid-column: 1 / span 7 !important; }
  .pf-feat .pf--featured > .pf__text { grid-column: 9 / -1 !important; }
  .wrap.conv { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .conv__text { grid-column: 1 / span 6; }
  .conv__photo { grid-column: 8 / -1; }
}
@media (max-width: 639px) {
  .hero.h-hero::after { background: linear-gradient(0deg, rgba(10,23,41,.92) 0%, rgba(10,23,41,.62) 38%, rgba(10,23,41,0) 62%); }
  .stays__cap h3 { font-size: 22px; }
}
@media (max-width: 359px) { .qe__big .qe__n { font-size: 64px; } }
@media (min-width: 1024px) { .qe__num { grid-column: 8 / -1; } }
.qe__big .qe__n { font-size: clamp(80px, 7.6vw, 116px); }
.hero.h-hero::after { background: linear-gradient(0deg, rgba(10,23,41,.9) 0%, rgba(10,23,41,.6) 34%, rgba(10,23,41,0) 62%); }
@media (max-width: 639px) { .qe__big .qe__n { font-size: 80px; } }
@media (max-width: 359px) { .qe__big .qe__n { font-size: 64px; } }
.hero.h-hero::after { background: linear-gradient(0deg, rgba(10,23,41,.9) 0%, rgba(10,23,41,.66) 38%, rgba(10,23,41,0) 68%), linear-gradient(90deg, rgba(10,23,41,.62) 0%, rgba(10,23,41,.3) 48%, rgba(10,23,41,0) 72%); }

/* ---------------------------------------------------------------- lo que hacemos v7: one large paragraph with links, and a three-photo mosaic */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.svc__text { grid-column: 1 / span 6; }
.svc__title { margin: 0 0 var(--s-5); font-size: clamp(32px, 3vw, 44px); line-height: 1.08; }
.svc__lead { margin: 0; font: 500 clamp(22px, 2vw, 30px)/1.35 var(--font-text); color: var(--navy); letter-spacing: -0.01em; }
.svc__lead a { color: inherit; text-decoration: underline; text-decoration-color: var(--b-coral, #e15a3d); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.svc__lead a:hover { color: #b83a20; }
.svc__mosaic { grid-column: 8 / -1; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.svc__ph { margin: 0; border-radius: 16px; overflow: hidden; }
.svc__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc__ph--a { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 3 / 4.4; }
.svc__ph--b { grid-column: 2; grid-row: 1; aspect-ratio: 1 / 1; margin-top: 40px; }
.svc__ph--c { grid-column: 2; grid-row: 2; aspect-ratio: 4 / 3; }
@media (max-width: 1023px) {
  .svc__text { grid-column: 1 / -1; margin-bottom: var(--s-6); }
  .svc__mosaic { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .svc__mosaic { gap: 12px; }
  .svc__ph--b { margin-top: 24px; }
}

/* ---------------------------------------------------------------- Inicio: the draggable strip of rentals and its panels (2026-11-14) */
#portafolio { overflow-x: clip; }
.pf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); margin-bottom: var(--head-gap); }
.pf-head .sec-head { margin-bottom: 0; }
.strip__ctrl { display: flex; gap: 10px; flex: none; }
.strip__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--arena, #ece6d8); color: var(--navy, #0e2039); transition: background-color var(--m-rapida) var(--m-estado), opacity var(--m-rapida) var(--m-entra); }
.strip__btn svg { width: 16px; height: 16px; }
.strip__btn:hover:not(:disabled) { background: #e2dbca; }
.strip__btn:disabled { opacity: .35; cursor: default; }
.strip__btn:focus-visible { outline: 3px solid #c8452a; outline-offset: 2px; }
/* the strip runs from the content's left edge to the right edge of the screen */
.pf-strip { margin-right: calc((100% - 100vw) / 2); }
.strip__track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: none; cursor: grab; padding: 6px 0 40px; }
.strip__track::-webkit-scrollbar { display: none; }
.strip__track.is-arrastrando { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.strip__track:focus-visible { outline: 3px solid #c8452a; outline-offset: 4px; border-radius: 20px; }
.strip__list { list-style: none; margin: 0; padding: 0 24px 0 0; display: flex; gap: 20px; width: max-content; }
.strip__item { scroll-snap-align: start; width: clamp(280px, 26vw, 360px); flex: none; }
.strip__item:first-child { width: clamp(300px, 34vw, 480px); }
.strip__card { all: unset; box-sizing: border-box; display: grid; gap: 6px; width: 100%; padding: 12px 12px 18px; cursor: pointer;
  border-radius: 20px; background: var(--arena, #ece6d8); box-shadow: 0 20px 50px rgba(14, 32, 57, .08);
  transition: transform var(--m-media) var(--m-entra); }
.strip__card:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(14, 32, 57, .12); }
.strip__card:focus-visible { outline: 3px solid #c8452a; outline-offset: 3px; }
.strip__photo { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; margin-bottom: 6px; background: #dfe3e8; }
.strip__item:first-child .strip__photo { aspect-ratio: 16 / 11; }
.strip__photo img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transition: transform var(--m-media) var(--m-entra); }
.strip__card:hover .strip__photo img { transform: scale(1.03); }
.strip__card :is(.pf__meta, .pf__name, .strip__more) { display: block; padding-inline: 6px; }
.strip__card .pf__name { font: 500 17px/1.35 var(--font-text); color: var(--navy, #0e2039); }
.strip__more { margin-top: 4px; font-size: 14px; color: #b83a20; }

/* the panel: a rounded box over a soft navy veil */
dialog.ap { padding: 0; border: 0; background: transparent; width: min(980px, calc(100% - 24px)); max-height: calc(100svh - 32px); overflow: visible; }
dialog.ap::backdrop { background: rgba(10, 23, 41, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ap__box { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-radius: 28px; overflow: hidden; background: var(--pg, #f7f3ea); box-shadow: 0 40px 90px rgba(5, 12, 24, .35); max-height: calc(100svh - 32px); }
.ap__fotos { position: relative; min-height: 0; background: #dfe3e8; }
.ap__pista { display: flex; height: 100%; min-height: 420px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ap__pista::-webkit-scrollbar { display: none; }
.ap__pista img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; display: block; }
.ap__mover { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(247, 243, 234, .92); color: #0e2039; }
.ap__mover svg { width: 16px; height: 16px; }
.ap__mover--izq { left: 14px; } .ap__mover--der { right: 14px; }
.ap__info { display: grid; align-content: center; gap: 12px; padding: clamp(24px, 3.5vw, 44px); }
.ap__info h3 { margin: 0; font: 600 clamp(24px, 2.2vw, 32px)/1.15 var(--font-display); letter-spacing: -0.03em; color: #0e2039; }
.ap__info p { margin: 0; color: rgba(14, 32, 57, .8); }
.ap__rating { display: flex; align-items: center; gap: 4px; }
.ap__info .btn { justify-self: start; margin-top: 8px; }
.ap__cerrar { justify-self: start; border: 0; background: none; padding: 10px 0; min-height: 44px; font: 500 16px/1 var(--font-text); color: #0e2039; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) {
  .pf-head { flex-wrap: wrap; }
  .strip__ctrl { display: none; }
  .strip__item, .strip__item:first-child { width: 78vw; }
  .ap__box { grid-template-columns: 1fr; overflow-y: auto; }
  .ap__pista { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .strip__card, .strip__photo img { transition: none; }
}

/* ---------------------------------------------------------------- strip, 2026-11-14 b: the first card about twice as wide; the shadow is never cut */
.strip__item:first-child { width: clamp(560px, 50vw, 720px); }
.strip__item:first-child .strip__photo { aspect-ratio: 16 / 10; }
/* room inside the scroller for the whole shadow (0 20px 50px), then pulled back so the cards stay on the content lines */
.strip__track { padding: 24px 0 84px 48px; margin: -24px 0 -60px -48px; scroll-padding-left: 48px; }
.strip__list { padding-right: 48px; }
/* "Ver todos los alquileres": the drawn underline only, no arrow */
.pf-all .link::after { content: none !important; display: none !important; }
@media (max-width: 767px) {
  .strip__item:first-child { width: 88vw; }
  .strip__track { padding-left: 24px; margin-left: -24px; scroll-padding-left: 24px; }
}
/* 2026-11-29 (auditoría móvil): en el teléfono el carrusel va de borde a borde del panel sin salirse de su caja (antes
   el .pf-strip medía 34 px más que su .wrap y el panel recortaba el sobrante). El .wrap de esta sección toma todo el
   ancho (--wrap-lado: 0) y el título, el enlace y la primera tarjeta llevan el margen de siempre por dentro. */
@media (max-width: 639px) {
  #portafolio { --pf-lado: var(--wrap-lado, 24px); }
  #portafolio > .wrap { --wrap-lado: 0px; }
  #portafolio > .wrap > :is(.pf-head, .pf-all) { padding-inline: var(--pf-lado); }
  #portafolio .pf-strip { margin-right: 0; }
  #portafolio .strip__track { padding-left: var(--pf-lado); margin-left: 0; scroll-padding-left: var(--pf-lado); }
  #portafolio .strip__list { padding-right: var(--pf-lado); }
}

/* ================================================================ 2026-11-15, design pass
   Inicio hero: the full first screen for the photograph. Lo que hacemos: two photos side by side, the same height.
   Nuestros alquileres: the photo without the sand frame, a larger name; the whole card opens the panel. */
html[data-estilo="suave"] main > section.hero.h-hero { height: calc(min(100svh, 1000px) - var(--margen) * 2) !important; }
.svc__mosaic--par { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 16px; }
.svc__mosaic--par .svc__ph { grid-column: auto; grid-row: auto; margin: 0; aspect-ratio: 4 / 5; }
.strip__card { padding: 0; background: none; box-shadow: none; gap: 8px; }
.strip__card:hover { transform: translateY(-2px); box-shadow: none; }
.strip__photo { margin-bottom: 4px; box-shadow: 0 18px 40px rgba(14, 32, 57, .12); }
.strip__card :is(.pf__meta, .pf__name) { padding-inline: 2px; }
.strip__card .pf__name { font: 600 19px/1.3 var(--font-text); letter-spacing: -0.01em; }
.strip__card:hover .pf__name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* 2026-11-19: no giant figures anywhere. The reviews total on Inicio stays, at the size of a section heading. */
html[data-estilo="suave"] #que-es .qe__big .qe__n { font-size: clamp(44px, 4.2vw, 60px) !important; line-height: 1 !important; }
/* 2026-11-19: the new headline never leaves one word alone on its last line (it happened on phones) */
html[data-estilo="suave"] .h-hero__text h1 { text-wrap: pretty !important; }
/* 2026-11-19: the new headline is longer, so its first line reaches a lighter part of the photo; the veil goes a little
   higher and darker on the left so white text keeps AA contrast (the text colour does not change) */
@media (min-width: 640px) {
  .hero.h-hero::after { background: linear-gradient(0deg, rgba(10,23,41,.9) 0%, rgba(10,23,41,.7) 42%, rgba(10,23,41,.2) 70%, rgba(10,23,41,0) 80%), linear-gradient(90deg, rgba(10,23,41,.66) 0%, rgba(10,23,41,.38) 55%, rgba(10,23,41,0) 78%); }
}

/* 2026-11-20: the first rental (the one with most reviews) leads: larger photo and name; the rest stay as they are */
.strip__item:first-child .strip__photo { aspect-ratio: 3 / 2; }
.strip__item:first-child .strip__card .pf__name { font: 600 clamp(20px, 1.7vw, 24px)/1.25 var(--font-text); }
@media (max-width: 767px) { .strip__item:first-child .strip__photo { aspect-ratio: 4 / 3.2; } }

/* ================================================================ 2026-11-23: "Propiedades que operamos"
   The only property section on Inicio, right after "Lo que hacemos". On the sand panel, so the cream "Lo que hacemos"
   above and the light closing below alternate with it. On a phone the first card is as wide as the others (78vw instead
   of 88vw), so about 40 px of the next card shows at the edge and invites the swipe (it showed 0 to 3 px). */
@media (max-width: 767px) { .strip__item:first-child { width: 78vw; } }

/* ================================================================ 2026-11-24: "Lo que hacemos" as three options
   One per thing Brayla does (buy, operate, manage), each a single link to its page: the photo (4:3, the site's photo
   radius), the title in the headline cut, one sentence in the text cut and the action underlined. No box, no shadow, the same
   quiet hover as the rental cards (the photo zooms a little inside its frame, the action's underline draws). */
.svc3 { display: grid; gap: var(--s-6); }
.svc3 .svc__title { margin: 0; }
.svc3__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.svc3__op { display: grid; gap: 10px; align-content: start; height: 100%; min-height: 44px; color: inherit; text-decoration: none; border-radius: var(--r-photo, 28px); }
.svc3__op:focus-visible { outline: 3px solid #c8452a; outline-offset: 6px; }
.svc3__foto { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-photo, 28px); overflow: hidden; background: var(--arena, #efe9dc); margin-bottom: 8px; }
.svc3__foto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-media) var(--m-entra); }
.svc3__op:hover .svc3__foto img { transform: scale(1.03); }
/* the card title: the headline face at 600, like the h2 (2026-11-24) */
html[data-estilo="suave"] main .svc3__t { margin: 0; font: 600 clamp(26px, 2.2vw, 32px)/1.15 var(--font-titulares); letter-spacing: -0.02em !important; color: var(--navy); }
html[data-estilo="suave"] main .svc3__p { margin: 0; font: 400 17px/1.55 var(--font-text); color: var(--texto); max-width: 34ch; }
.svc3__cta { justify-self: start; margin-top: 6px; font: 500 16px/1.3 var(--font-text); color: var(--navy);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.svc3__op:hover .svc3__cta { color: #b53b22; }
.svc3 .svc__consulta { margin: 0; }
@media (max-width: 767px) {
  .svc3__lista { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  /* stacked on a phone: 3:2 keeps the three options within about two screens */
  .svc3__foto { aspect-ratio: 3 / 2; }
}
@media (prefers-reduced-motion: reduce) { .svc3__foto img { transition: none; } .svc3__op:hover .svc3__foto img { transform: none; } }

/* 2026-11-24: the hero's second call ("Agenda una consultoría"): the drawn underline only, no arrow, as wide as its text */
html[data-estilo="suave"] .h-hero__link::after { content: none !important; display: none !important; }
html[data-estilo="suave"] .h-hero__text .h-hero__link { width: auto; justify-self: start; }
/* on touch screens the link is a 44 px target; its underline stays right under the text, not at the bottom of the box */
html[data-estilo="suave"] .h-hero__text .h-hero__link { background-position: 0 calc(50% + 0.85em), 0 calc(50% + 0.85em) !important; }

/* Fase 2 (2026-11-27): "Somos Brayla Properties" con cuatro párrafos (el primero como entrada) */
.qe__text > p:not(.qe__lead) { margin: var(--s-4) 0 0; font-size: 17px; line-height: 1.6; max-width: 62ch; color: var(--ink); }
/* "Lo que hacemos" con cuatro tarjetas: 4 columnas en escritorio, 2 x 2 en tableta y 1 en teléfono (E-3) */
.svc4 .svc3__lista { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .svc4 .svc3__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .svc4 .svc3__lista { grid-template-columns: minmax(0, 1fr); } }
.svc3__foto--retrato picture { display: block; width: 100%; height: 100%; }
.svc3__foto--retrato img { object-position: 50% 22%; }
html[data-estilo="suave"] main .svc4 .svc3__t { font-size: clamp(24px, 1.9vw, 28px); }
