/* CUESTA V2 review pass 3 · 2026-10-01
   Final visual refinements from user review. */

/* HOME: suggestion chips should read as quiet prompts, not competing CTAs. */
.intent-chips button,
.intent-chips a{
  background:rgba(255,255,255,.34)!important;
  border-color:rgba(46,59,58,.10)!important;
  color:#66736f!important;
  font-weight:600!important;
  box-shadow:none!important;
  opacity:.88;
}
.intent-chips button:hover,
.intent-chips a:hover{
  background:rgba(255,255,255,.66)!important;
  border-color:rgba(46,59,58,.18)!important;
  color:#334943!important;
  opacity:1;
  transform:translateY(-1px);
}

/* Interior heroes: same darker photographic treatment as Herencias. */
.page-hero--gestoria:after,
.page-hero--advisory:after,
.page-hero--seguros:after,
.page-hero--insurance:after,
.page-hero--nosotros:after,
.page-hero--about:after{
  background:linear-gradient(92deg,rgba(31,47,43,.92) 0%,rgba(31,47,43,.84) 43%,rgba(31,47,43,.58) 72%,rgba(31,47,43,.38) 100%)!important;
}
.page-hero--gestoria,
.page-hero--advisory,
.page-hero--seguros,
.page-hero--insurance,
.page-hero--nosotros,
.page-hero--about{
  color:#fff!important;
}
.page-hero--gestoria p,
.page-hero--advisory p,
.page-hero--seguros p,
.page-hero--insurance p,
.page-hero--nosotros p,
.page-hero--about p{
  color:#e0e9e6!important;
}
.page-hero--gestoria .eyebrow,
.page-hero--advisory .eyebrow,
.page-hero--seguros .eyebrow,
.page-hero--insurance .eyebrow,
.page-hero--nosotros .eyebrow,
.page-hero--about .eyebrow{
  color:#fff!important;
  background:rgba(255,255,255,.12)!important;
  border-color:rgba(255,255,255,.30)!important;
}

/* Insurer cloud: compact two-row composition, with one intentional empty chip. */
.insurer-chip-cloud{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px 12px!important;
  width:min(100%,760px)!important;
  min-height:0!important;
  margin:22px auto 0!important;
  padding:0 0 42px!important;
  align-items:stretch!important;
}
.insurer-logo-chip,
.insurer-chip-cloud__ghost{
  position:relative!important;
  inset:auto!important;
  width:auto!important;
  height:66px!important;
  aspect-ratio:auto!important;
  border-radius:16px!important;
}
.insurer-logo-chip{
  padding:11px 13px!important;
  box-shadow:0 10px 24px rgba(39,56,51,.075)!important;
}
.insurer-logo-chip img{
  max-width:84%!important;
  max-height:68%!important;
}
.insurer-logo-chip--axa img{max-width:58%!important;max-height:72%!important}
.insurer-logo-chip--patria img{max-width:66%!important;max-height:70%!important}
.insurer-chip-cloud__ghost--left{
  display:block!important;
  order:10!important;
  background:rgba(255,255,255,.58)!important;
  border:1px solid rgba(46,59,58,.055)!important;
  box-shadow:0 10px 24px rgba(39,56,51,.045)!important;
  opacity:.72!important;
}
.insurer-chip-cloud__ghost--right{display:none!important}
.insurer-chip-cloud__count{
  left:50%!important;
  bottom:0!important;
  top:auto!important;
}
@media(max-width:760px){
  .insurer-chip-cloud{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:9px!important;
    padding-bottom:40px!important;
  }
  .insurer-logo-chip,
  .insurer-chip-cloud__ghost{height:58px!important}
}

/* International / GVO: make the proposition clearly readable. */
.gvo-band__copy strong{
  font-size:clamp(30px,2.75vw,40px)!important;
  line-height:1.04!important;
  letter-spacing:-.04em!important;
}
@media(max-width:820px){
  .gvo-band__copy strong{font-size:30px!important}
}
@media(max-width:560px){
  .gvo-band__copy strong{font-size:27px!important}
}

/* Audit diagnostic tables: label/value columns at the same visual scale. */
.audit-diagnostic-card .audit-compact-table th,
.audit-diagnostic-card .audit-compact-table td{
  padding:12px 10px!important;
  font-size:14px!important;
  line-height:1.45!important;
}
.audit-diagnostic-card .audit-compact-table th{
  width:40%!important;
  color:#53645f!important;
  font-weight:800!important;
}
.audit-diagnostic-card .audit-compact-table td{
  color:#344943!important;
  font-weight:500!important;
}
.audit-diagnostic-card .audit-compact-table td strong{
  font-weight:750!important;
}

/* Audit pending questions: check-card treatment and a clearly contrasted reply panel. */
.audit-pending{
  background:#f4f6f3!important;
  border-color:rgba(46,59,58,.08)!important;
  padding:34px!important;
}
.audit-pending-grid{
  list-style:none!important;
  padding:0!important;
  gap:12px!important;
  counter-reset:none!important;
}
.audit-pending-grid li{
  position:relative;
  margin:0!important;
  padding:16px 16px 16px 52px!important;
  border:1px solid rgba(46,59,58,.08);
  border-radius:15px;
  background:#fff;
  color:#566661;
  line-height:1.52;
  box-shadow:0 8px 22px rgba(39,56,51,.035);
}
.audit-pending-grid li:before{
  content:"✓";
  position:absolute;
  left:16px;
  top:15px;
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#dff1eb;
  color:#24745f;
  font-size:13px;
  font-weight:900;
}
.audit-pending-grid li strong{
  display:block;
  margin-bottom:3px;
  color:#263835;
}
.audit-question-mail{
  margin-top:22px!important;
  padding:20px 22px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:17px!important;
  background:#263835!important;
  color:#fff!important;
  box-shadow:0 14px 34px rgba(31,49,44,.10);
}
.audit-question-mail strong{color:#fff!important}
.audit-question-mail span{color:#cfddd8!important}
.audit-question-mail a{
  background:#70cbbb!important;
  color:#183f38!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
}
.audit-question-mail a span{
  display:inline!important;
  margin:0!important;
  color:inherit!important;
  font:inherit!important;
  line-height:1!important;
}

/* Final two adjustments before publishing */
.gvo-band__copy strong{
  display:grid!important;
  gap:2px!important;
  margin-top:6px!important;
  color:#fff!important;
  font-size:clamp(24px,2.4vw,34px)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
.gvo-band__copy strong>span{
  display:block!important;
  margin:0!important;
  color:inherit!important;
  font:inherit!important;
  line-height:inherit!important;
}
.insurer-chip-cloud__ghost--left{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:10px 12px!important;
  background:#fff!important;
  border:1px solid rgba(46,59,58,.07)!important;
  color:#42534e!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  opacity:1!important;
  box-shadow:0 10px 24px rgba(39,56,51,.075)!important;
}
.insurer-chip-cloud{
  padding:0!important;
}
.insurer-chip-cloud__count,
.insurer-chip-cloud__ghost--right{display:none!important}
@media(max-width:760px){
  .insurer-chip-cloud{padding:0!important}
}

/* Mobile polish · screenshots 2026-10-01 */
@media (max-width:620px){

  /* Audit: keep the replay action readable and the four diagnosis tabs on one row. */
  .audit-speed-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    align-items:stretch!important;
  }
  .audit-speed-actions button{
    width:100%!important;
    min-height:52px!important;
    padding:13px 16px!important;
    white-space:nowrap!important;
    font-size:15px!important;
    line-height:1.2!important;
  }
  .audit-speed-actions span{
    display:block!important;
    font-size:12px!important;
    line-height:1.45!important;
  }
  .audit-tabs--diagnosis>.audit-tabs__nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:100%!important;
    overflow:visible!important;
    gap:0!important;
  }
  .audit-tabs--diagnosis>.audit-tabs__nav button{
    min-width:0!important;
    padding:11px 3px 13px!important;
    white-space:nowrap!important;
    font-size:11.5px!important;
    text-align:center!important;
  }
  .audit-tabs--diagnosis>.audit-tabs__nav button[aria-selected="true"]:after{
    left:7px!important;
    right:7px!important;
  }
  .audit-v2__wrap{
    padding-bottom:112px!important;
  }

  /* Home hero image: smaller glass cards, with more air between the two steps. */
  .hero-v2__visual{
    min-height:460px!important;
  }
  .hero-signal{
    top:9%!important;
    left:6%!important;
    right:auto!important;
    bottom:auto!important;
    min-width:0!important;
    width:46%!important;
    max-width:178px!important;
    padding:17px 16px 16px!important;
    border-radius:18px!important;
  }
  .hero-signal>span,
  .hero-signal--b>span{
    display:none!important;
  }
  .hero-signal strong{
    margin-top:0!important;
    font-size:24px!important;
    line-height:1.05!important;
  }
  .hero-signal small{
    margin-top:6px!important;
    font-size:14px!important;
    line-height:1.3!important;
  }
  .hero-signal:not(.hero-signal--b) strong,
  .hero-signal:not(.hero-signal--b) small{
    color:#172622!important;
  }
  .hero-signal--b{
    top:auto!important;
    right:6%!important;
    left:auto!important;
    bottom:8%!important;
  }

  /* Service hero: reserve a clear lower-right zone for the floating CUESTA mark. */
  .page-hero{
    min-height:310px!important;
    padding:30px 24px 64px!important;
    margin-bottom:54px!important;
  }
  .page-hero p{
    max-width:100%!important;
    margin-bottom:0!important;
    font-size:18px!important;
    line-height:1.5!important;
  }
  .page-hero__glassmark{
    width:74px!important;
    height:74px!important;
    right:16px!important;
    bottom:-34px!important;
    border-radius:21px!important;
  }
  .page-hero__glassmark img{
    width:40px!important;
    height:40px!important;
  }

  /* International hero: keep the note away from faces, anchored near the bottom. */
  .int-image-note{
    top:auto!important;
    right:18px!important;
    bottom:18px!important;
    left:18px!important;
    transform:none!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    padding:17px 18px!important;
  }

  /* GVO: logo + label as a clean first row; headline starts below with no overlap. */
  .gvo-band{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    column-gap:14px!important;
    row-gap:18px!important;
    align-items:center!important;
    padding:22px!important;
  }
  .gvo-band__logo{
    grid-column:1!important;
    grid-row:1!important;
    width:64px!important;
    height:64px!important;
    align-self:center!important;
  }
  .gvo-band__label{
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
    margin:0!important;
    padding:0!important;
  }
  .gvo-band__copy{
    grid-column:1 / -1!important;
    grid-row:2!important;
    margin:0!important;
  }
  .gvo-band__copy strong{
    margin:0!important;
    font-size:24px!important;
    line-height:1.08!important;
  }
  .gvo-band__copy>span{
    margin-top:12px!important;
  }

  .gvo-band__action{
    grid-column:1 / -1!important;
    grid-row:3!important;
    width:100%!important;
    margin:0!important;
  }
}

/* Footer language switch: compact, bold and unmistakably bilingual. */
.footer-language{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  width:max-content!important;
  color:#dfe8e4!important;
  font-weight:800!important;
  text-decoration:none!important;
  letter-spacing:.01em!important;
  transition:color .18s ease,opacity .18s ease!important;
}
.footer-language:hover{
  color:#fff!important;
}
.footer-language__flag{
  display:inline-grid!important;
  place-items:center!important;
  width:24px!important;
  height:24px!important;
  flex:0 0 24px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.16),0 4px 12px rgba(0,0,0,.12)!important;
}
.footer-language__flag svg{
  display:block!important;
  width:24px!important;
  height:24px!important;
}
@media(max-width:560px){
  .footer-language{
    margin-top:3px!important;
    font-size:16px!important;
    font-weight:850!important;
  }
}

