
/* RenaceSalud - styles.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background-color: #f5f7fb;
  color: #27303f;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: #b45b8e;
}
a:hover {
  text-decoration: underline;
}
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e6f0;
}
.top-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5b6cf, #b45b8e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 18px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text span:first-child {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.logo-text span:last-child {
  font-size: 12px;
  color: #7c8491;
}
.top-info {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: #4b5563;
}
.top-info-item {
  display: flex;
  flex-direction: column;
}
.top-info-item span:first-child {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9ca3af;
}
.call-button {
  padding: 8px 18px;
  border-radius: 999px;
  background: #b45b8e;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  border: none;
}
nav.main-nav {
  background: #ebf9fa;
  border-top: 1px solid #e2e6f0;
  border-bottom: 1px solid #e2e6f0;
}
nav.main-nav .nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  font-size: 14px;
}
nav.main-nav ul li a {
  color: #4b5563;
  font-weight: 500;
}
nav.main-nav ul li a.active {
  color: #b45b8e;
}
.btn-appointment {
  padding: 8px 18px;
  background: #10b981;
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
}
.hero {
  background: radial-gradient(circle at top left, #fde7f1 0, #f5f7fb 55%, #ffffff 100%);
  border-bottom: 1px solid #e2e6f0;
}
.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 32px 40px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: center;
}
.hero-copy h1 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #1f2933;
}
.hero-copy h1 span.highlight {
  color: #b45b8e;
}
.hero-copy p.lead {
  font-size: 16px;
  color: #4b5563;
  max-width: 620px;
}
.hero-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(180, 91, 142, 0.18);
  color: #6b7280;
  background-color: rgba(255, 255, 255, 0.8);
}
.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: #b45b8e;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  border: none;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #b45b8e;
  font-weight: 500;
  font-size: 13px;
  border: 1px solid rgba(180, 91, 142, .35);
}
.hero-note {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}
.hero-visual {
  position: relative;
  min-height: 260px;
}
.hero-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.09);
  padding: 18px;
  max-width: 360px;
  margin-left: auto;
}
.hero-photo {
  width: 100%;
  border-radius: 14px;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 190px;
}
.hero-card-body {
  margin-top: 14px;
}
.hero-card-body h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.hero-card-body p {
  font-size: 13px;
  color: #6b7280;
}
.hero-pill {
  position: absolute;
  bottom: -10px;
  left: 0;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  font-size: 12px;
  color: #4b5563;
}
.main-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-nav {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7f2;
}
.sidebar-nav h4 {
  font-size: 13px;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7f2;
  color: #9ca3af;
  letter-spacing: .08em;
}
.sidebar-nav ul {
  list-style: none;
}
.sidebar-nav ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #4b5563;
  border-left: 3px solid transparent;
}
.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
  background: #f9fafb;
  border-left-color: #b45b8e;
}
.sidebar-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7f2;
  padding: 14px 16px;
  font-size: 13px;
}
.sidebar-card strong {
  display: block;
  margin-bottom: 4px;
}
.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7f2;
  padding: 20px 22px;
}
.card h1, .card h2, .card h3 {
  color: #1f2933;
}
.card h1 {
  font-size: 24px;
  margin-bottom: 10px;
}
.card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.card h3 {
  font-size: 17px;
  margin: 16px 0 6px;
}
.card p {
  font-size: 14px;
  color: #4b5563;
}
.card ul {
  margin-top: 6px;
  padding-left: 18px;
}
.card ul li {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 4px;
}
.badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fdf2f8;
  color: #b45b8e;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.service-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7f2;
  padding: 16px;
}
.service-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}
.service-card p {
  font-size: 13px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-top: 14px;
}
.team-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7f2;
  padding: 14px;
  text-align: center;
}
.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  margin: 0 auto 8px;
  background-size: cover;
  background-position: center;
}
.section-title {
  font-size: 22px;
  margin-bottom: 10px;
}
.testimonial-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7f2;
  padding: 18px 20px;
  position: relative;
  margin-bottom: 12px;
}
.testimonial-box::before {
  content: "“";
  position: absolute;
  top: -14px;
  left: 16px;
  font-size: 52px;
  color: #f3e1ec;
}
.testimonial-text {
  font-size: 14px;
  color: #4b5563;
}
.testimonial-author {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}
.testimonial-role {
  font-size: 12px;
  color: #6b7280;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5e5;
  font-size: 14px;
  font-family: inherit;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.btn-submit {
  margin-top: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: #10b981;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
footer {
  margin-top: 40px;
  border-top: 1px solid #e5e7f2;
  background: #ffffff;
}
footer .inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px;
  font-size: 12px;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-card {
    margin: 0 auto;
  }
}
@media (max-width: 860px) {
  .main-wrapper {
    grid-template-columns: 1fr;
    padding: 24px 16px 32px;
  }
  .top-bar, nav.main-nav .nav-inner, footer .inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 640px) {
  nav.main-nav .nav-inner {
    flex-direction: column;
    gap: 8px;
  }
  nav.main-nav ul {
    flex-wrap: wrap;
  }
  .hero-inner {
    padding: 24px 16px 28px;
  }
}
/* ==== Capacitaciones: cards a todo el ancho ==== */

/* Contenido de páginas sin sidebar (como Capacitaciones) */
.content-full {
  width: 100%;
  max-width: 1100px;      /* ancho máximo del contenido */
  margin: 0 auto;         /* centra horizontalmente */
}

/* Card especial para capacitaciones que cubre todo el ancho disponible */
.card-capacitacion {
  width: 100%;
  padding: 24px 28px;
  border-radius: 18px;
  box-sizing: border-box;
}

/* Un poco más de separación entre secciones en esta página */
.card-capacitacion + .card-capacitacion {
  margin-top: 18px;
}

@media (max-width: 768px) {
  .card-capacitacion {
    padding: 18px 16px;
  }
}
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}
/* Texto pequeño profesional para ficha de especialista */
.small-text-name {
  font-size: 18px !important;
  font-weight: 600;
  text-transform: none; /* desactiva mayúsculas */
  color: #0f0f0f;
  margin-bottom: 8px;
}

.small-text {
  font-size: 9px;
  line-height: 1.35;
  margin-bottom: 4px;
  text-transform: none; /* texto normal */
  color: #3b3b3b;
}
.banner_section {
  background-color: #ffffff;
}

.banner-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.banner-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

@media (min-width: 600px) {
  .banner-img {
    height: 340px;
  }
}
.testimonio-video {
  margin-top: 2rem;
  text-align: center;
}

.testimonio-video h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.testimonio-video video {
  max-width: 600px;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.testimonio-descripcion {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: #555;
}
