* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #171b2d;
  background: #fff;
}

button,
input {
  font: inherit;
}

/* =========================
   HEADER
   ========================= */

.header {
  height: 92px;
  padding: 0 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid #f1edf0;
}

.brand {
  flex: 0 0 auto;
}

.conceptum-logo {
  width: 235px;
  height: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  margin-right: 40px;
}

nav a {
  color: #171b2d;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
}

nav a:hover {
  color: #a55b91;
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 16px;
  font-weight: 500;
}

.btn.primary {
  background: #a65d92;
  color: #fff;
  padding: 16px 28px;
  font-size: 16px;
}

.btn.primary:hover {
  background: #914d7e;
}

/* =========================
   HERO
   ========================= */

.hero {
  position: relative;
  min-height: 650px;
  height: calc(100vh - 92px);
  max-height: 760px;
  overflow: hidden;
  background: #faf7f8;
}

/* =========================
   FOTO DEL BEBÉ
   ========================= */

.hero-photo {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;

  background-image:
    linear-gradient(
      90deg,
      #faf7f8 0%,
      rgba(250,247,248,.92) 8%,
      rgba(250,247,248,.30) 28%,
      rgba(250,247,248,0) 45%
    ),
    url("https://images.pexels.com/photos/4669000/pexels-photo-4669000.jpeg?auto=compress&cs=tinysrgb&w=1800");

  background-size: cover;

  /*
   * POSICIÓN DEL BEBÉ
   * Se mueve la cara hacia el centro.
   */
  background-position: 15% center;

  background-repeat: no-repeat;
}

/* =========================
   CONTENIDO IZQUIERDO
   ========================= */

.hero-copy {
  position: relative;
  z-index: 5;
  width: 43%;
  max-width: 610px;
  padding: 105px 0 50px 7%;
}

.eyebrow {
  font-size: 15px;
  letter-spacing: 4px;
  color: #697286;
  margin-bottom: 32px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 4.5vw, 72px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -2.5px;
}

.hero h1 span {
  color: #a45b91;
}

.hero-copy p {
  max-width: 560px;
  margin: 28px 0 34px;
  color: #5e687b;
  font-size: 21px;
  line-height: 1.55;
}

.btn.large {
  padding: 18px 30px;
  font-size: 17px;
}

/* =========================
   CONCEPTUM IA
   ========================= */

.ai-card {
  position: absolute;
  z-index: 10;

  top: 7%;
  right: 5%;

  width: min(380px, 25vw);
  min-width: 350px;

  max-height: 590px;

  padding: 24px;

  background: rgba(255,255,255,.96);

  border: 1px solid rgba(225,220,224,.9);

  border-radius: 28px;

  box-shadow: 0 20px 55px rgba(31, 27, 39, .15);

  backdrop-filter: blur(10px);
}

.ai-head {
  display: grid;
  grid-template-columns: 50px 1fr auto;

  gap: 13px;

  align-items: center;

  margin-bottom: 18px;
}

.ai-avatar {
  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #087e9e;

  color: #fff;

  font-size: 23px;
}

.ai-info {
  min-width: 0;
}

.ai-info strong {
  display: block;

  font-size: 18px;

  margin-bottom: 5px;
}

.ai-info small {
  display: block;

  color: #737783;

  font-size: 11px;

  line-height: 1.35;
}

.online {
  color: #16894c;

  font-size: 12px;

  white-space: nowrap;
}

.chat {
  max-height: 360px;

  overflow: hidden;
}

.msg.bot {
  padding: 20px;

  border-radius: 20px;

  background: #faf7f9;

  color: #202435;

  font-size: 15px;

  line-height: 1.55;

  margin-bottom: 12px;
}

.quick {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.quick button {
  width: 100%;

  min-height: 48px;

  padding: 11px 13px;

  border: 1px solid #e8e3e7;

  border-radius: 15px;

  background: #fff;

  color: #293043;

  display: grid;

  grid-template-columns: 18px 1fr 12px;

  align-items: center;

  gap: 8px;

  text-align: left;

  cursor: pointer;

  font-size: 13px;
}

.quick button:hover {
  border-color: #a65d92;

  background: #fcf8fb;
}

.quick button b {
  color: #8c8790;

  font-size: 18px;

  font-weight: 400;

  text-align: right;
}

.composer {
  display: grid;

  grid-template-columns: 1fr 54px;

  margin-top: 12px;

  border: 1px solid #e6e1e5;

  border-radius: 16px;

  overflow: hidden;

  background: #fff;
}

.composer input {
  min-width: 0;

  border: 0;

  outline: 0;

  padding: 14px;

  font-size: 13px;
}

.composer button {
  border: 0;

  background: #a65d92;

  color: #fff;

  font-size: 20px;

  cursor: pointer;
}

.privacy {
  text-align: center;

  color: #99949b;

  font-size: 10px;

  margin-top: 10px;
}

/* =========================
   RESTO DE LA PÁGINA
   ========================= */

.benefits {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 20px;

  padding: 50px 7%;

  background: #fff;
}

.benefits div {
  display: flex;

  gap: 12px;

  align-items: center;

  color: #a45b91;

  font-size: 22px;
}

.benefits span {
  color: #3f4656;

  font-size: 14px;

  line-height: 1.35;
}

.treatments {
  padding: 90px 7%;

  background: #faf7f8;
}

.section-title {
  font-size: 42px;

  margin-bottom: 12px;
}

.treatments > p {
  color: #657083;

  font-size: 18px;

  max-width: 700px;
}

.cards {
  margin-top: 40px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.cards article {
  min-height: 170px;

  padding: 25px;

  border-radius: 20px;

  background: #fff;

  border: 1px solid #eee8ed;

  display: flex;

  flex-direction: column;

  position: relative;
}

.cards b {
  font-size: 22px;

  margin-bottom: 12px;
}

.cards small {
  color: #707888;

  line-height: 1.5;
}

.cards span {
  position: absolute;

  right: 22px;

  bottom: 18px;

  color: #a45b91;

  font-size: 25px;
}

.demo-note {
  padding: 40px 7%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}

.demo-note strong {
  color: #a45b91;
}

.demo-note span {
  color: #707888;
}

.outline {
  padding: 14px 22px;

  background: #fff;

  border: 1px solid #a45b91;

  color: #a45b91;
}

/* =========================
   MODAL
   ========================= */

.modal {
  display: none;

  position: fixed;

  inset: 0;

  z-index: 100;

  background: rgba(20,20,30,.55);

  align-items: center;

  justify-content: center;

  padding: 20px;
}

.modal.active {
  display: flex;
}

.lead-card {
  position: relative;

  width: min(520px, 100%);

  background: #fff;

  border-radius: 24px;

  padding: 30px;
}

.close {
  position: absolute;

  top: 15px;

  right: 18px;

  border: 0;

  background: none;

  font-size: 28px;

  cursor: pointer;
}

.lead-tag {
  color: #a45b91;

  font-weight: 700;
}

.lead-card h2 {
  margin: 12px 0 25px;
}

.lead-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;
}

.lead-grid small,
.summary small {
  display: block;

  color: #888;

  margin-bottom: 5px;
}

.summary {
  margin: 25px 0;

  padding: 18px;

  background: #faf7f9;

  border-radius: 15px;
}

.full {
  width: 100%;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 1200px) {

  .header {
    padding: 0 4%;
  }

  nav {
    gap: 20px;

    margin-right: 20px;
  }

  .conceptum-logo {
    width: 205px;
  }

  .hero-copy {
    width: 48%;

    padding-left: 6%;
  }

  .hero h1 {
    font-size: clamp(46px, 5vw, 64px);
  }

  .ai-card {
    right: 3%;

    width: 355px;

    min-width: 0;
  }

  /*
   * Mantener la nueva posición
   * del bebé en tablet.
   */
  .hero-photo {
    background-position: 15% center;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {

  .header {
    height: auto;

    min-height: 76px;

    padding: 15px 5%;

    flex-wrap: wrap;

    gap: 14px;
  }

  .conceptum-logo {
    width: 185px;
  }

  nav {
    order: 3;

    width: 100%;

    overflow-x: auto;

    justify-content: flex-start;

    margin: 0;

    padding-bottom: 3px;
  }

  nav a {
    font-size: 13px;
  }

  .header > .btn {
    padding: 11px 15px;

    font-size: 13px;
  }

  .hero {
    height: auto;

    min-height: 0;

    padding-bottom: 35px;
  }

  .hero-photo {
    position: relative;

    width: 100%;

    height: 420px;

    right: auto;

    top: auto;

    background-image:
      url("https://images.pexels.com/photos/4669000/pexels-photo-4669000.jpeg?auto=compress&cs=tinysrgb&w=1800");

    background-size: cover;

    background-position: center center;
  }

  .hero-copy {
    width: 100%;

    max-width: none;

    padding: 55px 7% 30px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 22px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .ai-card {
    position: relative;

    top: auto;

    right: auto;

    width: calc(100% - 12%);

    min-width: 0;

    max-height: none;

    margin: -100px auto 0;
  }

  .benefits,
  .cards {
    grid-template-columns: 1fr;
  }

  .benefits {
    padding: 40px 7%;
  }

  .demo-note {
    flex-direction: column;

    align-items: flex-start;
  }
}

/* =========================
   MOBILE PEQUEÑO
   ========================= */

@media (max-width: 520px) {

  .hero h1 {
    font-size: 39px;

    letter-spacing: -1.5px;
  }

  .hero-photo {
    height: 330px;

    background-position: center center;
  }

  .ai-card {
    padding: 18px;

    border-radius: 22px;
  }

  .ai-head {
    grid-template-columns: 44px 1fr;
  }

  .ai-avatar {
    width: 44px;

    height: 44px;
  }

  .online {
    grid-column: 2;
  }

  .lead-grid {
    grid-template-columns: 1fr;
  }
}