:root {
  --red: #f8110d;
  --dark: #191919;
  --black: #000;
  --white: #fff;
  --gray-bg: #f1f2f2;
  --border: #f2f2f2;
  --green-bg: #e6fff2;
  --green-border: #3b9c6c;
  --green-text: #077a41;
  --pink-bg: #fff0f0;
  --pink-border: #9c3b3d;
  --pink-text: #913942;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1440px;
  --gutter: 24px;
  --section-gap: 90px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
}
.center { text-align: center; }

.btn {
  display: inline-block;
  padding: 6px 24px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 32px;
  color: var(--white);
  text-decoration: none;
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn--red { background: var(--red); }
.btn--dark { background: var(--dark); }
.btn--dark:hover { filter: brightness(1.6); }

/* ---------- Header ---------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 29px;
  padding-bottom: 24px;
}
.header__logo img { width: 252px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:not(.nav__whatsapp):hover { color: var(--red); }
.nav__whatsapp { margin-left: 16px; }
.nav__whatsapp img { width: 24px; height: 24px; }
.header__toggle { display: none; }

/* ---------- Hero ---------- */
.hero__box {
  position: relative;
  min-height: 692px;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  color: var(--white);
  display: flex;
  align-items: center;
}
.hero__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url("../assets/hero-bg.jpg") center / cover no-repeat;
  filter: grayscale(1);
}
.hero__content { position: relative; z-index: 1; padding: 60px 0 60px 88px; max-width: 640px; }
.hero__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 62px;
  line-height: 1;
}
.hero__title strong { font-weight: 700; }
.hero__text { margin: 34px 0 40px; font-size: 24px; line-height: 32px; }
.hero__content .btn { padding-inline: 24px; }
.hero__pcb {
  position: absolute;
  z-index: 1;
  top: 87px;
  left: 53.3%;
  width: 45.7%;
  height: auto;
}
.hero__testimonials {
  position: absolute;
  z-index: 2;
  right: 29px;
  bottom: 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 486px;
  height: 80px;
  padding: 0 19px;
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
}
.hero__testimonials span { font-size: 24px; font-weight: 300; font-style: italic; }
.hero__testimonials img { width: 265px; height: auto; }

/* ---------- Intro ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 740px;
  gap: 60px;
  align-items: center;
  margin-top: var(--section-gap);
}
.intro__text { max-width: 546px; }
.intro__line { border: 0; border-top: 1px solid var(--red); margin: 27px 0 16px 5px; }
.intro__lead { font-size: 24px; line-height: 28px; padding-left: 6px; }
.intro__small { font-size: 16px; line-height: 22px; margin: 17px 0 30px; padding-left: 6px; }
.intro__text .btn { margin-left: 6px; padding-inline: 29px; }

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 140px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 8px 1px rgba(0, 0, 0, .1);
}
.feature__icon {
  flex: 0 0 122px;
  height: 117px;
  display: grid;
  place-items: center;
  background: var(--gray-bg);
  border-radius: 8px;
}
.feature h3 { font-family: var(--font-head); font-weight: 400; font-size: 32px; line-height: 1.2; margin-bottom: 6px; }
.feature p { font-size: 16px; line-height: 28px; }

/* ---------- Costos ---------- */
.costos { margin-top: 36px; padding-top: 54px; padding-bottom: 46px; }
.costos__box {
  position: relative;
  min-height: 610px;
  border-radius: 30px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.costos__lines {
  position: absolute;
  left: 6px;
  top: 4px;
  width: 606px;
  height: 606px;
  border-bottom-left-radius: 30px;
  opacity: .35;
  pointer-events: none;
}
.costos__dollar {
  position: absolute;
  left: 194px;
  top: -49px;
  width: 329px;
  height: 706px;
  pointer-events: none;
}
.costos__dollar-outline { position: absolute; inset: 0; width: 100%; height: 100%; }
.costos__dollar-image { position: absolute; left: 9px; top: 9px; width: 311px; height: 688px; }
.costos__content { position: relative; width: 640px; margin-right: 129px; padding: 60px 0; }
.costos__content .h2 { line-height: 52px; margin-bottom: 44px; }
.costos__content p { font-size: 24px; line-height: 28px; padding-left: 6px; }
.costos__content p + p { margin-top: 28px; }
.costos__content .costos__note { font-weight: 300; font-style: italic; line-height: 24px; }
.costos__content .btn { margin: 39px 0 0 6px; padding-inline: 29px; }

/* ---------- Cómo trabajamos ---------- */
.how {
  display: grid;
  grid-template-columns: 663px 1fr;
  gap: 100px;
  align-items: start;
  margin-top: var(--section-gap);
  padding-left: calc(var(--gutter) + 8px);
}
.how__video {
  align-self: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.how__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.how__steps .h2 { margin: 4px 0 30px; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 30px;
  bottom: 30px;
  border-left: 1px solid #c1bfbf;
}
.steps li { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.steps li + li { margin-top: 35px; }
.steps__num {
  flex: 0 0 40px;
  height: 40px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
}
.steps h3 { font-family: var(--font-head); font-weight: 400; font-size: 24px; line-height: 28px; }
.steps p { font-size: 18px; line-height: 28px; max-width: 582px; }

/* ---------- Lo que hacemos ---------- */
.scope { margin-top: var(--section-gap); }
.scope__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 47px;
  margin-top: 66px;
}
.scope__card {
  min-height: 308px;
  padding: 50px;
  border-radius: 30px;
  border: 1px solid;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.scope__card h3 { font-family: var(--font-head); font-weight: 400; font-size: 32px; line-height: 35px; margin-bottom: 24px; }
.scope__card p { font-size: 22px; line-height: 30px; }
.scope__card--yes { background: var(--green-bg); border-color: var(--green-border); color: var(--green-text); }
.scope__card--no { background: var(--pink-bg); border-color: var(--pink-border); color: var(--pink-text); }

/* ---------- FAQs ---------- */
.faqs { margin-top: var(--section-gap); max-width: calc(1090px + var(--gutter) * 2); }
.faq-list { margin-top: 40px; display: grid; gap: 10px; }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  min-height: 90px;
  display: flex;
  align-items: center;
  padding: 16px 100px 16px 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .08);
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 36px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  background: url("../assets/plus.svg") center / contain no-repeat;
}
.faq[open] summary::after { right: 50px; width: 24px; height: 20px; background-image: url("../assets/minus.svg"); }
.faq p {
  font-size: 18px;
  line-height: 22px;
  padding: 40px 120px 64px 70px;
}

/* ---------- Agenda ---------- */
.agenda { margin-top: var(--section-gap); }
.agenda__box {
  display: grid;
  grid-template-columns: 519px 1fr;
  min-height: 396px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}
.agenda__img { width: 100%; height: 100%; object-fit: cover; }
.agenda__content { align-self: center; padding: 60px 60px 60px 142px; }
.agenda__content .h2 { margin-bottom: 32px; }
.agenda__content p { font-size: 18px; line-height: 22px; max-width: 571px; padding-left: 14px; margin-bottom: 30px; }
.agenda__content .btn { margin-left: 14px; padding-inline: 29px; }

/* ---------- Footer ---------- */
.footer { margin-top: 148px; }
.footer__box {
  background: var(--dark);
  color: var(--white);
  border-radius: 30px;
  padding: 69px 0 46px;
}
.footer__cols { display: flex; justify-content: space-between; gap: 40px; }
.footer__cols > div:nth-child(2) { margin-right: auto; margin-left: 351px; }
.footer h4 { font-family: var(--font-head); font-weight: 400; font-size: 24px; line-height: 22px; margin-bottom: 20px; }
.footer p { font-size: 16px; line-height: 22px; padding-left: 2px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--red); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { transition: opacity .2s; }
.footer__social a:hover { opacity: .7; }
.footer__line { border: 0; border-top: 1px solid #c5c1c1; margin: 50px 0 33px 2px; }
.footer__brands { text-align: center; }
.footer__brands p { font-size: 18px; margin-bottom: 21px; }
.footer__brands-row { display: flex; justify-content: center; gap: 20px; }
.footer__brands-row img { width: 80px; height: auto; }
.footer__copy { text-align: center; font-size: 18px; line-height: 22px; padding: 31px var(--gutter); }
.footer__copy a { color: var(--red); font-weight: 500; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .intro { grid-template-columns: 1fr 1.2fr; }
  .how { grid-template-columns: 1fr 1fr; gap: 60px; padding-left: var(--gutter); }
  .costos__content { width: 50%; margin-right: 6%; }
  .costos__lines, .costos__dollar { transform-origin: left top; transform: scale(.85); }
  .footer__cols > div:nth-child(2) { margin-left: 0; margin-right: 0; }
  .agenda__box { grid-template-columns: 36% 1fr; }
  .agenda__content { padding-left: 80px; }
}

@media (max-width: 1100px) {
  .hero__content { padding-left: 48px; max-width: 520px; }
  .hero__title { font-size: 52px; }
  .hero__text { font-size: 20px; line-height: 28px; }
  .intro { grid-template-columns: 1fr; }
  .intro__text { max-width: none; }
  .costos__lines, .costos__dollar { transform: scale(.65); }
  .how { grid-template-columns: 1fr; }
  .scope__grid { gap: 24px; }
}

@media (max-width: 860px) {
  :root { --section-gap: 64px; --gutter: 16px; }
  .h2 { font-size: 38px; }
  .header__toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .header__toggle span { width: 28px; height: 2px; background: var(--black); transition: transform .2s, opacity .2s; }
  .header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header { position: relative; padding-top: 16px; padding-bottom: 16px; }
  .header__logo img { width: 180px; }
  .nav {
    display: none;
    position: absolute;
    z-index: 10;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  }
  .nav.is-open { display: flex; }
  .nav__whatsapp { margin-left: 0; }

  .hero__box { flex-direction: column; align-items: stretch; min-height: 0; border-radius: 20px; }
  .hero__content { padding: 40px 24px 0; max-width: none; }
  .hero__title { font-size: 42px; }
  .hero__text { font-size: 18px; line-height: 26px; margin: 20px 0 28px; }
  .hero__pcb { position: relative; top: 0; left: 0; width: 100%; padding: 24px; }
  .hero__testimonials { position: relative; right: auto; bottom: auto; width: auto; margin: 0 16px 16px; height: 64px; }
  .hero__testimonials { gap: 12px; padding: 0 14px; }
  .hero__testimonials span { font-size: 16px; }
  .hero__testimonials img { width: 0; flex: 1 1 auto; max-width: 190px; }

  .feature { gap: 16px; min-height: 0; }
  .feature__icon { flex-basis: 80px; height: 80px; }
  .feature__icon img { width: 44px; height: 44px; }
  .feature h3 { font-size: 24px; }
  .feature p { line-height: 22px; }

  .costos { padding-top: 0; padding-bottom: 0; }
  .costos__box { flex-direction: column; border-radius: 20px; overflow: hidden; }
  .costos__lines, .costos__dollar { display: none; }
  .costos__content { width: auto; margin: 0; padding: 40px 24px; }
  .costos__content .h2 { line-height: 1.1; margin-bottom: 24px; }
  .costos__content p { font-size: 18px; line-height: 24px; padding-left: 0; }
  .costos__content .btn { margin-left: 0; }

  .steps h3 { font-size: 22px; }
  .steps p { font-size: 16px; line-height: 24px; }

  .scope__grid { grid-template-columns: 1fr; margin-top: 32px; }
  .scope__card { min-height: 0; padding: 32px 24px; border-radius: 20px; }
  .scope__card p { font-size: 18px; line-height: 26px; }

  .faq summary { min-height: 72px; padding: 14px 64px 14px 20px; font-size: 20px; line-height: 28px; }
  .faq summary::after { right: 14px; width: 36px; height: 36px; }
  .faq[open] summary::after { right: 20px; width: 22px; height: 18px; }
  .faq p { font-size: 16px; padding: 20px 20px 28px; }

  .agenda__box { grid-template-columns: 1fr; border-radius: 20px; }
  .agenda__img { height: 220px; }
  .agenda__content { padding: 32px 24px 40px; }
  .agenda__content p, .agenda__content .btn { margin-left: 0; padding-left: 0; }
  .agenda__content .btn { padding-inline: 29px; }

  .footer { margin-top: 80px; }
  .footer__box { border-radius: 20px; padding-top: 48px; }
  .footer__cols { flex-direction: column; gap: 32px; }
  .footer__brands-row { flex-wrap: wrap; }
  .footer__copy { font-size: 14px; }
}
