/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Tema hijo de Hilary McWilliam (Turipano360). Estilos de la home a partir del mockup.
 Author:       Turipano360
 Template:     bricks
 Version:      1.2.0
 Text Domain:  bricks
*/

/* ==========================================================================
   Fuentes alojadas en el propio servidor (nada de Google Fonts por CDN).
   Subconjunto latino: cubre el castellano (áéíóúüñ¿¡).
   Jazmin Alt (Latinotype) es de pago: hay que tener la licencia web.
   ========================================================================== */
@font-face { font-family: "Jazmin Alt"; src: url(fonts/jazmin-alt-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(fonts/caveat-600-latin.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* Los colores y medidas son variables globales de Bricks (Colores / Medidas).
   Aquí solo van las familias, que Bricks no admite como variable. */
:root {
  color-scheme: light;
  --display: "Jazmin Alt", Georgia, "Times New Roman", serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --gap-page: var(--edge);
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* Bricks pone la base en 10 px (62,5 %); el diseño usa la del navegador (16 px) */
html { font-size: 100%; scroll-behavior: smooth; }
/* Reinicios sin peso (con :where) para que cualquier clase los pueda cambiar */
:where(#brx-content, #brx-footer, #brx-header) :where(h1, h2, h3, p) { margin: 0; }
:where(#brx-content, #brx-footer, #brx-header) :where(ul) { margin: 0; padding: 0; list-style: none; }
:where(#brx-content, #brx-footer) :where(img) { display: block; max-width: 100%; height: auto; }
h1, h2 { text-wrap: balance; }
h3 { text-wrap: balance; }

/* Enlace de saltar al contenido (lo pone Bricks): visible con el teclado */
.skip-link:focus { z-index: 100; background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 12px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
#brx-content:focus { outline: none; }

/* ==========================================================================
   Estructura: todas las secciones son paneles redondeados seguidos,
   separados por un margen pequeño (--edge). En móvil van a todo el ancho.
   ========================================================================== */
#brx-content { display: flex; flex-direction: column; gap: var(--gap-page); padding-top: var(--edge); }
#brx-content > .panel {
  width: auto;
  margin-left: max(var(--edge), env(safe-area-inset-left, 0px));
  margin-right: max(var(--edge), env(safe-area-inset-right, 0px));
  border-radius: var(--r-panel);
  display: block;
  padding-left: var(--panel-pad);
  padding-right: var(--panel-pad);
}

/* Botón con forma de bocadillo (la esquina recta es la cola) */
.btn.brxe-button, .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 15px 28px;
  border: 0;
  border-radius: 26px 26px 26px 0;
  background: var(--rose);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.14rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease;
}
.btn::after { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.btn:hover { transform: translateY(-2px); color: var(--paper); }
.btn.is-light, .btn.is-light:hover { background: var(--paper); color: var(--ink); }

/* ==========================================================================
   Cabecera fija: cristal sobre el hero; al bajar, barra blanca a todo el ancho
   ========================================================================== */
#brx-header { position: fixed; inset: 0 0 auto; z-index: 40; pointer-events: none; }
#brx-header .nav, #brx-header .mmenu { pointer-events: auto; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.nav {
  margin: calc(var(--edge) + 20px) calc(var(--edge) + clamp(16px, 3vw, 24px)) 0;
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 12px 14px 12px 24px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: margin .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.is-stuck .nav {
  margin: 0;
  padding: 16px max(calc(var(--edge) + clamp(16px, 3vw, 24px)), env(safe-area-inset-right, 0px)) 16px max(calc(var(--edge) + clamp(16px, 3vw, 24px)), env(safe-area-inset-left, 0px));
  border-radius: 0;
  border-color: transparent;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(37, 57, 63, .1);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
@media (min-width: 561px) {
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav .nav-btn { justify-self: end; }
}
.is-stuck .nav .nav-btn { background: var(--rose); color: var(--paper); }
.brand { display: flex; flex-direction: column; line-height: 1.1; color: inherit; text-decoration: none; width: fit-content; }
.brand-name { font-family: var(--display); font-size: 1.65rem; }
.brand-tag { font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; opacity: .85; margin-top: 3px; }
.menu { display: flex; gap: 40px; font-weight: 500; font-size: 1.25rem; }
.menu a { color: inherit; text-decoration: none; }
.menu a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--pencil); text-decoration-thickness: 2px; }
.is-stuck .menu a[aria-current="page"] { text-decoration-color: var(--rose); }

/* Botón de menú (móvil): dos rayas que se convierten en X */
.burger { display: none; place-items: center; align-content: center; gap: 7px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 16px 16px 16px 0; background: transparent; color: var(--paper); cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s cubic-bezier(.7, 0, .2, 1), width .3s ease; }
.burger span:last-child { width: 14px; justify-self: start; margin-left: 12px; }
.is-stuck .burger { color: var(--ink); }
.menu-open .burger { color: var(--paper); }
.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:last-child { width: 22px; margin-left: 0; justify-self: center; transform: translateY(-4.5px) rotate(-45deg); }
.burger:focus-visible { outline-color: var(--pencil); }

/* Menú móvil a pantalla completa: se abre en círculo desde el botón */
.mmenu {
  position: fixed; inset: 0; z-index: -1;
  display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 120px) max(24px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 32px) max(24px, env(safe-area-inset-left, 0px));
  background:
    radial-gradient(90% 60% at 0% 100%, var(--rose) 0%, transparent 65%),
    linear-gradient(150deg, var(--teal), var(--teal-light));
  color: var(--paper);
  overflow-y: auto;
  clip-path: circle(0 at var(--mx, calc(100% - 48px)) var(--my, 48px));
  visibility: hidden;
  transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .7s;
}
.menu-open .mmenu { clip-path: circle(150% at var(--mx, calc(100% - 48px)) var(--my, 48px)); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.mmenu-in { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; flex: 1; }
.mmenu-links { display: flex; flex-direction: column; counter-reset: mm; }
.mmenu-links a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); color: var(--paper); font-family: var(--display); font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.1; text-decoration: none; counter-increment: mm; }
.mmenu-links a::before { content: "0" counter(mm); font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--pencil); }
.mmenu-links a[aria-current="page"] { color: var(--pencil); }
.mmenu-foot { display: flex; flex-direction: column; gap: 18px; font-size: 1rem; opacity: .9; }
.mmenu-foot p { margin: 0; }
.mmenu-links a, .mmenu-foot { opacity: 0; transform: translateY(28px); transition: opacity .3s ease, transform .3s ease; }
.menu-open .mmenu-links a, .menu-open .mmenu-foot { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.menu-open .mmenu-links a:nth-child(1) { transition-delay: .28s; }
.menu-open .mmenu-links a:nth-child(2) { transition-delay: .36s; }
.menu-open .mmenu-links a:nth-child(3) { transition-delay: .44s; }
.menu-open .mmenu-foot { transition-delay: .56s; }
.menu-open .nav, .menu-open .is-stuck .nav { background: transparent; color: var(--paper); border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav { display: flex; flex-wrap: nowrap; }
  .menu, .nav .nav-btn { display: none; }
  .burger { display: grid; margin-right: -13px; }
}
@media (min-width: 901px) {
  .mmenu { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
#brx-content > .hero {
  position: relative;
  color: var(--paper);
  padding: calc(20px + var(--nav-h)) clamp(16px, 3vw, 24px) 0;
  min-height: 86vh;
  min-height: 86svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  /* Foto provisional (demo de la plantilla de referencia). La capa oscura asegura el contraste del texto. */
  background:
    linear-gradient(90deg, rgba(20, 38, 43, .3) 0%, rgba(20, 38, 43, .12) 45%, transparent 65%),
    url(/wp-content/uploads/2026/11/hero-reunion-1920.webp) 70% center / cover no-repeat,
    var(--teal);
}
@media (max-width: 1280px) {
  #brx-content > .hero { background:
    linear-gradient(90deg, rgba(20, 38, 43, .3) 0%, rgba(20, 38, 43, .12) 45%, transparent 65%),
    url(/wp-content/uploads/2026/11/hero-reunion-1280.webp) 70% center / cover no-repeat,
    var(--teal); }
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, 940px); padding-top: clamp(80px, 14vh, 160px); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; padding: 0 clamp(4px, 2vw, 24px) clamp(24px, 3vw, 40px); min-width: 0; }
.hero h1 { color: var(--paper); margin-bottom: 30px; }
.hero-sub { font-size: 1.28rem; max-width: 76ch; }
.hero-btn { margin-top: 10px; }

/* Degradado de color del hero (azul petróleo arriba, granate abajo), fundido hacia la foto.
   Va en una capa propia para que funcione con cualquier foto de fondo. */
#brx-content > .hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #2b8ba0 0%, #3f7f92 35%, #7d5a68 68%, #a2404b 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .9) 26%, rgba(0, 0, 0, .45) 46%, transparent 64%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .9) 26%, rgba(0, 0, 0, .45) 46%, transparent 64%);
  pointer-events: none;
}
#brx-content > .hero > * { position: relative; z-index: 1; }
@media (max-width: 900px) {
  #brx-content > .hero::before {
    background: linear-gradient(180deg, rgba(43, 139, 160, .55) 0%, rgba(125, 90, 104, .8) 55%, #a2404b 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .75) 45%, #000 100%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .75) 45%, #000 100%);
  }
}

/* Subrayado a lápiz que se dibuja de izquierda a derecha */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: "";
  position: absolute; left: -2%; bottom: -.2em;
  width: 104%; height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c34-6 66-7 98-4 30 2 62 3 96-2' fill='none' stroke='%23f6c9b6' stroke-width='5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  animation: hm-draw 1.1s .5s ease-out forwards;
}
@keyframes hm-draw { to { clip-path: inset(0 0 0 0); } }

/* ==========================================================================
   El problema casi nunca es la gramática
   ========================================================================== */
#brx-content > .intro { background: linear-gradient(100deg, var(--blush), var(--haze)); padding-top: var(--section-pad); overflow: hidden; }
.intro-head { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 980px; margin-inline: auto; text-align: center; }
.intro h2 { font-size: clamp(2.5rem, 5vw, 4.2rem); margin-bottom: 10px; }
.intro h2 em { font-style: normal; color: var(--rose); }
.creed { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.creed-big { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.15; letter-spacing: -0.01em; }
.creed-big .mark { color: var(--rose); }
.creed-big .mark::after { content: none; }
.creed-sub { font-size: 1.2rem; font-weight: 500; }
.talk {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(100%, 680px);
  margin-top: 14px;
  padding: 12px 12px 12px 14px;
  background: var(--paper);
  border-radius: 34px 34px 34px 0;
  box-shadow: 0 16px 36px rgba(37, 57, 63, .12);
  text-align: left;
}
.talk img.talk-face { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 40%; outline: 2px solid var(--rose); outline-offset: 2px; }
.talk-text { min-width: 0; line-height: 1.3; }
.talk-title { font-family: var(--display); font-size: 1.32rem; line-height: 1.15; }
.talk-sub { margin-top: 4px !important; font-size: 1rem; color: var(--ink-soft); }
.btn.btn--dot { padding: 10px 10px 10px 24px; border-radius: 24px 24px 24px 0; }
.btn.btn--dot::after {
  width: 34px; height: 34px; border-radius: 50%; -webkit-mask: none; mask: none;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2404b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .2s ease;
}
.btn.btn--dot:hover::after { transform: translateX(3px); }
.talk-note { position: absolute; left: calc(100% + 14px); top: -14px; display: flex; flex-direction: column; align-items: flex-start; font-family: var(--hand); font-weight: 600; font-size: 1.7rem; line-height: 1; color: var(--rose); transform: rotate(-4deg); white-space: nowrap; }
.talk-note::after { content: ""; width: 66px; height: 42px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 44' fill='none' stroke='%23a2404b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M66 6C50 34 28 38 6 28M15 20 6 28l11 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.arches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); align-items: end; margin-top: clamp(32px, 4vw, 52px); }
.arches img { width: 100%; aspect-ratio: 3 / 3.7; object-fit: cover; }
.arches img:nth-child(1), .arches img:nth-child(2) { border-radius: 36px 70% 0 0 / 36px 56% 0 0; }
.arches img:nth-child(3), .arches img:nth-child(4) { border-radius: 70% 36px 0 0 / 56% 36px 0 0; }
.arches img:nth-child(2), .arches img:nth-child(3) { aspect-ratio: 3 / 3.4; }
.arches img:nth-child(1) { object-position: 50% 45%; }
.arches img:nth-child(2) { object-position: 50% 100%; }
.arches img:nth-child(3) { object-position: 50% 40%; }
.arches img:nth-child(4) { object-position: 50% 25%; }

/* ==========================================================================
   En qué te puedo ayudar
   ========================================================================== */
#brx-content > .band { background: var(--mist); padding-block: var(--section-pad); }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; background: var(--paper); border-radius: var(--r-card); min-width: 0; }
.ico, .tile-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px 16px 16px 0; background: var(--mist); color: var(--teal); }
.ico svg, .tile-ico svg { width: 26px; height: 26px; }
.card p { font-size: 1.06rem; color: var(--ink-soft); }
.card .say { font-family: var(--hand); font-weight: 600; font-size: 1.36rem; line-height: 1.15; color: var(--rose); margin-top: auto; padding-top: 10px; }
.card .more { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; text-decoration: none; }
.card .more::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .2s ease; }
.card .more:hover::after { transform: translateX(3px); }

/* ==========================================================================
   Cómo trabajo
   ========================================================================== */
#brx-content > .how { background: linear-gradient(100deg, var(--haze), var(--blush)); padding-block: var(--section-pad); padding-inline: max(var(--panel-pad), calc(50% - var(--edge) - 602px)); }
.how-head { margin-bottom: 34px; }
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 26px; border-radius: 26px 26px 26px 0; background: var(--paper); color: var(--ink); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(37, 57, 63, .12); }
.tile h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.005em; padding-top: 10px; color: inherit; }
.tile p { font-size: 1.06rem; line-height: 1.5; }
.t-1 { grid-column: 1 / 4; grid-row: 1; }
.t-2 { grid-column: 4 / 8; grid-row: 1; }
.t-3 { grid-column: 8 / 13; grid-row: 1; }
.t-4 { grid-column: 1 / 6; grid-row: 2; }
.t-teal { background: linear-gradient(140deg, var(--teal), var(--teal-light)); color: var(--paper); }
.t-teal::after { content: ""; position: absolute; right: -46px; top: -46px; width: 150px; height: 150px; border: 1.5px solid var(--pencil); border-radius: 50%; opacity: .55; }
.t-rose { background: var(--rose); color: var(--paper); }
.tile .tile-big { font-family: var(--display); font-size: 3rem; line-height: 52px; color: var(--pencil); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 4px 11px; border-radius: 12px 12px 12px 0; background: var(--mist); font-size: .84rem; font-weight: 600; color: var(--teal); }
.tile-wide { grid-column: 6 / 13; grid-row: 2; flex-direction: row; align-items: center; gap: 32px; padding: 30px 34px; }
.tile-wide-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.tile-wide h3 { padding-top: 0; font-size: 2rem; }
.tile-wide .tile-line { flex: none; width: 44px; height: 44px; margin-left: auto; align-self: flex-start; color: var(--paper); }

/* ==========================================================================
   ¿Te suena…?
   ========================================================================== */
#brx-content > .situations {
  background:
    radial-gradient(70% 120% at 100% 0%, var(--rose) 0%, transparent 60%),
    linear-gradient(140deg, var(--teal), var(--teal-light));
  color: var(--paper);
  padding-block: var(--section-pad);
}
.situations h2 { color: var(--paper); }
.situations-grid { max-width: 1260px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px clamp(32px, 5vw, 72px); align-items: center; }
.situations .hand { font-family: var(--hand); font-weight: 600; font-size: 1.8rem; line-height: 1.15; color: var(--pencil); margin-top: 22px; }
.thoughts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 30px; }
.thoughts li { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px 24px 24px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .26); border-radius: 22px 22px 22px 0; }
.thoughts li:nth-child(even) { transform: translateY(30px); border-radius: 22px 22px 0 22px; }
.thoughts .th-en { font-family: var(--hand); font-weight: 600; font-size: 1.65rem; line-height: 1.1; color: var(--pencil); }
.thoughts .th-es { font-size: 1.1rem; line-height: 1.5; }

/* ==========================================================================
   Quién soy
   ========================================================================== */
#brx-content > .who {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  background: var(--sand);
  padding-block: var(--section-pad);
  padding-inline: max(var(--panel-pad), calc(50% - var(--edge) - 602px));
}
/* Misma familia de formas que la web: arco asimétrico como las fotos de la 2.ª sección
   y esquina recta abajo a la izquierda, como la cola de los bocadillos */
.who img.photo-hilary { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 30%; border-radius: 40px 70% 40px 0 / 40px 50% 40px 0; justify-self: center; }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.stack h2 { margin-bottom: 10px; }

/* ==========================================================================
   Llamada final
   ========================================================================== */
#brx-content > .closing { background: var(--rose); color: var(--paper); padding-block: clamp(44px, 6vw, 72px); }
.closing h2 { color: var(--paper); font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.closing-grid { max-width: 1260px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.closing-text p { margin-top: 20px; font-size: 1.18rem; }

/* ==========================================================================
   Pie
   ========================================================================== */
.site-foot {
  margin: var(--edge) max(var(--edge), env(safe-area-inset-right, 0px)) var(--edge) max(var(--edge), env(safe-area-inset-left, 0px));
  padding: clamp(44px, 6vw, 72px) var(--panel-pad) 28px;
  border-radius: var(--r-panel);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(162, 64, 75, .35) 0%, transparent 60%),
    linear-gradient(160deg, var(--night), var(--night-deep));
  color: rgba(255, 255, 255, .8);
  font-size: 1.06rem;
}
.foot-in { max-width: 1260px; margin-inline: auto; display: flex; flex-direction: column; gap: 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px clamp(32px, 5vw, 80px); }
.foot-brand { display: flex; flex-direction: column; gap: 4px; }
.foot-name { font-family: var(--display); font-size: 2.2rem; line-height: 1.05; color: var(--paper); }
.foot-tag { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--pencil); }
.foot-desc { margin-top: 16px !important; max-width: 34ch; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.site-foot h2.foot-h { margin-bottom: 22px; font-family: var(--body); font-size: .84rem; font-weight: 600; line-height: 1.3; letter-spacing: .09em; text-transform: uppercase; color: var(--paper); }
.site-foot ul { display: flex; flex-direction: column; gap: 8px; }
.site-foot a { color: inherit; text-decoration: none; transition: color .2s ease; }
.site-foot a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.foot-contact li { display: flex; align-items: center; gap: 10px; }
.foot-contact svg { width: 18px; height: 18px; color: var(--pencil); flex: none; }
.kit { margin-top: clamp(16px, 2.5vw, 32px); padding: clamp(14px, 2vw, 22px) clamp(14px, 3vw, 36px); border-radius: 18px; background: var(--paper); }
.kit img { width: 100%; max-width: 1100px; margin-inline: auto; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .96rem; }
.foot-bottom ul { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }

/* ==========================================================================
   Páginas interiores: cabecera de página (panel petróleo, como «¿Te suena…?»)
   ========================================================================== */
#brx-content > .page-hero {
  background:
    radial-gradient(70% 120% at 100% 0%, var(--rose) 0%, transparent 60%),
    linear-gradient(140deg, var(--teal), var(--teal-light));
  color: var(--paper);
  padding-top: calc(var(--nav-h) + 20px + clamp(40px, 6vw, 72px));
  padding-bottom: var(--section-pad);
  overflow: hidden;
}
.page-hero-grid { max-width: 1260px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 36px clamp(32px, 5vw, 72px); align-items: end; }
.page-hero--plain .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.page-hero h1 { color: var(--paper); font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
.page-hero--plain h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); }
.page-hero .lead { font-size: 1.25rem; max-width: 60ch; }
.page-hero .hand { font-family: var(--hand); font-weight: 600; font-size: 1.8rem; line-height: 1.15; color: var(--pencil); }
.page-hero img.about-photo { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: 40px 70% 40px 0 / 40px 50% 40px 0; justify-self: end; box-shadow: 0 24px 48px rgba(10, 30, 36, .3); }

/* Sobre mí: por qué hago lo que hago */
#brx-content > .why { background: var(--sand); padding-block: var(--section-pad); }
.why-grid { max-width: 1260px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px clamp(32px, 5vw, 80px); }
.why-text { display: flex; flex-direction: column; gap: 18px; font-size: 1.1rem; }
.why .quote { margin-top: 10px !important; padding: 22px 26px; border-radius: 26px 26px 26px 0; background: var(--paper); font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; color: var(--rose); box-shadow: 0 16px 36px rgba(37, 57, 63, .08); }

/* Sobre mí: mi forma de trabajar (mismo degradado que «Cómo trabajo») */
#brx-content > .method { background: linear-gradient(100deg, var(--haze), var(--blush)); padding-block: var(--section-pad); padding-inline: max(var(--panel-pad), calc(50% - var(--edge) - 602px)); }
.method-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: 34px; }
.method-head p { font-size: 1.1rem; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* Sobre mí: con quién trabajo */
#brx-content > .clients { background: var(--mist); padding-block: var(--section-pad); }
.clients-grid { max-width: 1260px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px clamp(32px, 5vw, 80px); align-items: start; }
.clients-text { display: flex; flex-direction: column; gap: 18px; font-size: 1.1rem; }
.clients .chips { margin-top: 8px; gap: 8px; }
.clients .chips li { padding: 8px 16px; border-radius: 16px 16px 16px 0; background: var(--paper); font-size: .95rem; }

/* Contacto: formulario + otras formas de contactar */
#brx-content > .contact { background: var(--sand); padding-block: var(--section-pad); }
.contact-grid { max-width: 1260px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px clamp(24px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(24px, 3.5vw, 44px); border-radius: 30px 30px 30px 0; background: var(--paper); box-shadow: 0 16px 40px rgba(37, 57, 63, .08); }
.form-card h2 { margin-bottom: 24px; }
.form-legal { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.5; color: var(--ink-soft); }
.form-legal a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: 30px 30px 30px 0; background: linear-gradient(140deg, var(--teal), var(--teal-light)); color: var(--paper); }
.contact-aside h2 { color: var(--paper); font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.contact-aside .hand { font-family: var(--hand); font-weight: 600; font-size: 1.6rem; line-height: 1.15; color: var(--pencil); }

/* Formulario de Bricks con el estilo de la web */
.brxe-form.hm-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.hm-form .form-group { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 0; margin: 0; grid-column: 1 / -1; }
.hm-form .form-group:nth-child(-n+4) { grid-column: auto; }
.brxe-form.hm-form label, .brxe-form.hm-form .options-wrapper label { font-size: .95rem; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: 0; line-height: 1.4; }
.hm-form input:not([type="checkbox"]), .hm-form select, .hm-form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px 14px 14px 0;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hm-form textarea { min-height: 150px; resize: vertical; }
.hm-form input:focus, .hm-form select:focus, .hm-form textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(162, 64, 75, .18); }
.hm-form .options-wrapper li, .hm-form .options-wrapper { list-style: none; padding: 0; margin: 0; }
.hm-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--rose); margin: 0 10px 0 0; vertical-align: -4px; }
.hm-form .options-wrapper label { font-weight: 400; }
.hm-form .form-group.submit-button-wrapper { grid-column: 1 / -1; margin: 6px 0 0; display: flex; flex-direction: row; align-items: flex-start; }
.brxe-form.hm-form button.bricks-button { width: auto !important; flex: none; }
.brxe-form.hm-form .form-group > label { text-transform: none !important; letter-spacing: 0 !important; font-size: .95rem !important; }
.hm-form button.bricks-button {
  display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; border: 0; border-radius: 26px 26px 26px 0;
  background: var(--rose); color: var(--paper); font-family: var(--display); font-size: 1.14rem; line-height: 1.2; cursor: pointer; transition: transform .2s ease;
}
.hm-form button.bricks-button::after { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.hm-form button.bricks-button:hover { transform: translateY(-2px); }
.hm-form .message { grid-column: 1 / -1; padding: 14px 18px; border-radius: 14px 14px 14px 0; }
.hm-form .message.success { background: var(--mist); color: var(--teal); }
.hm-form .message.error { background: var(--blush); color: var(--rose); }

/* Contacto: preguntas frecuentes */
#brx-content > .faq { background: var(--mist); padding-block: var(--section-pad); }
.faq-grid { max-width: 1260px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 28px clamp(32px, 5vw, 80px); align-items: start; }
.faq .brxe-accordion-nested { display: flex; flex-direction: column; gap: 12px; }
.faq .brxe-accordion-nested > .brxe-block { border-radius: 22px 22px 22px 0; background: var(--paper); overflow: hidden; }
.faq .brxe-accordion-nested .accordion-title-wrapper { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; text-align: left; }
.faq .accordion-title-wrapper h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; text-align: left; }
.faq .accordion-title-wrapper::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b4e5b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .3s ease, background-color .3s ease; }
.faq .brx-open .accordion-title-wrapper::after { transform: rotate(45deg); background-color: var(--blush); }
.faq .accordion-content-wrapper { padding: 0 24px 22px; color: var(--ink-soft); font-size: 1.06rem; }

/* Textos legales y mapa del sitio */
#brx-content > .legal { background: var(--sand); padding-block: var(--section-pad); }
/* Mismo borde izquierdo que el título de la cabecera de página; las líneas no pasan de 860 px */
.legal-body { max-width: 1260px; margin-inline: auto; font-size: 1.04rem; }
.legal-body > * { max-width: 860px; }
.legal-body h2 { margin: 2em 0 .6em; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.legal-body h3 { margin: 1.6em 0 .5em; font-family: var(--body); font-weight: 600; font-size: 1.1rem; }
.legal-body > :first-child, .legal-body .brxe-text > :first-child { margin-top: 0; }
.legal-body p { margin: 0 0 1em; }
.legal-body ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.legal-body li { margin-bottom: .4em; }
.legal-body li::marker { color: var(--rose); }
.legal-body a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.legal-body th, .legal-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.legal-body .wsp-container ul, .legal-body ul.wsp-pages-list { font-size: 1.1rem; }
@media (max-width: 560px) {
  .legal-body table { table-layout: fixed; font-size: .88rem; }
  .legal-body th, .legal-body td { padding: 8px 6px; }
}
.legal-body th { font-weight: 600; background: var(--paper); }
.legal-body .wsp-container h2, .legal-body .wsp-pages-title { font-size: 1.4rem; }

/* ==========================================================================
   Volver arriba y burbuja de WhatsApp
   ========================================================================== */
.totop { position: fixed; z-index: 31; right: calc(max(18px, env(safe-area-inset-right, 0px)) + 7px); bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 76px); display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 10px; background: var(--rose); color: var(--paper); cursor: pointer; box-shadow: 0 8px 20px rgba(162, 64, 75, .3); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.is-wa-open .totop, .menu-open .totop { opacity: 0; transform: translateY(12px); pointer-events: none; }
.totop svg { width: 20px; height: 20px; transition: transform .25s ease; }
.totop:hover svg { transform: translateY(-3px); }

.wa { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 32; }
.menu-open .wa { display: none; }
.wa-btn { position: relative; display: grid; place-items: center; width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; background: var(--whatsapp); color: #fff; cursor: pointer; box-shadow: 0 10px 26px rgba(19, 120, 60, .35); transition: transform .25s ease; }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 32px; height: 32px; }
.wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: hm-pulse 2.4s ease-out infinite; pointer-events: none; }
.wa.is-open .wa-btn::after { animation: none; opacity: 0; }
@keyframes hm-pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.wa-btn:focus-visible, .wa-close:focus-visible, .wa-open:focus-visible { outline-color: var(--ink); }
.wa-badge { position: absolute; top: -3px; right: -3px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #d62f33; color: #fff; font-size: .78rem; font-weight: 700; line-height: 1; border: 2px solid var(--paper); transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.wa-badge::before { content: "1"; }
.wa.has-note .wa-badge { transform: scale(1); }
.wa-card { position: absolute; right: 0; bottom: 76px; width: min(340px, calc(100vw - 36px)); max-width: none; border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: 0 22px 50px rgba(15, 40, 48, .28); transform-origin: bottom right; transform: translateY(14px) scale(.92); opacity: 0; visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease, visibility 0s linear .35s; }
.wa.is-open .wa-card { transform: none; opacity: 1; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease, visibility 0s; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--ink); color: var(--paper); }
.wa-who { flex: 1; min-width: 0; line-height: 1.25; }
.wa-name { display: block; font-size: 1rem; font-weight: 600; }
.wa-sub { display: block; font-size: .8rem; opacity: .8; }
.wa-face { position: relative; flex: none; }
.wa-face img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 40%; }
.wa-face::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--whatsapp); border: 2px solid var(--ink); }
.wa-close { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.wa-close:hover { background: rgba(255, 255, 255, .12); }
.wa-close svg { width: 18px; height: 18px; }
.wa-body { position: relative; min-height: 150px; padding: 20px 16px; background-color: #efeae2; background-image: radial-gradient(rgba(37, 57, 63, .08) 1px, transparent 1.2px); background-size: 14px 14px; }
.wa-msg { position: relative; max-width: 92%; padding: 10px 14px 20px; border-radius: 0 14px 14px 14px; background: var(--paper); box-shadow: 0 1px 1px rgba(0, 0, 0, .08); font-size: .95rem; line-height: 1.45; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.wa-msg::before { content: ""; position: absolute; left: -8px; top: 0; border: 8px solid transparent; border-top-color: var(--paper); border-right-color: var(--paper); border-width: 0 8px 10px 0; }
.wa-msg .wa-from { margin-bottom: 2px; font-size: .82rem; font-weight: 600; color: var(--rose); }
.wa-msg p + p { margin-top: 8px; }
.wa-msg .wa-time { position: absolute; right: 10px; bottom: 4px; margin: 0; font-size: .7rem; color: var(--ink-soft); }
.wa-typing { position: absolute; left: 16px; top: 20px; display: flex; gap: 4px; padding: 12px 14px; border-radius: 0 14px 14px 14px; background: var(--paper); }
.wa-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); opacity: .5; animation: hm-dot 1s ease-in-out infinite; }
.wa-typing span:nth-child(2) { animation-delay: .15s; }
.wa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes hm-dot { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }
.wa.is-typed .wa-msg { opacity: 1; transform: none; }
.wa.is-typed .wa-typing { display: none; }
.wa-foot { padding: 14px 16px 16px; }
.wa-open { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 999px; background: var(--whatsapp); color: #0b3d20; font-weight: 600; text-decoration: none; transition: filter .2s ease; }
.wa-open:hover { filter: brightness(.95); color: #0b3d20; }
.wa-open svg { width: 22px; height: 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .services, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-hero-grid, .why-grid, .method-head, .clients-grid, .contact-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero img.about-photo { justify-self: start; max-width: 300px; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: minmax(0, 1fr); }
  .brxe-form.hm-form { grid-template-columns: minmax(0, 1fr); }
  .hm-form .form-group:nth-child(-n+4) { grid-column: 1 / -1; }
  .page-hero .lead { font-size: 1.12rem; }
}
@media (max-width: 900px) {
  .situations-grid, .closing-grid, .foot-top { grid-template-columns: minmax(0, 1fr); }
  #brx-content > .who { grid-template-columns: minmax(0, 1fr); }
  .who img.photo-hilary { max-width: 520px; }
  .hero-copy { padding-bottom: 32px; }
  /* En pantalla estrecha la foto queda detrás del texto: se oscurece abajo para que se lea */
  #brx-content > .hero { justify-content: flex-end; background:
    linear-gradient(180deg, rgba(20, 38, 43, .25) 0%, rgba(20, 38, 43, .45) 45%, rgba(20, 38, 43, .7) 100%),
    url(/wp-content/uploads/2026/11/hero-reunion-movil-900.webp) 50% 20% / cover no-repeat,
    var(--teal); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-1, .t-2, .t-3, .t-4 { grid-column: auto; grid-row: auto; }
  .tile-wide { grid-column: 1 / -1; grid-row: auto; }
  .talk-note { display: none; }
}
@media (max-width: 560px) {
  html body { font-size: 17px; }
  /* Paneles a todo el ancho: sin margen lateral, sin separación y sin esquinas redondeadas
     (:root:root para ganar a las variables globales de Bricks, que se cargan después) */
  :root:root { --edge: 0px; --r-panel: 0px; }
  .nav { padding: 12px 12px 12px 18px; margin-inline: 12px; }
  .brand-name { font-size: 1.4rem; }
  /* Hero en móvil: todo centrado y el botón en una sola línea */
  #brx-content > .hero { align-items: center; padding-inline: 16px; min-height: 0; padding-top: calc(var(--nav-h) + 72px); }
  .hero-grid { width: 100%; padding-top: 0; }
  .hero-copy { align-items: center; text-align: center; padding-inline: 0; padding-bottom: 52px; gap: 18px; }
  .hero h1 { margin-bottom: 18px; }
  .hero-sub { font-size: 1.1rem; }
  .hero-btn.btn { white-space: nowrap; font-size: 1.02rem; padding: 14px 22px; gap: 10px; }
  .brand-tag { font-size: .64rem; white-space: nowrap; }
  .talk { grid-template-columns: auto minmax(0, 1fr); border-radius: 28px 28px 28px 0; padding: 14px; }
  .talk .btn { grid-column: 1 / -1; width: 100%; justify-content: space-between; }
  .thoughts, .tiles, .foot-cols { grid-template-columns: minmax(0, 1fr); }
  /* En qué te puedo ayudar: carrusel con scroll horizontal; la segunda tarjeta asoma para invitar a deslizar */
  .services {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--panel-pad);
    margin-inline: calc(-1 * var(--panel-pad));
    max-width: none;
    padding: 0 var(--panel-pad) 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .services::-webkit-scrollbar { display: none; }
  .services .card { scroll-snap-align: start; }
  .tile-wide { flex-direction: column; align-items: stretch; padding: 26px; }
  .tile-wide h3 { font-size: 1.6rem; }
  .tile-wide .tile-line { width: 36px; height: 36px; margin-left: 0; }
  .thoughts { padding-bottom: 0; }
  .thoughts li:nth-child(even) { transform: none; }
  .arches { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .arches img:nth-child(n) { aspect-ratio: 3 / 3.7; }
}

/* Quien prefiere menos movimiento: sin animaciones ni transiciones */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .mark::after { clip-path: none; }
}


/* reCAPTCHA v3 visible (Bricks lo oculta por defecto) */
.grecaptcha-badge { visibility: visible !important; z-index: 40; left: 4px !important; right: auto !important; bottom: 14px !important; width: 70px !important; overflow: hidden !important; transition: width .3s ease !important; }
.grecaptcha-badge:hover { width: 256px !important; }
.recaptcha-error:not(.show) { display: none; }
