
/* Título de la sección */

.hero-title {
  width: 100%;
  height: 55vh;
  min-height: 380px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 6%;
  overflow: hidden;
}

.hero-content {
  position: relative;
  width: 100%;
}

.hero-bg {
  font-size: clamp(4rem, 18vw, 8rem);
  font-weight: 700;
  color: #611232;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1;
  user-select: none;
}

.hero-front {
  position: absolute;
  left: 5%;
  bottom: 20%;
  transform: translateY(80px);
}

.hero-subtitle {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  color: #000;
}

.hero-line {
  width: 160px;
  height: 5px;
  background-color: #003366;
  margin-top: 18px;
}

/***********************************/
/******** DISEÑO RESPONSIVO ********/
/***********************************/

@media (max-width: 1023px) and (min-width: 768px) {
  .hero-title {
    height: 50vh;
    padding: 0 5%;
    margin-top: 20px;
  }

  .hero-bg {
    font-size: clamp(4.5rem, 16vw, 6.5rem);
  }

  .hero-front {
    left: 4%;
    bottom: 14%;
    transform: translateY(80px);
  }

  .hero-subtitle {
    letter-spacing: 0.3em;
  }

  .hero-line {
    width: 130px;
  }
}

@media (max-width: 767px) and (min-width: 481px) {
  .hero-title {
    height: 48vh;
    min-height: 340px;
    padding: 0 6%;
    margin-top: 10px;
  }

  .hero-bg {
    font-size: clamp(4rem, 18vw, 5.5rem);
  }

  .hero-front {
    left: 4%;
    bottom: 12%;
    transform: translateY(70px);
  }

  .hero-subtitle {
    font-size: 1.6rem;
    letter-spacing: 0.28em;
  }

  .hero-line {
    width: 110px;
  }
}

@media (max-width: 630px) {
  .hero-title {
    height: auto;
    min-height: 340px;
    padding: 90px 6% 48px;
  }

  .hero-bg {
    font-size: clamp(3.8rem, 14vw, 5rem);
    line-height: 1.05;
  }

  .hero-front {
    position: relative;
    left: 0;
    bottom: auto;
    transform: none;
    margin-top: 32px;
  }

  .hero-subtitle {
    font-size: 1.45rem;
    letter-spacing: 0.24em;
  }

  .hero-line {
    width: 100px;
    height: 4px;
    margin-top: 14px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    height: auto;
    min-height: 320px;
    padding: 80px 6% 40px;
    margin-top: 10px;
  }

  .hero-bg {
    font-size: 3.8rem;
  }

  .hero-front {
    position: relative;
    left: 0;
    bottom: auto;
    transform: none;
    margin-top: 24px;
  }

  .hero-subtitle {
    font-size: 1.3rem;
    letter-spacing: 0.22em;
  }

  .hero-line {
    width: 90px;
    height: 4px;
    margin-top: 12px;
  }
}

@media (max-width: 436px) {
  .hero-title {
    min-height: 320px;
    padding: 80px 6% 36px;
  }

  .hero-bg {
    font-size: 3.5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .hero-front {
    position: relative;
    left: 0;
    bottom: auto;
    transform: none;
    margin-top: 26px;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    letter-spacing: 0.2em;
  }

  .hero-line {
    width: 88px;
    height: 3.5px;
    margin-top: 12px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    min-height: 300px;
    padding: 70px 5% 32px;
    margin-top: 10px;
  }

  .hero-bg {
    font-size: 2.9rem;
    letter-spacing: -0.03em;
  }

  .hero-front {
    margin-top: 20px;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    letter-spacing: 0.18em;
  }

  .hero-line {
    width: 72px;
    height: 3px;
    margin-top: 10px;
  }
}

@media (max-width: 320px) {
  .hero-title {
    min-height: 280px;
    padding: 60px 4% 28px;
  }

  .hero-bg {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    letter-spacing: 0.16em;
  }

  .hero-line {
    width: 64px;
  }
}

/*****************************************************************/

/***** ESTILOS PARA PROYECTOS *****/

/* VARIABLES & RESET */
:root {
  --bg:          #000000;
  --card-bg:     #18181b;
  --accent:      #056349;
  --accent-light:#0a8a64;
  --white:       #ffffff;
  --gray:        #a1a1aa;
  --tag-dark-bg: #27272a;
  --radius-sm:   6px;
  --radius-md:   14px;
  --font-display:'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* SECTION LAYOUT  (3 columnas) */
.brand-section {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.15fr;
  gap: 18px;
  width: 100%;
  min-height: 640px;
  background: var(--bg);
  padding: 60px 48px;
  box-sizing: border-box;
  color: var(--white);
  font-family: var(--font-body);
}

/* COLUMNA IZQUIERDA */
.col-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
}

.main-title {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.bottom-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: 280px;
}

.bottom-text strong {
  color: var(--white);
  font-weight: 600;
}

/* COLUMNA CENTRAL  (2 tarjetas apiladas) */
.col-center {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* TARJETAS BASE */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* Tarjeta alta (columna derecha) */
.card--tall {
  flex: 1;
  border: 1px solid #2a2a2e;
}

/* ETIQUETAS / TAGS */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.tag--green {
  background: var(--accent);
  color: var(--white);
}

.tag--dark {
  background: var(--tag-dark-bg);
  color: var(--gray);
}

.card-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* TÍTULOS DE TARJETA */
.card-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.card-title--large {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  color: var(--accent-light);
  letter-spacing: -0.02em;
}

/* LISTAS DE BENEFICIOS */
.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #d4d4d8;
  font-weight: 400;
}

.card-list li::before {
  content: '→';
  color: var(--accent-light);
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 500;
}

/* COLUMNA DERECHA */
.col-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* CABECERA SPRINT (título + badge circular) */
.sprint-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* Badge circular con texto rotado */
.circle-badge {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.circle-text-svg {
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}

.circle-text-svg text {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  fill: var(--white);
}

.arrow-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  color: var(--white);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* CTA BAR (rectángulo acostado verde) */
.cta-bar {
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.25s ease;
  cursor: pointer;
}

.cta-bar:hover {
  background: var(--accent-light);
}

.cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cta-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta-btn:hover {
  transform: scale(1.08);
  background: #111;
}

.cta-btn svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .brand-section {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .col-left {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-end;
    gap: 24px;
  }
  .main-title { flex: 1; }
  .bottom-text { flex: 1; }
}

@media (max-width: 620px) {
  .brand-section {
    grid-template-columns: 1fr;
  }
  .col-left {
    flex-direction: column;
    gap: 24px;
  }
  .circle-badge {
    width: 72px;
    height: 72px;
  }
}

/*****************************************************************/

/***** ESTILOS PARA EMPRESAS COLABORACIONES *****/

/* SECCIÓN PRINCIPAL */
.partners-section {
  background-color: #000;
  padding: 60px 40px;
  width: 100%;
}
 
.partners-title {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}
 
/* GRID DE LOGOS */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
}
 
/* TARJETA DE CADA EMPRESA */
.partner-card {
  background-color: #000;
  border: 1px solid #333;
  border-radius: 6px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: border-color 0.3s ease;
}
 
.partner-card:hover {
  border-color: #888;
}
 
.partner-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
 
.partner-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
 
/* RESPONSIVE */
@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
 
@media (max-width: 600px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .partners-section {
    padding: 40px 20px;
  }
}

/*****************************************************************/

/* ===== PROYECTOS DESTACADOS ===== */
.projects-section {
  background: #000;
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(120, 80, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.section-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #7c5cfc;
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 500;
  color: #f0eeff;
  margin: 0 0 12px;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin: 0 0 24px;
}

.divider-line {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, #7c5cfc, #c084fc);
  margin: 0 auto 60px;
  border-radius: 2px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── TARJETA ── */
.project-card {
  background: #111118;
  border: 0.5px solid #2a2a3a;
  border-radius: 20px;
  padding: 42px 36px 36px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
  border-color: rgba(124, 92, 252, 0.35);
  transform: translateY(-4px);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 252, 0.4), transparent);
  border-radius: 20px 20px 0 0;
}

.card-number {
  font-size: 13px;
  letter-spacing: 3px;
  color: #7c5cfc;
  font-weight: 500;
  margin-bottom: 26px;
}

/* ── ÁREA DEL LOGO ── */
.logo-area {
  width: 82px;
  height: 82px;
  background: #1a1a28;
  border: 0.5px solid #2e2e45;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  overflow: hidden;
}

.company-logo {
  width: 95px;
  height: 95px;
  object-fit: contain;
}

.project-title {
  font-size: 20px;
  font-weight: 500;
  color: #e8e0ff;
  margin: 0 0 12px;
  line-height: 1.3;
}

.project-desc {
  font-size: 15px;
  color: #6b6b88;
  line-height: 1.7;
  margin: 0 0 30px;
}

/* ── PIE DE TARJETA ── */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid #1e1e2e;
  padding-top: 22px;
}

.company-tag {
  font-size: 12px;
  color: #444;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.arrow-icon {
  width: 34px;
  height: 34px;
  background: #1a1a2e;
  border: 0.5px solid #2e2e45;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arrow-icon svg {
  width: 14px;
  height: 14px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cards-grid {
    max-width: 900px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .projects-section {
    padding: 70px 28px;
  }

  .section-title {
    font-size: 30px;
  }
}