* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

.hero-portada {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #1a4399;
}

.hero-diagonal-bg {
  position: absolute;
  top: 0;
  left: -20%;
  width: 140%;
  height: 100%;
  display: flex;
  z-index: 0;
}

.diagonal-strip {
  flex: 1;
  height: 100%;
  transform: skewX(-12deg);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
  transition: all 0.5s ease;
}

.diagonal-strip:hover {
  flex: 1.5;
  border-right-color: rgba(255, 255, 255, 0.4);
  z-index: 5;
}

.strip-image {
  width: 200%;
  height: 100%;
  margin-left: -50%;
  background-size: cover;
  background-position: center;
  transform: skewX(12deg) scale(1.1);
  filter: grayscale(10%) brightness(0.7) contrast(1.1);
  transition:
    transform 0.8s ease,
    filter 0.5s ease;
}

.diagonal-strip:hover .strip-image {
  transform: skewX(12deg) scale(1.2);
  filter: grayscale(0%) brightness(0.9) contrast(1);
}

.diagonal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 25, 60, 0.85) 0%,
    rgba(26, 67, 153, 0.5) 50%,
    rgba(10, 25, 60, 0.85) 100%
  );
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-diagonal-bg {
    flex-direction: column;
    left: 0;
    width: 100%;
    transform: none;
  }

  .diagonal-strip {
    transform: skewY(-5deg) scaleY(1.2);
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
  }

  .strip-image {
    width: 100%;
    margin-left: 0;
    transform: skewY(5deg) scale(1.2);
    min-height: 120%; /* Ensure coverage */
  }

  .diagonal-strip:hover {
    flex: 2; /* Larger expand on mobile touch */
  }
}

.hero-portada::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-portada::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, 50px) scale(1.1);
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: #ffffff;
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #d4af37 0%, #f4d976 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-title-highlight {
  background: linear-gradient(135deg, #ffffff 0%, #e8f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-description {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 580px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
}

.hero-feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-icon svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  stroke-width: 3;
  fill: none;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #467ff7;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-cta-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(70, 127, 247, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.hero-cta-primary:hover::before {
  left: 100%;
}

.hero-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-cta-primary svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.3s ease;
}

.hero-cta-primary:hover svg {
  transform: translateX(4px);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 18px 32px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.hero-cta-secondary svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.hero-image-container {
  position: relative;
  animation: slideInRight 1s ease-out;
  min-height: 500px;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 30px;
  z-index: -1;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero-stats {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: #ffffff;
  padding: 24px 32px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 3;
  animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stats-number {
  font-size: 42px;
  font-weight: 800;
  color: #467ff7;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stats-label {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.hero-trust-badge {
  position: absolute;
  top: 40px;
  right: -20px;
  background: linear-gradient(135deg, #d4af37 0%, #f4d976 100%);
  padding: 16px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
  z-index: 3;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-trust-badge-text {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-badge-text svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

@media (max-width: 1200px) {
  .hero-container {
    gap: 60px;
    padding: 60px 30px;
  }

  .hero-title {
    font-size: 52px;
  }
}

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-image-container {
    order: 1;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
  }

  .hero-trust-badge {
    right: 50%;
    transform: translateX(50%);
    top: -20px;
  }
}

@media (max-width: 640px) {
  .hero-portada {
    min-height: auto;
  }

  .hero-container {
    padding: 40px 20px;
    gap: 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-image-wrapper::before {
    top: -15px;
    right: -15px;
  }

  .hero-stats {
    position: relative;
    left: 0;
    transform: none;
    bottom: 0;
    margin-top: 20px;
  }

  .hero-trust-badge {
    position: relative;
    right: 0;
    transform: none;
    top: 0;
    margin-bottom: 20px;
    display: inline-block;
  }

  .hero-image-container {
    min-height: auto;
  }
}

.servicios-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.servicios-container {
  max-width: 1400px;
  margin: 0 auto;
}

.servicios-header {
  text-align: center;
  margin-bottom: 70px;
}

.servicios-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #467ff7;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}

.servicios-subtitle::before,
.servicios-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: #467ff7;
}

.servicios-subtitle::before {
  right: calc(100% + 15px);
}

.servicios-subtitle::after {
  left: calc(100% + 15px);
}

.servicios-title {
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 16px;
}

.servicios-description {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Carousel Styles */
.services-carousel-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.services-track-container {
  overflow: hidden;
  width: 100%;
  padding: 20px 0 40px 0; /* Space for shadows */
}

.services-track {
  display: flex;
  gap: 32px;
  transition: transform 0.5s ease-in-out;
  /* Ensure track is wide enough to hold flex items */
}

.servicio-card {
  min-width: 280px; /* Reduced width */
  max-width: 300px; /* Cap width */
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Navigation Buttons */
.carousel-btn {
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #467ff7;
  transition: all 0.3s ease;
  z-index: 10;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: #467ff7;
  color: white;
  transform: scale(1.1);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .servicio-card {
    min-width: 280px;
  }

  .services-carousel-wrapper {
    position: relative;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
  }

  .carousel-btn.prev {
    left: -10px;
  }

  .carousel-btn.next {
    right: -10px;
  }
}

/* PREMIUM CARD DESIGN */
.servicio-card {
  min-width: 280px;
  max-width: 290px;
  height: 420px; /* Fixed height for alignment */
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(70, 127, 247, 0.15);
  border-color: rgba(70, 127, 247, 0.2);
}

.servicio-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(70, 127, 247, 0.2);
}

.servicio-image-wrapper {
  position: relative;
  width: calc(100% - 20px);
  height: 190px;
  margin: 10px 10px 0 10px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.servicio-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
  transition: opacity 0.4s ease;
}

.servicio-card:hover .servicio-image-wrapper::before {
  opacity: 0.5;
}

.servicio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-card:hover .servicio-image {
  transform: scale(1.1);
}

.servicio-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #467ff7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Cleaned up redundant styles */
.servicio-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease;
}

.servicio-cta:hover::before {
  width: 300px;
  height: 300px;
}

.servicio-cta:hover {
  background: #2d5acc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(70, 127, 247, 0.4);
}

.servicio-cta svg {
  width: 16px; /* Adjusted size */
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.servicio-cta:hover svg {
  transform: translateX(5px);
}

.servicio-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f1f5f9;
  color: #2563eb !important;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.servicio-cta:hover {
  background: #2563eb;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.servicio-cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.3s ease;
}

.servicio-cta:hover svg {
  transform: translateX(4px);
}

.servicio-cta span {
  position: relative;
  z-index: 1;
}

.servicio-cta::before {
  display: none;
}

.servicios-footer {
  text-align: center;
  margin-top: 60px;
}

.servicios-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #467ff7;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid #467ff7;
  transition: all 0.3s ease;
}

.servicios-footer-cta:hover {
  background: #467ff7;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(70, 127, 247, 0.3);
}

.servicios-footer-cta svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

@media (max-width: 1200px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .servicios-section {
    padding: 70px 20px;
  }

  .servicios-title {
    font-size: 36px;
  }

  .servicios-subtitle::before,
  .servicios-subtitle::after {
    display: none;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .servicio-image-wrapper {
    height: 240px;
  }

  .servicio-content {
    padding: 24px;
  }

  .servicio-name {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .servicios-title {
    font-size: 28px;
  }

  .servicios-description {
    font-size: 16px;
  }
}

.cirugia-plastica-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cirugia-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cirugia-header {
  text-align: center;
  margin-bottom: 60px;
}

.cirugia-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cirugia-header p {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.cirugia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cirugia-doctor {
  position: relative;
}

.cirugia-doctor img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(70, 127, 247, 0.15);
}

.experience-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #d4af37 0%, #f4d976 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
  border: 4px solid #ffffff;
  animation: pulse 2s ease-in-out infinite;
}

.experience-badge strong {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.experience-badge span {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.cirugia-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-left: 4px solid #467ff7;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(70, 127, 247, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #467ff7 0%, #6a9dff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(70, 127, 247, 0.3);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
}

.feature-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 968px) {
  .cirugia-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .experience-badge {
    top: 10px;
    right: 10px;
    width: 120px;
    height: 120px;
  }

  .experience-badge strong {
    font-size: 32px;
  }

  .cirugia-header h2 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .cirugia-plastica-section {
    padding: 60px 16px;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .feature-icon {
    margin: 0 auto;
  }
}

.testimonios-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #467ff7 0%, #2d5acc 100%);
  position: relative;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.testimonios-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.testimonios-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonios-header {
  text-align: center;
  margin-bottom: 60px;
  color: #ffffff;
}

.testimonios-subtitle {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.testimonios-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.testimonios-description {
  font-size: 18px;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.testimonios-slider-wrapper {
  position: relative;
  padding: 0 60px;
}

.testimonios-slider {
  overflow: hidden;
  border-radius: 20px;
}

.testimonios-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonio-slide {
  min-width: 100%;
  padding: 0 15px;
}

.testimonio-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.testimonio-video-container {
  position: relative;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testimonio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonio-video-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 40px;
  text-align: center;
}

.testimonio-video-icon {
  width: 80px;
  height: 80px;
  background: rgba(70, 127, 247, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.testimonio-video-icon svg {
  width: 36px;
  height: 36px;
  fill: #467ff7;
}

.testimonio-video-text {
  font-size: 16px;
  opacity: 0.7;
}

.testimonio-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonio-quote-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  opacity: 0.2;
}

.testimonio-quote-icon svg {
  width: 100%;
  height: 100%;
  fill: #467ff7;
}

.testimonio-text {
  font-size: 20px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 32px;
  font-style: italic;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonio-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #467ff7 0%, #6a9dff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.testimonio-author-info {
  flex-grow: 1;
}

.testimonio-author-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.testimonio-author-procedure {
  font-size: 14px;
  color: #666;
}

.testimonio-rating {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.testimonio-rating svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
}

.testimonio-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  margin-top: 12px;
}

.testimonio-verified svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(70, 127, 247, 0.9); /* Fondo azul visible */
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-nav:hover {
  background: #5a95ff; /* Azul más brillante al pasar el mouse */
  transform: translateY(-50%) scale(1.1);
}

.slider-nav:hover svg {
  stroke: #ffffff;
}

.slider-nav svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff; /* Flecha blanca por defecto */
  stroke-width: 2.5;
  fill: none;
  transition: stroke 0.3s ease;
}

.slider-nav-prev {
  left: 0;
}

.slider-nav-next {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background: #ffffff;
  width: 32px;
  border-radius: 6px;
}

.testimonios-social-proof {
  text-align: center;
  margin-top: 50px;
  color: #ffffff;
}

.social-proof-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.social-proof-stat {
  text-align: center;
}

.social-proof-number {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 8px;
}

.social-proof-label {
  font-size: 16px;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .testimonio-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .testimonio-video-container {
    min-height: 400px;
  }

  .testimonio-content {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .testimonios-section {
    padding: 70px 20px;
  }

  .testimonios-title {
    font-size: 36px;
  }

  .testimonios-slider-wrapper {
    padding: 0 50px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
  }

  .slider-nav svg {
    width: 20px;
    height: 20px;
  }

  .testimonio-video-container {
    min-height: 300px;
  }

  .testimonio-content {
    padding: 30px 24px;
  }

  .testimonio-text {
    font-size: 18px;
  }

  .social-proof-stats {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .testimonios-slider-wrapper {
    padding: 0 40px;
  }

  .testimonios-title {
    font-size: 28px;
  }

  .testimonio-text {
    font-size: 16px;
  }
}

.faq-section {
  padding: 100px 20px;
  background: #ffffff;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 70px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f0ff;
  color: #467ff7;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.faq-badge svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.faq-title {
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 16px;
}

.faq-description {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #467ff7;
  box-shadow: 0 8px 24px rgba(70, 127, 247, 0.12);
}

.faq-item.active {
  border-color: #467ff7;
  box-shadow: 0 8px 24px rgba(70, 127, 247, 0.15);
}

.faq-question-button {
  width: 100%;
  padding: 28px 32px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: background 0.3s ease;
}

.faq-item.active .faq-question-button {
  background: #f8f9ff;
}

.faq-question-text {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  flex-grow: 1;
}

.faq-icon-wrapper {
  width: 40px;
  height: 40px;
  background: #e8f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon-wrapper {
  background: #467ff7;
  transform: rotate(180deg);
}

.faq-icon-wrapper svg {
  width: 20px;
  height: 20px;
  stroke: #467ff7;
  stroke-width: 2.5;
  fill: none;
  transition: stroke 0.3s ease;
}

.faq-item.active .faq-icon-wrapper svg {
  stroke: #ffffff;
}

.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer-wrapper {
  max-height: 1000px;
}

.faq-answer {
  padding: 0 32px 32px 32px;
  font-size: 17px;
  line-height: 1.8;
  color: #4b5563;
}

.faq-answer p {
  margin-bottom: 16px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: #1a1a1a;
  font-weight: 700;
}

.faq-answer ul {
  margin: 16px 0;
  padding-left: 24px;
}

.faq-answer li {
  margin-bottom: 8px;
  position: relative;
}

.faq-answer li::marker {
  color: #467ff7;
}

.faq-cta-box {
  margin-top: 60px;
  background: linear-gradient(135deg, #467ff7 0%, #2d5acc 100%);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.faq-cta-content {
  position: relative;
  z-index: 1;
}

.faq-cta-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.faq-cta-icon svg {
  width: 32px;
  height: 32px;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
}

.faq-cta-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.faq-cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  line-height: 1.6;
}

.faq-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-cta-button-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #467ff7;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-cta-button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.faq-cta-button-primary svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.faq-cta-button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-cta-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

.faq-cta-button-secondary svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 70px 20px;
  }

  .faq-title {
    font-size: 36px;
  }

  .faq-question-button {
    padding: 24px;
  }

  .faq-question-text {
    font-size: 18px;
  }

  .faq-answer {
    padding: 0 24px 24px 24px;
    font-size: 16px;
  }

  .faq-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .faq-cta-box {
    padding: 40px 24px;
  }

  .faq-cta-title {
    font-size: 26px;
  }

  .faq-cta-buttons {
    flex-direction: column;
  }

  .faq-cta-button-primary,
  .faq-cta-button-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .faq-title {
    font-size: 28px;
  }

  .faq-question-text {
    font-size: 17px;
  }
}

/* Override service content padding for premium card */
.servicio-content {
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between; /* Distribute space */
}

.servicio-cta {
  margin-top: auto !important; /* Push button to bottom */
}

.servicio-image-wrapper {
  height: 190px !important;
}
