/* CUESTA V2 review pass - 2026-10-01
   User review after recovery pass. Loads last. */

/* HOME: compact number circles on glass cards */
.hero-signal>span,
.hero-signal--b>span{
  display:grid!important;
  width:36px!important;
  height:36px!important;
  place-items:center!important;
  padding:0!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.78)!important;
  border:1px solid rgba(255,255,255,.82)!important;
  color:#24433c!important;
  font-size:12px!important;
  line-height:1!important;
}
.hero-signal--b>span{
  background:rgba(236,248,244,.94)!important;
  border-color:rgba(80,130,118,.16)!important;
}

/* HOME trust strip: icon aligned to the top of the copy */
.trust-band>div{
  align-items:start!important;
}
.trust-band .trust-icon{
  align-self:start!important;
  margin-top:1px!important;
}

/* HOME service cards: distinct photography and stronger readability */
.need-card--teal{
  background-image:
    linear-gradient(rgba(121,201,185,.88),rgba(121,201,185,.95)),
    url("/wp-content/uploads/2026/10/CUESTA-gestoria-asesoramiento-contemporaneo-1.jpg")!important;
}
.need-card--dark{
  background-image:
    linear-gradient(rgba(46,59,58,.84),rgba(46,59,58,.95)),
    url("/wp-content/uploads/2026/10/CUESTA-herencias-consulta-luminosa-optimizada.png")!important;
}
.need-card--sand{
  background-image:
    linear-gradient(rgba(234,223,202,.88),rgba(234,223,202,.96)),
    url("/wp-content/uploads/2026/10/CUESTA-seguros-papeleria-contemporanea-1.jpg")!important;
}
.need-card--forest{
  background-image:
    linear-gradient(rgba(193,125,105,.94),rgba(193,125,105,.98)),
    url("/wp-content/uploads/2026/10/CUESTA-International-llegada-a-Oviedo-1.jpg")!important;
}
.need-card--forest h3,
.need-card--forest p,
.need-card--forest b{
  color:#223733!important;
}

/* INTERIOR HEROES: banner, not full-screen feature */
.page-hero{
  min-height:clamp(250px,25vw,320px)!important;
  padding:clamp(30px,4vw,46px) clamp(34px,5vw,62px)!important;
  margin-bottom:62px!important;
  justify-content:flex-end!important;
}
.page-hero h1{
  max-width:620px!important;
  margin-top:12px!important;
  font-size:clamp(40px,4.4vw,58px)!important;
  line-height:1.02!important;
}
.page-hero p{
  max-width:610px!important;
  margin-top:12px!important;
  font-size:clamp(16px,1.25vw,19px)!important;
  line-height:1.48!important;
}
.page-hero:before{
  transform:scale(1.01)!important;
  filter:saturate(.90) contrast(1.02) brightness(1.06)!important;
}
.page-hero__glassmark{
  width:92px!important;
  height:92px!important;
  right:32px!important;
  bottom:-38px!important;
  border-radius:24px!important;
}
.page-hero__glassmark img{width:48px!important;height:48px!important}
@media(max-width:720px){
  .page-hero{
    min-height:280px!important;
    padding:32px 24px!important;
  }
  .page-hero h1{font-size:clamp(38px,11vw,52px)!important}
}

/* Service blocks: bigger, quieter icons aligned with the title column */
:is(.entry-v2--gestoria,.entry-v2--advisory,.entry-v2--herencias,.entry-v2--inheritance,.entry-v2--seguros,.entry-v2--insurance) .wp-block-columns>.wp-block-column{
  padding:30px 28px 28px!important;
}
:is(.entry-v2--gestoria,.entry-v2--advisory,.entry-v2--herencias,.entry-v2--inheritance,.entry-v2--seguros,.entry-v2--insurance) .wp-block-columns>.wp-block-column:before{
  position:static!important;
  display:block!important;
  width:52px!important;
  height:52px!important;
  margin:0 0 18px!important;
  background:#517c72!important;
  opacity:.42!important;
}
:is(.entry-v2--gestoria,.entry-v2--advisory,.entry-v2--herencias,.entry-v2--inheritance,.entry-v2--seguros,.entry-v2--insurance) .wp-block-columns>.wp-block-column h3{
  margin-top:0!important;
}

/* Typical situations: more subtle hierarchy and manual carousel */
.service-case strong{
  color:#455954!important;
  font-weight:650!important;
}
.service-case p{color:#66756f!important}
.service-cases__controls button:hover{
  background:#eef5f2!important;
}
.service-cases__track{
  grid-auto-columns:minmax(270px,calc((100% - 48px)/4))!important;
}
@media(max-width:1100px){
  .service-cases__track{grid-auto-columns:minmax(270px,calc((100% - 32px)/3))!important}
}
@media(max-width:800px){
  .service-cases__track{grid-auto-columns:minmax(270px,82vw)!important}
}

/* Reusable insurer cloud.
   Each chip is an independent element, cropped from the approved 1400x520 artwork. */
.insurer-chip-cloud{
  position:relative;
  width:min(100%,940px);
  min-height:390px;
  margin:28px auto 0;
  isolation:isolate;
}
.insurer-logo-chip,
.insurer-chip-cloud__ghost,
.insurer-chip-cloud__count{
  position:absolute;
  display:block;
  border-radius:22px;
  box-shadow:0 14px 34px rgba(39,56,51,.09);
}
.insurer-logo-chip{
  background-repeat:no-repeat;
  overflow:hidden;
}
.insurer-logo-chip--allianz{
  left:3%;top:7%;width:22%;aspect-ratio:2.54;
  background-image:url("insurers/allianz.svg");
  background-size:78% auto;background-position:center;background-color:#fff;
}
.insurer-logo-chip--axa{
  left:27%;top:4%;width:11%;aspect-ratio:1.07;
  background-size:1037% 412.7%;background-position:28.9% 11.4%;
}
.insurer-logo-chip--sanitas{
  left:40%;top:7%;width:18%;aspect-ratio:1.86;
  background-image:url("insurers/sanitas.svg");
  background-size:76% auto;background-position:center;background-color:#fff;
}
.insurer-logo-chip--mapfre{
  left:59%;top:10%;width:22%;aspect-ratio:2.50;
  background-image:url("insurers/mapfre.svg");
  background-size:76% auto;background-position:center;background-color:#fff;
}
.insurer-logo-chip--occident{
  right:0;top:8%;width:22%;aspect-ratio:2.61;
  background-size:479.5% 464.3%;background-position:95.8% 13.5%;
}
.insurer-logo-chip--reale{
  left:1%;top:54%;width:24%;aspect-ratio:2.42;
  background-size:444.4% 400%;background-position:2.8% 70.8%;
}
.insurer-logo-chip--dkv{
  left:27%;top:58%;width:22%;aspect-ratio:2.24;
  background-size:500% 416%;background-position:32.1% 73.4%;
}
.insurer-logo-chip--pelayo{
  left:50%;top:56%;width:25%;aspect-ratio:2.54;
  background-size:424.2% 400%;background-position:62.4% 73.8%;
}
.insurer-logo-chip--patria{
  right:1%;top:54%;width:23%;aspect-ratio:2.25;
  background-size:444.4% 371.4%;background-position:92.6% 74.7%;
}
.insurer-chip-cloud__ghost{
  width:18%;
  height:74px;
  background:#fff;
  border:1px solid rgba(46,59,58,.06);
  opacity:.72;
  z-index:-1;
}
.insurer-chip-cloud__ghost--left{left:-8%;top:34%}
.insurer-chip-cloud__ghost--right{right:-8%;bottom:2%}
.insurer-chip-cloud__count{
  left:50%;bottom:0;transform:translateX(-50%);
  padding:10px 15px;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(46,59,58,.10);
  color:#42534e;
  font-size:12px;
  font-weight:800;
  backdrop-filter:blur(10px);
}
.insurer-chip-cloud--insurance{
  margin-top:18px;
}
.insurance-broker{
  overflow:visible!important;
}
@media(max-width:760px){
  .insurer-chip-cloud{
    min-height:310px;
    width:100%;
  }
  .insurer-logo-chip,
  .insurer-chip-cloud__ghost{border-radius:16px}
  .insurer-chip-cloud__count{bottom:2px}
}

/* INTERNATIONAL: compact hero and separate trust band */
@media(min-width:1001px){
  .int-hero{
    min-height:500px!important;
  }
  .int-hero__copy{
    padding:42px 56px!important;
  }
  .int-hero h1{
    font-size:clamp(48px,4.8vw,66px)!important;
  }
}
.int-trust-band{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:min(calc(100% - 64px),980px);
  margin:26px auto 0;
  border:1px solid rgba(46,59,58,.08);
  border-radius:20px;
  background:#fff;
  box-shadow:0 18px 48px rgba(31,49,44,.08);
}
.int-trust-band>div{
  display:grid;
  grid-template-columns:46px 1fr;
  grid-template-rows:auto auto;
  column-gap:14px;
  align-items:start;
  padding:22px 24px;
}
.int-trust-band>div+div{border-left:1px solid rgba(46,59,58,.09)}
.int-trust-band__icon{
  grid-row:1 / span 2;
  display:grid;
  place-items:center;
  width:42px;height:42px;
  border-radius:13px;
  background:#edf6f2;
  border:1px solid rgba(73,139,124,.16);
}
.int-trust-band__icon svg{
  width:21px;height:21px;
  fill:none;stroke:#4d8275;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
.int-trust-band strong{font-size:16px;line-height:1.3}
.int-trust-band>div>span:last-child{margin-top:4px;color:#70807a;font-size:13px;line-height:1.4}
.gvo-band{
  margin-top:44px!important;
}
.gvo-band__copy strong{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}
.gvo-band__copy strong>span:last-child{
  color:#fff!important;
}
.int-image-note{
  top:50%!important;
  right:24px!important;
  transform:translateY(-50%)!important;
}
.int-service-card--light .int-service-icon{
  background:#fff!important;
  border:1px solid rgba(46,59,58,.12)!important;
  box-shadow:0 8px 24px rgba(46,59,58,.06);
}
.int-service-card--light .int-service-icon svg{
  stroke:#4d6b64!important;
}
.int-insurers{
  margin-top:76px!important;
  margin-bottom:86px!important;
}
.int-topics{
  margin-top:36px!important;
  margin-bottom:96px!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
.int-topic{
  display:block!important;
  padding:26px!important;
  border:1px solid rgba(46,59,58,.09)!important;
  border-radius:22px!important;
  overflow:visible!important;
}
.int-topic--tax{background:#f4efe5!important}
.int-topic--remote{background:#eef5f2!important}
.int-topic--residence{background:#f6f1ed!important}
.int-topic--health{background:#eaf4f1!important}
.int-topic__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}
.int-topic__icon{
  display:grid;
  place-items:center;
  width:46px;height:46px;
  border-radius:14px;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(46,59,58,.08);
}
.int-topic__icon svg{
  width:23px;height:23px;
  fill:none;stroke:#55766e;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
.int-topic__number{
  color:rgba(46,59,58,.34);
  font-size:12px;
  font-weight:850;
  letter-spacing:.08em;
}
.int-topic>strong{
  display:block;
  margin-bottom:10px;
  color:#334844;
  font-size:21px;
  line-height:1.25;
}
.int-topic>p{
  margin:0!important;
  padding:0!important;
  color:#5d6d68!important;
  font-size:15.5px!important;
  line-height:1.62!important;
}
.int-guidance__stamp small{
  color:#334844!important;
  text-shadow:0 1px 12px rgba(255,255,255,.75);
}
@media(max-width:820px){
  .int-trust-band{grid-template-columns:1fr;width:calc(100% - 28px)}
  .int-trust-band>div+div{border-left:0;border-top:1px solid rgba(46,59,58,.09)}
  .int-topics{grid-template-columns:1fr!important}
  .gvo-band{margin-top:34px!important}
}

/* AUDIT: technical tabs and quieter information architecture */
.audit-v2__hero h1{
  max-width:930px!important;
}
.audit-v2__hero p{
  max-width:880px!important;
}
.audit-tabs{
  margin:28px 0 78px;
}
.audit-tabs__nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:20px;
}
.audit-tabs__nav button{
  appearance:none;
  border:1px solid rgba(46,59,58,.12);
  border-radius:999px;
  background:#fff;
  color:#596963;
  padding:10px 15px;
  font:800 13px/1.2 "DM Sans",sans-serif;
  cursor:pointer;
}
.audit-tabs__nav button[aria-selected="true"]{
  background:#2e3b3a;
  border-color:#2e3b3a;
  color:#fff;
}
.audit-tab-panel[hidden]{display:none!important}
.audit-tab-panel{
  animation:audit-panel-in .22s ease;
}
@keyframes audit-panel-in{
  from{opacity:.25;transform:translateY(5px)}
  to{opacity:1;transform:none}
}
.audit-compare-frame{
  border:1px solid rgba(46,59,58,.10);
  border-radius:26px;
  overflow:hidden;
  background:#fff;
}
.audit-compare-frame__title{
  padding:22px 26px 18px;
  border-bottom:1px solid rgba(46,59,58,.08);
}
.audit-compare-frame__title h2{
  margin:5px 0 0!important;
  font-size:clamp(28px,3vw,40px)!important;
}
.audit-compare-two{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.audit-compare-col{
  min-width:0;
  padding:30px;
}
.audit-compare-col.is-old{
  background:#faefec;
  border-right:1px solid rgba(46,59,58,.08);
}
.audit-compare-col.is-new{
  background:#eaf4ef;
}
.audit-compare-col__label{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:22px;
  font-size:12px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.audit-compare-col__label:before{
  content:"";
  width:9px;height:9px;border-radius:50%;
  background:#b85a51;
}
.audit-compare-col.is-new .audit-compare-col__label:before{background:#2e8b70}
.audit-metric-big{
  margin:0 0 18px;
  font-family:"Manrope",sans-serif;
  font-size:clamp(42px,5vw,66px);
  font-weight:800;
  letter-spacing:-.055em;
  line-height:.95;
}
.audit-metric-big small{
  display:block;
  margin-top:10px;
  color:#6e7d77;
  font:700 12px/1.35 "DM Sans",sans-serif;
  letter-spacing:0;
}
.audit-compare-list{
  margin:24px 0 0;
  padding:0;
  list-style:none;
}
.audit-compare-list li{
  padding:12px 0;
  border-top:1px solid rgba(46,59,58,.10);
  line-height:1.45;
}
.audit-speed-actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:22px;
}
.audit-speed-actions button{
  border:0;
  border-radius:12px;
  background:#2e3b3a;
  color:#fff;
  padding:12px 16px;
  font-weight:800;
  cursor:pointer;
}
.audit-speed-bars{
  display:grid;
  gap:10px;
  margin-top:22px;
}
.audit-speed-bar{
  display:grid;
  grid-template-columns:92px 1fr 72px;
  gap:12px;
  align-items:center;
}
.audit-speed-bar__track{
  height:11px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(46,59,58,.10);
}
.audit-speed-bar__fill{
  width:0;
  height:100%;
  border-radius:inherit;
  transition:width var(--audit-speed-duration,.9s) cubic-bezier(.2,.8,.2,1);
}
.audit-speed-bar.is-old .audit-speed-bar__fill{background:#b85a51}
.audit-speed-bar.is-new .audit-speed-bar__fill{background:#2e8b70}
.audit-speed-demo.is-running .audit-speed-bar.is-old .audit-speed-bar__fill{width:100%}
.audit-speed-demo.is-running .audit-speed-bar.is-new .audit-speed-bar__fill{width:100%}
.audit-speed-bar strong{text-align:right}
.audit-data-note{
  margin-top:16px;
  color:#6b7a75;
  font-size:13px;
  line-height:1.55;
}
.audit-diagnostic-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.audit-diagnostic-card{
  padding:24px;
  border:1px solid rgba(46,59,58,.09);
  border-radius:18px;
  background:#fff;
}
.audit-diagnostic-card h3{margin:0 0 10px!important}
.audit-diagnostic-card p{margin:0!important;color:#5d6d68;line-height:1.6}
.audit-diagnostic-list{
  margin:0;
  padding-left:20px;
}
.audit-diagnostic-list li{margin:8px 0;line-height:1.5}
.audit-pending{
  margin-top:34px;
  padding:30px;
  border:1px solid rgba(46,59,58,.10);
  border-radius:22px;
  background:#f5f3ed;
}
.audit-pending h2{margin:6px 0 14px!important}
.audit-pending>p{max-width:900px;margin:0 0 22px!important;color:#5c6b66}
.audit-pending-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 24px;
  margin:0;
  padding-left:20px;
}
.audit-phase3{
  margin-top:28px;
  padding:26px;
  border-radius:18px;
  background:#eef5f2;
}
.audit-phase3 h3{margin:6px 0 10px!important}
.audit-phase3 p{margin:0!important;color:#556660;line-height:1.65}
@media(max-width:760px){
  .audit-compare-two,
  .audit-diagnostic-grid,
  .audit-pending-grid{
    grid-template-columns:1fr!important;
  }
  .audit-compare-col.is-old{
    border-right:0;
    border-bottom:1px solid rgba(46,59,58,.08);
  }
  .audit-speed-bar{
    grid-template-columns:72px 1fr 58px;
  }
}
