/* styles.css */

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

:root {
  --primary: #0a2463;
  --secondary: #3e92cc;
  --accent: #1d1fad;
  --light: #f8f9fa;
  --dark: #1a1a2e;
  --gradient: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  color-scheme: light;
}

html {
  background: #ffffff;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Training Section ===== */
.training-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    padding: 6rem 0 8rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.training-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.training-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    position: relative;
}

.training-badge {
    display: inline-block;
    background: #ff4757;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.main-heading {
    font-size: 2.8rem;
    color: #1e293b;
    margin: 0 0 1.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.subheading {
    font-size: 1.3rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* CTA Box */
.cta-box {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem auto 0;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.price-container {
    margin-bottom: 1.5rem;
    position: relative;
}

.original-price {
    font-size: 1.5rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.current-price {
    font-size: 3rem;
    font-weight: 800;
    color: #2563eb;
    display: block;
    line-height: 1;
    margin: 0.5rem 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.discount-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4757;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(5deg);
}

.limited-spots {
    color: #ef4444;
    font-weight: 600;
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.enroll-button {
    display: block;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    margin: 2rem 0;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.enroll-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.button-text {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.button-subtext {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
}

.payment-methods {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.card-icons {
    margin-top: 0.5rem;
    letter-spacing: 5px;
    font-size: 1.3rem;
}

/* Features Grid */
.training-features {
    margin-top: 5rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 3rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

.benefits-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0 1rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit-text {
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .benefits-bar {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .benefit {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Header Premium — navbar flotante tipo pill */
header {
  position: fixed;
  left: 0;
  right: 0;
  top: 18px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
}

header.scrolled .header-container {
  box-shadow: 0 8px 30px rgba(10, 36, 99, 0.18);
}

.header-container {
  width: calc(100% - 48px);
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.6rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(10, 36, 99, 0.08);
  box-shadow: 0 5px 25px rgba(10, 36, 99, 0.1);
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  width: 130px;
  height: auto;
  display: block;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  transition: all 0.3s;
  position: relative;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s;
  transform: translateX(-50%);
}

.nav-links > a:hover::after {
  width: 80%;
}

.nav-links a.cta-link,
.nav-links a.cta-link:hover {
  color: white;
}

.cta-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(10, 36, 99, 0.3);
}

.cta-link i {
  font-size: 1.1rem;
}

/* Menú móvil */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.nav-links.mobile {
  display: none;
  position: fixed;
  top: 90px;
  left: 24px;
  right: 24px;
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 20px 50px rgba(10, 36, 99, 0.2);
  z-index: 999;
}

.nav-links.mobile.show {
  display: flex;
}

.nav-links.mobile a {
  padding: 0.8rem;
  border-radius: 8px;
  text-align: center;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links.mobile a:hover {
  background: rgba(10, 36, 99, 0.05);
}

.nav-links.mobile a.cta-link {
  justify-content: center;
  color: white;
}

@media (max-width: 900px) {
  .nav-links-wrapper {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Hero Slider Premium */
.hero-slider {
  position: relative;
  height: 90vh;
  margin-top: 80px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-1 {
  background: linear-gradient(135deg, rgba(10, 37, 99, 0.11), #007a8a7a),
              url('images/banner/Hero1.jpeg');
  background-size: cover;
  background-position: center;
}

.hero-slide-2 {
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.5), rgba(10, 36, 99, 0.5)),
              url('images/banner/skytower.jpg');
  background-size: cover;
  background-position: center;
}

.hero-slide-3 {
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.75), rgba(10, 36, 99, 0.75)),
              url('images/banner/Hero3.jpeg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

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

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(216,49,91,0.5);
}

.slider-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.slider-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.slider-dot.active {
  background: white;
  transform: scale(1.3);
  border-color: var(--accent);
}

/* Stats Section */
.stats-section {
  background: var(--gradient);
  color: rgb(8, 17, 99);
  padding: 4rem 4%;
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 4.0rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Sections */
section {
  padding: 6rem 4%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.section-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.section-header .cta-button {
  margin-top: 2rem;
}

/* Procedimientos */
#procedimientos {
  padding: 4rem 2rem;
  background: #ffffff;
}

.procedimientos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

.procedimiento-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #f0f0f0;
  text-align: center;
  padding: 1.5rem 1rem;
}

.procedimiento-item h4 {
  color: #1a365d;
  margin: 0 0 1.2rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0 0.5rem;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.organo-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 160px;
  margin: 0 auto;
  position: relative;
}

.organo-img-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: #f8fafc;
  border-radius: 50%;
  z-index: 0;
}

.organo-img-container img {
  max-width: 80%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.procedimiento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.procedimiento-item:hover .organo-img-container img {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1200px) {
  .procedimientos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .procedimientos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #procedimientos {
    padding: 3rem 1.5rem;
  }
  
  .procedimientos-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 2rem auto 0;
  }
  
  .procedimiento-item {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
  
  .organo-img-container {
    height: 180px;
  }
}

/* Servicios Premium */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.servicio-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.servicio-card:hover::before {
  transform: scaleX(1);
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.servicio-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.servicio-card h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.servicio-card p {
  color: #666;
  line-height: 1.8;
}

/* Procedimientos */
#procedimientos {
  background: var(--light);
}

.procedimientos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.procedimiento-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--accent);
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.procedimiento-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.procedimiento-item h4 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* Tecnología */
.tecnologia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tecnologia-image {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.tecnologia-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tecnologia-img:hover {
  transform: scale(1.02);
}

.tecnologia-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tech-item {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.tech-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.tech-item h4 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* Equipo Médico */
#equipo {
  background: var(--light);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.doctor-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.4s;
}

.doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.doctor-image {
  width: 100%;
  height: 320px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: white;
}

.doctor-info {
  padding: 2rem;
}

.doctor-info h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.doctor-specialty {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Testimonios */
.testimonios-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonio {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  display: none;
}

.testimonio.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.testimonio-text {
  font-size: 1.3rem;
  font-style: italic;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.author-info h4 {
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.rating {
  color: #ffc107;
  font-size: 1.2rem;
}

/* FAQ */
#faq {
  background: var(--light);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.faq-question {
  padding: 1.8rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.faq-question:hover {
  background: var(--light);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 2rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 2rem 2rem;
}

.faq-answer p {
  color: #666;
  line-height: 1.8;
}

/* Contacto Premium */
.contacto-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1400px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contacto-card {
  background: #f8f9fa;
  border: 1px solid #e1e5ee;
  border-radius: 16px;
  padding: 2rem;
}

.contacto-card h3 {
  margin: 0 0 0.8rem 0;
  color: var(--dark);
  font-size: 1.3rem;
}

.contacto-card > p {
  margin: 0 0 0.6rem 0;
  color: #555;
  line-height: 1.6;
}

.contacto-destacado {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem !important;
}

.campana-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mapa-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mapa-container iframe {
  width: 100%;
  height: 320px;
  display: block;
}

/* Doctores */
.doctores-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.doctor-card {
  flex: 0 1 280px;
  background: white;
  border: 1px solid #e1e5ee;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(10, 36, 99, 0.06);
  transition: transform 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
}

.doctor-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 1.2rem;
  display: block;
  background: var(--light);
}

.doctor-card h3 {
  color: var(--dark);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.doctor-especialidad {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.doctor-ubicacion {
  color: #666;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.doctor-cedula {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.doctor-card .cta-button {
  padding: 0.7rem 1.8rem;
  font-size: 0.95rem;
}

.contacto-form {
  background: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 600;
  color: var(--dark);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e1e5ee;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 36, 99, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1.1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(10, 36, 99, 0.2);
}

/* Media Queries para hacer el formulario responsive */
@media (max-width: 1200px) {
  .contacto-wrapper {
    max-width: 100%;
    padding: 0 1.5rem;
  }
}

@media (max-width: 992px) {
  .contacto-wrapper {
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
  }
  
  .contacto-info,
  .contacto-form {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  #contacto {
    padding: 4rem 1rem;
  }
  
  .contacto-wrapper {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    gap: 2.5rem;
  }
  
  .contacto-info {
    order: 2;
  }
  
  .contacto-form {
    order: 1;
  }
  
  .info-item {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 576px) {
  #contacto {
    padding: 3rem 0.5rem;
  }
  
  .contacto-wrapper {
    padding: 0 0.5rem;
  }
  
  .contacto-info,
  .contacto-form {
    padding: 1.5rem 1.25rem;
    border-radius: 8px;
  }
  
  .info-item {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .info-icon {
    margin-bottom: 0;
    font-size: 1.5rem;
    margin-right: 1rem;
  }
  
  .submit-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .form-group label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}

/* Footer */
footer {
  background: #0f2a4a;
  color: #ffffff;
  padding: 4rem 2rem 0;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: auto;
  flex-shrink: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 1.8rem;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.footer-section p {
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.9rem;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: 300;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--accent);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 15px;
  opacity: 1;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: white;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-icon i {
  transition: transform 0.3s ease;
}

.social-icon:hover {
  background: var(--accent);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.social-icon:hover i {
  transform: scale(1.1);
}

/* Individual icon colors on hover */
.social-icon[href*="facebook"]:hover { background: #1877f2; }
.social-icon[href*="twitter"]:hover { background: #1da1f2; }
.social-icon[href*="instagram"]:hover { 
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); 
}
.social-icon[href*="linkedin"]:hover { background: #0a66c2; }
.social-icon[href*="youtube"]:hover { background: #ff0000; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.8;
}

/* Responsive para Laptop (<= 1400px) */
@media (max-width: 1400px) {
  header {
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
  }

  .logo img {
    width: 120px;
  }

  .nav-links {
    gap: 1.4rem;
  }

  .nav-links a {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }

  .hero-slider {
    height: 85vh;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-content h1 {
    font-size: 3.4rem;
  }

  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  section {
    padding: 5rem 3%;
  }

  .section-title {
    font-size: 2.6rem;
  }

  .procedimientos-grid {
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .contacto-wrapper {
    gap: 3rem;
  }

  .tecnologia-content {
    gap: 2.5rem;
  }
}

/* Responsive intermedio (<= 1200px) */
@media (max-width: 1200px) {
  .hero-slider {
    height: 82vh;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content h1 {
      font-size: 3rem;
  }

  .tecnologia-content,
  .contacto-wrapper {
      grid-template-columns: 1fr;
  }

  .footer-content {
      grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
      font-size: 2.2rem;
  }

  .hero-content p {
      font-size: 1.1rem;
  }

  .section-title {
      font-size: 2.2rem;
  }

  .footer-content {
      grid-template-columns: 1fr;
  }
}