/* ==========================================================================
   HERO SECTION - REPRESENTACION
   ========================================================================== */
.hero-representacion {
  background-color: #f9f6f1;
  padding: 40px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 60px;
  padding: 0px 50px;
}

.hero-text {
  flex: 1;
  min-width: 650px;
}

.etiqueta {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #55c9cc;
  margin-bottom: 0px;
  text-transform: uppercase;
  padding-left: 20px;
}

.hero-text h1 {
  font-size: 3.8rem;
  font-weight: 400;
  color: #444e56;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #55c9cc;
  font-weight: 400;
  font-size: 90px;
  display: inline-block;
  margin-top: 5px;
}

.hero-description {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin-top: 40px;
  padding-left: 0px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0px 20px 40px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* ==========================================================================
   SERVICIOS DE INVERSION SECTION - TURQUESA
   ========================================================================== */
.servicios-inversion {
  padding: 80px 20px;
  background-color: #55c9cc;
}

.servicios-inversion h2 {
  margin: 0 0 60px 0;
  font-size: 3.8rem;
  font-weight: 400;
  color: #444e56;
  text-align: center;
}

.servicios-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.servicio-card {
  flex: 1;
  min-width: 350px;
  max-width: 420px;
  background: #ffffff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.servicio-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
}

.servicio-icon img {
  width: 300px;
  height: 200px;
  padding: 10px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(85, 201, 204, 0.2);
}

.servicio-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #444e56;
  text-align: center;
  margin-bottom: 20px;
}

.servicio-card p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
}

.servicio-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.servicio-features li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #444e56;
  padding: 10px 0;
  line-height: 1.4;
  border-left: 3px solid #55c9cc;
  padding-left: 20px;
}

.servicio-features img {
  width: 22px;
  height: 22px;
  margin-right: 15px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(69%) sepia(35%) saturate(381%) hue-rotate(139deg) brightness(91%) contrast(88%);
}

/* ==========================================================================
   PROCESO DE INVERSION SECTION - BLANCO
   ========================================================================== */
.proceso-inversion {
  padding: 80px 20px;
  background-color: #ffffff;
}

.proceso-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.proceso-text {
  flex: 1;
  min-width: 600px;
}

.proceso-text h2 {
  font-size: 3.8rem;
  font-weight: 400;
  color: #444e56;
  line-height: 1.2;
  margin-bottom: 40px;
}

.proceso-text h2 span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #ffa500;
  font-weight: 400;
  font-size: 90px;
}

.proceso-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  background-color: #ffa500;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #444e56;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.proceso-image {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
}

.proceso-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0px 20px 40px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* ==========================================================================
   BENEFICIOS REPRESENTACION SECTION - TURQUESA
   ========================================================================== */
.beneficios-representacion {
  display: flex;
  justify-content: space-around;
  background-color: #55c9cc;
  color: #ffffff;
  padding: 60px 20px;
}

.beneficios-representacion > div {
  flex: 1;
  text-align: center;
  padding: 0 25px;
  position: relative;
}

.beneficios-representacion > div:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  height: 70%;
  border-right: 1px solid #ffffff;
}

.beneficios-representacion img {
  width: 280px;
  height: 250px;
  margin-bottom: 20px;
}

.beneficios-representacion h3 {
  font-size: 1.4em;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 15px;
}

.beneficios-representacion p {
  font-size: 1em;
  line-height: 1.6;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   CONSULTA GRATUITA SECTION - NARANJA
   ========================================================================== */
.consulta-gratuita {
  background-color: #ffa500;
  padding: 80px 20px;
}

.consulta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.consulta-text {
  flex: 1;
  max-width: 50%;
}

.consulta-text .etiqueta {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 0px;
  text-transform: uppercase;
  padding-left: 0;
}

.consulta-text h3 {
  font-size: 3.2rem;
  font-weight: 400;
  color: #444e56;
  line-height: 1.2;
  margin-bottom: 20px;
}

.consulta-text h3 span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #ffffff;
  font-weight: 400;
  font-size: 90px;
}

.consulta-text h4 {
  color: #444e56;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 1.4;
}

.btn-consulta {
  display: inline-block;
  background-color: #ffffff;
  color: #444e56;
  padding: 16px 32px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-consulta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
  background-color: #444e56;
  color: #ffffff;
}

.consulta-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 50%;
}

.stat {
  text-align: center;
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat h5 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffa500;
  margin: 0 0 10px 0;
}

.stat p {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

/* Tablet and small desktop - 1024px and down */
@media screen and (max-width: 1024px) {
  .hero-content {
    padding: 0px 30px;
    gap: 40px;
  }
  
  .servicios-inversion {
    padding: 60px 15px;
  }
  
  .proceso-inversion {
    padding: 60px 15px;
  }
  
  .consulta-gratuita {
    padding: 60px 15px;
  }
}

/* Tablets - 768px and down */
@media screen and (max-width: 768px) {
  /* Hero Section */
  .hero-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 20px 15px;
  }
  
  .hero-text {
    min-width: auto;
    width: 100%;
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .hero-text h1 span {
    font-size: 3.2rem;
    display: block;
    margin-top: 10px;
  }
  
  .etiqueta {
    padding-left: 0;
    font-size: 1.6rem;
  }
  
  .hero-description {
    padding-left: 0;
    font-size: 1.1rem;
  }
  
  .hero-image {
    display: none;
  }
  
  /* Servicios */
  .servicios-inversion {
    padding: 50px 15px;
  }
  
  .servicios-inversion h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
  }
  
  .servicios-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .servicio-card {
    min-width: auto;
    width: 95%;
    max-width: 500px;
    padding: 30px 25px;
  }
  
  .servicio-icon img {
    width: 200px;
    height: 150px;
    padding: 8px;
  }
  
  .servicio-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  
  .servicio-card p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .servicio-features li {
    font-size: 0.95rem;
    padding: 8px 0;
  }
  
  /* Proceso */
  .proceso-inversion {
    padding: 50px 15px;
  }
  
  .proceso-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .proceso-text {
    min-width: auto;
    width: 100%;
  }
  
  .proceso-text h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .proceso-text h2 span {
    font-size: 3.2rem;
  }
  
  .proceso-image {
    min-width: auto;
    width: 100%;
  }
  
  .step {
    gap: 15px;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .step-content h4 {
    font-size: 1.3rem;
  }
  
  .step-content p {
    font-size: 0.95rem;
  }
  
  /* Beneficios */
  .beneficios-representacion {
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
  }

  .beneficios-representacion > div {
    margin-bottom: 25px;
    padding-bottom: 15px;
    width: 100%;
    max-width: 350px;
  }

  .beneficios-representacion > div:not(:last-child)::after {
    display: none;
  }

  .beneficios-representacion > div:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }

  .beneficios-representacion > div:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .beneficios-representacion img {
    width: 180px;
    height: 140px;
    margin-bottom: 15px;
  }

  .beneficios-representacion h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .beneficios-representacion p {
    max-width: 300px;
    font-size: 0.95rem;
  }
  
  /* Consulta */
  .consulta-gratuita {
    padding: 50px 15px;
  }
  
  .consulta-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .consulta-text,
  .consulta-stats {
    max-width: 100%;
    width: 100%;
  }
  
  .consulta-text {
    text-align: center;
  }
  
  .consulta-text .etiqueta {
    font-size: 1.6rem;
  }
  
  .consulta-text h3 {
    font-size: 2.5rem;
  }
  
  .consulta-text h3 span {
    font-size: 2.8rem;
  }
  
  .consulta-text h4 {
    font-size: 1.2rem;
  }
  
  .consulta-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .stat {
    padding: 25px 15px;
  }
  
  .stat h5 {
    font-size: 2rem;
  }
  
  .stat p {
    font-size: 0.9rem;
  }
}

/* Mobile phones - 480px and down */
@media screen and (max-width: 480px) {
  /* Hero Section */
  .hero-content {
    padding: 15px 10px;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-text h1 span {
    font-size: 2.5rem;
  }
  
  .etiqueta {
    font-size: 1.4rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  /* Servicios - FIXED CENTERING */
  .servicios-inversion {
    padding: 40px 5px;
  }
  
  .servicios-inversion h2 {
    font-size: 2.2rem;
  }
  
  .servicios-container {
    gap: 20px;
    padding: 0 5px;
  }
  
  .servicio-card {
    width: calc(100% - 10px);
    max-width: 400px;
    padding: 25px 20px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .servicio-icon {
    margin-bottom: 20px;
  }
  
  .servicio-icon img {
    width: 150px;
    height: 120px;
    padding: 5px;
  }
  
  .servicio-card h3 {
    font-size: 1.4rem;
  }
  
  .servicio-card p {
    font-size: 0.95rem;
  }
  
  .servicio-features li {
    font-size: 0.9rem;
    padding: 6px 0;
    padding-left: 15px;
  }
  
  .servicio-features img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }
  
  /* Proceso */
  .proceso-inversion {
    padding: 40px 10px;
  }
  
  .proceso-text h2 {
    font-size: 2.2rem;
  }
  
  .proceso-text h2 span {
    font-size: 2.5rem;
  }
  
  .step {
    gap: 12px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .step-content h4 {
    font-size: 1.2rem;
  }
  
  .step-content p {
    font-size: 0.9rem;
  }
  
  /* Beneficios */
  .beneficios-representacion {
    padding: 25px 10px;
  }

  .beneficios-representacion img {
    width: 140px;
    height: 110px;
  }

  .beneficios-representacion h3 {
    font-size: 1.2rem;
  }

  .beneficios-representacion p {
    font-size: 0.9rem;
    max-width: 280px;
  }
  
  /* Consulta */
  .consulta-gratuita {
    padding: 40px 10px;
  }
  
  .consulta-text .etiqueta {
    font-size: 1.4rem;
  }
  
  .consulta-text h3 {
    font-size: 2rem;
  }
  
  .consulta-text h3 span {
    font-size: 2.2rem;
  }
  
  .consulta-text h4 {
    font-size: 1.1rem;
  }
  
  .btn-consulta {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .consulta-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .stat {
    padding: 20px 15px;
  }
  
  .stat h5 {
    font-size: 1.8rem;
  }
  
  .stat p {
    font-size: 0.85rem;
  }
}

/* Extra small phones - 360px and down */
@media screen and (max-width: 360px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-text h1 span {
    font-size: 2rem;
  }
  
  .servicios-inversion h2,
  .proceso-text h2,
  .consulta-text h3 {
    font-size: 1.8rem;
  }
  
  .consulta-text h3 span,
  .proceso-text h2 span {
    font-size: 2rem;
  }
  
  /* Servicios - Extra small phones */
  .servicios-inversion {
    padding: 30px 2px;
  }
  
  .servicios-container {
    padding: 0 2px;
  }
  
  .servicio-card {
    width: calc(100% - 8px);
    max-width: 350px;
    padding: 20px 15px;
  }
  
  .servicio-icon img {
    width: 120px;
    height: 100px;
  }
  
  .beneficios-representacion img {
    width: 120px;
    height: 90px;
  }
  
  .stat h5 {
    font-size: 1.5rem;
  }
}

/* Ultra small phones - 320px and down */
@media screen and (max-width: 320px) {
  .servicios-inversion {
    padding: 30px 0;
  }
  
  .servicios-container {
    padding: 0;
  }
  
  .servicio-card {
    width: 100%;
    max-width: 320px;
    margin: 0;
    border-radius: 10px;
  }
  
  .servicio-icon img {
    width: 100px;
    height: 80px;
    padding: 3px;
  }
  
  .servicio-card h3 {
    font-size: 1.3rem;
  }
  
  .servicio-card p {
    font-size: 0.9rem;
  }
}