/* =========================================================
   Dra. Melissa Tagle — Urología y Andrología
   ========================================================= */

:root {
  --dark-blue: #0b2a4a;
  --dark-blue-2: #123a66;
  --medium-blue: #0f3d6e;
  --light-blue-bg: #eaf3fb;
  --lighter-blue-bg: #f5f9fd;
  --teal: #2ec4b6;
  --teal-dark: #21a89c;
  --text-dark: #0b2a4a;
  --text-muted: #5b7089;
  --white: #ffffff;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-blue);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.text-teal {
  color: var(--teal);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-blue);
}

.section-title.text-white {
  color: var(--white) !important;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.eyebrow {
  color: var(--teal-dark);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.eyebrow-light {
  color: var(--teal);
}

/* Buttons */
.btn-teal {
  background-color: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.btn-teal:hover, .btn-teal:focus {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--dark-blue);
}

.btn-whatsapp {
  background-color: #25d366;
  border-color: #25d366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background-color: #1ebe58;
  color: var(--white);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  box-shadow: 0 2px 12px rgba(11, 42, 74, 0.08);
  z-index: 1030;
}

.logo-img {
  height: 84px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--dark-blue);
  font-weight: 600;
  padding: 0.5rem 0.9rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--teal-dark);
}

/* =========================================================
   HERO
   ========================================================= */
.hero-section {
  background-image: linear-gradient(135deg, rgba(11, 42, 74, 0.88) 0%, rgba(15, 61, 110, 0.82) 100%), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-title {
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

.hero-text {
  font-size: 1.15rem;
  color: #d9e6f2;
  margin-top: 1rem;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  color: #e6eef7;
  font-size: 1rem;
}

.hero-checklist i {
  color: var(--teal);
  font-size: 1.15rem;
  width: 1.3rem;
  text-align: center;
}

.confidential-note {
  color: #b9cbe0;
  font-size: 0.95rem;
}

.confidential-note i {
  color: var(--teal);
  margin-right: 0.4rem;
}

.hero-media {
  max-width: 650px;
  margin: 0 auto;
}

.hero-photo {
  width: 100%;
  max-height: 700px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

@media (max-width: 991.98px) {
  .hero-media {
    max-width: 420px;
  }
  .hero-photo {
    max-height: 450px;
  }
}

@media (max-width: 575.98px) {
  .hero-media {
    max-width: 320px;
  }
  .hero-photo {
    max-height: 360px;
  }
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
  background-color: var(--white);
  padding: 2.5rem 0;
  box-shadow: 0 4px 20px rgba(11, 42, 74, 0.08);
  border-bottom: 1px solid #e2e8ef;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.stat-icon-mask {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-bottom: 0.5rem;
  background-color: var(--teal-dark);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.stat-label {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--dark-blue);
  margin-bottom: 0.25rem;
}

.stat-number .stars {
  font-size: 1rem;
  color: #f5b301;
  margin-left: 0.4rem;
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.services-section {
  background-color: var(--lighter-blue-bg);
  padding: 5rem 0;
}

@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

.service-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 1.75rem 1rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 14px rgba(11, 42, 74, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(11, 42, 74, 0.12);
}

.service-card i {
  font-size: 1.9rem;
  color: var(--teal-dark);
  margin-bottom: 0.9rem;
  display: block;
}

.service-icon-mask {
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.9rem;
  background-color: var(--teal-dark);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.service-card p {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark-blue);
}

/* =========================================================
   BANNERS
   ========================================================= */
.banners-section {
  padding-bottom: 5rem;
}

.banner-card {
  border-radius: 1.25rem;
  padding: 2rem;
  height: 100%;
}

.banner-dark {
  background: linear-gradient(135deg, var(--dark-blue), var(--medium-blue));
  color: var(--white);
}

.banner-dark h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
}

.banner-dark p {
  color: #d9e6f2;
  font-size: 1rem;
}

.banner-icon {
  font-size: 4.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.banner-icon-mask {
  display: inline-block;
  width: 4.5rem;
  height: 4.5rem;
  background-color: rgba(255, 255, 255, 0.85);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* =========================================================
   SOBRE MÍ
   ========================================================= */
.about-section {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--medium-blue) 100%);
  padding: 0;
}

.about-photo {
  width: 100%;
  max-width: 520px;
  height: auto;
  padding: 1.5rem;
}

@media (max-width: 991.98px) {
  .about-photo {
    max-width: 100%;
    padding: 0;
    margin-top: 2rem;
  }
}

.about-content {
  padding: 4rem 2rem;
}

@media (min-width: 992px) {
  .about-content {
    padding: 4rem 4rem 4rem 3rem;
  }
}

.about-text {
  color: #d9e6f2;
  font-size: 1.02rem;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.credential-item i {
  color: var(--teal);
  font-size: 1.4rem;
  margin-top: 0.2rem;
}

.credential-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.credential-desc {
  color: #b9cbe0;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.credential-desc strong {
  color: var(--white);
  font-weight: 700;
}

.credential-desc:last-child {
  margin-bottom: 0;
}

/* =========================================================
   CIRUGÍA
   ========================================================= */
.surgery-section {
  background-image: url('images/banner-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 0;
}

.surgery-photo {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 15px 25px rgba(11, 42, 74, 0.35));
}

.surgery-text {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.surgery-list p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  color: var(--dark-blue);
  font-weight: 600;
  font-size: 1rem;
}

.surgery-list i {
  color: var(--teal);
  font-size: 1.1rem;
}

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testimonials-section {
  background-color: var(--medium-blue);
  background-image: url('images/dot.svg');
  background-repeat: repeat;
  padding: 5rem 0;
}

.testimonials-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.testimonials-subtitle {
  color: #b9cbe0;
  font-size: 1rem;
  max-width: 480px;
}

.testimonials-nav {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.testimonials-swiper {
  padding-bottom: 3rem;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  min-height: 220px;
}

.testimonial-card .stars {
  color: #f5b301;
}

.testimonial-card p {
  color: var(--text-dark);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.testimonial-author span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-blue);
}

.testimonials-swiper .swiper-pagination {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background-color: var(--teal);
}

.testimonials-nav .swiper-button-prev,
.testimonials-nav .swiper-button-next {
  position: static;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--teal);
  color: var(--white);
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.testimonials-nav .swiper-button-prev::after,
.testimonials-nav .swiper-button-next::after {
  display: none;
}

.testimonials-nav .swiper-button-prev:hover,
.testimonials-nav .swiper-button-next:hover {
  background-color: var(--teal-dark);
}

.testimonials-nav .swiper-button-disabled {
  opacity: 0.4;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
  background-color: #f4f6f8;
  padding: 5rem 0;
}

.accordion-item {
  border: none;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 42, 74, 0.1);
}

.accordion-button {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-blue);
  background-color: var(--lighter-blue-bg);
}

.accordion-button:not(.collapsed) {
  color: var(--white);
  background-color: var(--teal-dark);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  filter: none;
}

.accordion-body {
  font-size: 1rem;
  color: var(--text-muted);
}

/* =========================================================
   UBICACIÓN
   ========================================================= */
.location-section {
  background-color: var(--lighter-blue-bg);
}

.location-card {
  position: relative;
  overflow: hidden;
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  min-height: 260px;
  max-height: 320px;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   CONSULTA EN LÍNEA
   ========================================================= */
.online-consult-section {
  padding: 5rem 0;
  background-image: linear-gradient(135deg, rgba(11,42,74,0.88), rgba(18,58,102,0.88)), url('images/banner-2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.online-consult-section .section-subtitle {
  color: var(--white) !important;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.attend-card {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  backdrop-filter: blur(4px);
}

.attend-card-icon {
  margin: 0 auto 1.25rem;
}

.attend-card-icon img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.attend-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.attend-card h3.text-teal {
  color: var(--teal) !important;
}

.cta-modality-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
}

.attend-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.attend-card-list {
  text-align: left;
  width: 100%;
  margin-bottom: 1.5rem;
}

.attend-card-list li {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.attend-card-list li i {
  color: var(--teal);
  flex-shrink: 0;
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.final-cta-section {
  background-image: url('images/vertical-line-bg-dark.svg'), linear-gradient(135deg, var(--dark-blue), var(--medium-blue));
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  color: var(--white);
  padding: 4rem 0;
}

.final-cta-section h3 {
  color: var(--white);
  font-weight: 700;
  font-size: 2rem;
}

.final-cta-section a {
  color: inherit;
}

.final-cta-section .btn-light {
  color: var(--dark-blue);
}

.cta-subheading {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.cta-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #d9e6f2;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.cta-list-center li {
  justify-content: center;
}

.cta-list i {
  margin-top: 0.2rem;
  color: var(--teal);
}

.cta-list strong {
  color: var(--white);
}

.cta-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
}

.cta-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .cta-photo-wrap {
    margin-top: 1rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575.98px) {
  .cta-photo-wrap {
    max-width: 300px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: var(--dark-blue);
  color: #d9e6f2;
  padding: 4rem 0 2rem 0;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #b9cbe0;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-list li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-list a {
  color: #d9e6f2;
}

.footer-list a:hover {
  color: var(--teal);
}

.footer-list i {
  color: var(--teal);
  width: 1.2rem;
  margin-right: 0.3rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 2rem 0 1.5rem 0;
}

.site-footer a {
  color: #d9e6f2;
}

.site-footer a:hover {
  color: var(--teal);
}

/* =========================================================
   AVISO DE PRIVACIDAD
   ========================================================= */
.legal-section {
  padding: 4rem 0 5rem;
}

.legal-updated {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

.legal-section p {
  color: var(--text-dark);
  line-height: 1.7;
}

.legal-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-blue);
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-list {
  color: var(--text-dark);
  line-height: 1.7;
  padding-left: 1.25rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
}
