:root {
  --text-dark: #333333;
  --text-body: #666666;
  --text-muted: #6b7280;
  --blue-accent: #2f8cff;
  --blue-accent-2: #2ea3f2;
  --blue-light: #c5dfff;
  --bg-light: #f1f5f7;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 300;
  color: var(--text-body);
  background: #ffffff;
}

img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.site-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-header__logo {
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-nav__link {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.site-nav__link:hover {
  color: var(--blue-accent-2);
}

.site-nav__link.is-active {
  color: var(--blue-accent-2);
  border-bottom-color: var(--blue-accent-2);
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  margin-left: auto;
}

.site-nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

@media (max-width: 700px) {
  .site-nav__toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #ffffff;
    padding: 12px 32px 24px;
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.15);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__link {
    width: 100%;
    padding: 10px 0;
  }
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

.contact-info__item img {
  width: 16px;
  height: 16px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 250px 24px 340px;
  text-align: center;
  background: var(--bg-light);
}

.hero__bg {
  position: absolute;
  inset: 0;
  bottom: 60px;
  border-radius: 0 0 60px 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

@media (max-width: 700px) {
  .hero__bg {
    background-position: 15% center;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  bottom: 60px;
  border-radius: 0 0 60px 0;
  background: linear-gradient(to bottom, rgba(49, 128, 192, 0.2), rgba(49, 128, 192, 0.6) 99%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.2;
  margin: 0 0 24px;
  text-shadow: 0px 0px 28.8px rgba(0, 0, 0, 0.06);
  opacity: 0;
  animation: heroFadeIn 4s ease forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto 32px;
  text-shadow: 0px 0px 6.6px rgba(0, 0, 0, 0.4);
  opacity: 0.8;
}

.btn {
  display: inline-block;
  background: var(--blue-accent-2);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 100px;
}

/* Intro */
.intro {
  background: var(--bg-light);
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 60px 5vw;
  flex-wrap: wrap;
}

.intro__text {
  flex: 1 1 380px;
  min-width: 280px;
}

.intro__text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 32px;
  color: var(--text-dark);
  margin: 0 0 16px;
  opacity: 1;
}

.intro__text p {
  font-size: 16px;
  line-height: 2;
  margin: 0;
  opacity: 1;
}

.intro__image {
  flex: 1 1 380px;
  min-width: 280px;
  border-left: 12px solid var(--blue-accent);
  border-radius: 30px 0 60px 0;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(102, 141, 186, 0.7);
}

.intro__image picture {
  display: block;
  height: 100%;
}

.intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footnote {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  vertical-align: 2px;
}

.footnote__trigger {
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-accent);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  font-style: italic;
  line-height: 16px;
  cursor: pointer;
}

.footnote__trigger:hover,
.footnote__trigger:focus-visible {
  background: var(--blue-accent);
  color: #ffffff;
  outline: none;
}

.footnote__tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(300px, 80vw);
  padding: 10px 14px;
  background: var(--text-dark);
  color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  z-index: 10;
}

.footnote__tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--text-dark);
}

.footnote:hover .footnote__tip,
.footnote:focus-within .footnote__tip,
.footnote.is-open .footnote__tip {
  opacity: 1;
  visibility: visible;
}

/* Features */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 100px;
  text-align: center;
}

.features h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 32px;
  color: var(--text-dark);
  margin: 0 0 40px;
  opacity: 1;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px;
  text-align: left;
}

.feature {
  display: flex;
  gap: 15px;
}

.feature__icon {
  flex-shrink: 0;
  background: var(--blue-light);
  border-radius: 38px;
  padding: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon img {
  width: 22px;
  height: 22px;
  transform: scaleY(-1);
}

.feature h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--text-dark);
  margin: 0 0 8px;
  opacity: 1;
}

.feature p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  opacity: 1;
}

/* Promo */
.promo {
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-accent-2));
  border-radius: 60px 0px 0px 0px; 
}

.promo__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.promo__text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #ffffff;
  margin: 0 0 6px;
  opacity: 1;
}

.promo__text p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  max-width: 560px;
  opacity: 0.8;
}

.btn--light {
  background: #ffffff;
  color: var(--blue-accent-2);
  flex-shrink: 0;
}

/* Contact */
.contact {
  position: relative;
  background: var(--bg-light);
  padding-bottom: 60px;
}

.contact__image {
  position: relative;
  max-width: 1640px;
  margin: 0 0 0 auto;
  border-radius: 0 0 0 60px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(102, 141, 186, 0.7);
}

.contact__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(49, 128, 192, 0.1), rgba(49, 128, 192, 0.6) 99%);
}

.contact__image picture {
  display: block;
}

.contact__image img {
  width: 100%;
  aspect-ratio: 2560 / 1165;
  object-fit: cover;
  object-position: right center;
}

.contact__form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 960px;
  max-width: calc(100% - 80px);
  background: rgba(255, 255, 255, 0.38);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__form h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--text-dark);
  margin: 0 0 4px;
  text-align: center;
  opacity: 1;
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--text-dark);
}

.contact__form input,
.contact__form textarea {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid #d5dee5;
  border-radius: 8px;
  resize: vertical;
  color: var(--text-body);
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: 2px solid var(--blue-accent);
}

.contact__form .btn {
  border: none;
  cursor: pointer;
  margin-top: 4px;
  font-size: 14px;
}

.contact__form-status {
  margin: 0;
  font-size: 13px;
  font-family: 'Inter', system-ui, sans-serif;
}

.contact__form-status--ok {
  color: #1a7f37;
}

.contact__form-status--error {
  color: #c0392b;
}

@media (max-width: 1150px) {
  .contact__form {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    margin: 24px 24px 0;
  }
}

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

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 32px;
  color: var(--text-dark);
  margin: 0 0 8px;
  opacity: 1;
}

.legal h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--text-dark);
  margin: 32px 0 8px;
  opacity: 1;
}

.legal p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 8px;
  opacity: 1;
}

.legal a {
  color: var(--blue-accent);
}

/* Footer */
.site-footer {
  background: #ffffff;
}

.site-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 27px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__logo {
  height: 22px;
  width: auto;
}

.site-footer__info {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.site-footer__bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid #e5e9ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer__bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

/* Quiénes somos */
.about {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 32px 0;
}

.about__header {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.about__header h1 {
  flex: 1 1 320px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 48px;
  color: var(--text-dark);
  margin: 0;
  opacity: 1;
}

.about__header p {
  flex: 1 1 380px;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  opacity: 1;
}

.about__image {
  position: relative;
  border-radius: 0 0 100px 0;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(102, 141, 186, 0.7);
}

.about__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(49, 128, 192, 0.05), rgba(49, 128, 192, 0.45) 99%);
}

.about__image picture {
  display: block;
}

.about__image img {
  width: 100%;
  aspect-ratio: 2560 / 1070;
  object-fit: cover;
  object-position: center 30%;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding: 56px 0 40px;
}

.about__card-rule {
  width: 32px;
  height: 3px;
  background: var(--blue-accent-2);
  border: none;
  margin: 0 0 16px;
}

.about__card h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 26px;
  color: var(--text-dark);
  margin: 0 0 16px;
  opacity: 1;
}

.about__card p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  opacity: 1;
}

.about__note {
  border-left: 4px solid var(--blue-accent-2);
  background: var(--bg-light);
  border-radius: 0 12px 12px 0;
  padding: 24px 32px;
  margin-bottom: 80px;
}

.about__note h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-dark);
  margin: 0 0 8px;
  opacity: 1;
}

.about__note p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  opacity: 1;
}

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

/* Preguntas y respuestas */
.faq {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}

.faq__header {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.faq__header-text {
  flex: 1 1 320px;
}

.faq__header-rule {
  width: 32px;
  height: 3px;
  background: var(--blue-accent-2);
  border: none;
  margin: 0 0 24px;
}

.faq__header-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 48px;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0;
  opacity: 1;
}

.faq__image {
  flex: 1 1 420px;
  position: relative;
  border-left: 8px solid var(--blue-accent-2);
  border-radius: 40px 0 40px 0;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(102, 141, 186, 0.7);
}

.faq__image picture {
  display: block;
}

.faq__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.faq__list {
  max-width: 1080px;
  margin: 0 auto;
}

.faq__item {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid #e5e9ec;
}

.faq__item:last-child {
  border-bottom: 1px solid #e5e9ec;
}

.faq__number {
  flex-shrink: 0;
  width: 32px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--blue-accent-2);
}

.faq__item h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--text-dark);
  margin: 0 0 10px;
  opacity: 1;
}

.faq__item p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  opacity: 1;
}

@media (max-width: 700px) {
  .faq__item {
    gap: 16px;
  }
}

.site-footer__bottom a:hover {
  text-decoration: underline;
}
