/* Garantía — compact, clear, no gimmicks */

.assurance-page .section {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Hero compact */
.as-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--blue-deep);
}

.as-hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.as-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.as-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(0, 18, 48, 0.88) 0%, rgba(0, 36, 86, 0.55) 50%, rgba(0, 18, 48, 0.35) 100%);
}

.as-hero-copy {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 40px;
  max-width: 40rem;
}

.as-hero .brand-mark {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--red);
}

.as-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.as-hero-lead {
  margin: 12px 0 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.55;
  color: #fff;
}

/* Sustainability */
.as-sustain {
  background: var(--blue-deep);
  color: #fff;
}

.as-sustain-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, 0.7fr);
  gap: 36px;
  align-items: start;
}

.as-sustain .kicker,
.as-policy .kicker {
  color: #fff;
}

.as-sustain .kicker::before {
  background: #3ecf8e;
}

.as-sustain h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.as-lead {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}

.as-sustain-copy > p:not(.as-lead):not(.kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
}

.as-sustain-aside {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.22);
}

.as-aside-label {
  margin: 0 0 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7dffb5;
}

.as-sustain-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.as-sustain-aside li {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.as-sustain-aside li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Pillars */
.as-pillars {
  background: var(--mist);
}

.as-section-head {
  max-width: 40rem;
  margin-bottom: 24px;
}

.as-section-head h2 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}

.as-section-head p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.82;
}

.as-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.as-pillar-grid article {
  padding: 16px 0 0;
  border-top: 3px solid var(--red);
}

.as-pillar-grid span {
  display: block;
  margin-bottom: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--red);
}

.as-pillar-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--blue-deep);
  line-height: 1.25;
}

.as-pillar-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.82;
}

/* Policy */
.as-policy {
  background: var(--blue);
  color: #fff;
  border-top: 3px solid var(--red);
}

.as-policy-inner {
  display: grid;
  gap: 28px;
}

.as-policy-intro {
  max-width: 46rem;
}

.as-policy .kicker {
  color: #fff;
  margin: 0;
}

.as-policy .kicker::before {
  background: var(--red);
}

.as-policy-lead {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
}

.as-policy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
}

.as-policy-list article {
  min-width: 0;
  padding-top: 14px;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
}

.as-policy-abbr {
  margin: 0 0 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--red);
}

.as-policy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.as-policy-list p:not(.as-policy-abbr) {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
}

.as-policy-list .as-open {
  margin-top: 0;
}

/* Catalogue */
.as-catalogue {
  background: var(--white);
}

.as-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.as-block-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 16px;
  margin-bottom: 16px;
  max-width: 48rem;
}

.as-block-head > span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--red);
  padding-top: 4px;
}

.as-block-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--blue-deep);
}

.as-block-head p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.85;
}

.as-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 4px 2px 10px;
}

.as-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.as-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.as-item {
  padding: 14px 14px 14px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  background: #fff;
  display: grid;
  gap: 6px;
  align-content: start;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.as-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 36, 86, 0.16);
  z-index: 1;
}

.as-item--eco {
  border-left-color: #1f7a4d;
}

.as-item--key {
  border-left-color: var(--red);
}

.as-code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.as-item--eco .as-code {
  color: #1a6b42;
}

.as-item h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  color: var(--blue-deep);
}

.as-item p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.85;
}

.as-open {
  display: inline-block;
  width: fit-content;
  max-width: max-content;
  margin-top: 6px;
  justify-self: start;
  padding: 3px 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.3;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.as-open:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* Inverted Abrir (SIG / RSE policies): blue on white */
.as-open--invert {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}

.as-open--invert:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.as-points {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.as-points li {
  position: relative;
  padding: 8px 0 8px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.88;
}

.as-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 6px;
  height: 2px;
  background: var(--red);
}

.as-block--climate {
  background: rgba(31, 122, 77, 0.06);
  padding-left: 16px;
  padding-right: 16px;
  border-top: 3px solid #1f7a4d;
}

.as-block--climate .as-block-head > span {
  color: #1f7a4d;
}

.as-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.as-tags li {
  padding: 7px 11px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue-deep);
}

/* People */
.as-people {
  background: var(--mist);
}

.as-people-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.as-people-shot {
  margin: 0;
  overflow: hidden;
  min-height: 240px;
}

.as-people-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 240px;
}

.as-people-copy h2 {
  margin: 6px 0 10px;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.15;
  color: var(--blue-deep);
}

.as-people-copy p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.88;
}

.as-people-copy p:last-child {
  margin-bottom: 0;
}

.assurance-page .close .section {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 980px) {
  .as-sustain-inner,
  .as-pillar-grid,
  .as-policy-list,
  .as-grid,
  .as-grid--2,
  .as-grid--3,
  .as-points,
  .as-people-inner {
    grid-template-columns: 1fr;
  }
}
