/* =============================================================
   ABOUT US — diseño Pencil. Prefijo .abx
   Paleta --cv-* (forest/gold/cream). Cormorant + Inter. Iconos Lucide.
   ============================================================= */
.abx {
	--abx-forest:      #232B1E;
	--abx-forest-deep: #1B2117;
	--abx-forest-card: #2E3927;
	--abx-why-bg:      #2D3828;
	--abx-cream:       #F4F1E4;
	--abx-cream-soft:  #EDE8CF;
	--abx-card:        #FBF9EF;
	--abx-gold:        #AA7E42;
	--abx-gold-light:  #D1B178;
	--abx-gold-dark:   #8A6632;
	--abx-text:        #2A3726;
	--abx-text-2:      #6B6B52;
	--abx-text-light:  #EFEAD6;
	--abx-text-muted:  #B8B89C;
	--abx-border:      #D8D2BC;
	--abx-divider:     #4A5240;
	--abx-head:        'Cormorant Garamond', serif;
	--abx-body:        'Inter', sans-serif;
	--abx-shadow:      0 1.2rem 3rem rgba(27,33,23,.14);
	--abx-radius:      2rem;
	background: var(--abx-cream);
	color: var(--abx-text);
	font-family: var(--abx-body);
}
.abx-container { max-width: 120rem; margin-inline: auto; padding-inline: 4rem; }
.abx-section { padding: 9.6rem 0; }
.abx-section--bg { background: var(--abx-cream); }
.abx-section--surface { background: var(--abx-cream); }
.abx-section--surface-soft { background: var(--abx-cream-soft); }
.abx-eyebrow { font-size: 1.2rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--abx-gold-dark); margin-bottom: 1.2rem; }
.abx-eyebrow--light { color: var(--abx-gold-light); }
.abx-h2 { font-family: var(--abx-head); font-size: clamp(3.2rem, 4vw, 4.6rem); font-weight: 600; line-height: 1.08; color: var(--abx-text); }
.abx-h2--light { color: var(--abx-text-light); }
.abx-prose { font-size: 1.6rem; line-height: 1.7; color: var(--abx-text-2); margin-top: 1.6rem; }
.abx-head--center { text-align: center; margin-bottom: 5.6rem; }
.abx-head__sub { font-size: 1.5rem; line-height: 1.6; color: var(--abx-text-2); max-width: 64ch; margin: 1.4rem auto 0; }

/* Botones */
.abx-btn { display: inline-flex; align-items: center; gap: 1rem; font-size: 1.5rem; font-weight: 600; padding: 1.6rem 3rem; border-radius: 100px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.abx-btn:hover { transform: translateY(-2px); }
.abx-btn--primary { background: var(--abx-gold); color: var(--abx-forest); box-shadow: 0 1rem 2.4rem rgba(170,126,66,.32); }
.abx-btn--ghost { background: transparent; color: var(--abx-gold-light); border: 1.5px solid var(--abx-gold-light); }
.abx-btn--ghost:hover { background: rgba(209,177,120,.12); }
.abx-btn .cusvib-ic { width: 1.7rem; height: 1.7rem; }

/* ═══ HERO ═══ */
.abx-hero { position: relative; min-height: 56rem; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; background-color: var(--abx-forest-deep); color: #fff; }
.abx-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,33,23,.6), rgba(27,33,23,.85)); }
.abx-hero__content { position: relative; z-index: 1; max-width: 90rem; padding: 12rem 4rem 6rem; }
.abx-hero__title { font-family: var(--abx-head); font-size: clamp(4.4rem, 7vw, 7.6rem); font-weight: 600; line-height: 1.04; color: var(--abx-text-light); margin-bottom: 2rem; }
.abx-hero__sub { font-size: 1.8rem; line-height: 1.6; color: var(--abx-text-muted); max-width: 60ch; margin-inline: auto; }
.abx-hero__wave { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.abx-hero__wave .cv-wave { background: transparent; }

/* ═══ STORY (img izquierda + texto) ═══ */
.abx-story { display: grid; grid-template-columns: 1fr 1fr; gap: 6.4rem; align-items: center; }
.abx-story__img { border-radius: var(--abx-radius); min-height: 48rem; background-size: cover; background-position: center; background-color: var(--abx-forest-card); box-shadow: var(--abx-shadow); }
.abx-story__body .abx-prose:first-of-type { margin-top: 2rem; }

/* ═══ MISSION & VISION (dos tarjetas) ═══ */
.abx-mv-section { background: var(--abx-cream-soft); padding: 9.6rem 0; }
.abx-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 2.8rem; }
.abx-mv-card { border-radius: 2.8rem; padding: 4.4rem; display: flex; flex-direction: column; align-items: flex-start; }
.abx-mv-card--dark { background: var(--abx-forest-card); }
.abx-mv-card--light { background: var(--abx-card); border: 1px solid var(--abx-border); }
.abx-mv-card__icon { width: 5.6rem; height: 5.6rem; border-radius: 2.8rem; background: rgba(170,126,66,.15); color: var(--abx-gold-dark); display: grid; place-items: center; margin-bottom: 1.8rem; }
.abx-mv-card--dark .abx-mv-card__icon { color: var(--abx-gold-dark); }
.abx-mv-card__icon .cusvib-ic { width: 2.6rem; height: 2.6rem; }
.abx-mv-card__eyebrow { font-size: 1.2rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--abx-gold-light); margin-bottom: 1rem; }
.abx-mv-card__eyebrow--dark { color: var(--abx-gold-dark); }
.abx-mv-card__title { font-family: var(--abx-head); font-size: 3.4rem; font-weight: 600; line-height: 1.1; color: var(--abx-text-light); margin-bottom: 1.4rem; }
.abx-mv-card__title--dark { color: var(--abx-text); }
.abx-mv-card__text { font-size: 1.5rem; line-height: 1.65; color: var(--abx-text-muted); }
.abx-mv-card__text--dark { color: var(--abx-text-2); }

/* ═══ VALUES ═══ */
.abx-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.abx-value { background: var(--abx-card); border: 1px solid var(--abx-border); border-radius: 1.6rem; box-shadow: var(--abx-shadow); padding: 3rem; }
.abx-value__icon { width: 5.2rem; height: 5.2rem; border-radius: 2.6rem; background: rgba(170,126,66,.13); color: var(--abx-gold-dark); display: grid; place-items: center; margin-bottom: 1.6rem; }
.abx-value__icon .cusvib-ic { width: 2.6rem; height: 2.6rem; }
.abx-value__title { font-family: var(--abx-head); font-size: 2.4rem; font-weight: 600; margin-bottom: 1rem; color: var(--abx-text); }
.abx-value__text { font-size: 1.4rem; line-height: 1.6; color: var(--abx-text-2); }

/* ═══ WHY CHOOSE (forest, img izquierda + lista) ═══ */
.abx-why { background: var(--abx-why-bg); padding: 9.6rem 0; }
.abx-why__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 6.4rem; align-items: center; }
.abx-why__img { border-radius: 2.8rem; min-height: 50rem; background-size: cover; background-position: center; background-color: var(--abx-forest-card); }
.abx-why__body .abx-h2--light { margin-bottom: .8rem; }
.abx-why__list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.abx-why__item { display: flex; align-items: flex-start; gap: 1.8rem; padding: 1.8rem 0; border-top: 1px solid var(--abx-divider); }
.abx-why__item:first-child { border-top: 0; }
.abx-why__check { flex: none; width: 3.8rem; height: 3.8rem; border-radius: 50%; background: var(--abx-gold); color: var(--abx-forest); display: grid; place-items: center; }
.abx-why__check .cusvib-ic { width: 2rem; height: 2rem; }
.abx-why__text { font-size: 1.6rem; line-height: 1.55; color: var(--abx-text-muted); margin-top: .6rem; }

/* ═══ TEAM ═══ */
.abx-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.abx-member { background: var(--abx-card); border: 1px solid var(--abx-border); border-radius: 1.6rem; overflow: hidden; box-shadow: var(--abx-shadow); }
.abx-member__photo { height: 30rem; background-size: cover; background-position: center; background-color: var(--abx-forest-card); }
.abx-member__body { padding: 2.4rem; }
.abx-member__name { font-family: var(--abx-head); font-size: 2.4rem; font-weight: 600; line-height: 1.1; margin-bottom: .4rem; color: var(--abx-text); }
.abx-member__role { font-size: 1.3rem; font-weight: 500; letter-spacing: .03em; color: var(--abx-gold-dark); margin-bottom: .9rem; }
.abx-member__bio { font-size: 1.3rem; line-height: 1.55; color: var(--abx-text-2); }

/* ═══ LICENCIAS / DOCUMENTOS ═══ */
.abx-lics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.8rem; align-items: stretch; }
.abx-lic {
	--lic-band: var(--abx-gold);
	display: flex; flex-direction: column; text-align: left;
	background: var(--abx-card); border: 1px solid var(--abx-border);
	border-radius: 1.8rem; overflow: hidden; padding: 0; margin: 0;
	font-family: var(--abx-body); color: inherit;
	box-shadow: 0 1rem 2.4rem rgba(27,33,23,.07);
	transition: transform .22s ease, box-shadow .22s ease;
}
button.abx-lic { cursor: pointer; width: 100%; }
button.abx-lic:hover { transform: translateY(-.4rem); box-shadow: 0 1.8rem 4rem rgba(27,33,23,.16); }
button.abx-lic:focus-visible { outline: 2px solid var(--abx-gold); outline-offset: 3px; }
.abx-lic--gold   { --lic-band: var(--abx-gold); }
.abx-lic--forest { --lic-band: var(--abx-forest); }
.abx-lic--bronze { --lic-band: #9A6A33; }

/* Previsualización: encabezado real del documento (parte superior del JPG) */
.abx-lic__doc {
	position: relative; display: block; height: 17rem;
	background-color: #fff; background-size: 100% auto;
	background-position: top center; background-repeat: no-repeat;
	border-bottom: 1px solid var(--abx-border);
	box-shadow: inset 0 .5rem 0 0 var(--lic-band);
}
.abx-lic__seal--band { position: absolute; top: 1.4rem; left: 1.4rem; z-index: 2; width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(27,33,23,.32); backdrop-filter: blur(2px); display: grid; place-items: center; }
.abx-lic__seal--band .cusvib-ic { width: 1.8rem; height: 1.8rem; color: #fff; }
.abx-lic__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 4rem; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; }

/* Cuerpo: organismo, título, datos, pie */
.abx-lic__body { display: flex; flex-direction: column; padding: 2.2rem 2rem 2.4rem; flex: 1; background: var(--abx-card); }
.abx-lic__org { font-size: 1.15rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lic-band); }
.abx-lic--gold .abx-lic__org   { color: var(--abx-gold-dark); }
.abx-lic__title { font-family: var(--abx-head); font-size: 2.2rem; font-weight: 600; line-height: 1.12; color: var(--abx-text); margin: .6rem 0 1.4rem; }
.abx-lic__rows { display: flex; flex-direction: column; gap: .7rem; }
.abx-lic__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; }
.abx-lic__k { font-size: 1.35rem; color: var(--abx-text-2); }
.abx-lic__v { font-size: 1.35rem; font-weight: 700; color: var(--abx-text); text-align: right; }
.abx-lic__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.abx-lic__chip { display: inline-flex; align-items: center; gap: .5rem; background: var(--abx-forest); color: var(--abx-text-light); font-size: 1.15rem; font-weight: 600; padding: .55rem 1.1rem; border-radius: 100px; }
.abx-lic__chip .cusvib-ic { width: 1.4rem; height: 1.4rem; }
.abx-lic__view { display: inline-flex; align-items: center; gap: .4rem; font-size: 1.35rem; font-weight: 600; color: var(--abx-gold-dark); }
.abx-lic__view .cusvib-ic { width: 1.5rem; height: 1.5rem; transition: transform .2s ease; }
button.abx-lic:hover .abx-lic__view .cusvib-ic { transform: translate(.2rem, -.2rem); }

.abx-lic__legal { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 3.6rem; font-size: 1.35rem; color: var(--abx-text-2); text-align: center; }
.abx-lic__legal .cusvib-ic { width: 1.7rem; height: 1.7rem; color: var(--abx-gold-dark); flex-shrink: 0; }

/* Lightbox */
.abx-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 4rem; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.abx-lightbox[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.abx-lightbox__overlay { position: absolute; inset: 0; background: rgba(20,24,17,.88); backdrop-filter: blur(3px); }
.abx-lightbox__wrap { position: relative; z-index: 1; max-width: 92vw; max-height: 90vh; }
.abx-lightbox__img { display: block; max-width: 92vw; max-height: 90vh; object-fit: contain; border-radius: .8rem; box-shadow: 0 2.4rem 6rem rgba(0,0,0,.5); }
.abx-lightbox__close { position: absolute; top: 2rem; right: 2rem; z-index: 2; width: 4.8rem; height: 4.8rem; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.abx-lightbox__close:hover { background: rgba(255,255,255,.28); }
.abx-lightbox__close .cusvib-ic { width: 2.2rem; height: 2.2rem; }

/* ═══ CTA ═══ */
.abx-cta { position: relative; padding: 11rem 4rem; text-align: center; color: #fff; background-size: cover; background-position: center; background-color: var(--abx-why-bg); }
.abx-cta__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,33,23,.8), rgba(27,33,23,.85)); }
.abx-cta__content { position: relative; z-index: 1; max-width: 76rem; margin-inline: auto; }
.abx-cta__headline { font-family: var(--abx-head); font-size: clamp(3.6rem, 5vw, 5.6rem); font-weight: 600; line-height: 1.06; color: var(--abx-text-light); margin-bottom: 1.6rem; }
.abx-cta__sub { font-size: 1.6rem; line-height: 1.6; color: var(--abx-text-muted); max-width: 58ch; margin: 0 auto 3.2rem; }
.abx-cta__buttons { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
	.abx-section, .abx-mv-section, .abx-why { padding: 7rem 0; }
	.abx-story, .abx-why__grid { grid-template-columns: 1fr; gap: 4rem; }
	.abx-why__body { order: -1; }
	.abx-mv { grid-template-columns: 1fr; }
	.abx-values { grid-template-columns: 1fr; max-width: 50rem; margin-inline: auto; }
	.abx-team { grid-template-columns: repeat(2, 1fr); }
	.abx-lics { grid-template-columns: 1fr; max-width: 46rem; margin-inline: auto; }
}
@media (max-width: 680px) {
	.abx-container, .abx-cta { padding-inline: 2rem; }
	.abx-story__img, .abx-why__img { min-height: 32rem; }
	.abx-team { grid-template-columns: 1fr; max-width: 38rem; margin-inline: auto; }
	.abx-lics { grid-template-columns: 1fr; }
	.abx-mv-card { padding: 3.2rem; }
	.abx-lightbox { padding: 1.5rem; }
}
