/* ATO-539 · Three approved preview-only rounds.
  1 Search: graphite + one result per row; global mobile search controls.
  2 Contact/reviews: move real text, full-bleed graphite, circular navigation.
  3 Related cards: match approved Problems screenshot, not vice versa. */

/* Problem-results drawer. Use the native graphite token, not dark green. */
body.ek-integrated[data-route="/problemas/"] .hub-search .ek-f5-search-sidebar.ek-search-drawer{
 background:var(--ek-graphite,#232729)!important;
 border-left-color:#ffffff24!important;border-top-color:#ffffff24!important;
}
body.ek-integrated[data-route="/problemas/"] .hub-search .ek-search-drawer .symptom-results{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;
}
body.ek-integrated[data-route="/problemas/"] .hub-search .ek-search-drawer .search-hit a{
 background:#ffffff0b!important;border:1px solid #ffffff24!important;
 border-radius:14px!important;padding:17px 20px!important;
 height:auto!important;
}
body.ek-integrated[data-route="/problemas/"] .hub-search .ek-search-drawer .search-hit a:is(:hover,:focus-visible){
 border-color:#ffffff75!important;background:#ffffff14!important;
}
/* Mobile global search: same semantics as before, small visual arrow, 44px tap. */
@media(max-width:700px){
 #ek-search .ek-search-card{
  grid-template-columns:minmax(0,1fr) 44px!important;
  gap:7px 8px!important;padding:13px 0!important;
 }
 #ek-search .ek-search-card h3{font-size:clamp(17px,4.3vw,20px)!important;line-height:1.25!important}
 #ek-search button.ek-search-expand{
  display:grid!important;place-items:center!important;
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  padding:0!important;border:0!important;background:transparent!important;
  border-radius:50%!important;font-size:0!important;
 }
 #ek-search button.ek-search-expand svg{
  display:block!important;width:19px!important;height:19px!important;
  stroke:currentColor!important;transition:transform .18s ease;
 }
 #ek-search button.ek-search-expand[aria-expanded="true"] svg{transform:rotate(180deg)}
 #ek-search .ek-search-description{grid-column:1/-1;padding:0 0 12px}
 #ek-search .ek-search-description a{padding:7px 0!important;min-height:44px!important}
}
/* Contact: right column now receives existing first-visit copy. */
@media(min-width:960px){
 body[data-route="/contacto/"] .contact-content{
  align-items:start!important;
 }
 body[data-route="/contacto/"] .ek-contact-first-visit{
  margin-top:clamp(38px,4vw,66px)!important;
  padding-top:clamp(24px,3vw,36px)!important;
  border-top:1px solid var(--ek-line,#d4d5c9)!important;
 }
 body[data-route="/contacto/"] .ek-contact-first-visit h2{
  font-size:clamp(28px,2.6vw,40px)!important;
 }
}
@media(max-width:959px){
 body[data-route="/contacto/"] .ek-contact-first-visit{
  margin-top:30px;padding-top:24px;border-top:1px solid var(--ek-line,#d4d5c9)
 }
}
/* Home testimonies: full-bleed graphite band but original review panel intact. */
body.ek-integrated .home-experience{
 position:relative!important;isolation:isolate!important;
 background:transparent!important;
 padding-top:clamp(52px,6vw,84px)!important;
 padding-bottom:clamp(58px,6vw,90px)!important;
}
body.ek-integrated .home-experience::before{
 content:"";position:absolute;z-index:-1;
 top:0;bottom:0;left:50%;transform:translateX(-50%);
 width:100vw;background:var(--ek-graphite,#232729);
 pointer-events:none;
}
body.ek-integrated .home-experience>h2,
body.ek-integrated .home-experience>.eyebrow{
 color:#f4f0e7!important;
}
body.ek-integrated .home-experience .ek-reviews-nav{
 border-top-color:#ffffff30!important;
}
body.ek-integrated .home-experience .ek-reviews-progress{color:#f4f0e7!important}
body.ek-integrated .home-experience .ek-reviews-dot::before{background:#ffffff70!important}
body.ek-integrated .home-experience .ek-reviews-dot[aria-current="true"]::before{
 background:#fff!important;transform:scale(1.35)!important
}
body.ek-integrated .home-experience :is(.ek-reviews-previous,.ek-reviews-next){
 width:48px!important;height:48px!important;min-height:48px!important;min-width:48px!important;
 max-width:48px!important;padding:0!important;
 border:1px solid #ffffff94!important;border-radius:50%!important;
 color:#fff!important;background:transparent!important;
 font-size:0!important;line-height:0!important;display:grid!important;place-items:center!important;
}
body.ek-integrated .home-experience :is(.ek-reviews-previous,.ek-reviews-next)::before{
 content:"";display:block;width:12px;height:12px;border-top:2px solid #fff;border-right:2px solid #fff;
}
body.ek-integrated .home-experience .ek-reviews-previous::before{transform:translateX(2px) rotate(-135deg)}
body.ek-integrated .home-experience .ek-reviews-next::before{transform:translateX(-2px) rotate(45deg)}
body.ek-integrated .home-experience :is(.ek-reviews-previous,.ek-reviews-next):hover{
 background:#ffffff14!important;
}
body.ek-integrated .home-experience .ek-reviews-nav :is(button):focus-visible{
 outline-color:#fff!important;
}
body.ek-integrated .home-experience>.home-text-link{color:#fff!important;border-color:#ffffff65!important}
@media(min-width:1121px){
 body.ek-integrated .home-experience .ek-reviews{position:relative}
 body.ek-integrated .home-experience .ek-reviews-nav{
  display:flex!important;justify-content:center!important;
  width:100%!important;margin-top:18px!important;padding-top:16px!important;
 }
 body.ek-integrated .home-experience .ek-reviews-previous{
  position:absolute;left:-68px;top:38%;
 }
 body.ek-integrated .home-experience .ek-reviews-next{
  position:absolute;right:-68px;top:38%;
 }
}
@media(max-width:650px){
 body.ek-integrated .home-experience :is(.ek-reviews-previous,.ek-reviews-next){display:none!important}
}
/* The approved /problemas/ card sizing is unchanged. Match related photo cards
   on OTHER pages to those proportions; don't impose a fixed desktop height on mobile. */
@media(min-width:901px){
 body.ek-unified:not([data-route="/problemas/"]) .related>ul>li>a{
  height:300px!important;min-height:300px!important;max-height:300px!important;
  aspect-ratio:auto!important;overflow:hidden!important;
 }
}
@media(max-width:900px){
 body.ek-unified:not([data-route="/problemas/"]) .related>ul>li>a{
  height:clamp(290px,76vw,370px)!important;
  min-height:290px!important;max-height:370px!important;
  aspect-ratio:auto!important;overflow:hidden!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #ek-search button.ek-search-expand svg{transition:none!important}
}

/* ATO-539 · Review source mark: keep Google's official color icon unmodified.
   The smaller surrounding attribution, including "Google", is white. */
body.ek-integrated .home-experience .review-author .ek-review-google-source{
 display:inline-flex!important;align-items:center;justify-content:flex-end;
 gap:6px!important;font:400 12px/1.4 var(--ek-font-body,Inter,sans-serif)!important;
 color:#f4f0e7!important;letter-spacing:0!important;
 max-width:100%;white-space:normal;
}
body.ek-integrated .home-experience .ek-review-google-mark{
 display:inline-grid!important;place-items:center!important;flex:0 0 20px!important;
 width:20px!important;height:20px!important;border-radius:50%!important;
 background:#fff!important;box-shadow:0 0 0 1px #ffffff2e;
}
body.ek-integrated .home-experience .ek-review-google-mark img{
 display:block!important;width:16px!important;height:16px!important;max-width:none!important;
 object-fit:contain!important;
}
body.ek-integrated .home-experience .ek-review-google-name{font-weight:500!important;color:#fff!important}
/* Both arrows share one vertical reference: the visible review track, not nav height. */
@media(min-width:1121px){
 body.ek-integrated .home-experience .ek-reviews{position:relative!important}
 body.ek-integrated .home-experience :is(.ek-reviews-previous,.ek-reviews-next){
   top:var(--ek-review-card-middle,240px)!important;
   transform:translateY(-50%)!important;
   margin:0!important;box-sizing:border-box!important;
   justify-self:center!important;align-self:center!important;
 }
 body.ek-integrated .home-experience .ek-reviews-previous{left:-72px!important;right:auto!important}
 body.ek-integrated .home-experience .ek-reviews-next{right:-72px!important;left:auto!important}
 body.ek-integrated .home-experience .ek-reviews-previous::before{transform:rotate(-135deg)!important}
 body.ek-integrated .home-experience .ek-reviews-next::before{transform:rotate(45deg)!important}
}
@media(max-width:700px){
 body.ek-integrated .home-experience .review-author .ek-review-google-source{
   flex-wrap:wrap;justify-content:flex-start;gap:5px!important;font-size:11px!important
 }
}

/* ATO-539 · Final user review: less leading AND tracking on standalone CV. */
body[data-route="/sobre-mi/detalle/"] .ek-personal-html :is(.ek-personal-split h1,.ek-personal-chapter h2){
 line-height:1.055!important;
 letter-spacing:-.046em!important;
 text-wrap:balance;
}
body[data-route="/sobre-mi/detalle/"] .ek-personal-html :is(.ek-personal-split h1,.ek-personal-chapter h2){
 overflow-wrap:normal!important;hyphens:none!important;
}
body[data-route="/sobre-mi/detalle/"] .ek-personal-chapter{
 scroll-margin-top:92px!important;
}
body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top nav a{
 font-size:11px!important;font-weight:450!important;
 text-decoration:none!important;white-space:nowrap!important;
 padding:9px 0!important;min-height:44px!important;
 display:inline-flex!important;align-items:center!important;
}
@media(max-width:1050px){
 body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top{
  display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;gap:2px!important;padding-block:8px!important;
 }
 body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top nav{
  width:100%!important;max-width:100%!important;min-width:0!important;
  display:flex!important;flex-wrap:nowrap!important;gap:20px!important;
  justify-content:flex-start!important;overflow-x:auto!important;
  -webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;
  scrollbar-width:none;
 }
 body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top nav::-webkit-scrollbar{display:none}
 body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top nav a{
  flex:none!important;scroll-snap-align:start;
 }
}
@media(max-width:700px){
 body[data-route="/sobre-mi/detalle/"] .ek-personal-html :is(.ek-personal-split h1,.ek-personal-chapter h2){
  line-height:1.09!important;letter-spacing:-.037em!important;
 }
}
/* Reviews: same graphite as the full-width band; retain fine border to define card. */
body.ek-integrated .home-experience .ek-review-card.review{
 background:var(--ek-graphite,#232729)!important;
 border:1px solid rgba(244,240,231,.20)!important;
 box-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.ek-integrated .home-experience .ek-review-card.review::before{
 content:none!important;background:none!important;display:none!important;
}
/* Contact: replace the oversized 94px CTA with a deliberate, centered button. */
@media(min-width:960px){
 body[data-route="/contacto/"] .contact-first .ek-contact-actions{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;gap:11px!important;
  max-width:520px!important;margin:22px auto 26px!important;
  justify-items:center!important;align-items:center!important;
 }
 body[data-route="/contacto/"] .contact-first .ek-contact-button--primary{
  grid-column:1!important;grid-row:1!important;
  height:auto!important;min-height:52px!important;max-height:58px!important;
  width:100%!important;max-width:460px!important;
  padding:12px 24px!important;
  font-size:15px!important;line-height:1.35!important;
  border-radius:999px!important;
 }
 body[data-route="/contacto/"] .contact-first .ek-contact-phone{
  grid-column:1!important;grid-row:2!important;
  justify-content:center!important;text-align:center!important;
  width:100%!important;padding:2px 0!important;
 }
 body[data-route="/contacto/"] .contact-first .ek-contact-save{
  grid-column:1!important;grid-row:3!important;
  width:100%!important;max-width:460px!important;
  border-left:0!important;border-top:1px solid #d3dcd4!important;
  padding:11px 12px!important;align-items:center!important;
  text-align:center!important;
 }
}
@media(max-width:959px){
 body[data-route="/contacto/"] .contact-first .ek-contact-button--primary{
  min-height:52px!important;height:auto!important;
  padding:12px 19px!important;border-radius:999px!important;
 }
}


/* ATO-539 · Matched editorial sequence:
   About / Mi forma de trabajar follows the wide numbered / experience reference.
   Preserve every paragraph and the order of the original steps. */
@media(min-width:801px){
 body[data-route="/sobre-mi/"] .reading.prose .ek-hero-intro--editorial{
  position:relative!important;left:50%!important;transform:translateX(-50%)!important;
  width:min(1120px,calc(100vw - 64px))!important;max-width:none!important;
  margin:0!important;padding:44px 0 10px!important;
  border-top:0!important;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-head{
  max-width:none!important;margin:0 0 27px!important;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-title{
  font:400 clamp(30px,3.1vw,41px)/1.12 var(--ek-font-heading,Fraunces,Georgia,serif)!important;
  letter-spacing:-.028em!important;max-width:100%!important;text-wrap:balance;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-row{
  grid-template-columns:minmax(340px,.47fr) minmax(0,.53fr)!important;
  column-gap:clamp(28px,4vw,52px)!important;
  padding:28px 0 30px!important;
  align-items:start!important;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-label{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:10px!important;font:400 clamp(22px,2.2vw,29px)/1.18 var(--ek-font-heading,Fraunces,Georgia,serif)!important;
  letter-spacing:-.025em!important;color:var(--ek-ink)!important;max-width:none!important;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-number{
  font:400 11px/1.3 var(--ek-font-body,Inter,Arial,sans-serif)!important;
  letter-spacing:.045em!important;color:var(--ek-muted)!important;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-copy{
  max-width:none!important;padding-top:18px!important;
 }
}
/* Same wide editorial measure for the consultation experience's numbered
   narrative where that component exists, without restyling unrelated pages. */
@media(min-width:801px){
 body[data-route="/experiencia-ekonatura/"] .reading.prose .ek-observation-list{
  width:min(1120px,calc(100vw - 64px))!important;
  max-width:none!important;position:relative;left:50%;transform:translateX(-50%);
 }
}
@media(max-width:800px){
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial{
  width:100%!important;max-width:none!important;margin:0!important;
  padding:30px 0 8px!important;left:auto!important;transform:none!important;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-title{
  font:400 clamp(29px,7vw,37px)/1.13 var(--ek-font-heading,Fraunces,Georgia,serif)!important;
  letter-spacing:-.025em!important;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-row{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;padding:23px 0!important;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-label{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:6px!important;font:400 clamp(22px,5.5vw,27px)/1.18 var(--ek-font-heading,Fraunces,Georgia,serif)!important;
  letter-spacing:-.023em!important;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-number{
  font:400 11px/1.3 var(--ek-font-body,Inter,sans-serif)!important;color:var(--ek-muted)!important;
 }
 body[data-route="/sobre-mi/"] .ek-hero-intro--editorial .ek-intro-editorial-copy{
  max-width:none!important;padding:0!important;
 }
}
/* Home: real adjacent wayfinding cards, not two small links in an oversized rail. */
body[data-route="/"] main>.goal-paths{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:14px!important;
 width:min(1120px,calc(100% - 2*var(--ek-gutter,28px)))!important;
 max-width:100%!important;margin:18px auto 36px!important;
 padding:0!important;border:0!important;
}
body[data-route="/"] main>.goal-paths>a{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:space-between!important;
 width:100%!important;min-width:0!important;
 min-height:78px!important;height:auto!important;
 margin:0!important;padding:20px 24px!important;
 border:1px solid var(--ek-line,#d4d5c9)!important;
 border-radius:16px!important;
 background:var(--ek-white,#fcfbf7)!important;
 color:var(--ek-ink,#303b32)!important;
 font:500 clamp(16px,1.4vw,18px)/1.35 var(--ek-font-body,Inter,sans-serif)!important;
 text-decoration:none!important;box-sizing:border-box!important;
 transition:border-color .15s ease,background .15s ease!important;
}
body[data-route="/"] main>.goal-paths>a svg{
 flex:none!important;width:23px!important;height:23px!important;
 align-self:center!important;margin-left:15px!important;
 stroke-width:1.5!important;
}
body[data-route="/"] main>.goal-paths>a:is(:hover,:focus-visible){
 background:var(--ek-surface-alt,#e8e9df)!important;
 border-color:var(--ek-ink,#303b32)!important;
}
body[data-route="/"] main>.goal-paths>a:focus-visible{outline:2px solid var(--ek-ink)!important;outline-offset:3px!important}
@media(max-width:700px){
 body[data-route="/"] main>.goal-paths{
  gap:10px!important;width:calc(100% - 32px)!important;
  margin:14px auto 28px!important;
 }
 body[data-route="/"] main>.goal-paths>a{
  min-height:96px!important;padding:17px 16px!important;
  font-size:clamp(14px,3.8vw,16px)!important;gap:10px!important;
 }
 body[data-route="/"] main>.goal-paths>a svg{
  width:19px!important;height:19px!important;margin-left:auto!important;
 }
}
@media(max-width:370px){
 body[data-route="/"] main>.goal-paths{grid-template-columns:1fr!important}
 body[data-route="/"] main>.goal-paths>a{min-height:62px!important}
}
/* Review modal: contextual labels match the small typography of the About CV
   navigation. Only labels shrink; full text remains readable. */
.ek-review-dialog .ek-review-dialog-body .review-kicker,
.ek-review-dialog .ek-review-dialog-body .ek-exp-label,
.ek-sheet .ek-sheet-body .review-kicker,
.ek-sheet .ek-sheet-body .ek-exp-label{
 display:block!important;
 font:400 11px/1.4 var(--ek-font-body,Inter,Arial,sans-serif)!important;
 letter-spacing:.035em!important;text-transform:uppercase!important;
 color:var(--ek-muted,#687064)!important;
 margin:0 0 10px!important;
}
.ek-review-dialog .ek-review-dialog-body .owner-response .review-kicker{
 font-size:11px!important;letter-spacing:.035em!important;
}
@media(prefers-reduced-motion:reduce){
 body[data-route="/"] main>.goal-paths>a{transition:none!important}
}

/* ATO-539 · About photo hero must share the site's established white-on-photo
   header, and only the independent Detail page can change light/dark theme. */
body[data-route="/sobre-mi/"] .ek-header{
 margin-bottom:calc(-1 * var(--ek-header-h,100px))!important;
}
body[data-route="/sobre-mi/"] .ek-header:not(.is-pill) .ek-header-inner{
 background:transparent!important;border-color:transparent!important;
 color:#fff!important;box-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body[data-route="/sobre-mi/"] .ek-header:not(.is-pill) .brand img{
 filter:brightness(0) invert(1)!important;
}
body[data-route="/sobre-mi/"] .ek-header:not(.is-pill) :is(.button,.ek-search-open,.ek-menu,.ek-nav>a,.ek-explore>summary){
 color:#fff!important;border-color:#ffffff9c!important;
}
body[data-route="/sobre-mi/"] .ek-header:not(.is-pill) .ek-menu span{
 background:#fff!important;
}
body[data-route="/sobre-mi/"] .ek-header:not(.is-pill) .ek-nav a[aria-current="page"]::after,
body.home .ek-header:not(.is-pill) .ek-nav a[aria-current="page"]::after{
 background:#fff!important;
}
/* The route-specific header is over the photo only at the top. Keep the
   site's graphite compact menu after scroll, unchanged. */
body[data-route="/sobre-mi/"] .ek-header.is-pill{
 margin-bottom:calc(-1 * var(--ek-header-h,100px))!important;
}

/* Independent 3-link CV header: original navigation and toggle at marked end. */
body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:space-between!important;min-height:66px!important;
 padding:10px clamp(16px,2.2vw,30px)!important;gap:14px!important;
}
body[data-route="/sobre-mi/detalle/"] .ek-detail-nav-actions{
 display:flex;align-items:center;justify-content:flex-end;gap:14px;
 min-width:0;margin-left:auto;
}
body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top nav{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 flex-wrap:nowrap!important;justify-content:flex-end!important;gap:clamp(12px,2vw,27px)!important;
 width:auto!important;overflow:visible!important;
}
body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top nav a{
 display:inline-flex!important;align-items:center!important;min-height:44px!important;
 padding:8px 0!important;flex:none!important;
 font-size:11px!important;line-height:1.3!important;
 letter-spacing:0!important;font-weight:400!important;text-transform:uppercase!important;
}
body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top nav a:first-child{
 display:inline-flex!important;
}
body[data-route="/sobre-mi/detalle/"] .ek-detail-theme-toggle{
 display:grid!important;place-items:center!important;flex:0 0 44px!important;
 width:44px!important;height:44px!important;padding:10px!important;
 border-radius:50%!important;border:1px solid currentColor!important;
 background:transparent!important;color:inherit!important;cursor:pointer;
 opacity:.82;
}
body[data-route="/sobre-mi/detalle/"] .ek-detail-theme-toggle:hover{
 opacity:1;background:currentColor!important;
}
body[data-route="/sobre-mi/detalle/"] .ek-detail-theme-toggle svg{
 display:block;width:19px;height:19px;stroke:currentColor;
}
body[data-route="/sobre-mi/detalle/"] .ek-detail-theme-sun{display:none!important}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-detail-theme-sun{display:block!important}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-detail-theme-moon{display:none!important}
@media(max-width:700px){
 body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:center!important;gap:2px!important;padding:8px 14px!important;
 }
 body[data-route="/sobre-mi/detalle/"] .ek-detail-nav-actions{
  width:100%!important;margin:0!important;gap:8px!important;justify-content:space-between!important;
 }
 body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top nav{
  justify-content:flex-start!important;gap:clamp(8px,3vw,16px)!important;
  min-width:0!important;max-width:calc(100% - 50px)!important;
  overflow-x:auto!important;scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
 }
 body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top nav::-webkit-scrollbar{
  display:none!important;
 }
 body[data-route="/sobre-mi/detalle/"] .ek-personal-html .ek-personal-top nav a{
  font-size:clamp(9px,2.6vw,11px)!important;
 }
}
/* Separate, independently reversible graphite mode. Other routes stay original. */
body[data-route="/sobre-mi/detalle/"].ek-detail-dark{
 background:#202327!important;color:#eceeea!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html{
 background:#202327!important;color:#eceeea!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-top{
 background:#202327!important;color:#eceeea!important;
 border-bottom:1px solid #ffffff28!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html :is(h1,h2,h3,h4,p,small,li,figcaption,span,strong,a,.ek-personal-no,.ek-personal-teacher){
 color:#eceeea!important;-webkit-text-fill-color:#eceeea!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html :is(.ek-personal-eyebrow,.ek-personal-no,.ek-personal-teacher,.ek-personal-provenance,.ek-personal-story figcaption,.ek-personal-list small){
 color:#b5bab8!important;-webkit-text-fill-color:#b5bab8!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html :is(h1,h2) .ek-personal-title-muted{
 color:#c0c4c2!important;-webkit-text-fill-color:#c0c4c2!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html :is(.ek-personal-story,.ek-personal-chapter,.ek-personal-list article,.ek-personal-music,.ek-personal-social){
 border-color:#ffffff2b!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html :is(.ek-personal-back,.ek-personal-music-link){
 border-bottom-color:#ffffff90!important;color:#eceeea!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html :is(.ek-personal-category,.ek-personal-fixed-back){
 background:#2e3338!important;color:#eceeea!important;border-color:#ffffff60!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html :is(a,button):focus-visible{
 outline:2px solid #fff!important;outline-offset:4px!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html :is(a:hover,a:focus-visible){
 color:#fff!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-reading-indicator,
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-reading-menu{
 background:#202327!important;color:#f0f0ec!important;border-color:#ffffff25!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-reading-indicator :is(span,button,a),
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-reading-menu a{
 color:#f0f0ec!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-reading-track{background:#ffffff40!important}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-reading-progress{background:#fff!important}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html .ek-detail-theme-toggle{
 color:#f4f0e7!important;border-color:#ffffff80!important;
}
body[data-route="/sobre-mi/detalle/"].ek-detail-dark .ek-personal-html .ek-detail-theme-toggle:hover{
 background:#ffffff18!important;
}
/* Keep the existing consultation CTA, now between two editorial blocks. */
body[data-route="/sobre-mi/"] .ek-personal-contact{
 margin:clamp(20px,3vw,44px) auto clamp(35px,5vw,64px)!important;
 width:min(1120px,100%)!important;box-sizing:border-box;
}
/* Review arrows: remove their decorative circles, not the 44px hit area. */
body.ek-integrated .home-experience :is(.ek-reviews-previous,.ek-reviews-next){
 border:0!important;border-radius:0!important;background:transparent!important;
 box-shadow:none!important;min-width:48px!important;min-height:48px!important;
}
body.ek-integrated .home-experience :is(.ek-reviews-previous,.ek-reviews-next):hover{
 background:transparent!important;opacity:.75!important;
}
body.ek-integrated .home-experience :is(.ek-reviews-previous,.ek-reviews-next):focus-visible{
 outline:2px solid #fff!important;outline-offset:2px!important;
}
/* Google white wordmark from supplied asset; subtle on the graphite review.
   Never remove original review source links or accessible text. */
body.ek-integrated .ek-review-google-source{
 display:inline-flex!important;align-items:center;justify-content:flex-end;
 flex-wrap:wrap;gap:7px!important;white-space:normal!important;
 font:400 11px/1.4 var(--ek-font-body,Inter,Arial,sans-serif)!important;
 letter-spacing:0!important;text-transform:none!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.ek-integrated .ek-review-google-source .ek-review-google-name{
 font-weight:400!important;color:inherit!important;
}
body.ek-integrated .ek-review-google-source .ek-review-google-wordmark{
 display:inline-block!important;width:49px!important;height:17px!important;
 object-fit:contain!important;max-width:none!important;opacity:.88!important;
 vertical-align:middle!important;
}
body.ek-integrated .ek-review-entry .ek-review-google-source,
body.ek-integrated :is(.review-list-item,.ek-exp-item) .ek-review-google-source{
 background:#232729!important;border-radius:7px!important;
 padding:3px 6px!important;
}

/* Use the same restrained graphite on individual article review cards. */
body.ek-integrated .ek-review-card.review{
 background:#232729!important;border-color:#ffffff36!important;
 box-shadow:none!important;
}
body.ek-integrated .ek-review-card.review::before{
 background:none!important;content:none!important;display:none!important;
}
body[data-route="/sobre-mi/detalle/"] .ek-detail-theme-toggle:hover{
 background:#1414140d!important;
}

/* ATO-539 closeout: the original three Experience cards in one accessible rail.
   Two at a time on desktop, one plus next-card peek on touch. */
body[data-route="/experiencia-ekonatura/"] .related>ul.ek-experience-rail{
 display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;
 width:100%!important;min-width:0!important;gap:16px!important;
 overflow-x:auto!important;overflow-y:hidden!important;
 scroll-snap-type:x mandatory!important;overscroll-behavior-x:contain;
 scrollbar-width:none!important;padding:0 0 4px!important;
}
body[data-route="/experiencia-ekonatura/"] .ek-experience-rail::-webkit-scrollbar{display:none}
body[data-route="/experiencia-ekonatura/"] .ek-experience-rail>li{
 flex:0 0 calc((100% - 16px)/2)!important;width:calc((100% - 16px)/2)!important;
 min-width:0!important;max-width:none!important;box-sizing:border-box!important;
 scroll-snap-align:start!important;
}
body[data-route="/experiencia-ekonatura/"] .ek-experience-rail>li>a{
 display:block!important;height:300px!important;min-height:300px!important;
 max-height:300px!important;box-sizing:border-box!important;
}
body[data-route="/experiencia-ekonatura/"] .ek-experience-dots{
 display:flex!important;justify-content:center!important;align-items:center!important;
 gap:2px!important;margin:10px auto 20px!important;min-height:34px!important;
}
@media(max-width:900px){
 body[data-route="/experiencia-ekonatura/"] .ek-experience-rail>li{
  flex:0 0 calc(100% - 30px)!important;width:calc(100% - 30px)!important;
 }
 body[data-route="/experiencia-ekonatura/"] .ek-experience-rail>li>a{
  height:clamp(290px,76vw,370px)!important;max-height:370px!important;
 }
}
/* Wider touch targets without oversized dots. Shared visual cue on Home. */
body.ek-integrated:is([data-route="/"],[data-route="/experiencia-ekonatura/"]) .ek-f2-dots button{
 display:grid!important;place-items:center!important;flex:0 0 34px!important;
 width:34px!important;height:34px!important;min-width:34px!important;
 min-height:34px!important;padding:0!important;border:0!important;
 background:transparent!important;box-shadow:none!important;
 cursor:pointer!important;
}
body.ek-integrated:is([data-route="/"],[data-route="/experiencia-ekonatura/"]) .ek-f2-dots button::before{
 content:"";display:block;width:9px;height:9px;border-radius:50%;
 background:#979d91;transition:background .15s,transform .15s;
}
body.ek-integrated:is([data-route="/"],[data-route="/experiencia-ekonatura/"]) .ek-f2-dots button[aria-current="true"]::before{
 background:var(--ek-ink,#303b32);transform:scale(1.25);
}
body.ek-integrated:is([data-route="/"],[data-route="/experiencia-ekonatura/"]) .ek-f2-dots button:focus-visible{
 outline:2px solid var(--ek-ink,#303b32)!important;outline-offset:2px;
}
body[data-route="/resenas/"] .ek-exp-source.ek-review-google-source{
 display:inline-flex!important;align-items:center!important;
 gap:7px!important;color:#f4f0e7!important;
 background:#232729!important;border-radius:6px!important;padding:3px 7px!important;
 font-weight:400!important;font-size:11px!important;text-transform:none!important;
}


/* ATO-539 follow-up 20261101: concise review listing.
   The provider appears once above the stars, never on each quote. */
body[data-route="/resenas/"] .ek-reviews-platform{
 display:flex;align-items:center;gap:8px;
 width:fit-content;max-width:100%;margin:18px 0 8px;
 font:400 12px/1.4 var(--ek-font-body,Inter,Arial,sans-serif);
 color:var(--ek-muted,#687064);
}
body[data-route="/resenas/"] .ek-reviews-platform-badge{
 display:inline-flex;align-items:center;justify-content:center;
 background:#232729;border-radius:6px;padding:3px 7px;
}
body[data-route="/resenas/"] .ek-reviews-platform-badge img{
 display:block;width:49px;height:17px;object-fit:contain;
}
body[data-route="/resenas/"] .ek-reviews-rating{
 display:flex;align-items:center;gap:0!important;
}
/* A brief preview is sufficient; the full words remain in "Leer completa". */
body.ek-integrated[data-route="/resenas/"] .ek-review-entry .ek-exp-quote{
 display:-webkit-box!important;
 -webkit-box-orient:vertical!important;
 -webkit-line-clamp:2!important;
 line-clamp:2!important;
 overflow:hidden!important;
 max-height:none!important;
}
/* Problems mobile photo tiles: two descriptive lines, never a dangling third. */
@media(max-width:900px){
 body.ek-integrated[data-route="/problemas/"] .ek-f2-rail>.ek-ed-card .ek-ed-card-desc{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2!important;
  overflow:hidden!important;
  max-height:2.9em!important;
 }
}

/* ATO-539 final mobile review: one full-width Home action per row. */
@media(max-width:700px){
 body.ek-integrated[data-route="/"] main>.goal-paths{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;width:calc(100% - 32px)!important;
  margin:18px auto 38px!important;
 }
 body.ek-integrated[data-route="/"] main>.goal-paths>a{
  width:100%!important;min-height:74px!important;
  padding:18px 20px!important;font-size:clamp(16px,4vw,18px)!important;
 }
}
/* About biography card: graphite, breathing room, responsive natural height. */
body.profile[data-route="/sobre-mi/"] .ek-about-banner{
 background:#232729!important;background-color:#232729!important;
}
@media(max-width:760px){
 body.profile[data-route="/sobre-mi/"] .ek-about-banner{
  background:#232729!important;min-height:0!important;height:auto!important;
  padding:clamp(27px,6vw,38px)!important;gap:30px!important;
  align-items:stretch!important;
 }
 body.profile[data-route="/sobre-mi/"] .ek-about-banner-copy{
  width:100%!important;max-width:none!important;
 }
 body.profile[data-route="/sobre-mi/"] .ek-about-banner-label{margin:0 0 26px!important}
 body.profile[data-route="/sobre-mi/"] .ek-about-banner h2{
  margin:0 0 30px!important;line-height:1.12!important;
 }
 body.profile[data-route="/sobre-mi/"] .ek-about-banner-copy>p:not(.ek-about-banner-label){
  margin:0 0 34px!important;line-height:1.58!important;
  font-size:clamp(16px,4vw,18px)!important;
 }
 body.profile[data-route="/sobre-mi/"] .ek-about-banner-photo,
 body.profile[data-route="/sobre-mi/"] .ek-about-banner-copy>.ek-about-banner-photo{
  margin:12px 0 34px!important;width:100%!important;
  max-width:100%!important;
 }
 body.profile[data-route="/sobre-mi/"] .ek-about-banner-copy>.ek-about-chapters{
  margin:22px 0 0!important;
 }
 body.profile[data-route="/sobre-mi/"] .ek-about-banner-copy>.ek-about-chapters>summary{
  min-height:48px!important;line-height:1.45!important;
 }
 body.profile[data-route="/sobre-mi/"] .ek-about-banner-copy>a[href="/sobre-mi/detalle/"]{
  margin:27px 0 0!important;min-height:44px!important;line-height:1.45!important;
 }
}
/* Reviews: compact flow without changing source links or reviews. */
@media(max-width:700px){
 body[data-route="/resenas/"] .catalog-intro{margin-bottom:12px!important;padding-bottom:6px!important}
 body[data-route="/resenas/"] .ek-reviews-platform{
  margin:12px 0 5px!important;gap:8px!important;
 }
 body[data-route="/resenas/"] .ek-reviews-tools{
  margin:6px 0 12px!important;padding:0!important;
 }
 body[data-route="/resenas/"] .ek-reviews-rating{
  margin:0!important;padding:0!important;line-height:1.2!important;
 }
 body[data-route="/resenas/"] .ek-reviews-filter{
  margin:12px 0 8px!important;padding:0 0 5px!important;
 }
 body[data-route="/resenas/"] .ek-reviews-count{
  margin:4px 0 8px!important;
 }
}

/* ATO-539 final visual closeout. All surfaces and actions use the published tokens. */
body[data-route="/contacto/"] .contact-first{
 background:var(--ek-surface-alt)!important;color:var(--ek-ink)!important;
}
body[data-route="/contacto/"] .contact-first .ek-contact-button--primary,
body[data-route="/contacto/"] .ek-contact-toast{
 background:var(--ek-ink)!important;color:var(--ek-white)!important;
 border-color:var(--ek-ink)!important;
}
body[data-route="/contacto/"] .contact-first .ek-contact-button--secondary{
 background:transparent!important;color:var(--ek-ink)!important;
 border-color:var(--ek-ink)!important;
}
body[data-route="/contacto/"] .contact-first :is(.ek-contact-phone,.ek-contact-save,.ek-copy-phone){
 color:var(--ek-ink)!important;
}
body[data-route="/contacto/"] .contact-first :is(.ek-copy-phone,.ek-contact-save){
 border-color:var(--ek-line)!important;
}
body[data-route="/contacto/"] .contact-first .ek-copy-phone{
 background:transparent!important;
}
body[data-route="/contacto/"] .contact-first .ek-copy-phone:is(:hover,:focus-visible){
 background:var(--ek-paper)!important;
}
.ek-stories .ek-stories-bar{background:var(--ek-line)!important}
.ek-stories .ek-stories-bar.is-done{background:var(--ek-muted)!important}
.ek-stories .ek-stories-bar.is-current,
.ek-stories .ek-stories-stars{color:var(--ek-coral)!important;background-color:var(--ek-coral)}
.ek-stories .ek-stories-stars{background-color:transparent}
.ek-stories .ek-stories-eyebrow{color:var(--ek-ink)!important}
.ek-stories .ek-stories-reply-sheet{
 background:var(--ek-white)!important;color:var(--ek-ink)!important;
}
.ek-stories .ek-stories-reply-head{border-bottom-color:var(--ek-line)!important}
.ek-stories .ek-stories-reply-head .ek-stories-reply-label{
 color:var(--ek-ink)!important;font-weight:var(--ek-fw-body,400)!important;
 letter-spacing:normal!important;text-transform:none!important;
 font-size:var(--ek-fs-ui)!important;line-height:var(--ek-lh-compact)!important;
}
/* Single compact review summary, with the original Google wordmark. */
body.ek-integrated[data-route="/resenas/"] .ek-reviews-tools{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 flex-wrap:wrap!important;gap:10px 14px!important;
 margin:8px 0 12px!important;padding:10px 0!important;
 border-block:1px solid var(--ek-line)!important;
}
body.ek-integrated[data-route="/resenas/"] .ek-reviews-rating{
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;
 gap:5px 8px!important;width:auto!important;min-width:0!important;
 font:var(--ek-fw-body) var(--ek-fs-ui)/var(--ek-lh-compact) var(--ek-font-body)!important;
}
body.ek-integrated[data-route="/resenas/"] .ek-reviews-rating .stars{
 color:var(--ek-coral)!important;white-space:nowrap!important;
 letter-spacing:.075em!important;
}
body.ek-integrated[data-route="/resenas/"] .ek-reviews-rating strong{
 font:var(--ek-fw-heading-inter) var(--ek-fs-h3)/1 var(--ek-font-body)!important;
 color:var(--ek-ink)!important;
}
body.ek-integrated[data-route="/resenas/"] .ek-reviews-rating-label{
 color:var(--ek-muted)!important;
}
body.ek-integrated[data-route="/resenas/"] .ek-reviews-rating-logo{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 background:var(--ek-graphite)!important;border-radius:5px!important;
 padding:3px 5px!important;flex:none!important;
}
body.ek-integrated[data-route="/resenas/"] .ek-reviews-rating-logo img{
 display:block!important;width:45px!important;height:auto!important;object-fit:contain!important;
}
body.ek-integrated[data-route="/resenas/"] .ek-reviews-filter{
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;
 overflow-x:visible!important;overflow-y:visible!important;
 scroll-snap-type:none!important;overscroll-behavior:auto!important;
 white-space:normal!important;width:100%!important;max-width:100%!important;
 gap:8px!important;margin:8px 0 5px!important;padding:0!important;
}
body.ek-integrated[data-route="/resenas/"] .ek-reviews-filter .chip{
 flex:0 0 auto!important;white-space:nowrap!important;scroll-snap-align:none!important;
}
body.ek-integrated[data-route="/resenas/"] .ek-reviews-count{
 margin:5px 0 12px!important;
}
@media(max-width:700px){
 body.ek-integrated[data-route="/resenas/"] .ek-reviews-tools .ek-stories-open{
  flex:0 0 auto!important;
 }
 body.ek-integrated[data-route="/resenas/"] .ek-reviews-rating{
  flex:1 1 200px!important;
 }
 body.ek-integrated[data-route="/resenas/"] .ek-reviews-filter{
  margin-top:8px!important;
 }
}

/* ATO-539: same mobile editorial measure as the Experience layout. */
@media(max-width:800px){
 body.profile[data-route="/sobre-mi/"] .reading.prose{
  width:calc(100% - 24px)!important;max-width:760px!important;margin-inline:auto!important;
 }
 body.profile[data-route="/sobre-mi/"] .reading .ek-hero-intro{
  width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;
 }
 body.profile[data-route="/sobre-mi/"] .ek-intro-editorial-head{max-width:none!important;margin-bottom:28px!important}
 body.profile[data-route="/sobre-mi/"] .ek-intro-editorial-title{
  font:var(--ek-fw-heading) var(--ek-fs-h2)/var(--ek-lh-heading) var(--ek-font-heading)!important;
 }
 body.profile[data-route="/sobre-mi/"] .ek-intro-editorial-row{
  width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;padding:26px 0!important;
 }
 body.profile[data-route="/sobre-mi/"] .ek-intro-editorial-copy{max-width:none!important;width:100%!important}
 body.profile[data-route="/sobre-mi/"] .ek-intro-editorial-copy p{
  font-size:var(--ek-fs-body)!important;line-height:var(--ek-lh-body)!important;
 }
}

/* Ekonatura: approved professional profile within existing editorial layout. */
body.profile[data-route="/sobre-mi/"] .ek-intro-editorial-context{
 display:grid;gap:14px;max-width:min(100%,760px);
 margin:0 0 clamp(28px,4vw,42px);color:var(--ek-ink);
}
body.profile[data-route="/sobre-mi/"] .ek-intro-editorial-context p{
 margin:0!important;font:var(--ek-fw-body) var(--ek-fs-body)/var(--ek-lh-body) var(--ek-font-body)!important;
}
body[data-route="/sobre-mi/detalle/"] #formacion>div:nth-child(2)>p+p{
 margin-top:16px;
}
