* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-dark: #1c3d77;
  --blue-main: #1c3d77;
  --blue-title: #173f87;
  --yellow: #fcbe18;
  --borlog: #a41d14;
  --text: #243142;
  --text-soft: #5b6675;
  --white: #ffffff;
  --bg: #f6f7f9;
  --soft: #fbfbfc;
  --border: #e8ebf0;
  --black: #000000;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --transition: 0.3s ease;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 34px;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  color: var(--white);
  margin-bottom: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--blue-title);
}

h3 {
  font-size: 1.35rem;
  color: var(--blue-title);
}

p {
  color: var(--black);
  font-size: 1.09rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  border: 2px solid transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
  padding: 24px 0 26px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  transform: translateY(-20px);
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
}

.hero-logo-wrap img {
  width: min(380px, 90%);
  height: auto;
  display: block;
  object-fit: contain;
  transform: translateY(-30px);
}

.hero-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  max-width: 820px;
  margin: 0 auto 18px;
  line-height: 1.65;
  margin-top: -120px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-shape-1 {
  width: 700px;
  height: 700px;
  left: -220px;
  top: -80px;
}

.hero-shape-2 {
  width: 860px;
  height: 860px;
  right: -300px;
  bottom: -340px;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.btn-hero-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.btn-hero-back i {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.btn-hero-back span {
  display: inline-block;
}

.btn-hero-back:hover {
  background: #ffffff;
  color: var(--blue-dark);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.quick-access {
  position: relative;
  margin-top: -18px;
  z-index: 4;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.quick-card {
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 14px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.quick-card:hover {
  transform: translateY(-6px);
}

.quick-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--borlog);
  font-size: 2rem;
  background: var(--white);
}

.quick-card span {
  display: block;
  color: var(--blue-title);
  font-weight: 700;
  font-size: 1rem;
}

.text-panel {
  background: var(--white);
  border: 4px solid var(--borlog);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.text-panel p + p {
  margin-top: 16px;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.mv-card {
  background: white;
  border: 4px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.mv-card:hover {
  transform: translateY(-6px);
}

.mv-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--borlog);
  font-size: 2.6rem;
}

.mv-card h3 {
  margin-bottom: 12px;
}

.mv-card p {
  font-size: 1.02rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 30px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 14px;
  background: white;
  border: 4px solid var(--yellow);
  transition: 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--borlog);
  font-size: 1.9rem;
}

.benefit-text h3 {
  margin-bottom: 6px;
}

.benefit-text p {
  margin: 0;
  font-size: 1.1rem;
}

.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.custom-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue-title);
  font-weight: bold;
}

.logos-slider {
  overflow: hidden;
  width: 100%;
  margin-top: 30px;
  position: relative;
}

.logos-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollLogos 35s linear infinite;
}

.logos-slider:hover .logos-track {
  animation-play-state: paused;
}

.logo-card {
  width: 220px;
  min-width: 220px;
  height: 140px;
  background: #ffffff;
  border: 1px solid var(--black);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.logo-card img {
  max-width: 150px;
  max-height: 75px;
  object-fit: contain;
  transition: 0.3s ease;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* EQUIPO TECNICO */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.team-logo-card {
  height: 140px;
  background: #ffffff;
  border: 1px solid var(--black);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: var(--shadow);
}

.team-logo-card img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
}

/* CASOS DE EXITO */
.success-accordion {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.success-item {
  background: #ffffff;
  border: 4px solid var(--blue-dark);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.success-item:hover {
  transform: translateY(-3px);
}

.success-header {
  width: 100%;
  border: none;
  background: #ffffff;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
}

.success-header-left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.success-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.success-icon.education {
  background: linear-gradient(135deg, #2d6cdf, #1d4fa8);
}

.success-icon.health {
  background: linear-gradient(135deg, #d94b70, #b72f52);
}

.success-icon.entrepreneurship {
  background: linear-gradient(135deg, #7a4de0, #5a34b3);
}

.success-icon.road {
  background: linear-gradient(135deg, #f39c12, #d68910);
}

.success-icon.christmas {
  background: linear-gradient(135deg, #db3f5b, #b22242);
}

.success-icon.civic {
  background: linear-gradient(135deg, #1e8e5a, #146c43);
}

.success-icon.environment {
  background: linear-gradient(135deg, #18a558, #0f7e43);
}

.success-icon.innovation {
  background: linear-gradient(135deg, #1273de, #0b5394);
}

.success-title-group {
  flex: 1;
}

.success-year {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f2f5f9;
  color: var(--blue-title);
  font-size: 0.85rem;
  font-weight: 700;
}

.success-title-group h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: var(--blue-title);
}

.success-title-group p {
  margin: 0;
  max-width: 860px;
}

.success-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-title);
  font-size: 1.05rem;
}

.success-arrow i {
  transition: transform 0.3s ease;
}

.success-item.active .success-arrow i {
  transform: rotate(180deg);
}

.success-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.success-item.active .success-content {
  max-height: 9000px;
  padding: 0 26px 26px;
}

.success-content p {
  margin-bottom: 14px;
}

.success-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.success-content li {
  margin-bottom: 8px;
  color: var(--black);
}

.success-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 18px 0 6px;
  width: 100%;
}

.success-meta > div {
  background: #f9fbfd;
  border: 1px solid #e7edf3;
  border-radius: 16px;
  padding: 18px;
  width: 100%;
}

.success-meta h4 {
  margin-bottom: 10px;
  color: var(--blue-title);
  font-size: 1rem;
}

.logos-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 12px;
  width: 100%;
}

.logos-inline img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e6ecf2;
  transition: 0.3s ease;
  transform: scale(1.1);
}

.logos-inline img:hover {
  transform: scale(1.04);
}

.values-list {
  list-style: none;
  margin-top: 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  text-align: left;
}

.values-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.98rem;
  color: var(--text);
}

.values-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-title);
  font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .container {
    width: min(1180px, 92%);
  }

  .hero {
    min-height: auto;
    padding: 90px 0 70px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 4px;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-back {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.9rem;
    text-align: center;
  }

  .quick-access {
    margin-top: -28px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.5rem;
  }

  .benefit-text h3 {
    font-size: 1.1rem;
  }

  .benefit-text p {
    font-size: 1rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-logo-card {
    height: 120px;
    padding: 16px;
  }

  .team-logo-card img {
    max-width: 120px;
    max-height: 60px;
  }

  .logo-card {
    width: 180px;
    min-width: 180px;
    height: 120px;
  }

  .logo-card img {
    max-width: 120px;
    max-height: 60px;
  }

  .logos-track {
    animation-duration: 28s;
  }

  .success-header {
    padding: 18px;
  }

  .success-header-left {
    width: 100%;
    gap: 12px;
  }

  .success-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 1.2rem;
  }

  .success-title-group h3 {
    font-size: 1.1rem;
  }

  .success-title-group p,
  .success-content p,
  .success-content li {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .success-content,
  .success-item.active .success-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .success-meta {
    grid-template-columns: 1fr;
  }

  .logos-inline {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .logos-inline img {
    height: 80px;
    padding: 12px;
    transform: scale(1);
  }
}

@media (max-width: 520px) {
  .quick-grid,
  .team-grid,
  .logos-inline {
    grid-template-columns: 1fr;
  }

  .logo-card {
    width: 150px;
    min-width: 150px;
    height: 100px;
  }

  .logo-card img {
    max-width: 105px;
    max-height: 52px;
  }

  .logos-inline {
    gap: 12px;
  }

  .logos-inline img {
    height: 68px;
    padding: 10px;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .values-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-logo-wrap {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .success-item.active .success-content {
    max-height: 16000px;
    padding: 0 20px 20px;
  }
}