/* ----- PALETA OSCURA / NEGRA CON EFECTOS AVANZADOS ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ----- CLASES ÚTILES PARA EVITAR ESTILOS INLINE ----- */
.text-soft {
  color: var(--text-soft);
}

.text-accent {
  color: var(--accent-teal);
}

.text-white {
  color: white;
}

.text-gold {
  color: #FFD43B;
}

.mb-2rem {
  margin-bottom: 2rem;
}

.mb-1rem {
  margin-bottom: 1rem;
}

.opacity-60 {
  opacity: 0.6;
}

.font-size-sm {
  font-size: 0.95rem;
}

.font-size-base {
  font-size: 1.05rem;
}

.weekdays-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--accent-teal);
  text-align: center;
  font-size: 0.9rem;
}

.modal-hidden {
  display: none !important;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
  font-size: 0.95rem;
  padding: 0.8rem;
}

.hr-custom {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #31424F;
}

.date-display {
  color: var(--accent-teal);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.icon-accent {
  color: var(--accent-teal);
}

.icon-star {
  color: #FFD43B;
}

/* ----- ANIMACIONES ----- */
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
      
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(74, 159, 216, 0.3), 
                inset 0 0 20px rgba(74, 159, 216, 0.1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(74, 159, 216, 0.6), 
                inset 0 0 30px rgba(74, 159, 216, 0.2);
  }
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(74, 159, 216, 0.3); }
  50% { border-color: rgba(74, 159, 216, 0.8); }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

:root {
  --bg-black: #0A0E1A;
  --bg-elevated: #0F1929;
  --bg-card: #1A2847;
  --border-dim: #1F3A5C;
  --text-main: #E8F0F8;
  --text-soft: #B8C9E0;
  --accent-teal: #4A9FD8;
  --accent-green: #3A8CC4;
  --accent-dim: #2A6BA0;
  --hr-color: #1F3A5C;
  --btn-border: #4A9FD8;
  --btn-hover-bg: #4A9FD8;
  --btn-hover-text: #0A0E1A;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0A0E1A 0%, #0F1929 50%, #0D1424 100%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  transition: background 0.8s ease-in-out;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #E8F0F8 0%, #4A9FD8 50%, #7CB8E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  border-left: 6px solid var(--accent-teal);
  padding-left: 1rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--accent-teal);
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.highlight {
  color: var(--accent-green);
  font-weight: 700;
  background: rgba(74, 159, 216, 0.1);
  padding: 0.1rem 0.3rem;
  border-radius: 6px;
}

.system {
  font-size: 1.15rem;
  font-weight: 500;
  background: rgba(74, 159, 216, 0.05);
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--border-dim);
}

.promise {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(145deg, #1A232C, #12181E);
  padding: 1.2rem 1.8rem;
  border-radius: 40px;
  display: inline-block;
  border: 1px solid var(--accent-teal);
  box-shadow: 0 8px 0 rgba(0,0,0,0.3);
  margin-top: 1rem;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hr-color), transparent);
  margin: 3rem 0;
}

/* ----- CARDS PARA AGENDA / CTA ----- */
.call-card {
  background: var(--bg-card);
  border-radius: 28px;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(74, 159, 216, 0.2);
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.7);
  transition: all 0.25s ease;
  margin: 1.5rem 0;
}

.call-card:hover {
  border-color: var(--accent-teal);
  background: rgba(74, 159, 216, 0.08);
  box-shadow: 0 20px 40px -5px rgba(74, 159, 216, 0.3);
}

.call-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--accent-teal);
  font-weight: 700;
}

.call-card p {
  font-size: 1.2rem;
  color: #E2EAF2;
  margin-bottom: 1.8rem;
}

.btn-diagnostico {
  background: transparent;
  border: 2px solid var(--btn-border);
  color: var(--btn-border);
  padding: 0.9rem 2.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(74,159,216,0.1);
}

.btn-diagnostico i {
  font-size: 1.2rem;
}

.btn-diagnostico:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-text);
  border-color: var(--btn-hover-bg);
  box-shadow: 0 0 25px rgba(74, 159, 216, 0.6);
}

/* ----- CALENDARIO SIMPLE ----- */
.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #31424F;
}

.calendar-month-display {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

.calendar-nav-btn {
  background: var(--accent-teal);
  border: none;
  color: #0A0E1A;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.calendar-nav-btn:hover:not(:disabled) {
  box-shadow: 0 0 15px rgba(74, 159, 216, 0.4);
}

.calendar-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

#calendar-container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 2rem;
}

.calendar-day-btn {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1A2847 0%, #0F1A2A 100%);
  border: 2px solid #31424F;
  border-radius: 16px;
  color: var(--text-soft);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day-btn:hover {
  border-color: var(--accent-teal);
  box-shadow: 0 8px 20px rgba(74, 159, 216, 0.2);
}

.calendar-day-btn.today {
  background: var(--accent-teal);
  color: #0A0E1A;
  font-weight: 800;
  border-color: var(--accent-teal);
  box-shadow: 0 0 20px rgba(74, 159, 216, 0.4);
}

.calendar-day-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.calendar-day-btn.disabled:hover {
  border-color: #31424F;
  transform: none;
  box-shadow: none;
}

/* ----- MODAL DE RESERVA ----- */
.booking-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #0F1A2A 0%, #1A2847 100%);
  border: 1px solid var(--border-dim);
  border-radius: 20px;
  padding: 1.8rem;
  max-width: 400px;
  width: 90%;
  max-height: 75vh;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
  animation: slideDown 0.4s ease-out;
  cursor: move;
}

.booking-modal::-webkit-scrollbar {
  width: 5px;
}

.booking-modal::-webkit-scrollbar-thumb {
  background: var(--accent-teal);
  border-radius: 10px;
}

.booking-modal h2 {
  margin-bottom: 0.8rem;
  color: white;
  font-size: 1.3rem;
}

.booking-modal-content {
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.2s;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: var(--accent-teal);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: #0A0E1A;
  border: 1px solid #31424F;
  border-radius: 10px;
  color: white;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 10px rgba(74, 159, 216, 0.2);
}

.form-group input::placeholder {
  color: #666;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  animation: fadeIn 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translate(-50%, -60%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.calendar-wrap {
  background: var(--bg-elevated);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid var(--border-dim);
  margin-top: 1.8rem;
}
}

.legend i {
  color: var(--accent-teal);
  margin-right: 6px;
}

/* ----- SECCIONES CON ANIMACIONES ----- */
section {
  animation: fadeInUp 1s ease-out;
  transition: all 0.8s ease-in-out;
}

.hero {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74,159,216,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  background: rgba(45,212,191,0.1);
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: 1.5rem;
  animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.description {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 2rem;
  color: var(--text-main);
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* ----- VIDEO HERO ----- */
.hero-video {
  width: 100%;
  max-width: 900px;
  margin: 2.5rem auto 3rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(74, 159, 216, 0.3);
  border: 1px solid rgba(74, 159, 216, 0.2);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-video iframe {
  display: block;
  border: none;
  border-radius: 20px;
}

.agenda {
  padding: 2.5rem 2.5rem;
  margin: 0 auto;
  max-width: 1000px;
}

.agenda h2,
.testimonios h1,
.calendario h1 {
  animation: slideInLeft 0.8s ease-out;
}

.testimonios {
  padding: 3rem 2.5rem;
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
}

.testimonios h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.agenda-inside {
  background: var(--bg-elevated);
  border-radius: 28px;
  padding: 2.5rem;
  border: 1px solid rgba(45,212,191,0.2);
  animation: scale-in 0.6s ease-out;
}

.agenda-inside h2 {
  border: none;
  padding: 0;
  margin-bottom: 1.8rem;
  font-size: 1.8rem;
  animation: slideInLeft 0.8s ease-out 0.1s both;
}

.calendario {
  padding: 3rem 2.5rem;
  margin: 0 auto;
  max-width: 1000px;
}

footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border-dim);
  margin-top: 3rem;
  color: var(--text-soft);
  font-size: 1.1rem;
  animation: fadeInUp 1s ease-out;
}

footer i {
  color: var(--accent-teal);
  margin-right: 8px;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .description {
    font-size: 1.1rem;
  }

  .call-card {
    padding: 1.5rem;
  }

  .call-card h3 {
    font-size: 1.3rem;
  }

  .calendar-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .legend {
    flex-direction: column;
  }

  .promise {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
}

/* ----- SCROLL ANIMATIONS ----- */
.fade-in-scroll {
  opacity: 0;
  transition: all 0.7s ease-out;
}

.fade-in-scroll.visible {
  opacity: 1;
}

.slide-in-left-scroll {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.slide-in-left-scroll.visible {
  opacity: 1;
}

.slide-in-right-scroll {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.slide-in-right-scroll.visible {
  opacity: 1;
}

.scale-in-scroll {
  opacity: 0;
  transition: all 0.7s ease-out;
}

.scale-in-scroll.visible {
  opacity: 1;
}

/* ----- EFECTOS 3D Y INTERACTIVIDAD ----- */
.call-card {
  position: relative;
}

.call-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(74,159,216,0.05) 100%);
  border-radius: 28px;
  pointer-events: none;
}

.btn-diagnostico {
  position: relative;
  overflow: hidden;
}

.btn-diagnostico::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-diagnostico:hover::before {
  width: 300px;
  height: 300px;
}

/* ----- EFECTO PARALLAX EN HERO ----- */
@media (prefers-reduced-motion: no-preference) {
  .hero {
    background-attachment: fixed;
  }
}

/* ----- ANIMACIONES DE CARGA ----- */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.calendar-day {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.calendar-day:hover {
  transform: translateY(-4px);
  background: #273B47;
  border: 1px solid var(--accent-teal);
}

.calendar-day.highlight:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #2dd4bf;
}

/* ----- MEJORAS VISUALES ----- */
input, textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  color: var(--text-main);
  padding: 0.8rem;
  border-radius: 12px;
  font-family: inherit;
  transition: border-color 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 10px rgba(45,212,191,0.2);
}

/* ----- SCROLLBAR ESTILIZADO ----- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-teal);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a8cc4;
}

/* ----- NAVBAR STICKY ----- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 159, 216, 0.1);
  padding: 1rem 0;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4A9FD8, #E8F0F8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  transition: transform 0.3s;
}

.nav-logo:hover {
  color: var(--accent-teal);
}

.nav-logo i {
  color: var(--accent-teal);
  -webkit-text-fill-color: unset;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex: 1;
}

.nav-link {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-teal);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-teal);
  background: rgba(74, 159, 216, 0.1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-teal);
}

.nav-link.active::after {
  width: 100%;
}

.nav-btn {
  padding: 0.6rem 1.8rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ----- RESPONSIVE NAVBAR ----- */
@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }

  .nav-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* ----- TESTIMONIOS ESTILO TESTIMONIAL.TO ----- */
.testimonios-subtitle {
  font-size: 1.2rem;
  color: var(--text-soft);
  margin-bottom: 3rem;
  text-align: center;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(74, 159, 216, 0.15);
  border-radius: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* ✅ CAMBIO: VIDEO HORIZONTAL + FONDO A LOS COSTADOS (SIN BLANCO ABAJO) */
.testimonial-video {
  width: 100%;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: #000;           /* fondo lateral */
  aspect-ratio: 16 / 9;       /* contenedor horizontal */
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ✅ CAMBIO: SE VE COMPLETO (SIN ZOOM / SIN RECORTE) */
.testimonial-video iframe,
.testimonial-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;        /* muestra el vertical completo */
  border: none;
  background: transparent;    /* el fondo lo pone el contenedor */
}

.testimonial-info-full {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.testimonial-info-full h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.testimonial-rating i {
  color: #FFD43B;
  font-size: 0.9rem;
}

.testimonial-card:hover {
  border-color: var(--accent-teal);
  box-shadow: 0 12px 40px rgba(74, 159, 216, 0.35);
  background: rgba(74, 159, 216, 0.05);
}

.testimonial-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.testimonial-avatar {
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-teal);
  box-shadow: 0 0 15px rgba(74, 159, 216, 0.3);
}

.testimonial-info {
  flex: 1;
}

.testimonial-info h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--accent-teal);
  margin-bottom: 1rem !important;
  display: block;
}

.testimonial-rating {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.testimonial-rating i {
  color: #FFD43B;
  font-size: 0.95rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
  font-style: italic;
  margin: 0 1.5rem 1.2rem 1.5rem !important;
  padding: 0;
}

.testimonial-company {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--accent-green);
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: none;
}

.testimonial-company i {
  color: var(--accent-teal);
}

.testimonios-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(74, 159, 216, 0.1), rgba(58, 140, 196, 0.05));
  border-radius: 24px;
  border: 1px solid rgba(74, 159, 216, 0.2);
  margin: 3rem auto;
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.testimonios-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.testimonios-cta .btn-diagnostico {
  animation: pulse 2s ease-in-out infinite;
}



@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(74,159,216,0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(74,159,216,0.6);
  }
}

.badge {
  background: rgba(45,212,191,0.1);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a5f3fc;
  border: 0.5px solid #2dd4bf;
  display: inline-block;
  margin-bottom: 1rem;
}

footer {
  margin-top: 4rem;
  text-align: center;
  color: #708797;
  font-size: 0.9rem;
  border-top: 1px solid #1F2C34;
  padding-top: 2rem;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 700px) {
  .container {
    padding: 1.5rem 1.2rem;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  .call-card {
    padding: 1.5rem;
  }
  .call-card h3 {
    font-size: 1.4rem;
  }
  .promise {
    font-size: 1.05rem;
    padding: 1rem 1.2rem;
  }
  .btn-diagnostico {
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
  }
  .calendar-day {
    padding: 0.6rem 0.1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  .calendar-weekdays {
    font-size: 0.8rem;
  }
  .calendar-day {
    padding: 0.5rem 0;
    font-size: 0.8rem;
  }
}

/* ----- CAMBIO DINÁMICO DE FONDO POR SECCIÓN ----- */
body.bg-inicio {
  background: linear-gradient(135deg, #0A0E1A 0%, #0F1929 50%, #0D1424 100%);
}

body.bg-agenda {
  background: linear-gradient(135deg, #0A0E1A 0%, #1A2F4A 50%, #0D1E3A 100%);
}

body.bg-testimonios {
  background: linear-gradient(135deg, #0D1424 0%, #1A2847 50%, #0A0E1A 100%);
}

body.bg-calendario {
  background: linear-gradient(135deg, #0A0E1A 0%, #152440 50%, #0D1424 100%);
}