:root {
  --green: #8be018;
  --button: #08c76d;
  --white: #ffffff;
  --muted: #898989;
  --black: #000000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("Imagenes/Fondo_mosaico.png") right top / clamp(1050px, 86vw, 1420px) clamp(1050px, 86vw, 1420px) no-repeat;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1680px, calc(100% - 80px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(40px, 4vw, 78px) clamp(40px, 4.2vw, 64px);
}

.site-header {
  position: relative;
  height: clamp(112px, 8.8vw, 136px);
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 3.5vw, 54px);
  padding-top: clamp(5px, 0.7vw, 10px);
}

.brand {
  display: flex;
  align-items: flex-start;
  width: clamp(238px, 19.7vw, 284px);
  margin-left: clamp(-22px, -1.5vw, -14px);
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(236px, 19.5vw, 282px);
  max-width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  gap: clamp(46px, 5.6vw, 88px);
  margin-left: auto;
  margin-right: clamp(24px, 3vw, 44px);
  padding-top: clamp(50px, 4.2vw, 62px);
}

.main-nav a {
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  border-radius: 5px;
  padding: 0 18px;
  color: var(--white);
  background: var(--button);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.contact-button {
  position: relative;
  min-width: 158px;
  overflow: hidden;
}

.contact-button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 28%, rgba(255, 255, 255, 0.36) 42%, transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, 0.13) 8px 10px, transparent 11px 18px);
  opacity: 0;
  transform: translateX(-110%);
  transition: transform 0.62s ease, opacity 0.28s ease;
}

.contact-button:hover::after,
.contact-button:focus-visible::after {
  opacity: 1;
  transform: translateX(110%);
}

.language-control {
  position: absolute;
  top: 12px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 0 8px 0 11px;
  border: 1px solid rgba(139, 224, 24, 0.6);
  color: var(--green);
  background: rgba(0, 0, 0, 0.74);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-control select {
  height: 25px;
  border: 0;
  border-left: 1px solid rgba(139, 224, 24, 0.5);
  padding: 0 20px 0 8px;
  color: var(--white);
  background: transparent;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.language-control select:focus-visible {
  outline: none;
}

.language-control option {
  color: var(--white);
  background: var(--black);
}

.language-control:focus-within,
.language-control:hover {
  border-color: var(--green);
  background: rgba(0, 0, 0, 0.9);
}

.hero {
  position: relative;
  width: 100%;
  height: clamp(318px, 24vw, 450px);
  overflow: hidden;
  border-radius: 6px;
  background: #111;
}

.hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-phrase {
  position: absolute;
  left: 30px;
  top: 25px;
  z-index: 1;
  max-width: 420px;
  margin: 0;
  padding: 8px 14px;
  border-left: 2px solid rgba(139, 224, 24, 0.9);
  color: rgba(255, 255, 255, 0.94);
  background: rgba(0, 0, 0, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  backdrop-filter: blur(2px);
}

.intro-grid {
  display: grid;
  grid-template-columns: clamp(420px, 30vw, 520px) minmax(0, 1fr);
  gap: clamp(48px, 4vw, 78px);
  align-items: start;
  padding-top: clamp(24px, 2.2vw, 34px);
}

.intro-copy {
  min-height: 278px;
}

h1 {
  margin: 0 0 15px;
  color: var(--green);
  font-size: clamp(36px, 3vw, 46px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

p {
  margin: 0 0 8px;
  max-width: 440px;
  color: var(--muted);
  font-size: clamp(14px, 1.04vw, 16px);
  font-weight: 500;
  line-height: 1.95;
}

.source-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.45;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 160px);
  margin-top: 34px;
}

.learn-button {
  min-width: 153px;
}

.plans-button {
  min-width: 258px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  border: 1px solid rgba(139, 224, 24, 0.28);
  border-radius: 5px;
  padding: 0;
  background: rgba(0, 0, 0, 0.74);
  cursor: pointer;
}

.icon-button img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.whatsapp-button img {
  width: 31px;
  height: 31px;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.social-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 11px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-link:hover,
.social-link:focus-visible {
  filter: brightness(1.16);
  transform: translateY(-2px);
  outline: none;
}

.site-footer {
  padding: 34px 0 0;
  text-align: center;
}

.site-footer p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.4;
}

.image-collage {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(194px, 0.92fr) minmax(180px, 0.84fr);
  gap: clamp(24px, 2.8vw, 40px);
  align-items: start;
  padding-top: 7px;
}

.collage-img {
  display: block;
  width: 100%;
  height: clamp(232px, 18.4vw, 292px);
  object-fit: cover;
}

.img-three {
  border-radius: 0 28px 0 0;
}

@media (max-width: 1100px) {
  .page-shell {
    padding-inline: 40px;
  }

  .site-header {
    gap: 28px;
  }

  .main-nav {
    margin-left: auto;
    margin-right: 20px;
    gap: 42px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .image-collage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1600px) {
  body::before {
    background-size: 1180px 1180px;
    background-position: right bottom;
  }

  .page-shell {
    width: min(1760px, calc(100% - 96px));
  }
}

@media (max-width: 760px) {
  body::before {
    background-size: 900px 900px;
    background-position: right bottom;
  }

  .page-shell {
    min-height: auto;
    padding: 0 20px 36px;
  }

  .site-header {
    height: auto;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 0 24px;
  }

  .brand {
    width: 100%;
    margin-left: 0;
  }

  .brand img {
    width: 238px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    margin-right: 0;
    padding-top: 4px;
    gap: 18px;
  }

  .main-nav a {
    font-size: 13px;
    letter-spacing: 0.32em;
  }

  .language-control {
    position: static;
    order: 2;
    margin-left: auto;
  }

  .hero {
    height: 230px;
  }

  .hero-phrase {
    left: 16px;
    top: 16px;
    max-width: calc(100% - 32px);
    font-size: 15px;
    white-space: normal;
  }

  .intro-grid {
    gap: 24px;
    padding-top: 24px;
  }

  h1 {
    font-size: 34px;
  }

  .action-row {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    margin-top: 28px;
  }

  .cta-button {
    flex: 1 1 100%;
    min-width: 0;
    font-size: 19px;
  }

  .icon-button {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .social-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .image-collage {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .collage-img {
    height: 240px;
    border-radius: 6px;
  }
}
