:root {
  /* Espacios y paleta principal */
  --margin-h: 64px;
  --green-neutral: #6da08d;
  --green-medium: #269069;
  --green-high: #0bcf7d;
  --blue-dark: #0f2631;
  --white-neutral: #cecece;
  --bg-gradient-start: #0d3d39;
  --bg-gradient-end: #0f2631;

  /* Breakpoints */
  --bp-desktop: 1440px;
  --bp-tablet: 1024px;
  --bp-mobile: 375px;

  /* Container padding */
  --container-padding: clamp(16px, 5vw, 64px);
}

/* =======================================================================================================================
RESET & BASE
======================================================================================================================= */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, Roboto, Helvetica, sans-serif;
  color: var(--white-neutral);
  background: var(--blue-dark);
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* =======================================================================================================================
COMPANY HERO
======================================================================================================================= */
.hero-company {
  display: flex;
  justify-content: center;
  padding: 60px var(--container-padding);
}

.hero-company__container {
  width: 100%;
  max-width: var(--bp-desktop);
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  padding-top: 64px;
}

.hero-company__title {
  font-family: 'Inter', sans-serif;
  font-size: 65px;
  font-weight: 700;
  line-height: 125%;
  background: linear-gradient(90deg, #BDFEE3 0%, #5CDFA8 50%, #A169E7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  margin-top: 64px;
}

/* =======================================================================================================================
COMPANY PAGE
======================================================================================================================= */
.company-page {
  background: linear-gradient(179.64deg, #0F2631 18.71%, #0D3D39 53.9%, #0F2631 91.08%);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.company-intro {
  position: relative;
  padding-top: 20px;
  padding-bottom: 0px;
  overflow: visible;
}

.company-intro__container, .company-section-2__container {
  max-width: 1440px;
  width: 100%;
  padding-left: 64px;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

.company-section-2__container {
  padding-left: 0;
}

.company-intro__svg-container {
  width: 90%;
  margin-left: auto;
  margin-right: 0;
}

.company-intro__svg-container svg {
  width: 100%;
  height: auto;
}

.company-intro__text-container, .company-section-2__text-container {
  position: absolute;
  top: 0px;
  left: 180px;
  z-index: 2;
  max-width: 590px;
}

.company-intro__description, .company-section-2__description {
  color: var(--green-neutral, #6DA08D);
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 140%;
  margin: 0;
}

.company-section-2 {
  background: #0F2631;
  margin-top: -30px;
  position: relative;
}

.company-section-2__text-container {
  top: 60px;
}

.company-section__content {
  position: relative;
  min-height: 1550px;
  width: 100%;
}

.company__highlight {
  color: var(--white-neutral, #cecece);
  margin: 0;
}

.circle-card {
  position: absolute;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  aspect-ratio: 1 / 1;
}

.circle-card__text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: 0.1px;
  margin: 0;
  color: #0F2631;
}

.circle-card__highlight {
  font-weight: 600;
}

.circle-card--pink {
  width: 472px;
  height: 472px;
  top: 426px;
  left: 50%;
  margin-left: 35px;
  background-color: #E85673;
  padding: 50px;
}

.circle-card--orange {
  width: 490px;
  height: 490px;
  top: 975px;
  left: 50%;
  margin-left: -298px; /* (422px - 1440px/2) */
  background-color: #E69256;
  padding: 50px;
}

/* =======================================================================================================================
   NAME SECTION
   ======================================================================================================================= */
.name-section {
  background-color: #112428;
  padding: 80px 0;
  display: flex;
  width: 100%;
}

.name-section__container {
  max-width: 1090px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.name-section__content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.name-section__title-block {
  flex: 0 0 40%;
}

.name-section__subtitle {
  display: block;
  font-family: -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 28px;
  color: #CECECE;
  margin-bottom: 16px;
}

.name-section__title {
  font-family: -apple-system, Roboto, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.4;
  background: linear-gradient(90deg, #BDFEE3, #5CDFA8, #A169E7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.name-section__description {
  flex: 1;
  color: var(--green-neutral, #6DA08D);
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 1.6; 
  margin: 0;
}

/* =======================================================================================================================
MEDIA QUERIES
======================================================================================================================= */
@media (max-width: 1100px) {
  .circle-card--pink {
    margin-left: 5px;
  }
}

@media (max-width: 1024px) {

  .company-intro__container {
    padding-bottom: 200px;
  }

  .company-intro__text-container {
    left: 0;
    position: relative;
    height: 100%;    
  }

  .company-intro__svg-container {
    position: absolute;
    top: -200px;
    left: 150px;
    transform: scale(0.6);
    opacity: 0.4;
  }

  .company-section-2 {
    margin-top: 0;
  }

  .name-section__container {
    padding: 0;
  }

  .name-section__title-block {
    flex: 0 0 0;
  }
  
  .company-section-2__text-container {
    position: relative;
    max-width: 100%;
    margin-bottom: 60px;
    padding: 0 64px;
    text-align: left;
    top: 40px;
    left: 0;
  }

  .company-section__content {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-bottom: 60px;
  }

  .circle-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-left: 0;
    max-width: 450px;
    height: auto;
  }

  .circle-card--pink {
    margin-left: 30%;
  }

  .circle-card--orange {
    margin-right: 30%;
  }

  .name-section__content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    align-items: center;
    padding: 0 60px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 450px;
    margin: 0 auto;
  }

  .team-section__container {
    gap: 40px;
  }

  .hero-company__title {
    font-size: 48px;
    margin-top: 32px;
  }

  .company-intro__description,
  .company-section-2__description {
    font-size: 20px;
    line-height: 1.5;
  }

  .circle-card__text {
    font-size: 20px;
    line-height: 1.4;
  }

  .name-section__title {
    font-size: 32px;
  }

  .name-section__subtitle {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .hero-company {
    padding: 30px;
    text-align: center;
  }

  .hero-company__title {
    font-size: 36px;
    margin-top: 16px;
  }

  .company-intro {
    padding: 40px var(--container-padding);
    margin-top: 0;
    text-align: center;
    margin: 0 auto 40px;
  }

  .company-intro__container {
    padding: 0;
  }
 
  .company-intro__text-container {
    position: relative;
    top: auto;
    left: auto;
    text-align: center;
  }

  .company-intro__svg-container {
    margin: 0 auto;
    left: -50px;
    opacity: 0.3;
    width: 100%;
    transform: scale(0.6);
  }

  .company-section-2__text-container {
    padding: 30px;
    top: 0;
  }

  .circle-card--orange, .circle-card--pink {
    margin-right: 0;
    margin-left: 0;
  }

  .team-section {
    padding: 60px var(--container-padding);
  }

  .company-intro__description,
  .company-section-2__description {
    font-size: 18px;
    line-height: 1.5;
  }

  .circle-card__text {
    font-size: 18px;
    line-height: 1.4;
  }

  .name-section__title {
    font-size: 26px;
  }

  .name-section__subtitle {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero-company__title {
    font-size: 28px;
    margin-top: 8px;
  }

  .company-intro {
    padding: 20px var(--container-padding);
  }

  .company-intro__description,
  .company-section-2__description {
    font-size: 16px;
    line-height: 1.5;
  }

  .circle-card__text {
    font-size: 16px;
    line-height: 1.4;
  }

  .name-section__title {
    font-size: 20px;
  }

  .name-section__subtitle {
    font-size: 16px;
  }
}

/* =======================================================================================================================
TEAM SECTION
======================================================================================================================= */
.team-section {
  background-color: #0D3D39;
  padding: 80px 0 120px;
  width: 100%;
}

.team-section__container {
  max-width: 1090px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  gap: 40px;
  box-sizing: border-box;
}

.team-section__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 80px;
}

.team-section__title {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  background: linear-gradient(90.05deg, #BDFEE3 15.45%, #5CDFA8 50.25%, #A169E7 85.05%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  text-align: left;
  max-width: 200px;
  align-self: stretch;
}

.team-section__description {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  color: var(--white-neutral, #CECECE);
  text-align: left;
  max-width: 1090px;
  margin: 0;
  align-self: stretch;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
}

.team-card {
  background-color: var(--blue-dark);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}

.team-card:hover {
  text-decoration: none;
  color: inherit;
}

.team-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 350 / 320;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.team-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding: 0 24px 24px 24px;
}

.team-card__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  color: #F8F8F8;
  margin: 0;
  flex: 1 0 0;
  min-height: 58px;
}

.team-card__role {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  color: #C0C0C0;
  margin: 0;
}

.team-card__linkedin {
  display: flex;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.team-card__linkedin svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 450px;
    margin: 0 auto;
  }

  .team-section__container {
    gap: 40px;
  }

  .team-section__title {
    font-size: 32px;
  }

  .team-section__description {
    font-size: 20px;
  }

  .team-card__name {
    font-size: 20px;
  }

  .team-card__role {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .team-section__container {
    gap: 40px;
  }

  .team-section__title {
    font-size: 26px;
  }

  .team-section__description {
    font-size: 16px;
  }

  .team-card__name {
    font-size: 18px;
  }

  .team-card__role {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 480px) {
  .team-section__title {
    font-size: 20px;
  }

  .team-section__description {
    font-size: 14px;
  }

  .team-card__name {
    font-size: 16px;
  }

  .team-card__role {
    font-size: 14px;
  }
}

/* =======================================================================================================================
   ANIMATIONS
   ======================================================================================================================= */

/* Animations */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.2s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.3s;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.3s;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

.reveal-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.4s;
}

.reveal-bottom.active {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Staggered card animations */
.company-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.5s;
}

.company-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
} 