:root {
  --about-gold-h: 280px;
}

/* ══════════════════════════════════════════════════════
   §1  NOSOTROS — hero + misión/visión
══════════════════════════════════════════════════════ */
.about2 {
  position: relative;
  padding: 52px 0 90px;
  background: var(--paper);
}
.about2::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--about-gold-h);
  background: linear-gradient(180deg, var(--gold), #666);
  z-index: 0;
}

.about2-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: stretch;
}

.about2-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.3px;
}
.about2-left > p {
  margin: 0 0 24px;
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  line-height: 1.75;
  text-align: justify;
}

.about2-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about2-card {
  background: var(--paper);
  border: 1px solid var(--navy2);
  border-top: 3px solid var(--navy);
  padding: 30px 40px;
  border-radius: var(--r-md);
  box-shadow: var(--s-md);
  transform: translateY(10%);
}
.about2-card h3 {
  font-size: .95rem; font-weight: 800;
  color: var(--navy); text-align: center; margin-bottom: 10px;
}
.about2-card p {
  font-size: .8rem; color: var(--muted);
  text-align: justify; margin: 0; line-height: 1.65;
}

.about2-right {
  position: relative;
  min-height: clamp(300px, 42vw, 520px);
  border-radius: var(--r-lg);
}
.about2-slider {
  position: absolute; inset: 0;
  overflow: hidden; border-radius: var(--r-lg);
}
.about2-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.about2-slider .slide.is-active { opacity: 1; }
.about2-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Responsive §1 */
@media (max-width: 979px) {
  .about2 { padding-top: 28px; }
  .about2-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "sub" "image" "cards";
    gap: 5px;
  }
  .about2-left { display: contents; }
  .about2-title { grid-area: title; position: relative; z-index: 3; }
  .about2-left > p { grid-area: sub; position: relative; z-index: 3; }
  .about2-right { grid-area: image; min-height: clamp(400, 56vw, 460px); }
  .about2-cards { 
    grid-area: cards; 
    grid-template-columns: 1fr;
    gap:10px
 }
  .about2-card { transform: none; padding: 22px 18px; }
}
@media (max-width: 600px) {
  .about2-cards { grid-template-columns: 1fr; }
  .about2{
    padding:32px 0px 30px
  }
}

/* ══════════════════════════════════════════════════════
   §2  CLIENTES — B2B / B2C
══════════════════════════════════════════════════════ */
.about {
  position: relative;
  padding: 56px 0 64px;
  background: var(--paper);
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--about-gold-h);
  background: linear-gradient(180deg, var(--navy), #666);
  z-index: 0;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: stretch;
}

.about-left {
  position: relative;
  min-height: clamp(300px, 42vw, 520px);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.about-slider {
  position: absolute; inset: 0;
  overflow: hidden; border-radius: var(--r-lg);
}
.about-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.about-slider .slide.is-active { opacity: 1; }
.about-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: #fff;
}
.about-right > p {
  margin: 0 0 24px;
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  line-height: 1.75;
  text-align: justify;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-card {
  background: var(--paper);
  border: 1px solid var(--gold-hi);
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
  border-radius: var(--r-md);
  box-shadow: var(--s-md);
  transform: translateY(10%);
}
.about-card h3 { font-size: .95rem; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 10px; }
.about-card p  { font-size: .8rem; color: var(--muted); text-align: justify; margin: 0; line-height: 1.65; }

/* Responsive §2 */
@media (max-width: 979px) {
  .about { padding-top: 28px; }
  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "sub" "image" "cards";
    gap: 5px;
  }
  .about-right { display: contents; }
  .about-title { grid-area: title; position: relative; z-index: 3; }
  .about-right > p { grid-area: sub; position: relative; z-index: 3; }
  .about-left { grid-area: image; min-height: clamp(320px, 56vw, 400px); }
  .about-cards { 
    grid-area: cards; 
    grid-template-columns: 1fr;
    gap:10px
 }
  .about-card { transform: none; padding: 22px 18px; }
}
@media (max-width: 600px) {
  .about-cards { grid-template-columns: 1fr; }
  .about{
    padding:32px 0px 30px
  }
}

/* ══════════════════════════════════════════════════════
   §3  VALORES — SMART
══════════════════════════════════════════════════════ */
.values {
  padding: 24px 0 52px;
  background: #eaeaea;
}
.values-header {
  text-align: center;
  padding: 32px 16px 0;
}
.values-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
}
.values-p {
  max-width: 820px;
  margin: 0 auto 5px;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.72;
}
.values .container {
  display: grid;
  grid-template-columns: minmax(180px, .5fr) minmax(0, 1.5fr);
  align-items: center;
}
.value-circle {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-around;
  gap: 20px;
  padding: 40px 20px;
  align-self: stretch;
}
.value-donut {
  width: 84px; aspect-ratio: 1;
  border-radius: 14px;
  background: var(--navy);
  position: relative;
  border: 2px solid var(--navy2);
  box-shadow: 0 4px 16px rgba(28,55,85,.2);
  transition: transform .2s, box-shadow .2s;
}
.value-donut:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(28,55,85,.35); }
.value-letter {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.9rem;
  color: white;
}
.values-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px;
  min-width: 0;
}
.value-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid rgba(216,184,128,.2);
  border-left: 3px solid var(--gold);
  transition: background .2s, transform .2s, box-shadow .2s;
  position: relative;
}
.value-row:hover { background: #fff; transform: translateX(4px); box-shadow: var(--s-sm); }
.value-row > svg { width: 32px; height: 32px; flex-shrink: 0; opacity: .65; }
.value-text h3 { font-size: .9rem; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.value-text p  { font-size: .78rem; color: var(--muted); line-height: 1.65; margin: 0; text-align: justify; }
 
@media (max-width: 979px) {
  .values .container { grid-template-columns: 1fr; }
  .value-circle { display: none; }
  .values-list { padding: 12px; gap: 10px; }
  .value-row {
    grid-template-columns: 1fr;
    border-left: none;
    border-top: 3px solid var(--gold);
    padding: 16px 16px 8px;
    cursor: pointer;
  }
  .value-row > svg { display: none; }
  .value-text h3 { padding-left: 44px; position: relative; }
  .value-text h3 .value-initial {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--navy); display: grid; place-items: center;
    font-weight: 900; font-size: 1rem; color: white;
  }
  .value-text p { 
    max-height: 0; 
    overflow: hidden; 
    opacity: 0; 
    transition: max-height .3s ease, opacity .25s ease; 
    margin-top: 10px;
}
  .value-row.is-open .value-text p { opacity: 1; }
  .value-row::after { content: '+'; position: absolute; right: 14px; top: 14px; font-weight: 900; font-size: 1.1rem; color: var(--gold-strong); }
  .value-row.is-open::after { content: '–'; }
}
 
/* ══════════════════════════════════════════════════════
   §4  METODOLOGÍA — escalones
══════════════════════════════════════════════════════ */
.stairs { padding: 0 0 64px; background: var(--paper); }
.stairs-header { text-align: center; padding: 52px 16px 0; }
.stairs-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 8px;
}
.stairs > .container > p {
  text-align: center;
  color: var(--muted);
  font-size: .86rem;
  margin: 0 0 32px;
}
.stairs-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 18px;
  min-height: 350px;
}
.step { display: flex; align-items: flex-end; }
.step-card {
  position: relative; width: 100%;
  border-radius: var(--r-lg);
  padding: 22px 18px 24px;
  box-shadow: var(--s-lg);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  outline: none;
  border: 1.5px solid rgba(216,184,128,.18);
  cursor: pointer;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 24px 52px rgba(0,0,0,.2); }
.step-1 .step-card { background: url(../Img/Nosotros/Step1.png) center/cover no-repeat; }
.step-2 .step-card { transform: translateY(-20px); background: url(../Img/Nosotros/Step2.png) center/cover no-repeat; }
.step-3 .step-card { transform: translateY(-40px); background: url(../Img/Nosotros/Step3.png) center/cover no-repeat; }
.step-4 .step-card { transform: translateY(-60px); background: url(../Img/Nosotros/Step4.png) center/cover no-repeat; }
.step-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,55,85,.9) 0%, rgba(28,55,85,.38) 55%, transparent 100%);
}
.step-card:hover::before { background: linear-gradient(to top, rgba(28,55,85,.96) 0%, rgba(28,55,85,.7) 60%, rgba(28,55,85,.2) 100%); }
.step-num { display: none; }
.step-card h3 { position: relative; z-index: 1; font-size: .9rem; font-weight: 800; color: var(--gold); margin: 0 0 6px; }
.step-card p {
  position: relative; z-index: 1;
  font-size: .78rem; color: rgba(255,255,255,.85);
  line-height: 1.6; margin: 0; text-align: justify;
  opacity: 0; max-height: 0; overflow: hidden;
  transform: translateY(6px);
  transition: opacity .28s, max-height .28s, transform .28s;
}
.step-card:hover p, .step-card:focus-within p { opacity: 1; max-height: 240px; transform: none; }
@media (max-width: 900px) {
  .stairs-wrap { grid-template-columns: 1fr; min-height: unset; gap: 20px; }
  .step-2 .step-card, .step-3 .step-card, .step-4 .step-card { transform: none; }
  .step-card p { opacity: 1; max-height: none; transform: none; }
}
 
/* ══════════════════════════════════════════════════════
   §5  PIEZAS DE AJEDREZ — carrusel
══════════════════════════════════════════════════════ */
.concepts {
  padding: 72px 0;
  background: white;
  overflow: hidden;
}
.concepts-header { text-align: center; }
.concepts-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 8px;
}
.concepts .sub { color: var(--muted); font-size: .86rem; margin: 0 auto; max-width: 620px; }
 
.pieces-carousel {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 72px);
  box-sizing: border-box;
}

.pieces-track {
  display: flex;
  transition: transform .52s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  width: 100%;
}

.piece-slide {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(4px, 3vw, 20px);
  align-items: center;
  min-width: 100%;  
  padding: 75px;
  box-sizing: border-box;
}
.piece-text {
  padding: clamp(28px, 4vw, 40px);
  background: var(--paper);
  position: relative; overflow: hidden;
}

.piece-eyebrow {
  display: inline-block;
  font-size: .6rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-strong);
  background: var(--gold-pale);
  border-radius: var(--r-xs);
  padding: 4px 10px; margin-bottom: 14px;
}
.piece-text h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 900; color: var(--navy);
  margin-bottom: 16px; line-height: 1.15;
}
.piece-text p { 
    font-size: .86rem; 
    color: var(--muted); 
    line-height: 1.75; 
    text-align: justify;
}
 
.piece-img-wrap {
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform .3s;
}
.piece-img-wrap:hover { transform: scale(1.02); }
.piece-img-wrap img {
  width: 100%; max-height: 340px; object-fit: contain;
  transition: transform .4s ease;
}
.piece-img-wrap:hover img { transform: scale(1.06) translateY(-4px); }
 
.pieces-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
}
.pieces-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid rgba(28,55,85,.14);
  display: grid; place-items: center;
  cursor: pointer; color: var(--navy);
  transition: background .18s, border-color .18s, transform .16s;
  box-shadow: var(--s-sm);
}
.pieces-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--gold); transform: scale(1.08); }
.pieces-dots { display: flex; gap: 8px; align-items: center; }
.pieces-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(28,55,85,.18);
  border: none; cursor: pointer; padding: 0;
  transition: background .2s, width .2s;
}
.pieces-dot.is-active { background: var(--navy); width: 24px; border-radius: 4px; }
 
@media (max-width: 815px) {
  .piece-slide { grid-template-columns: 1fr; }
  .piece-img-wrap { order: -1; aspect-ratio: 4/3; }
  .piece-slide {
  padding: 14px;
}
}
 
/* ══════════════════════════════════════════════════════
   §6  IMAGOTIPO — rediseñado
══════════════════════════════════════════════════════ */
.imagotype {
  padding: 72px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
/* Patrón decorativo de fondo */
.imagotype::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(216,184,128,.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(216,184,128,.06) 0%, transparent 40%);
  pointer-events: none;
}
 
.imagotype .container { position: relative; z-index: 1; }
 
.imagotype-header { text-align: center; margin-bottom: 48px; }
.imagotype-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.imagotype .sub {
  color: rgba(255,255,255,.6);
  font-size: .87rem;
  max-width: 560px;
  margin: 0 auto;
}
 
/* 3 razones — cards horizontales */
.reason {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.reason-card {
  background: white;
  border: 1px solid rgba(216,184,128,.2);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: background .2s, transform .2s;
}
.reason-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.reason-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy);
  border: 1px solid var(--navy);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.reason-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reason-num {
  font-size: .58rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-strong);
}
.reason-card p {
  font-size: .84rem;
  color: black;
  line-height: 1.6;
  margin: 0;
}
 
/* Ecuación del logo */
.imago-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.imago-piece {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.imago-frame {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(216,184,128,.25);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  transition: transform .2s, border-color .2s, background .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.imago-frame:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(255,255,255,.1); }
.imago-frame.is-result {
  width: 160px; height: 160px;
  border-color: var(--gold);
  background: rgba(216,184,128,.1);
  box-shadow: 0 0 0 4px rgba(216,184,128,.15), 0 8px 32px rgba(0,0,0,.3);
}
.imago-frame img { width: 100%; height: 100%; object-fit: contain; }
.imago-label {
  font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.imago-label.is-result { color: var(--gold); }
 
.imago-op {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(216,184,128,.5);
  line-height: 1;
  align-self: center;
  padding-bottom: 28px; /* compensar el .imago-label */
}
 
@media (max-width: 780px) {
  .reason { grid-template-columns: 1fr; }
  .imago-equation { gap: 10px; }
  .imago-frame { width: 100px; height: 100px; }
  .imago-frame.is-result { width: 120px; height: 120px; }
  .imago-op { font-size: 1.4rem; }
}
@media (max-width: 500px) {
  .imago-equation { flex-direction: column; }
  .imago-op { padding-bottom: 0; }
}

:root {
  --about-gold-h: 280px;
}
 
/* ── Eyebrow — idéntico al index ── */
.eyebrow {
  display: block;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: black;
  margin-bottom: 10px;
  text-align: center;
}
.eyebrow--light { color: rgba(216,184,128,.75); }
 
/* ── Heading de sección — igual que .section__h del index ── */
.nos-section-h {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  line-height: 1.15;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.nos-section-h--light { color: #fff; }