
.yes-institutional {
  --yi-ink: #5C4336;
  --yi-brown: #5C4336;
  --yi-taupe: #B7A49C;
  --yi-almond: #E8DBD1;
  --yi-ivory: #F9F5EF;
  --yi-beige: #FAEFE3;
  --yi-gutter: clamp(22px, 6vw, 88px);
  color: var(--yi-ink);
  background: var(--yi-ivory);
  font-family: var(--body-font, "Montserrat", Arial, sans-serif);
  overflow: hidden;
}
.yes-institutional *, .yes-institutional *::before, .yes-institutional *::after { box-sizing: border-box; }
.yes-institutional img { display: block; max-width: 100%; }
.yes-institutional h1, .yes-institutional h2, .yes-institutional h3, .yes-institutional p { margin-top: 0; }
.yi-hero { position: relative; display: grid; min-height: min(820px, 88svh); overflow: hidden; isolation: isolate; color: #fff; background: var(--yi-brown); }
.yi-hero__picture, .yi-hero__shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.yi-hero__picture { display: block; }
.yi-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.yi-hero__shade { z-index: -1; background: linear-gradient(90deg,rgba(10,7,9,.72),rgba(10,7,9,.18) 66%),linear-gradient(0deg,rgba(10,7,9,.62),transparent 48%); }
.yi-hero__content { align-self: end; width: min(100%,1440px); margin: auto; padding: clamp(100px,14vw,180px) var(--yi-gutter) clamp(70px,9vw,120px); }
.yi-eyebrow, .yi-label { display: block; margin-bottom: 20px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.yi-hero h1 { max-width: 12ch; margin-bottom: 0; color: inherit; font-size: clamp(44px,7.8vw,104px); font-weight: 500; line-height: .91; letter-spacing: -.065em; }
.yi-lead { max-width: 540px; margin: 24px 0 0; font-size: clamp(16px,1.5vw,21px); line-height: 1.55; }
.yi-text-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 30px; color: inherit; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.yi-text-link::before { width: 40px; height: 1px; background: currentColor; content: ""; }
.yi-split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(48px,8vw,120px); width: min(100%,1440px); margin: auto; padding: clamp(78px,10vw,144px) var(--yi-gutter); }
.yi-mission { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); }
.yi-image-frame { width: min(100%,520px); aspect-ratio: .9; overflow: hidden; border-radius: 48% 48% 12px 12px; background: var(--yi-almond); }
.yi-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.yi-copy h2, .yi-values h2, .yi-policy-heading h2, .yi-closing h2 { margin-bottom: 0; color: var(--yi-brown); font-family: var(--heading-font, "Montserrat", sans-serif); font-size: clamp(38px,5vw,70px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.yi-copy > p:not(.yi-label) { max-width: 62ch; margin: 28px 0 0; padding-left: 20px; border-left: 1px solid var(--yi-taupe); color: #5C4336; font-size: clamp(15px,1.15vw,17px); line-height: 1.8; }
.yi-label { margin-bottom: 22px; color: var(--yi-brown); }
.yi-image-band { position: relative; min-height: min(78svh,860px); overflow: hidden; background: var(--yi-almond); }
.yi-image-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yi-image-band__caption { position: absolute; right: var(--yi-gutter); bottom: var(--yi-gutter); max-width: 400px; padding: clamp(24px,4vw,46px); color: var(--yi-ink); background: rgba(249,245,239,.92); box-shadow: 0 18px 46px rgba(92,67,54,.12); backdrop-filter: blur(14px); }
.yi-image-band__caption span { font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.yi-image-band__caption p { margin: 18px 0 0; font-family: var(--heading-font, "Montserrat", sans-serif); font-size: clamp(32px,4vw,52px); line-height: 1; }
.yi-vision { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); background: var(--yi-beige); width: 100%; max-width: none; padding-inline: max(var(--yi-gutter),calc((100vw - 1264px)/2)); }
.yi-vision .yi-image-frame { justify-self: end; border-radius: 12px 42% 12px 12px; }
.yi-values { width: min(100%,1440px); margin: auto; padding: clamp(78px,10vw,144px) var(--yi-gutter); }
.yi-values__header { max-width: 680px; margin-bottom: 42px; }
.yi-values__grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.yi-value { display: flex; min-height: 250px; flex-direction: column; padding: 26px 20px; border: 1px solid rgba(92,67,54,.16); background: rgba(255,255,255,.5); }
.yi-value:nth-child(even) { background: rgba(232,219,209,.55); }
.yi-value > span { color: #B7A49C; font-size: 10px; letter-spacing: .15em; }
.yi-value h3 { margin: auto 0 12px; color: var(--yi-brown); font-family: var(--heading-font, "Montserrat", sans-serif); font-size: clamp(22px,2vw,29px); font-weight: 500; }
.yi-value p { max-width: 25ch; margin-bottom: 0; color: #5C4336; font-size: 13px; line-height: 1.65; }
.yi-closing { display: grid; min-height: 520px; padding: 88px 24px; background: var(--yi-almond); text-align: center; place-content: center; justify-items: center; }
.yi-closing .yi-label { margin-bottom: 16px; }
.yi-closing h2 { font-size: clamp(42px,6vw,74px); }
.yi-closing > p:not(.yi-label) { margin: 20px 0 0; color: #5C4336; }
.yi-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; margin-top: 28px; padding: 12px 24px; color: #fff; background: var(--yi-brown); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.yi-hero--policy { min-height: min(620px,70svh); }
.yi-hero--policy { color: var(--yi-brown); }
.yi-hero--policy .yi-hero__picture img { object-position: center; }
.yi-hero--policy .yi-hero__shade { background: linear-gradient(270deg,rgba(249,245,239,.94),rgba(249,245,239,.82) 34%,rgba(249,245,239,.05) 76%); }
.yi-hero--policy .yi-hero__content { text-align: right; }
.yi-hero--policy h1 { max-width: 16ch; font-size: clamp(38px,6vw,78px); }
.yi-hero--about { color: var(--yi-brown); }
.yi-hero--about .yi-hero__image { object-position: center; }
.yi-hero--about .yi-hero__shade { background: linear-gradient(270deg,rgba(249,245,239,.94),rgba(249,245,239,.82) 34%,rgba(249,245,239,.05) 76%); }
.yi-hero--about .yi-hero__content { text-align: right; }
.yi-hero--about h1 { margin-left: auto; }
.yi-hero--about .yi-lead { margin-left: auto; }
.yi-policy-content { width: min(100%,1080px); margin: auto; padding: clamp(70px,9vw,120px) var(--yi-gutter); }
.yi-policy-heading { max-width: 690px; margin-bottom: 46px; }
.yi-policy-heading > p:last-child { margin: 20px 0 0; color: #5C4336; font-size: 16px; line-height: 1.7; }
.yi-policy-body { padding: clamp(26px,4vw,48px); border: 1px solid rgba(92,67,54,.16); background: rgba(255,255,255,.74); color: #5C4336; font-size: 15px; line-height: 1.8; }
.yi-policy-body h2, .yi-policy-body h3 { margin: 28px 0 12px; color: var(--yi-brown); font-family: var(--heading-font, "Montserrat", sans-serif); font-weight: 500; }
.yi-policy-body h2:first-child, .yi-policy-body h3:first-child { margin-top: 0; }
.yi-policy-body p:last-child { margin-bottom: 0; }
.yes-institutional :focus-visible { outline: 2px solid var(--yi-brown); outline-offset: 4px; }

/* New photography layout for the institutional pages. */
.yi-hero--policy .yi-hero__shade { background: linear-gradient(90deg,rgba(249,245,239,.96),rgba(249,245,239,.82) 38%,rgba(249,245,239,.04) 78%); }
.yi-hero--policy .yi-hero__content { text-align: left; }
.yi-hero--policy h1 { margin-left: 0; }
.yi-photo-story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) minmax(240px,.75fr); align-items: center; gap: clamp(18px,3vw,42px); width: min(100%,1440px); margin: auto; padding: clamp(36px,6vw,84px) var(--yi-gutter); }
.yi-photo-story__copy { padding: clamp(20px,3vw,42px) 0; }
.yi-photo-story__copy h2, .yi-policy-feature__copy h2 { margin: 0; color: var(--yi-brown); font-family: var(--heading-font, "Montserrat", sans-serif); font-size: clamp(34px,4.5vw,62px); font-weight: 400; line-height: 1.04; }
.yi-photo-story__copy > p:last-child { margin: 20px 0 0; color: var(--yi-ink); font-size: 15px; line-height: 1.75; }
.yi-photo-story__image { min-width: 0; margin: 0; overflow: hidden; aspect-ratio: 1; background: var(--yi-almond); }
.yi-photo-story__image--wide { aspect-ratio: 1.2; }
.yi-photo-story__image img { width: 100%; height: 100%; object-fit: cover; }
.yi-policy-feature { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); align-items: stretch; gap: clamp(24px,5vw,72px); width: min(100%,1280px); margin: 0 auto clamp(76px,10vw,140px); padding: 0 var(--yi-gutter); }
.yi-policy-feature > img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.yi-policy-feature__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px,5vw,64px); background: var(--yi-beige); }
.yi-policy-feature__copy .yi-button { margin-top: 28px; }

@media (max-width: 860px) {
  .yi-split, .yi-mission, .yi-vision { grid-template-columns: 1fr; gap: 38px; }
  .yi-mission .yi-copy { order: 1; }
  .yi-mission .yi-image-frame { order: 2; }
  .yi-vision .yi-copy { order: 1; }
  .yi-vision .yi-image-frame { order: 2; justify-self: start; }
  .yi-values__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .yi-value { min-height: 210px; }
  .yi-value:first-child { padding-left: 22px; }
  .yi-image-frame { width: min(100%,560px); }
  .yi-photo-story { grid-template-columns: 1fr 1fr; }
  .yi-photo-story__copy { grid-column: 1 / -1; max-width: 650px; }
  .yi-policy-feature { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .yi-hero { min-height: 78svh; }
  .yi-hero__shade { background: linear-gradient(0deg,rgba(10,7,9,.78),rgba(10,7,9,.15) 74%); }
  .yi-hero--policy { color: #fff; }
  .yi-hero--policy .yi-hero__picture img { object-position: center; }
  .yi-hero--policy .yi-hero__shade { background: linear-gradient(0deg,rgba(40,29,23,.8),rgba(40,29,23,.08) 76%); }
  .yi-hero--policy .yi-hero__content { text-align: left; }
  .yi-hero--about { color: #fff; }
  .yi-hero--about .yi-hero__shade { background: linear-gradient(0deg,rgba(10,7,9,.78),rgba(10,7,9,.15) 74%); }
  .yi-hero--about .yi-hero__content { text-align: left; }
  .yi-hero--about h1, .yi-hero--about .yi-lead { margin-left: 0; }
  .yi-hero h1 { font-size: clamp(42px,13vw,66px); }
  .yi-image-band { min-height: 68svh; }
  .yi-image-band__caption { right: 16px; bottom: 16px; left: 16px; max-width: none; }
  .yi-values__grid { grid-template-columns: 1fr; }
  .yi-value, .yi-value:first-child { min-height: auto; padding: 24px 18px; }
  .yi-value h3 { margin: 27px 0 8px; }
  .yi-policy-content { padding-block: 64px; }
  .yi-photo-story { grid-template-columns: 1fr; }
  .yi-photo-story__copy { grid-column: auto; }
  .yi-photo-story__image, .yi-photo-story__image--wide { aspect-ratio: 1.1; }
  .yi-policy-feature { grid-template-columns: 1fr; margin-bottom: 64px; }
  .yi-policy-feature > img { min-height: 0; aspect-ratio: 1.25; }
  .yi-policy-feature__copy { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .yes-institutional *, .yes-institutional *::before, .yes-institutional *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Somos YES: personalización y uniformes a medida. */
.yi-custom { width: min(100%,1440px); margin: auto; padding: clamp(78px,10vw,144px) var(--yi-gutter); }
.yi-custom__header { max-width: 680px; margin-bottom: 42px; }
.yi-custom__header h2 { margin-bottom: 0; color: var(--yi-brown); font-family: var(--heading-font, "Montserrat", sans-serif); font-size: clamp(38px,5vw,70px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.yi-custom__header > p:last-child { margin: 24px 0 0; color: var(--yi-ink); font-size: clamp(15px,1.15vw,17px); line-height: 1.8; }
.yi-custom__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; padding: 10px 0 30px; }
.yi-custom__card { position: relative; display: flex; min-height: clamp(190px,15vw,220px); flex-direction: column; justify-content: space-between; gap: 20px; padding: clamp(20px,1.8vw,26px); overflow: hidden; border-radius: 24px; color: var(--yi-brown); background: #fff; box-shadow: 0 1px 0 rgba(92,67,54,.06), 0 18px 40px -30px rgba(92,67,54,.45); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.yi-custom__card::after { position: absolute; bottom: 0; left: clamp(20px,1.8vw,26px); width: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--yi-taupe); content: ""; transition: width .4s ease; }
.yi-custom__card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(92,67,54,.06), 0 28px 50px -30px rgba(92,67,54,.55); }
.yi-custom__card:hover::after { width: 56px; }
.yi-custom__card--lead { color: #F9F5EF; background: #5C4336; }
.yi-custom__card--lead::after { background: #E8DBD1; }
.yi-custom__card > span { align-self: flex-end; margin-top: -6px; font: 300 clamp(34px,3vw,44px)/1 var(--heading-font, "Montserrat", sans-serif); letter-spacing: -.02em; opacity: .16; }
.yi-custom__card--lead > span { opacity: .3; }
.yi-custom__card h3 { margin: 0 0 6px; color: inherit; font-family: var(--heading-font, "Montserrat", sans-serif); font-size: clamp(19px,1.6vw,23px); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.yi-custom__card p { max-width: 32ch; margin: 0; font-size: 14px; line-height: 1.65; opacity: .78; }
.yi-steps { counter-reset: yi-step; margin: 30px 0 0; padding: 0; list-style: none; }
.yi-steps li { position: relative; display: grid; gap: 4px; padding: 0 0 22px 56px; counter-increment: yi-step; }
.yi-steps li::before { position: absolute; top: -2px; left: 0; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--yi-brown); border-radius: 50%; color: var(--yi-brown); content: counter(yi-step); font-size: 12px; font-weight: 600; }
.yi-steps strong { color: var(--yi-brown); font-size: 15px; font-weight: 600; }
.yi-steps span { color: var(--yi-ink); font-size: 14px; line-height: 1.6; }
.yi-closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.yi-button--ghost { color: var(--yi-brown); background: transparent; box-shadow: inset 0 0 0 1px var(--yi-brown); }
/* Saltos de línea equilibrados en títulos y párrafos. */
.yes-institutional h1, .yes-institutional h2, .yes-institutional h3 { text-wrap: balance; }
.yes-institutional p, .yes-institutional li span { text-wrap: pretty; }
.yi-closing h2 { max-width: 18ch; }
@media (max-width: 860px) { .yi-custom__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .yi-custom__card { min-height: 190px; } }
@media (max-width: 560px) { .yi-custom__grid { grid-template-columns: 1fr; } .yi-custom__card { min-height: 170px; gap: 16px; border-radius: 20px; } }
