/* Web estática para subir por FTP */

:root {
  --green-dark: #00391f;
  --green: #129647;
  --green-soft: #eff8f1;
  --green-line: #9ed768;
  --white: #ffffff;
  --ink: #143521;
  --muted: rgba(255, 255, 255, 0.78);
  --card-muted: rgba(20, 53, 33, 0.68);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background: var(--green-dark);
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(0, 50, 28, 0.95) 0%, rgba(0, 64, 34, 0.72) 34%, rgba(0, 64, 34, 0.18) 72%, rgba(0, 64, 34, 0.05) 100%),
    url("../images/fondo-portada.jpg");
  background-size: cover;
  background-position: center;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 58px);
}

.header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: block;
  width: min(310px, 52vw);
  height: auto;
  object-fit: contain;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(202, 229, 106, 0.82);
  border-radius: 999px;
  padding: 10px 18px;
  color: #dff08b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  white-space: nowrap;
  background: rgba(0, 57, 31, 0.22);
}

.intro {
  max-width: 760px;
  padding: 52px 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 30px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  letter-spacing: 0.03em;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(46px, 6.5vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.subtitle {
  position: relative;
  margin: 34px 0 0;
  padding-top: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.16;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.subtitle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: #ddeb74;
}

.footer {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.6;
}

.footer p {
  margin: 0;
}

.footer p + p {
  margin-top: 8px;
}

.footer strong {
  color: #ffffff;
}

.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 68px);
}

.language-panel {
  width: min(100%, 690px);
  padding: clamp(26px, 4vw, 46px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.language-panel h2 {
  position: relative;
  margin: 0;
  padding-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.language-panel h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
}

.language-panel > p {
  margin: 26px 0 0;
  color: var(--card-muted);
  font-size: 18px;
  line-height: 1.55;
}

.language-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.language-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 140px;
  padding: 16px;
  border: 1px solid rgba(18, 150, 71, 0.42);
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fbf4, #edf8e8);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.language-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 150, 71, 0.85);
  box-shadow: 0 14px 32px rgba(13, 67, 36, 0.15);
}

.language-card.is-disabled {
  display: none;
}

.language-card__cover {
  width: 82px;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(13, 67, 36, 0.18);
}

.language-card__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 700;
}

.language-card__subtitle {
  margin: 9px 0 0;
  color: #108045;
  font-size: 15px;
}

.language-card__arrow {
  color: var(--green);
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__left {
    min-height: 62vh;
  }

  .hero__right {
    padding-top: 10px;
  }

  .language-panel {
    max-width: 780px;
  }
}

@media (max-width: 680px) {
  .header {
    align-items: center;
  }

  .badge {
    display: none;
  }

  .language-list {
    grid-template-columns: 1fr;
  }

  .language-card {
    min-height: 118px;
    grid-template-columns: 74px 1fr auto;
  }

  .language-card__cover {
    width: 66px;
    height: 92px;
  }

  .footer {
    font-size: 13px;
  }
}
