/* ══════════════════════════════════════════════════════════════════
   LAYOUT — accesos (columna izquierda) + bloque corporativo (centro)
   ══════════════════════════════════════════════════════════════════ */

.section-main { padding: 34px 0 56px; }

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.sidebar, .corporate { min-width: 0; }

/* ── Columna de accesos ──────────────────────────────────────── */
.sidebar-head { margin-bottom: 14px; }
.sidebar-title {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.sidebar-subtitle { margin: 0; font-size: 13px; color: var(--gray); }

.module-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mod-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  text-align: left;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.mod-btn:hover {
  transform: translateX(3px);
  border-color: #ddd8cf;
  box-shadow: var(--shadow-hover);
}
.mod-ico {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 88, 95, 0.1);
  color: var(--coral-dark);
}
.mod-ico svg { width: 20px; height: 20px; display: block; }
.mod-txt { flex: 1 1 auto; line-height: 1.2; }
.mod-arrow {
  flex: 0 0 auto;
  color: var(--gray-dark);
  transition: transform .16s ease, color .16s ease;
}
.mod-btn:hover .mod-arrow { color: var(--coral-dark); transform: translateX(3px); }

.mod-btn.is-disabled {
  background: #f4f2ee;
  border-style: dashed;
  color: var(--gray-dark);
  box-shadow: none;
  cursor: not-allowed;
}
.mod-btn.is-disabled:hover { transform: none; box-shadow: none; border-color: var(--sand); }
.mod-btn.is-disabled .mod-ico { background: #e9e5dd; color: var(--gray-dark); }

.mod-btn-accent { border-color: rgba(255, 88, 95, 0.45); }
.mod-badge {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--coral);
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
}

/* ── Bloque corporativo ──────────────────────────────────────── */
.corporate { display: flex; flex-direction: column; gap: 18px; }

.corp-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.corp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(23, 38, 65, 0.10) 0%,
    rgba(23, 38, 65, 0.55) 52%,
    rgba(23, 38, 65, 0.90) 100%);
}
.corp-hero-body { position: relative; padding: 26px 24px; color: #fff; width: 100%; }
.corp-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffd7d9;
  margin-bottom: 8px;
}
.corp-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.corp-text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 62ch;
}
.corp-cta { width: auto; }

.corp-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.corp-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 18px 16px;
}
.corp-stat .v {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 6px;
}
.corp-stat .l { font-size: 13px; color: var(--gray); line-height: 1.35; }

.corp-gallery h3 {
  margin: 4px 0 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.corp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.corp-gallery-grid img { min-width: 0; }
.corp-gallery-grid img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (min-width: 560px) {
  .corp-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) {
  .corp-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .corp-gallery-grid img { height: 180px; }
}
@media (min-width: 900px) {
  .main-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
  .sidebar { position: sticky; top: 86px; }
  .corp-hero { min-height: 360px; }
  .corp-hero-body { padding: 32px 34px; }
}
