/* -- Hero ------------------------------------------------------------------ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: var(--space-lg);
  max-width: var(--content-width);
  margin: var(--space-md) auto var(--space-xl);
  padding: 0 var(--space-xs);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-h1);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--lasea-forest);
  margin: 0;
}

.hero-content h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--lasea-leaf);
  margin-top: var(--space-xs);
}

.hero-content > p:first-of-type {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--lasea-leaf-dark);
  font-size: 1.05rem;
  margin: var(--space-sm) 0 0;
}

.hero-content > p:nth-of-type(2) {
  max-width: 46ch;
  margin: var(--space-xs) 0 0;
  color: var(--lasea-ink-soft);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.hero-actions a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

/* Primer link = acción principal (sólida) */
.hero-actions a:first-child {
  background: var(--lasea-forest);
  color: var(--lasea-white);
}

.hero-actions a:first-child:hover {
  background: var(--lasea-forest-dark);
  transform: translateY(-2px);
}

/* Segundo link = acción secundaria (outline) */
.hero-actions button {
  background: transparent;
  color: var(--lasea-forest);
  border: 1.5px solid var(--lasea-forest);
}

.hero-actions button:not(:disabled):hover {
  background: var(--lasea-mint);
  transform: translateY(-2px);
}



/* Shared Index typography and interactive controls. */
main {
  display: block;
}
.index-icon {
  width: 32px;
  height: 32px;
  flex: none;
  object-fit: contain;
}
.principles .services-categories__controls button:not([aria-pressed="true"]) img.index-icon,
.principles img.principles__decoration {
  filter: brightness(0) invert(1);
}
.certifications .services-categories__controls button[aria-pressed="true"] img.index-icon {
  filter: brightness(0);
}
.index-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.index-eyebrow, .certifications__eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .85rem;
  font-weight: 600;
  color: var(--lasea-forest);
}
.index-section-heading, .certifications__intro {
  margin-bottom: 2rem;
}
.index-section-heading h2, .certifications h2 {
  font: 800 clamp(1.9rem, 3.5vw, 3.25rem)/1.15 var(--font-display);
  color: var(--lasea-forest-dark);
  letter-spacing: -.035em;
  margin: 1rem 0;
}
.index-section-heading h2 span, .principles h3 span {
  color: var(--lasea-leaf);
}
.index-section-heading p, .certifications__intro > p:last-child {
  max-width: 65ch;
  line-height: 1.65;
}
.index-switcher {
  background: var(--lasea-forest-dark);
  color: white;
  border-radius: 22px;
  padding: clamp(1.25rem, 3.5vw, 3rem);
}
.index-switcher [hidden], .experience-carousel [hidden] {
  display: none !important;
}
.index-switcher .services-categories__controls {
  display: flex;
  gap: .75rem;
  min-width: 0;
}
.index-switcher .services-categories__controls button {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex: 1;
  min-width: 0;
  min-height: 62px;
  padding: .8rem 1.2rem;
  border: 1px solid #81afa0;
  border-radius: 999px;
  background: transparent;
  color: white;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.index-switcher .services-categories__controls button > span {
  min-width: 0;
}
.index-switcher .services-categories__controls button strong,
.index-switcher .services-categories__controls button > span > span {
  display: block;
  line-height: 1.4;
}
.index-switcher .services-categories__controls button > span > span {
  font-size: .875rem;
  margin-top: .2rem;
}
.index-switcher .services-categories__controls button:hover {
  background: #24614e;
  border-color: white;
}
.index-switcher .services-categories__controls button[aria-pressed="true"] {
  background: var(--lasea-leaf);
  color: #102f23;
  border: 2px solid #c8e78b;
  box-shadow: inset 0 0 0 2px var(--lasea-forest-dark);
}
.index-switcher .services-categories__panel {
  min-width: 0;
}
.index-switcher :is(button, a, [tabindex]):focus-visible,
.experience-carousel button:focus-visible,
.hero-actions :is(a,button):focus-visible {
  outline: 3px solid var(--lasea-leaf);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px #102f23;
}
.index-switcher, .experience-carousel, .essence {
  overflow-wrap: anywhere;
}
.certifications :is(a,button), .index-switcher .services-categories__controls button {
  text-decoration: none;
}
/* Experience carousel: one main photograph and a narrow next-image preview. */
.hero {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  padding-inline: var(--space-md);
}
.hero-content > p:first-of-type {
  color: #537c20;
}
.hero-actions button {
  font: 600 .95rem var(--font-display);
  padding: .75rem 1.5rem;
  border: 1px solid var(--lasea-forest);
  border-radius: 999px;
  background: transparent;
  color: var(--lasea-forest);
}
.hero-actions button:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.experience-carousel {
  position: relative;
  min-width: 0;
}
.experience-carousel.is-enhanced {
  padding-right: 54px;
}
.experience-carousel__main {
  position: relative;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--lasea-forest-dark);
}
.experience-carousel__slides {
  position: relative;
  aspect-ratio: 1.12;
}
.experience-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.experience-carousel__slide:nth-child(2) {
  object-position: center 32%;
}
.experience-carousel__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 5rem 1.5rem 1.25rem;
  color: white;
  background: linear-gradient(transparent, #063b2cec 48%);
}
.experience-carousel__overlay > p {
  font: 700 clamp(1.25rem, 2vw, 1.65rem)/1.25 var(--font-display);
  margin: 0 0 1rem;
}
.experience-carousel__overlay > p::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  background: var(--lasea-leaf);
  margin-bottom: .6rem;
  border-radius: 9px;
}
.experience-carousel__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}
.experience-carousel__counter {
  font-weight: 600;
  white-space: nowrap;
  margin-right: .35rem;
}
.experience-carousel button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #8cab9d;
  background: #ffffff20;
  border-radius: 999px;
  color: white;
  font: inherit;
  cursor: pointer;
}
.experience-carousel button:hover {
  background: #ffffff38;
}
.experience-carousel button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.experience-carousel [data-carousel-pause] {
  padding-inline: .65rem;
  font-size: .8rem;
  margin-left: auto;
}
.experience-carousel [data-carousel-prev], .experience-carousel [data-carousel-next] {
  font-size: 1.8rem;
}
.experience-carousel__dots {
  display: flex;
}
.experience-carousel__dots button {
  width: 28px;
  min-width: 28px;
  border: 0;
  background: transparent;
  position: relative;
}
.experience-carousel__dots button::before {
  content: "";
  display: block;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #91b9a7;
}
.experience-carousel__dots button[aria-pressed="true"]::before {
  background: var(--lasea-leaf);
  outline: 1px solid white;
  outline-offset: 3px;
}
.experience-carousel__peek {
  position: absolute;
  top: 5%;
  right: 0;
  bottom: 5%;
  width: 42px;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
}
.experience-carousel__peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
}
/* Essence: two pillars around one circular diagram. */
.essence {
  padding-top: 2rem;
  padding-bottom: 1rem;
}
.essence__pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, .65fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: #eef7f0;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.essence__pillar h3 {
  font: 700 clamp(1.3rem, 2vw, 1.85rem)/1.25 var(--font-display);
  color: var(--lasea-forest-dark);
  margin: 1rem 0;
}
.essence__pillar p {
  line-height: 1.65;
}
.essence__cycle {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  border: 1px dashed #b4ce9c;
  border-radius: 50%;
  justify-self: center;
  color: var(--lasea-forest);
}
.essence__cycle::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 2px solid #83a551;
  border-inline-color: transparent;
  border-radius: 50%;
  transform: rotate(30deg);
}
.essence__cycle::after {
  content: "›";
  position: absolute;
  top: 8%;
  right: 19%;
  color: #62882d;
  font-size: 2rem;
  transform: rotate(42deg);
}
.essence__cycle-center {
  position: absolute;
  inset: 28%;
  border: 1px solid #b4ce9c;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.essence__cycle-center svg {
  width: 60%;
  height: 60%;
}
.essence__orbit {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #a8c893;
  background: #f5faf5;
  border-radius: 50%;
}
.essence__orbit--top {
  top: -12px;
  left: calc(50% - 24px);
}
.essence__orbit--bottom {
  bottom: -12px;
  left: calc(50% - 24px);
}
.essence__orbit--left {
  left: -12px;
  top: calc(50% - 24px);
}
.essence__orbit--right {
  right: -12px;
  top: calc(50% - 24px);
}
/* Principles share the existing category selector and keep original copy. */
.principles {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.principles .index-eyebrow {
  color: #bdd980;
}
.principles h3 {
  font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.25 var(--font-display);
  max-width: 22ch;
  margin: 1rem 0;
}
.principles p {
  line-height: 1.65;
}
.principles .services-categories__controls {
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.principles .services-categories__controls button {
  flex: 1 1 130px;
}
.principles .services-categories__panel {
  padding-left: 2.5rem;
  border-left: 1px solid #508473;
}
.principles__category {
  position: relative;
  isolation: isolate;
  min-width: 0;
}
.principles__category + .principles__category {
  margin-top: 2rem;
  border-top: 1px solid #508473;
  padding-top: 2rem;
}
.principles.is-enhanced .principles__category {
  margin: 0;
  border: 0;
  padding: 0;
}
.principles__category h4 {
  font: 700 1.7rem var(--font-display);
  margin: .75rem 0;
}
.principles__category ul {
  padding-left: 1.2rem;
  line-height: 1.9;
}
.principles__decoration {
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  right: 0;
  top: 0;
  opacity: .12;
  color: var(--lasea-leaf);
}
/* Static summary of the six stages, vertical on small screens. */
.index-approach {
  padding-block: 1rem 3rem;
  text-align: center;
}
.index-approach h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font: 800 clamp(1.5rem, 2.5vw, 2rem) var(--font-display);
  text-transform: uppercase;
  color: var(--lasea-forest);
  margin: 0;
}
.index-approach h3::before, .index-approach h3::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--lasea-leaf);
}
.index-approach p {
  color: var(--lasea-ink-soft);
  line-height: 1.6;
}
.index-approach__steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin: 2rem 0;
  list-style: none;
}
.index-approach__steps li {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.index-approach__steps li > span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--lasea-mint);
}
.index-approach__steps img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.index-approach__steps strong {
  font-size: .85rem;
  color: var(--lasea-forest);
  text-transform: uppercase;
}
.index-approach__steps li:not(:last-child)::after {
  content: "›";
  position: absolute;
  left: calc(100% - 5px);
  top: 24px;
  color: var(--lasea-forest);
  font-size: 1.5rem;
}
.index-approach__scope {
  font-size: .9rem;
  max-width: 78ch;
  margin-inline: auto;
}
/* Certifications: one dark panel, pills and a neutral document placeholder. */
.certifications {
  padding-block: 2rem 5rem;
  background: white;
  overflow-wrap: anywhere;
}
.certifications__intro {
  padding-inline: clamp(0rem, 3vw, 3rem);
}
.certifications__intro h2 span {
  color: inherit;
}
.certifications__selector {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.certifications__selector::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 450px;
  border: 12px solid #ffffff0c;
  border-radius: 50%;
  left: -190px;
  bottom: -130px;
  z-index: -1;
}
.certifications__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.certifications__toolbar > p {
  padding-left: 2rem;
  border-left: 1px solid #508473;
  line-height: 1.65;
  margin: 0;
  font-size: .95rem;
}
.certifications .services-categories__controls button {
  min-height: 82px;
}
.certifications__category {
  display: grid;
  grid-template-columns: minmax(0, .3fr) minmax(0, 1.2fr) minmax(0, .7fr);
  gap: 2rem;
  align-items: center;
}
.certifications__category + .certifications__category {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid #508473;
}
.certifications .is-enhanced .certifications__category {
  margin: 0;
  padding: 0;
  border: 0;
}
.certifications__decoration {
  width: 100%;
  height: auto;
  visibility: hidden;
}
.certifications__watermark {
  position: absolute;
  left: -1rem;
  bottom: 1rem;
  width: 23%;
  height: 65%;
  color: #8fbaa0;
  opacity: .18;
  z-index: -1;
  pointer-events: none;
}
.certifications h3 {
  font: 700 clamp(1.65rem, 2.6vw, 2.5rem)/1.2 var(--font-display);
  margin: 1.25rem 0;
  letter-spacing: -.02em;
}
.certifications__standard {
  color: #c2e18b;
  font-size: .9375rem;
}
.certifications__copy > p {
  line-height: 1.65;
}
.certifications__points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.certifications__points li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  line-height: 1.5;
}
.certifications__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  text-align: center;
  border-radius: 50%;
  background: var(--lasea-leaf);
  color: #153b29;
}
.certifications__document {
  min-width: 0;
  text-align: center;
  padding-left: 2rem;
  border-left: 1px solid #508473;
}
.certifications__preview {
  width: 100%;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 8px solid white;
  outline: 1px solid #dce5d9;
  border-radius: 12px;
  background: #f5f7f1;
  color: var(--lasea-forest-dark);
  object-fit: contain;
}
.certifications__preview strong {
  font: 700 clamp(1.7rem, 3vw, 3rem) var(--font-display);
}
.certifications__preview--official {
  display: block;
  height: auto;
  aspect-ratio: auto;
  background: white;
}
.certifications__document-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  min-height: 48px;
  margin-top: 1.25rem;
  border: 2px solid var(--lasea-leaf);
  border-radius: 999px;
  font: 600 1rem var(--font-body);
  background: transparent;
  color: white;
  padding: .7rem;
}
.certifications__document-button:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.certifications__document-button[href]:hover {
  background: var(--lasea-leaf);
  color: var(--lasea-forest-dark);
}
@media (max-width: 1100px) {
  .certifications__toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .certifications__toolbar > p {
    padding-left: 0;
    border: 0;
  }
  .certifications__category {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  }
  .certifications__decoration, .certifications__watermark {
    display: none;
  }
  .principles {
    gap: 1.5rem;
  }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .experience-carousel__slides {
    aspect-ratio: 4/3;
  }
  .essence__pillars {
    grid-template-columns: minmax(0, 1fr);
  }
  .essence__cycle {
    width: 210px;
    margin-block: 1rem;
  }
  .principles {
    grid-template-columns: minmax(0, 1fr);
  }
  .principles .services-categories__panel {
    border-left: 0;
    border-top: 1px solid #508473;
    padding: 1.5rem 0 0;
  }
  .index-approach__steps {
    gap: .75rem;
  }
  .index-approach__steps li > span {
    width: 65px;
    height: 65px;
  }
}
@media (max-width: 700px) {
  .certifications .services-categories__controls {
    flex-direction: column;
  }
  .certifications .services-categories__controls button {
    min-height: 70px;
  }
  .certifications__category {
    grid-template-columns: minmax(0, 1fr);
  }
  .certifications__document {
    border-left: 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid #508473;
    max-width: 290px;
    width: 100%;
    justify-self: center;
  }
  .experience-carousel.is-enhanced {
    padding-right: 0;
  }
  .experience-carousel__peek {
    display: none;
  }
  .index-approach__steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
  }
  .index-approach__steps li {
    flex-direction: row;
  }
  .index-approach__steps li > span {
    flex: none;
  }
  .index-approach__steps li:not(:last-child)::after {
    content: "";
    left: 32px;
    top: 65px;
    height: 24px;
    width: 1px;
    background: #8aad97;
  }
  .index-approach h3::before, .index-approach h3::after {
    display: none;
  }
}
@media (max-width: 480px) {
  .hero, .essence.container, .certifications > .container {
    padding-inline: 1.25rem;
  }
  .hero {
    margin-block: 2rem 3rem;
    gap: 2rem;
  }
  .experience-carousel__slides {
    aspect-ratio: 3/4;
  }
  .experience-carousel__overlay {
    padding-inline: 1rem;
  }
  .experience-carousel__controls {
    gap: .25rem;
  }
  .experience-carousel__counter {
    font-size: .85rem;
  }
  .experience-carousel__dots button {
    min-width: 24px;
    width: 24px;
  }
  .experience-carousel [data-carousel-pause] {
    margin-left: 0;
  }
  .principles .services-categories__controls {
    flex-direction: column;
  }
  .principles .services-categories__controls button {
    flex: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .index-switcher .services-categories__controls button {
    transition: none;
  }
}
