:root {
  --blue: #2294B5;
  --green: #A6FF4D;
  --green-bright: #00FF40;
  --ink: #15242b;
  --muted: #68777f;
  --soft: #f5f8f8;
  --cream: #f7f3eb;
  --white: #ffffff;
  --line: rgba(21, 36, 43, .12);

  --serif: "Barlow Condensed", sans-serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.nav-wrap {
  width: var(--container);
  height: 96px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-logo {
  width: 170px;
  height: auto;
}

.brand-tagline {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .9;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .94;
  padding-block: 10px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--green);
  transform: translateX(-50%);
  transition: width .25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.22) 36%, rgba(255,255,255,.10) 68%, rgba(255,255,255,.02) 100%),
    linear-gradient(0deg, rgba(255,255,255,.14), rgba(255,255,255,0));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  padding: 90px 0;
}

.hero-frame {
  max-width: 570px;
  position: relative;
  padding: 34px 0 34px 34px;
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border-color: var(--green);
  border-style: solid;
  pointer-events: none;
}

.hero-frame::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.hero-frame::after {
  bottom: 0;
  right: 4px;
  border-width: 0 2px 2px 0;
}

.kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4.2rem, 8vw, 7.8rem);
  line-height: .88;
  letter-spacing: -.04em;
}

.hero-sub {
  max-width: 500px;
  margin: 28px 0 34px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: #2a3a41;
  line-height: 1.75;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(34,148,181,.24);
  transition: transform .22s ease, box-shadow .22s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(34,148,181,.32);
}

/* TRUST */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 28px;
  text-align: center;
}

.trust-grid div {
  display: grid;
  gap: 3px;
}

.trust-grid strong {
  font-size: .88rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trust-grid span {
  font-size: .92rem;
  color: var(--muted);
}

/* GLOBAL SECTIONS */

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 720px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.magazine-copy h2,
.final-box h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
}

.section-heading p,
.text-block p,
.magazine-copy p,
.final-box p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.section-heading p {
  position: relative;
  padding-left: 18px;
}

.section-heading p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 3px;
  height: 16px;
  background: #A6FF4D;
}

.with-line {
  position: relative;
  padding-left: 34px;
}

.with-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 3px;
  height: 86px;
  background: var(--green);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

/* FLEXIBILIDAD */

.editorial-flex {
  background: var(--soft);
}

.text-block {
  max-width: 560px;
}

.mini-list,
.benefit-points {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mini-list span,
.benefit-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--white);
  font-size: .86rem;
  font-weight: 600;
}

/* SOLUTIONS */

.solutions {
  background: var(--white);
}

.cards-three {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  min-height: 280px;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(21, 36, 43, .06);
}

.card-dot {
  width: 11px;
  height: 11px;
  display: block;
  border-radius: 50%;
  background: var(--green);
  margin-bottom: 24px;
}

.card-icon {
  width: 66px;
  height: 66px;
  object-fit: contain;

  margin-bottom: 18px;

  display: block;
  /* magia */
  padding: 12px;
  background: rgba(34, 148, 181, 0.08); /* tu #2294b5 */
  border-radius: 14px;
}

.card:hover .card-icon {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.card h3 {
  margin: 0 0 16px;
  font-size: 1.24rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.center-cta {
  margin-top: 42px;
  text-align: center;
}

.text-cta {
  color: var(--blue);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.text-cta::after {
  content: " →";
  color: var(--green-bright);
}

/* SECTION DIVIDER */
.section-divider {
  width: 666px;
  height: 1px;
  margin: 0px auto 40px auto; 

  border: none;
  background: linear-gradient(
    to right,
    rgba(146,149,33,0) 0%,
    rgba(146,149,33,0.6) 20%,
    rgba(146,149,33,0.6) 80%,
    rgba(146,149,33,0) 100%
  );
}


/* MAGAZINE SPLIT */

.magazine-split {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  background: var(--cream);
}

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

.magazine-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 7vw, 110px);
}

.magazine-copy p {
  max-width: 500px;
}

/* CAPABILITIES */
.capabilities {
  background: #fff;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  margin-top: 56px;
}

.cap-item {
  position: relative;
  padding: 28px 0 30px;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.cap-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 72px;
  height: 1px;
  background: #2294b5;
  opacity: 0.85;
  transition: width 0.25s ease, opacity 0.25s ease;
}

.cap-number {
  display: inline-block;
  margin-bottom: 14px;

  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.16em;
  font-weight: 700;

  color: rgba(34, 148, 181, 0.9);
}

.cap-item h3 {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.25;
  color: #0f172a;
}

.cap-item p {
  max-width: 420px;
  margin: 0;

  font-size: 0.98rem;
  line-height: 1.65;
  color: #64748b;
}

.cap-item:hover::after {
  width: 132px;
  opacity: 1;
}




/* BENEFITS */

.benefits {
  background: var(--soft);
}

.screen-stack {
  position: relative;
  min-height: 440px;
}

.screen-stack img {
  width: min(520px, 100%);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(21, 36, 43, .16);
  border: 1px solid rgba(255,255,255,.7);
}

.screen-stack img:nth-child(2) {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(440px, 86%);
}

/* TESTIMONIALS */

.testimonials {
  background: var(--white);
}

.testimonials-layout {
  margin-top: 62px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}

.testimonial {
  background: var(--soft);
  border-radius: 26px;
  padding: 34px;
  border: 1px solid var(--line);
}

.testimonial.featured {
  padding: clamp(42px, 5vw, 70px);
  background: var(--ink);
  color: var(--white);
}

.testimonial p {
  margin: 0 0 30px;
  font-size: 1.02rem;
  line-height: 1.85;
}

.testimonial.featured p {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -.02em;
}

.testimonial h4 {
  margin: 0;
  font-size: .96rem;
}

.testimonial span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .88rem;
}

.testimonial.featured span {
  color: rgba(255,255,255,.68);
}

.testimonial-side {
  display: grid;
  gap: 24px;
}

/* FINAL CTA */

.final-cta {
  padding: 120px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(166,255,77,.25), transparent 28%),
    var(--blue);
  color: var(--white);
}

.final-box {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  padding: 56px 38px;
}

.final-box::before,
.final-box::after {
  content: "";
  position: absolute;
  width: 76px;
  height: 76px;
  border-color: var(--green);
  border-style: solid;
}

.final-box::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.final-box::after {
  right: 0;
  bottom: 0;
  border-width: 0 2px 2px 0;
}

.final-box .kicker {
  color: var(--green);
}

.final-box p {
  color: rgba(255,255,255,.82);
  max-width: 650px;
  margin: 28px auto 36px;
}

.final-box .btn-primary {
  background: var(--white);
  color: var(--blue);
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .nav-wrap {
    height: auto;
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .brand-tagline {
    font-size: .66rem;
  }

  .main-nav {
    gap: 22px;
  }

  .hero {
    min-height: 520px;
  }
    
    .hero-image img {
        object-fit: cover;
        object-position: 42% center;
      }

  .hero-overlay {
      background:
        linear-gradient(0deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.42) 55%, rgba(255,255,255,.18) 100%);
    }

  .hero-content {
    padding-top: 40px;
    justify-content: flex-start;
  }

  .hero-frame {
    padding-left: 24px;
  }

  .trust-grid,
  .two-col,
  .cards-three,
  .cap-grid,
  .testimonials-layout,
  .magazine-split {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    padding: 32px 0;
  }

  .section {
    padding: 78px 0;
  }

  .magazine-split {
    min-height: auto;
  }

  .magazine-image {
    min-height: 430px;
  }

  .cap-grid {
    border-left: 0;
  }

  .cap-grid div {
    border-left: 1px solid var(--line);
  }

  .screen-stack {
    min-height: auto;
  }

  .screen-stack img:nth-child(2) {
    position: relative;
    margin-top: 18px;
    width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .main-nav a {
    font-size: .72rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-frame::before,
  .hero-frame::after,
  .final-box::before,
  .final-box::after {
    width: 52px;
    height: 52px;
  }

  .section-heading h2,
  .magazine-copy h2,
  .final-box h2 {
    font-size: 2.8rem;
  }

  .card {
    min-height: auto;
  }

  .magazine-copy {
    padding: 54px 24px;
  }

  .testimonial.featured p {
    font-size: 1.7rem;
  }
}

@media (max-width: 640px) {
  .card-icon {
    width: 52px;
    height: 52px;
    padding: 10px;
    margin-bottom: 14px;
  }
    
  .section-divider {
      width: min(360px, 60%);
    }
    
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 4px;
  margin-left: -10px;
}

.nav-social::before {
  content: "";
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, .32);
  margin-right: 8px;
}

.nav-social-link {
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0;
  opacity: .9;
  transition: 
    transform .22s ease,
    opacity .22s ease,
    background-color .22s ease;
}

.nav-social-link img {
  width: 33px;
  height: 33px;
  display: block;
}

.nav-social-link:hover {
  opacity: 1;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .12);
}

/* Evita que los íconos hereden la rayita inferior del menú */
.nav-social-link::after {
  display: none;
}

@media (max-width: 560px) {
  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .main-nav a {
    font-size: .72rem;
  }

  .nav-social {
    gap: 8px;
    margin-left: 0;
    padding-left: 0;
  }

  .nav-social::before {
    display: none;
  }

  .nav-social-link {
    width: 34px;
    height: 34px;
  }

  .nav-social-link img {
    width: 33px;
    height: 33px;
  }
}
