:root {
  --blue: #063493;
  --red: #ff4f45;
  --sky: #dff1fc;
  --bg: #f6fbfe;
  --line: #bdd7e8;
  --muted: #60779a
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--blue)
}

.bg-page {
  background: var(--bg)
}

.brand {
  color: var(--blue)
}

.brand span {
  color: var(--red)
}

.nav-link {
  color: var(--blue);
  font-size: .85rem;
  margin: 0 .5rem
}

.btn-blue,
.btn-red {
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  padding: .75rem 1.25rem
}

.btn-blue {
  background: var(--blue)
}

.btn-red {
  background: var(--red)
}

.eyebrow {
  background: #ddecf8;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .67rem;
  font-weight: bold;
  letter-spacing: .12em
}

.display-title {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 600
}

.display-title span {
  color: var(--red)
}

.copy {
  color: var(--muted);
  line-height: 1.7
}

.hero-art {
  position: relative;
  min-height: 410px
}

.soft-square {
  position: absolute;
  right: 5%;
  top: 4%;
  width: 75%;
  height: 85%;
  border-radius: 40px;
  background: #d2ecfb
}

.info-card {
  position: absolute;
  left: 5%;
  top: 12%;
  width: 72%;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 25px
}

.info-card small {
  display: block;
  letter-spacing: .15em;
  margin: 20px 0 8px
}

.info-card h3 {
  font-size: 1.45rem;
  font-weight: 700
}

.circle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #e1f2fc
}

.badge-soft {
  background: #fff0ef;
  color: var(--red);
  border-radius: 999px;
  padding: .4rem .65rem;
  font-size: .65rem
}

.item {
  background: #edf3f8;
  border-radius: 12px;
  padding: .7rem;
  margin-top: .55rem;
  font-size: .75rem
}

.services {
  background: var(--sky)
}

.kicker {
  color: var(--red);
  font-size: .67rem;
  font-weight: bold;
  letter-spacing: .18em;
  margin-bottom: .8rem
}

.services h2,
.pricing h2,
.about h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  letter-spacing: -.04em
}

.service-card,
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px
}

.service-card h5 {
  margin-top: 2rem
}

.service-card p,
.service-card a,
.plan p,
.plan li {
  font-size: .78rem;
  color: var(--muted)
}

.service-card a {
  color: var(--blue);
  font-weight: bold
}

.plan {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 440px
}

.plan>b {
  color: var(--red);
  font-size: .68rem;
  letter-spacing: .14em
}

.plan h3 {
  font-size: 1.8rem;
  margin: 1rem 0
}

.plan h3 small {
  font-size: .65rem;
  font-weight: normal
}

.plan ul {
  padding-left: 1.2rem;
  line-height: 2
}

.plan-btn {
  margin-top: auto;
  background: #dff1fc;
  color: var(--blue);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: bold
}

.featured {
  background: var(--blue);
  color: #fff
}

.featured p,
.featured li,
.featured h3 small {
  color: #e2eaff
}

.featured .btn-red {
  margin-top: auto;
  font-size: .72rem
}

.popular {
  position: absolute;
  top: -13px;
  left: 20px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .6rem;
  font-weight: bold
}

.cta {
  background: var(--blue);
  border-radius: 28px;
  color: #fff;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem)
}

footer {
  color: #8294ac
}

.billing-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.billing-switch {
    display: inline-flex;
    align-items: center;
    background: #e3f2fc;
    border: 1px solid #bdd7e8;
    padding: 5px;
    border-radius: 50px;
}

.billing-option {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--blue);
    padding: 11px 24px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    transition: all .25s ease;
}

.billing-option.active {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 5px 15px rgba(6, 52, 147, .18);
}

.discount-badge {
    position: absolute;
    top: -18px;
    right: -25px;

    background: var(--red);
    color: #fff;

    font-size: .55rem;
    font-weight: 700;

    padding: 4px 7px;
    border-radius: 20px;

    white-space: nowrap;
}

.billing-message {
    color: var(--muted);
    font-size: .72rem;
}

.annual-saving {
    color: var(--red);
    font-size: .68rem;
    font-weight: 700;
    margin-top: -5px;
    margin-bottom: 10px;
}

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: .85rem 1.05rem;
  display: flex;
  gap: .55rem;
  align-items: center;
  font-weight: bold;
  box-shadow: 0 12px 28px #0003
}

.whatsapp i {
  font-size: 1.3rem
}

.whatsapp:hover {
  color: #fff;
  transform: translateY(-2px)
}



.brand-logo{
  width:78px;
  max-height:42px;
  object-fit:contain;
}
.brand-fallback{
  color:var(--blue);
  font-weight:800;
  font-size:1.15rem;
}
.brand-fallback span{color:var(--coral)}
.nav-link{
  color:var(--text);
  font-size:.88rem;
  font-weight:500;
}

/* =====================================================
   NUESTRA HISTORIA
===================================================== */

.history-section {
    background: #f6fbfe;
}

.history-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: var(--blue);
    font-weight: 600;
    margin-top: 15px;
}

.history-intro {
    color: var(--muted);
    line-height: 1.8;
    font-size: .95rem;
    margin-top: 25px;
}


/* pequeño bloque destacado */

.history-highlight {
    display: flex;
    gap: 15px;
    align-items: flex-start;

    background: #e3f3fc;

    border: 1px solid #bdd9e8;
    border-radius: 18px;

    padding: 20px;
}

.history-highlight > i {
    color: var(--red);
    font-size: 1.4rem;
}

.history-highlight strong {
    color: var(--blue);
    display: block;
    font-size: .85rem;
    margin-bottom: 5px;
}

.history-highlight p {
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.6;
}


/* =====================================================
   TIMELINE
===================================================== */

.timeline {
    position: relative;
}


/* línea vertical */

.timeline::before {
    content: "";

    position: absolute;

    left: 27px;
    top: 25px;
    bottom: 25px;

    width: 2px;

    background: #c5dce9;
}


.timeline-item {
    position: relative;

    display: flex;

    gap: 25px;

    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}


/* círculo */

.timeline-marker {

    position: relative;
    z-index: 2;

    flex-shrink: 0;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e2f2fb;

    border: 5px solid #f6fbfe;

    color: var(--blue);

    font-size: .85rem;
    font-weight: 700;
}

.timeline-marker i {
    font-size: 1.2rem;
}


/* último elemento */

.timeline-marker.current {
    background: var(--blue);
    color: #fff;
}


/* tarjeta */

.timeline-content {

    flex: 1;

    background: #fff;

    border: 1px solid #c0d8e7;

    border-radius: 20px;

    padding: 23px 25px;

    transition: all .25s ease;
}

.timeline-content:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px
        rgba(6, 52, 147, .08);
}


.timeline-label {

    display: block;

    color: var(--red);

    font-size: .62rem;
    font-weight: 800;

    letter-spacing: .16em;

    margin-bottom: 8px;
}


.timeline-content h4 {

    color: var(--blue);

    font-size: 1rem;
    font-weight: 700;

    margin-bottom: 10px;
}


.timeline-content p {

    color: var(--muted);

    font-size: .78rem;

    line-height: 1.7;

    margin-bottom: 0;
}

/* =========================
   CLIENTES
========================= */

.clients-section {
  background: #fff;
}

.clients-section .copy {
  max-width: 700px;
}


/* Contenedor del logo */
.client-logo {
  height: 160px;
  background: #f8fafc;
  border: 1px solid #e5eaf1;
  border-radius: 18px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 15px 25px;
  gap: 10px;

  transition: all 0.3s ease;
}

.client-logo img {
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 90px;
  object-fit: contain;
}

.client-name {
  color: #164a9c;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}


.client-logo:hover {
  background: #fff;
  border-color: #d7e0eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  transform: translateY(-3px);
}


/* Logo */
.client-logo img {
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 90px;
  object-fit: contain;
}

/* Controles */
.clients-section .carousel-control-prev,
.clients-section .carousel-control-next {
  width: 42px;
  height: 42px;

  top: 50%;
  transform: translateY(-50%);

  background: #0d6efd;
  border-radius: 50%;

  opacity: 1;
}

.clients-section .carousel-control-prev {
  left: -20px;
}

.clients-section .carousel-control-next {
  right: -20px;
}


/* Móvil */
@media (max-width: 767px) {

  .client-logo {
    height: 110px;
    padding: 12px;
  }

  .client-logo img {
    max-width: 85%;
    max-height: 75px;
  }

  .clients-section .carousel-control-prev {
    left: 0;
  }

  .clients-section .carousel-control-next {
    right: 0;
  }

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 767px) {

    .timeline::before {
        left: 22px;
    }

    .timeline-marker {

        width: 46px;
        height: 46px;

        border-width: 4px;

        font-size: .7rem;
    }

    .timeline-item {
        gap: 15px;
    }

    .timeline-content {
        padding: 20px;
    }

}

@media(max-width:767px) {
  .cta {
    flex-direction: column;
    align-items: flex-start
  }

  .whatsapp span {
    display: none
  }

  .whatsapp {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center
  }

  .hero-art {
    min-height: 360px
  }

  .info-card {
    width: 88%;
    left: 0
  }
}