/* CUESTA V2 review pass 2 · 2026-10-01
   Fine tuning from user review. Loads last. */

/* Accessibility polish */
.eyebrow{color:#147a70}
.final-cta .eyebrow{color:#1d4b45!important}

.brand__era{color:#66736f!important;font-size:10px!important;font-weight:700!important}
.brand--footer .brand__era{color:#91a19b!important}
.section-heading h2 span{color:#7f8c88!important}
.need-card--forest p,.need-card--forest b{color:#172622!important;opacity:1!important}

/* HOME intent chips behave as suggestions, not navigation */
.intent-chips button,
.intent-chips a{
  appearance:none;
  border:1px solid rgba(46,59,58,.16);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:#2e3b3a;
  padding:7px 11px;
  font:700 12px/1.2 "DM Sans",sans-serif;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  white-space:nowrap;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
@media(min-width:981px){
  .intent-chips button,.intent-chips a{width:100%}
}
.intent-chips button:hover,
.intent-chips a:hover{
  border-color:#4f8b7d;
  background:#fff;
  transform:translateY(-1px);
}

/* HOME trust strip: dark version with more separation and a visible upward reveal */
.trust-band{
  margin-top:46px!important;
  background:#263835!important;
  border-color:#263835!important;
  color:#fff!important;
  box-shadow:0 20px 54px rgba(27,45,40,.14)!important;
}
.trust-band>div+div{border-left-color:rgba(255,255,255,.12)!important}
.trust-band strong{color:#fff!important}
.trust-band span:not(.trust-icon){color:rgba(255,255,255,.68)!important}
.trust-band .trust-icon{
  border-color:rgba(255,255,255,.14)!important;
  background:rgba(255,255,255,.07)!important;
}
.trust-band .trust-icon svg{stroke:#82d8c8!important}
.trust-band.reveal-on-scroll{
  transform:translateY(38px)!important;
}
.trust-band.reveal-on-scroll.is-visible{
  transform:translateY(0)!important;
}

/* HOME cards: restore the cleaner edited inheritance image */
.need-card--dark{
  background-image:
    linear-gradient(rgba(46,59,58,.87),rgba(46,59,58,.95)),
    url("/wp-content/uploads/2026/10/CUESTA-herencias-consulta-luminosa-optimizada.png")!important;
}

/* Interior service banners: one continuous rounded image treatment */
.page-hero{
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
  border-radius:30px!important;
  background:transparent!important;
  box-shadow:0 22px 62px rgba(31,49,44,.10)!important;
}
.page-hero:before,
.page-hero:after{
  inset:0!important;
  border-radius:30px!important;
  clip-path:inset(0 round 30px)!important;
}
.page-hero:before{
  transform:none!important;
  filter:saturate(.78) contrast(1.03) brightness(.98)!important;
}
.page-hero--gestoria:after,
.page-hero--advisory:after{
  background:linear-gradient(92deg,rgba(224,242,236,.94) 0%,rgba(224,242,236,.87) 43%,rgba(224,242,236,.62) 72%,rgba(224,242,236,.44) 100%)!important;
}
.page-hero--herencias:after,
.page-hero--inheritance:after{
  background:linear-gradient(92deg,rgba(36,52,48,.91) 0%,rgba(36,52,48,.82) 43%,rgba(36,52,48,.56) 72%,rgba(36,52,48,.38) 100%)!important;
}
.page-hero--seguros:after,
.page-hero--insurance:after{
  background:linear-gradient(92deg,rgba(244,237,223,.95) 0%,rgba(244,237,223,.88) 43%,rgba(244,237,223,.62) 72%,rgba(244,237,223,.44) 100%)!important;
}
.page-hero__glassmark{
  box-shadow:0 24px 62px rgba(35,58,53,.18),inset 0 1px 0 rgba(255,255,255,.78)!important;
}

/* Full-bleed situations strip, integrated without clipped shadows */
.service-cases{
  width:100vw!important;
  margin:82px calc(50% - 50vw) 8px!important;
  padding:54px max(24px,calc((100vw - 980px)/2)) 44px!important;
  border-top:0!important;
  background:#f1f5f3!important;
}
.service-case{
  box-shadow:none!important;
  border-color:rgba(46,59,58,.08)!important;
  background:rgba(255,255,255,.84)!important;
}
.service-cases__track{
  padding-bottom:2px!important;
}

/* Insurance service icon: neutral wheel instead of a literal car */
.entry-v2--seguros .wp-block-columns>.wp-block-column:nth-child(2),
.entry-v2--insurance .wp-block-columns>.wp-block-column:nth-child(2){
  --cu-card-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M12 4v5M12 15v5M4 12h5M15 12h5M6.3 6.3l3.5 3.5M14.2 14.2l3.5 3.5M17.7 6.3l-3.5 3.5M9.8 14.2l-3.5 3.5' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E")!important;
}

/* Insurer logos: canonical SVG theme assets supplied by the user */
.insurer-logo-chip{
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-color:#fff!important;
  background-size:76% auto!important;
  border:1px solid rgba(46,59,58,.07);
}
.insurer-logo-chip--allianz{background-image:url("insurers/allianz.svg")!important}
.insurer-logo-chip--axa{background-image:url("insurers/axa.svg")!important;background-size:72% auto!important}
.insurer-logo-chip--sanitas{background-image:url("insurers/sanitas.svg")!important}
.insurer-logo-chip--mapfre{background-image:url("insurers/mapfre.svg")!important}
.insurer-logo-chip--occident{background-image:url("insurers/occident.svg")!important}
.insurer-logo-chip--reale{background-image:url("insurers/reale.svg")!important}
.insurer-logo-chip--dkv{background-image:url("insurers/dkv.svg")!important}
.insurer-logo-chip--pelayo{background-image:url("insurers/pelayo.svg")!important}
.insurer-logo-chip--patria{background-image:url("insurers/patria.svg")!important;background-size:64% auto!important}

.insurer-logo-chip{
  background-image:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:14px 16px!important;
}
.insurer-logo-chip img{
  display:block;
  width:100%;
  height:100%;
  max-width:86%;
  max-height:72%;
  object-fit:contain;
}
.insurer-logo-chip--axa img{max-width:68%;max-height:74%}
.insurer-logo-chip--patria img{max-width:72%;max-height:74%}

/* INTERNATIONAL service principles */
.int-trust-band>div{
  grid-template-rows:minmax(22px,auto) minmax(38px,auto)!important;
}
.int-trust-band strong{
  min-height:22px;
  font-size:15px!important;
  white-space:nowrap;
}
.int-trust-band>div>span:last-child{
  min-height:38px;
  display:flex;
  align-items:flex-start;
}
@media(max-width:980px){
  .int-trust-band strong{white-space:normal}
}

/* GVO title hierarchy */
.gvo-band__copy strong{
  font-size:clamp(24px,2.2vw,32px)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
}
.gvo-band__copy>span{
  margin-top:10px!important;
  font-size:14px!important;
  line-height:1.5!important;
}

/* International service cards: quieter numbering */
.int-service-card__number{
  top:22px!important;
  right:24px!important;
  font-size:54px!important;
  opacity:.075!important;
}
.int-service-card--light .int-service-card__number{
  color:rgba(255,255,255,.92)!important;
  opacity:1!important;
  text-shadow:0 1px 0 rgba(255,255,255,.4);
}

/* International insurers: same visual importance as Insurance page */
.int-insurers{
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)!important;
  gap:52px!important;
  align-items:center!important;
}
.int-insurers__copy h3{
  font-size:clamp(38px,4vw,54px)!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
}
.int-insurers__copy p{
  font-size:18px!important;
  line-height:1.7!important;
}

/* International common situations: white, neutral and more editorial */
.int-topics-wrap{
  position:relative;
  width:min(calc(100% - 48px),1220px);
  margin:82px auto 96px;
  padding:52px;
  border:1px solid rgba(46,59,58,.08);
  border-radius:28px;
  background:#f5f7f6;
  overflow:hidden;
}
.int-topics-heading{
  position:relative;
  z-index:2;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:28px;
}
.int-topics-heading h2{
  max-width:760px;
  margin:10px 0 0;
  font-size:clamp(36px,4vw,54px);
  line-height:1.04;
  letter-spacing:-.045em;
}
.int-topics-mark{
  flex:0 0 auto;
  width:94px;height:94px;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.8);
  border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.68),rgba(255,255,255,.26));
  box-shadow:0 18px 44px rgba(42,63,57,.10),inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter:blur(16px);
}
.int-topics-mark img{width:48px;height:48px}
.int-topics-wrap .int-topics{
  width:100%!important;
  margin:0!important;
  gap:16px!important;
}
.int-topics-wrap .int-topic,
.int-topic--tax,
.int-topic--remote,
.int-topic--residence,
.int-topic--health{
  min-height:0!important;
  padding:30px!important;
  border:1px solid rgba(46,59,58,.08)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.int-topic__top{
  justify-content:flex-start!important;
  margin-bottom:20px!important;
}
.int-topic>strong{
  font-size:22px!important;
  margin-bottom:12px!important;
}
.int-topic>p{
  font-size:16px!important;
  line-height:1.68!important;
}
.int-topic__number{display:none!important}

/* Form select should clearly read as an action field */
.cuesta-contact-form select,
.cuesta-form select{
  border:1px solid rgba(46,59,58,.24)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);
}

/* AUDIT: controls must look interactive */
.audit-tabs--compare>.audit-tabs__nav{
  display:grid!important;
  grid-template-columns:1fr 1fr;
  width:min(100%,520px);
  gap:0!important;
  padding:4px;
  border:1px solid rgba(46,59,58,.14);
  border-radius:14px;
  background:#e8edeb;
}
.audit-tabs--compare>.audit-tabs__nav button{
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#61716c!important;
  box-shadow:none!important;
}
.audit-tabs--compare>.audit-tabs__nav button[aria-selected="true"]{
  background:#fff!important;
  color:#263835!important;
  box-shadow:0 2px 10px rgba(31,49,44,.11)!important;
}
.audit-tabs--diagnosis>.audit-tabs__nav{
  display:flex!important;
  gap:0!important;
  border-bottom:1px solid rgba(46,59,58,.15);
}
.audit-tabs--diagnosis>.audit-tabs__nav button{
  position:relative;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding:12px 18px 14px!important;
  color:#70807a!important;
}
.audit-tabs--diagnosis>.audit-tabs__nav button[aria-selected="true"]{
  color:#263835!important;
  background:transparent!important;
}
.audit-tabs--diagnosis>.audit-tabs__nav button[aria-selected="true"]:after{
  content:"";
  position:absolute;
  left:14px;right:14px;bottom:-1px;
  height:3px;
  border-radius:3px 3px 0 0;
  background:#2f8c71;
}
.audit-speed-zone{
  margin:0 28px 28px;
  padding:22px 24px 18px;
  border-radius:16px;
  background:#f7f8f7;
  border:1px solid rgba(46,59,58,.07);
}
.audit-speed-actions{
  margin:0!important;
}
.audit-speed-actions span{
  color:#75827e;
  font-size:12px;
  line-height:1.35;
}
.audit-speed-bars{
  margin-top:18px!important;
}
.audit-speed-bar__fill{
  transition-timing-function:linear!important;
}
.audit-data-note{
  margin:13px 0 0!important;
  font-size:12px!important;
  line-height:1.45!important;
}
.audit-diagnostic-card .audit-compact-table{
  margin-top:14px;
}
.audit-diagnostic-card .audit-compact-table th{
  width:34%;
  color:#74817d;
}
.audit-diagnostic-card .audit-compact-table td{
  color:#344943;
}

/* Phase 3 / CUESTA Intelligence */
.audit-phase3{
  display:grid!important;
  grid-template-columns:150px 1fr;
  gap:34px;
  align-items:center;
  margin-top:34px!important;
  padding:38px!important;
  border:1px solid rgba(62,141,121,.16)!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#e6f4ef 0%,#f7f3e8 100%)!important;
  box-shadow:0 22px 58px rgba(31,56,49,.08);
}
.audit-phase3__icon{
  position:relative;
  width:138px;height:138px;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.78);
  border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(255,255,255,.30));
  box-shadow:0 20px 46px rgba(31,56,49,.10),inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter:blur(18px);
}
.audit-phase3__icon img{
  width:76px;
  height:76px;
  display:block;
  object-fit:contain;
}
.audit-phase3__copy h3{
  margin:8px 0 12px!important;
  font-size:clamp(28px,3vw,40px)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
.audit-phase3__copy p{
  max-width:850px;
}
.audit-phase3__benefits{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:20px;
}
.audit-phase3__benefits span{
  padding:8px 11px;
  border:1px solid rgba(46,59,58,.09);
  border-radius:999px;
  background:rgba(255,255,255,.68);
  color:#48605a;
  font-size:12px;
  font-weight:750;
}

@media(max-width:900px){
  .service-cases{
    padding-left:24px!important;
    padding-right:24px!important;
  }
  .int-insurers{grid-template-columns:1fr!important;gap:28px!important}
  .int-topics-wrap{width:calc(100% - 28px);padding:30px 22px}
  .int-topics-heading{align-items:flex-start}
  .int-topics-mark{width:74px;height:74px;border-radius:20px}
  .int-topics-mark img{width:38px;height:38px}
  .audit-phase3{grid-template-columns:1fr!important}
  .audit-phase3__icon{
    width:112px!important;
    height:112px!important;
    min-width:112px;
    aspect-ratio:1 / 1;
    place-self:start;
  }
}
@media(max-width:620px){
  .audit-tabs--diagnosis>.audit-tabs__nav{
    overflow-x:auto;
    scrollbar-width:none;
  }
  .audit-tabs--diagnosis>.audit-tabs__nav button{white-space:nowrap}
  .audit-speed-zone{margin:0 14px 18px;padding:18px 14px}
  .int-topics-heading{display:block}
  .int-topics-mark{margin-top:18px}
}
