/* ============================================
   MODELO CLÍNICO PAGE
   ============================================ */

/* --- Breadcrumb dark variant --- */
.breadcrumb--dark {
  color: rgba(26, 26, 46, 0.5);
  margin-bottom: 48px;
  justify-content: flex-start;
}

.breadcrumb--dark .breadcrumb__link {
  color: rgba(26, 26, 46, 0.5);
}

.breadcrumb--dark .breadcrumb__icon-link {
  color: rgba(26, 26, 46, 0.5);
}

.breadcrumb--dark .breadcrumb__sep {
  color: rgba(26, 26, 46, 0.25);
}

.breadcrumb--dark .breadcrumb__current {
  color: rgba(26, 26, 46, 0.5);
}

/* --- Title Section (no hero, white space) --- */
.modelo-intro {
  padding: 180px 80px 48px;
  text-align: center;
  background: #fff;
}

.modelo-intro__inner {
  max-width: 800px;
  margin: 0 auto;
}

.modelo-intro__title {
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  color: #1a1a2e;
  line-height: 1.12;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .modelo-intro__title { margin-bottom: 8px; }
  .modelo-intro__typed-wrap { min-height: 1.15em; }
  .modelo-intro__subtitle { margin-top: 12px; }
}

.modelo-intro__typed-wrap {
  font-family: 'Season Mix', serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.12;
  min-height: 1.3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modelo-intro__typed {
  font-style: italic;
  font-weight: 400;
  color: #0263e0;
}

.modelo-intro__subtitle {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
  color: #555;
  max-width: 100%;
  margin: 12px auto 0;
  line-height: 1.6;
}

.modelo-intro__cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: rgba(26, 26, 46, 0.8);
  margin-left: 4px;
  vertical-align: baseline;
  animation: cursorBlink 0.9s ease-in-out infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.modelo-intro__subtitle {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Pillars Hero Image --- */
.modelo-pillars-hero {
  position: relative;
  width: 100%;
  padding: 0 80px;
  box-sizing: border-box;
}

.modelo-pillars-hero__bg {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.modelo-pillars-hero__overlay {
  position: absolute;
  inset: 0;
  left: 80px;
  right: 80px;
  border-radius: 20px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.modelo-pillars-hero__caption {
  position: absolute;
  bottom: 48px;
  left: 128px;
  max-width: 560px;
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.45;
  color: #fff;
  margin: 0;
}

/* --- Three Pillars (icon + title + text + image) --- */
.modelo-pillars {
  padding: 80px 80px 120px;
  background: #fff;
}

.modelo-pillars__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.modelo-pillar {
  display: flex;
  flex-direction: column;
}

.modelo-pillar__icon {
  font-size: 64px;
  color: #0263e0;
  margin-bottom: 28px;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 48;
}

.modelo-pillar__title {
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 16px;
}

.modelo-pillar__text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(26, 26, 46, 0.55);
  line-height: 1.8;
  margin-bottom: 32px;
}

.modelo-pillar__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  margin-top: auto;
}

.modelo-pillar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Full-width Background Image Section --- */
.modelo-fullwidth {
  position: relative;
  width: 100%;
  min-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.modelo-fullwidth__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.modelo-fullwidth__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.3) 55%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.modelo-fullwidth__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 80px;
}

.modelo-fullwidth__label {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.modelo-fullwidth__title {
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 24px;
}

.modelo-fullwidth__text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 32px;
}

.modelo-fullwidth__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #fff;
  white-space: nowrap;
}

.modelo-fullwidth__cta:hover {
  background: #fff;
  color: #1a1a2e;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .modelo-pillars__inner {
    gap: 32px;
  }

  .modelo-pillar__title {
    font-size: clamp(24px, 2.8vw, 32px);
  }
}

@media (max-width: 768px) {
  /* Intro */
  .modelo-intro {
    padding: 160px 24px 32px;
  }

  .modelo-intro__subtitle {
    font-size: 17px;
  }

  /* Pillars Hero */
  .modelo-pillars-hero {
    padding: 0 24px;
  }

  .modelo-pillars-hero__bg {
    border-radius: 16px;
  }

  .modelo-pillars-hero__overlay {
    left: 24px;
    right: 24px;
    border-radius: 16px;
  }

  .modelo-pillars-hero__caption {
    bottom: 32px;
    left: 48px;
    right: 48px;
    max-width: none;
    font-size: 18px;
  }

  /* Pillars */
  .modelo-pillars {
    padding: 0 24px 80px;
    margin-top: 48px;
  }

  .modelo-pillars__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .modelo-pillar__icon {
    font-size: 48px;
    margin-bottom: 24px;
  }

  .modelo-pillar__text {
    margin-bottom: 24px;
  }

  .modelo-pillar__img-wrap {
    border-radius: 16px;
  }

  /* Fullwidth */
  .modelo-fullwidth {
    min-height: 500px;
    align-items: flex-end;
  }

  .modelo-fullwidth__overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0.15) 100%
    );
  }

  .modelo-fullwidth__content {
    padding: 40px 24px;
    max-width: none;
  }

  .modelo-fullwidth__cta {
    display: flex;
    width: 100%;
  }
}
