/* ESTUDIAR EN FRANCIA */

.est-page {
  color: #17233B;
  background: #FFFFFF;
}

.est-container {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
}

.est-hero {
  padding: 45px 0 65px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(197,206,217,.3), transparent 38%),
    linear-gradient(115deg, #EDF2F8 0%, #F7F8FA 58%, #F8F7F5 100%);
  border-bottom: 1px solid #E2E7ED;
}

.est-back {
  display: inline-block;
  margin-bottom: 38px;
  color: #496789;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.est-back:hover {
  color: #17233B;
}

.est-eyebrow {
  display: block;
  color: #496789;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.est-hero h1 {
  max-width: 800px;
  margin: 14px 0 12px;
  color: #17233B;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.est-hero h2 {
  margin: 0 0 20px;
  color: #2C4A70;
  font-size: clamp(20px, 3vw, 25px);
  font-weight: 600;
}

.est-hero p {
  max-width: 760px;
  margin: 0 0 11px;
  color: #536176;
  font-size: 16px;
  line-height: 1.75;
}

.est-content {
  padding: 58px 0 85px;
}

.est-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  align-items: start;
  gap: 55px;
}

.est-index {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 15px;
  border: 1px solid #E2E7ED;
  border-radius: 12px;
  background: #F8FAFC;
}

.est-index-title {
  margin: 0 8px 10px;
  color: #496789;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.est-index a {
  padding: 10px 9px;
  border-radius: 7px;
  color: #536176;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.est-index a:hover {
  color: #17233B;
  background: #EAF0F6;
}

.est-article {
  min-width: 0;
}

.est-section {
  padding: 0 0 42px;
  margin: 0 0 42px;
  border-bottom: 1px solid #E5E9EF;
  scroll-margin-top: 28px;
}

.est-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  margin-bottom: 15px;
  border-radius: 10px;
  background: #EAF0F6;
  color: #2C4A70;
  font-size: 13px;
  font-weight: 800;
}

.est-section h2,
.est-sources h2,
.est-next h2 {
  margin: 0 0 17px;
  color: #17233B;
  font-size: clamp(23px, 3vw, 29px);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.est-section p,
.est-sources > p,
.est-next p {
  margin: 0 0 15px;
  color: #59677B;
  font-size: 15px;
  line-height: 1.8;
}

.est-section strong {
  color: #263B59;
}

.est-section ul {
  padding-left: 21px;
  margin: 12px 0 20px;
  color: #59677B;
}

.est-section li {
  padding-left: 4px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.est-check-list {
  list-style: none;
  padding-left: 0 !important;
}

.est-check-list li {
  position: relative;
  padding-left: 29px;
}

.est-check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #EAF1ED;
  color: #527463;
  font-size: 12px;
  font-weight: 800;
}

.est-note {
  padding: 17px 19px;
  margin-top: 20px;
  border: 1px solid #E6DACC;
  border-left: 3px solid #B99B76;
  border-radius: 9px;
  background: #F8F4EE;
  color: #59677B;
  font-size: 13px;
  line-height: 1.7;
}

.est-note strong {
  display: block;
  margin-bottom: 4px;
  color: #765D42;
}

.est-note-blue {
  border-color: #D2DFEF;
  border-left-color: #496789;
  background: #F0F4F9;
}

.est-note-blue strong {
  color: #34577D;
}

.est-options {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.est-option {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 17px;
  border: 1px solid #E2E7ED;
  border-radius: 10px;
  background: #FAFBFC;
}

.est-option-icon {
  display: grid;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 9px;
  background: #EAF0F6;
  color: #34577D;
  font-size: 11px;
  font-weight: 800;
}

.est-option strong {
  display: block;
  margin: 1px 0 4px;
  color: #17233B;
  font-size: 15px;
}

.est-option p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.est-amount-card {
  padding: 26px;
  margin: 24px 0;
  border: 1px solid #D2DFEF;
  border-radius: 13px;
  background: linear-gradient(120deg, #EDF2F8, #F8FAFC);
  text-align: center;
}

.est-amount-label {
  color: #496789;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.est-amount {
  margin: 10px 0 4px;
  color: #2C4A70;
  font-size: clamp(35px, 6vw, 46px);
  font-weight: 800;
  letter-spacing: -.04em;
}

.est-amount small {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

.est-amount-card p {
  margin: 0 0 7px;
  font-size: 13px;
}

.est-amount-date {
  color: #718096;
  font-size: 11px;
}

.est-country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.est-country-list span {
  padding: 8px 12px;
  border: 1px solid #D8E2EC;
  border-radius: 7px;
  background: #F1F5F9;
  color: #34577D;
  font-size: 12px;
  font-weight: 600;
}

.est-source-link,
.est-main-link {
  display: inline-block;
  margin-top: 17px;
  color: #34577D;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 4px;
}

.est-source-link:hover,
.est-main-link:hover {
  text-decoration: underline;
}

.est-visa-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 22px 0;
}

.est-visa {
  padding: 19px;
  border: 1px solid #E2E7ED;
  border-radius: 10px;
  background: #F8FAFC;
}

.est-visa-featured {
  border-color: #C8D7E7;
  background: #EDF2F8;
}

.est-visa span {
  display: block;
  margin-bottom: 10px;
  color: #64758B;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}

.est-visa strong {
  display: block;
  margin-bottom: 8px;
  color: #17233B;
  font-size: 16px;
}

.est-visa p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.est-sources {
  padding: 28px;
  margin-top: 10px;
  border: 1px solid #E2E7ED;
  border-radius: 12px;
  background: #F8FAFC;
  scroll-margin-top: 28px;
}

.est-sources h2 {
  margin-top: 9px;
}

.est-sources ul {
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.est-sources li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 0;
  border-bottom: 1px solid #E2E7ED;
}

.est-sources li:last-child {
  border-bottom: 0;
}

.est-sources li a {
  color: #34577D;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.est-sources li a:hover {
  text-decoration: underline;
}

.est-sources li span {
  color: #718096;
  font-size: 12px;
}

.est-updated {
  padding-top: 13px;
  border-top: 1px solid #E2E7ED;
  color: #718096 !important;
  font-size: 11px !important;
}

.est-next {
  padding: 27px;
  margin-top: 28px;
  border-radius: 12px;
  background: linear-gradient(115deg, #EDF2F8, #F8F7F5);
}

.est-next h2 {
  margin-top: 9px;
  font-size: 23px;
}

.est-next p {
  margin-bottom: 12px;
}

.est-next-label {
  color: #496789;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 850px) {
  .est-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .est-index {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .est-index-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .est-container {
    width: min(100% - 40px, 1120px);
  }

  .est-hero {
    padding: 32px 0 45px;
  }

  .est-back {
    margin-bottom: 28px;
  }

  .est-hero p {
    font-size: 14px;
  }

  .est-content {
    padding: 38px 0 58px;
  }

  .est-index {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .est-index-title {
    grid-column: auto;
  }

  .est-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }

  .est-section p {
    font-size: 14px;
  }

  .est-visa-types {
    grid-template-columns: 1fr;
  }

  .est-amount-card {
    padding: 22px 15px;
  }

  .est-sources,
  .est-next {
    padding: 20px;
  }
}


/* PRESENTACIÓN SUPERIOR CON FOTOGRAFÍA */
.est-hero {
  padding: 62px 28px;
}

.est-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 55px;
}

.est-hero-content {
  min-width: 0;
}

.est-hero-image {
  position: relative;
  margin: 0;
  padding: 0 0 12px 12px;
}

.est-hero-image::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  width: 65%;
  height: 65%;
  border-top: 3px solid #8796A9;
  border-right: 3px solid #8796A9;
  border-radius: 0 14px 0 0;
  opacity: .65;
  pointer-events: none;
}

.est-hero-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 345px;
  object-fit: cover;
  object-position: center;
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(23,35,59,.14);
}

.est-hero-image figcaption {
  position: relative;
  z-index: 1;
  padding: 9px 3px 0;
  color: #718096;
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
}

.est-hero-image figcaption a {
  color: #496789;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 760px) {
  .est-hero {
    padding: 48px 20px 42px;
  }

  .est-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .est-hero-image {
    margin-right: 10px;
  }

  .est-hero-image img {
    height: 280px;
  }
}

@media (max-width: 420px) {
  .est-hero-image img {
    height: 230px;
  }
}


/* CONSEJOS Y ACOMPAÑAMIENTO DE UNIDOS EN FRANCIA */
.est-tip {
  padding: 21px 23px;
  margin: -8px 0 42px;
  border: 1px solid #D7E2ED;
  border-left: 4px solid #2C4A70;
  border-radius: 10px;
  background: #F1F5F9;
}
.est-tip-label {
  display: block;
  margin-bottom: 8px;
  color: #496789;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}
.est-tip h3 {
  margin: 0 0 8px;
  color: #17233B;
  font-size: 17px;
  line-height: 1.35;
}
.est-tip p {
  margin: 0;
  color: #536176;
  font-size: 14px;
  line-height: 1.75;
}
.est-contact {
  padding: 27px;
  margin-top: 38px;
  border: 1px solid #D7E2ED;
  border-radius: 13px;
  background: linear-gradient(120deg, #EDF2F8, #F8FAFC);
}
.est-contact h2 {
  margin: 10px 0;
  color: #17233B;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
}
.est-contact > p {
  margin: 0 0 19px;
  color: #59677B;
  font-size: 14px;
  line-height: 1.75;
}
.est-contact-channel {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid #D8E2EC;
  border-radius: 9px;
  background: #FFFFFF;
}
.est-contact-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  background: #EAF0F6;
  color: #34577D;
  font-size: 19px;
}
.est-contact-channel strong,
.est-contact-channel small {
  display: block;
}
.est-contact-channel strong {
  color: #17233B;
  font-size: 13px;
}
.est-contact-channel small {
  margin-top: 3px;
  color: #718096;
  font-size: 11px;
  line-height: 1.45;
}
.est-contact-status {
  margin-left: auto;
  color: #496789;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .est-tip {
    padding: 18px;
    margin-bottom: 32px;
  }
  .est-contact {
    padding: 20px;
  }
  .est-contact-channel {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .est-contact-status {
    margin-left: 51px;
  }
}


/* RECORRIDO DE LA GUÍA PARA ESTUDIANTES */
.est-roadmap {
  padding: 54px 24px 58px;
  background: #F5F7FA;
  border-top: 1px solid #E5EAF0;
  border-bottom: 1px solid #E5EAF0;
}
.est-roadmap-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.est-roadmap-heading {
  max-width: 680px;
  margin: 0 auto 30px;
  text-align: center;
}
.est-roadmap-heading h2 {
  margin: 9px 0 10px;
  color: #17233B;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}
.est-roadmap-heading p {
  margin: 0;
  color: #59677B;
  font-size: 15px;
  line-height: 1.7;
}
.est-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.est-roadmap-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 23px;
  border: 1px solid #DCE3EB;
  border-radius: 12px;
  background: #FFFFFF;
  color: inherit;
  text-decoration: none;
}
.est-roadmap-card-active {
  border-top: 4px solid #2C4A70;
  transition: transform .2s ease, box-shadow .2s ease;
}
.est-roadmap-card-active:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 24px rgba(23, 35, 59, .09);
}
.est-roadmap-card-pending {
  background: #FAFBFC;
}
.est-roadmap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}
.est-roadmap-number {
  color: #2C4A70;
  font-size: 22px;
  font-weight: 800;
}
.est-roadmap-status {
  padding: 6px 9px;
  border-radius: 20px;
  background: #EEF1F5;
  color: #687589;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
}
.est-status-active {
  background: #EAF0F6;
  color: #2C4A70;
}
.est-roadmap-card h3 {
  margin: 0 0 10px;
  color: #17233B;
  font-size: 18px;
  line-height: 1.35;
}
.est-roadmap-card p {
  margin: 0 0 20px;
  color: #647186;
  font-size: 13px;
  line-height: 1.7;
}
.est-roadmap-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  color: #2C4A70;
  font-size: 12px;
  font-weight: 750;
}
.est-roadmap-card-pending .est-roadmap-link {
  color: #8993A1;
  font-weight: 600;
}
@media (max-width: 850px) {
  .est-roadmap-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .est-roadmap-card {
    min-height: 0;
  }
}
@media (max-width: 600px) {
  .est-roadmap {
    padding: 40px 18px;
  }
  .est-roadmap-card {
    padding: 20px;
  }
}


/* ETAPA ACTUAL DEL RECORRIDO */
.est-roadmap-card-current {
  background: #EAF0F6;
  border: 2px solid #2C4A70;
  border-top: 5px solid #2C4A70;
  box-shadow: 0 5px 18px rgba(44, 74, 112, .10);
}
.est-roadmap-card-current .est-roadmap-number {
  color: #2C4A70;
}
.est-roadmap-card-current .est-roadmap-status {
  background: #2C4A70;
  color: #FFFFFF;
}
