:root {
  --bg: #ffffff;
  --bg2: #f8f7f5;
  --ink: #1a1a18;
  --muted: #7a7a72;
  --rule: #e4e2dc;
  --accent: #2a5c8f;
  --accent2: #c8a85a;
  --green: #2d7a4f;
  --green2: #e8f5ee;
  --max: 1200px
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem
}

.section {
  padding: 80px 0
}

.section--alt {
  background: var(--bg2)
}

.section--dark {
  background: #0f2318;
  color: #fff
}

.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 1rem
}

.eyebrow--green {
  color: #4caf7d
}

h2.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.5rem
}

h2.section-title--white {
  color: #fff
}

p.lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 680px
}

p.lead--white {
  color: rgba(255, 255, 255, .75)
}

/* ── HERO ── */
.sost-hero {
  width: 100%;
  height: 406px;
  position: relative;
  overflow: hidden
}

.sost-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.sost-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(15, 35, 24, .85) 0%, rgba(15, 35, 24, .3) 55%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end
}

.sost-hero__text {
  padding: 0 4rem;
  text-align: left
}

.sost-hero__text h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: .75rem
}

.sost-hero__text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .75);
  max-width: 500px
}

.sost-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(77, 175, 99, .2);
  border: 1px solid rgba(77, 175, 99, .4);
  border-radius: 20px;
  padding: .4rem 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7ddfaa;
  margin-bottom: 1.25rem
}

/* ── INTRO ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center
}

.intro-visual {
  background: var(--green2);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #c3e6d0
}

.intro-visual__title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 1.25rem
}

.intro-pill-list {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.intro-pill {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: #fff;
  border-radius: 8px;
  padding: .85rem 1rem;
  border: 1px solid #c3e6d0
}

.intro-pill__icon {
  width: 36px;
  height: 36px;
  background: var(--green2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem
}

.intro-pill__text {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4
}

/* ── ESG CARDS ── */
.esg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem
}

.esg-card {
  border-radius: 14px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s
}

.esg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .12)
}

.esg-card--e {
  background: linear-gradient(135deg, #1a4a2e 0%, #2d7a4f 100%)
}

.esg-card--s {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5c8f 100%)
}

.esg-card--g {
  background: linear-gradient(135deg, #4a3a1a 0%, #8f6e2a 100%)
}

.esg-card__letter {
  font-family: 'DM Serif Display', serif;
  font-size: 5rem;
  color: rgba(255, 255, 255, .1);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1
}

.esg-card__tag {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: .75rem
}

.esg-card__title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem
}

.esg-card__text {
  font-size: .92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .8)
}

/* ── PILARES (listas) ── */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem
}

.pilar-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 2rem;
  transition: box-shadow .25s, transform .25s
}

.pilar-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
  transform: translateY(-4px)
}

.pilar-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem
}

.pilar-card__icon--green {
  background: var(--green2)
}

.pilar-card__icon--blue {
  background: #e8f0f8
}

.pilar-card__icon--gold {
  background: #fdf6e3
}

.pilar-card__title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: .02em
}

.pilar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem
}

.pilar-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5
}

.pilar-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  flex-shrink: 0;
  margin-top: .45rem
}

/* ── GESTIÓN ── */
.gestion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center
}

.iso-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem
}

.iso-badge {
  background: var(--bg);
  border: 2px solid var(--rule);
  border-radius: 10px;
  padding: .75rem 1.25rem;
  text-align: center;
  min-width: 120px
}

.iso-badge__code {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700
}

.iso-badge__desc {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .2rem
}

.gestion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem
}

.gestion-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg2);
  border-radius: 8px;
  border-left: 3px solid var(--accent2)
}

.gestion-item__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: .1rem
}

.gestion-item__text {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6
}

.gestion-item__text strong {
  color: var(--ink);
  display: block;
  margin-bottom: .2rem
}

/* ── COMPROMISO HOTELERO ── */
.compromiso-wrap {
  background: linear-gradient(135deg, #0f2318 0%, #1a4a2e 100%);
  border-radius: 20px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.compromiso-wrap h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff;
  margin-bottom: 1.25rem
}

.compromiso-wrap p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, .75)
}

.compromiso-checks {
  display: flex;
  flex-direction: column;
  gap: .85rem
}

.compromiso-check {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: rgba(255, 255, 255, .07);
  border-radius: 8px;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .1)
}

.compromiso-check__tick {
  width: 28px;
  height: 28px;
  background: #2d7a4f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.compromiso-check__tick svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round
}

.compromiso-check__text {
  font-size: .9rem;
  font-weight: 600;
  color: #fff
}

/* ── DOCUMENTOS ── */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem
}

.doc-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  cursor: default
}

.doc-card:hover {
  box-shadow: 0 6px 24px rgba(42, 92, 143, .1);
  transform: translateY(-3px);
  border-color: var(--accent2)
}

.doc-card__icon {
  width: 44px;
  height: 44px;
  background: var(--bg2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem
}

.doc-card__title {
  font-weight: 700;
  font-size: .88rem;
  color: var(--ink);
  line-height: 1.4
}

.doc-card__sub {
  font-size: .72rem;
  color: var(--muted);
  margin-top: .25rem
}

/* ── CONTACTO ESG ── */
.contacto-esg {
  background: var(--accent);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center
}

.contacto-esg h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: .75rem
}

.contacto-esg p {
  font-size: 1rem;
  color: rgba(255, 255, 255, .75);
  max-width: 520px
}

.btn-esg {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent2);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s
}

.btn-esg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 145, 90, 0.4);
  color: #fff !important
}

/* ── WHATSAPP ── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
  text-decoration: none
}

.wa-float:hover {
  transform: scale(1.1)
}

.wa-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .2;
  animation: wa-ping 1.5s cubic-bezier(0, 0, .2, 1) infinite
}

@keyframes wa-ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0
  }
}

/* ── RESPONSIVE ── */
@media(max-width:900px) {

  .intro-grid,
  .gestion-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .esg-grid,
  .pilares-grid {
    grid-template-columns: 1fr
  }

  .compromiso-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem
  }

  .contacto-esg {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.0rem;
  }
}

@media(max-width:600px) {
  .container {
    padding: 0 1.25rem
  }

  p.lead {
    max-width: 100%
  }

  .sost-hero {
    height: 280px
  }

  .sost-hero__overlay {
    background: linear-gradient(0deg, rgba(26, 26, 24, .78) 30%, rgba(26, 26, 24, .25) 60%, transparent 100%);
  }

  .sost-hero__text {
    padding: 0 1.5rem !important;
    margin-top: 15% !important;
    text-align: center !important;
  }

  .sost-hero__text h1 {
    text-align: center !important;
  }

  .sost-hero__text p {
    max-width: 100% !important;
    text-align: center !important;
  }

  .docs-grid {
    grid-template-columns: 1fr
  }
}