:root {
  /* Regla 60-30-10
     60%: blanco/grises neutros
     30%: azules de marca
     10%: verde de acción */
  --neutral-0: #ffffff;
  --neutral-25: #fbfcfe;
  --neutral-50: #f6f8fb;
  --neutral-100: #edf2f7;
  --neutral-200: #d9e2ec;
  --neutral-500: #607086;
  --neutral-700: #34445a;
  --neutral-900: #122033;

  --blue-950: #071a2e;
  --blue-900: #0a2847;
  --blue-800: #0d3b6e;
  --blue-700: #0b4f9c;
  --blue-600: #1266c3;
  --blue-100: #eaf3ff;
  --blue-50: #f4f8ff;

  --accent: #18a66e;
  --accent-dark: #108557;
  --accent-soft: #e9f8f1;

  --danger: #bd2f3a;
  --shadow-sm: 0 8px 24px rgba(22, 50, 84, .06);
  --shadow-md: 0 16px 42px rgba(22, 50, 84, .10);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--neutral-50);
  color: var(--neutral-900);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
::selection { background: #cae3ff; color: var(--blue-950); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 9px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-950);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--container), calc(100% - 36px));
  margin-inline: auto;
}

.section { padding: 70px 0; }
.section-white { background: var(--neutral-0); }
.section-soft { background: var(--neutral-50); }

.section-heading {
  max-width: 720px;
  margin: 0 0 30px;
}
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2,
.about-section h2 {
  margin: 7px 0 0;
  color: var(--neutral-900);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 800;
}
.section-heading p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--neutral-500);
  font-size: .94rem;
  line-height: 1.7;
}
.section-heading.centered p { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue-600);
}
.eyebrow-on-dark { color: #d5e8ff; }
.eyebrow-on-dark::before { background: #67aaf5; }
.eyebrow-on-dark i { color: #73d9ad; font-size: .7rem; }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .86rem;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(24,166,110,.18);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.05); }
.btn-outline-light:hover { color: #fff; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.50); }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 54px) 0 58px;
  background:
    radial-gradient(circle at 76% 18%, rgba(45, 124, 214, .24), transparent 30%),
    linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 54%, var(--blue-800) 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .72fr);
  gap: 52px;
  align-items: center;
}
.hero-copy h1 {
  max-width: 760px;
  margin: 12px 0 0;
  color: #fff;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 800;
}
.hero-copy h1 span { color: #87bdff; }
.hero-lead {
  max-width: 700px;
  margin: 17px 0 0;
  color: #c8d7e7;
  font-size: .98rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  max-width: 720px;
  gap: 0;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.13);
}
.hero-metrics > div { padding: 0 18px; border-right: 1px solid rgba(255,255,255,.11); }
.hero-metrics > div:first-child { padding-left: 0; }
.hero-metrics > div:last-child { border-right: 0; }
.hero-metrics strong { display: block; color: #fff; font-size: 1rem; line-height: 1.25; }
.hero-metrics span { display: block; margin-top: 4px; color: #9fb4c9; font-size: .72rem; line-height: 1.4; }

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 24px 60px rgba(2,15,29,.24);
  backdrop-filter: blur(12px);
}
.hero-card-head { padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,.10); }
.hero-card-head > span { color: #8fc1ff; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-card-head h2 { margin: 6px 0 0; color: #fff; font-family: "Manrope", sans-serif; font-size: 1.08rem; line-height: 1.38; }
.hero-card-list { padding: 5px 12px; }
.hero-card-item { display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center; padding: 13px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.hero-card-item:last-child { border-bottom: 0; }
.hero-card-item > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.09); color: #76b5ff; }
.hero-card-item strong { display: block; color: #fff; font-size: .83rem; }
.hero-card-item p { margin: 2px 0 0; color: #afc2d4; font-size: .72rem; line-height: 1.45; }
.hero-card-foot { display: flex; align-items: flex-start; gap: 8px; padding: 13px 20px 15px; background: rgba(0,0,0,.08); color: #b9c9d7; font-size: .71rem; line-height: 1.5; }
.hero-card-foot i { color: #78d9af; margin-top: 3px; }

/* GRIDS / CARDS */
.cards-grid { display: grid; gap: 14px; }
.cards-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.info-card,
.process-card,
.tech-card,
.project-card,
.faq-item {
  border: 1px solid var(--neutral-200);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.info-card {
  min-height: 270px;
  padding: 22px;
  border-radius: var(--radius-md);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.info-card:hover { transform: translateY(-3px); border-color: #b9cbe0; box-shadow: var(--shadow-md); }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--blue-100); color: var(--blue-700); font-size: 1rem; }
.info-card h3 { margin: 17px 0 7px; font-family: "Manrope", sans-serif; font-size: 1rem; line-height: 1.32; color: var(--neutral-900); }
.info-card > p { margin: 0; color: var(--neutral-500); font-size: .82rem; line-height: 1.65; }
.check-list { list-style: none; padding: 13px 0 0; margin: 13px 0 0; border-top: 1px solid var(--neutral-100); }
.check-list li { display: flex; gap: 7px; margin: 7px 0; color: var(--neutral-700); font-size: .75rem; line-height: 1.45; }
.check-list i { color: var(--accent); margin-top: 3px; font-size: .65rem; }

/* TRUST */
.trust-strip { padding: 24px 0; background: var(--blue-700); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.trust-grid > div { display: flex; align-items: center; gap: 12px; }
.trust-grid > div > i { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.10); color: #fff; }
.trust-grid strong { display: block; font-size: .82rem; line-height: 1.3; }
.trust-grid small { display: block; margin-top: 3px; color: #d9eaff; font-size: .68rem; line-height: 1.4; }

/* PROCESS */
.process-card { min-height: 220px; padding: 20px; border-radius: var(--radius-md); }
.process-card-top { display: flex; align-items: center; justify-content: space-between; }
.process-card-top span { color: #8091a6; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.process-card-top i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-100); color: var(--blue-700); }
.process-card h3 { margin: 21px 0 7px; font-family: "Manrope", sans-serif; font-size: .98rem; color: var(--neutral-900); }
.process-card p { margin: 0; color: var(--neutral-500); font-size: .8rem; line-height: 1.62; }

/* PROJECTS */
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.project-card { overflow: hidden; border-radius: var(--radius-md); transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.project-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--neutral-100); }
.project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,26,46,.55), transparent 58%); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.project-card:hover img { transform: scale(1.025); }
.project-image span { position: absolute; left: 14px; bottom: 12px; z-index: 2; padding: 5px 8px; border-radius: 7px; background: rgba(7,26,46,.86); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.project-body { padding: 18px; }
.project-body h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: 1rem; line-height: 1.35; }
.project-body p { margin: 7px 0 0; color: var(--neutral-500); font-size: .8rem; line-height: 1.62; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.tag-list span { padding: 4px 7px; border-radius: 6px; background: var(--blue-50); border: 1px solid #d7e6f7; color: var(--blue-800); font-size: .62rem; font-weight: 700; }

/* TECHNOLOGIES */
.tech-card { display: flex; align-items: center; gap: 13px; min-height: 112px; padding: 18px; border-radius: 14px; }
.tech-card > i { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-100); color: var(--blue-700); font-size: 1.05rem; }
.tech-card h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: .92rem; }
.tech-card p { margin: 4px 0 0; color: var(--neutral-500); font-size: .73rem; line-height: 1.48; }

/* ABOUT */
.about-section { background: linear-gradient(135deg, var(--blue-950), var(--blue-800)); color: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(300px,.8fr); gap: 58px; align-items: center; }
.about-section h2 { color: #fff; }
.about-lead { max-width: 700px; margin: 13px 0 0; color: #c6d7e8; font-size: .9rem; line-height: 1.72; }
.about-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.about-benefits > div { display: flex; align-items: center; gap: 9px; min-height: 58px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.06); color: #eef6ff; font-size: .78rem; }
.about-benefits i { color: #7be0b5; }

/* FAQ */
.faq-grid { max-width: 900px; margin-inline: auto; display: grid; gap: 9px; }
.faq-item { border-radius: 12px; overflow: hidden; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; cursor: pointer; color: var(--neutral-900); font-weight: 700; font-size: .84rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--blue-700); font-size: .72rem; transition: transform .2s ease; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 17px 16px; color: var(--neutral-500); font-size: .78rem; line-height: 1.65; }

/* CONTACT */
.contact-section { background: var(--neutral-50); }
.contact-grid { max-width: 1040px; margin-inline: auto; display: grid; grid-template-columns: minmax(290px,.78fr) minmax(0,1.22fr); gap: 18px; align-items: stretch; }
.contact-info { padding: 25px; border-radius: 18px; background: var(--blue-900); color: #fff; box-shadow: var(--shadow-md); }
.contact-info h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: 1.25rem; }
.contact-info > p { margin: 8px 0 0; color: #c2d3e4; font-size: .8rem; line-height: 1.65; }
.contact-lines { margin-top: 20px; }
.contact-lines > div { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
.contact-lines > div:last-child { border-bottom: 0; }
.contact-lines > div > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.08); color: #86bbf7; }
.contact-lines small { display: block; color: #9cb1c7; font-size: .62rem; }
.contact-lines strong,
.contact-lines a { display: block; margin-top: 1px; color: #fff; font-size: .74rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { color: #98e3c1; }

/* FOOTER */
.footer { background: #061628; color: #b7c6d6; border-top: 1px solid rgba(255,255,255,.07); }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.35fr) .62fr .85fr .9fr; gap: 42px; padding: 48px 0 34px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo-wrap { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); }
.footer-logo { width: 27px; height: 27px; object-fit: contain; }
.footer-brand strong { display: block; color: #fff; font-family: "Manrope", sans-serif; font-size: .88rem; }
.footer-brand small { display: block; margin-top: 2px; color: #8298ad; font-size: .62rem; }
.footer-brand-block > p { max-width: 430px; margin: 13px 0 0; color: #94a7b9; font-size: .74rem; line-height: 1.65; }
.footer-column h3,
.footer-store-column h3 { margin: 2px 0 12px; color: #fff; font-family: "Manrope", sans-serif; font-size: .76rem; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin: 7px 0; color: #9aabba; font-size: .72rem; }
.footer-column a { color: #b7c6d6; text-decoration: none; }
.footer-column a:hover { color: #fff; }
.footer-contact-column li { display: grid; grid-template-columns: 15px 1fr; gap: 7px; align-items: start; }
.footer-contact-column i { color: #75abea; margin-top: 3px; font-size: .7rem; }
.footer-store-column p { margin: 0; color: #94a7b9; font-size: .72rem; line-height: 1.6; }
.footer-store { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; padding: 9px 11px; border-radius: 8px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; text-decoration: none; }
.footer-store:hover { background: var(--accent-dark); color: #fff; }
.footer-socials { display: flex; gap: 7px; margin-top: 13px; }
.footer-socials a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.11); border-radius: 8px; color: #aab9c7; text-decoration: none; }
.footer-socials a:hover { color: #fff; background: rgba(255,255,255,.06); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0 18px; border-top: 1px solid rgba(255,255,255,.07); color: #718599; font-size: .64rem; }
.to-top { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; color: #a9b8c6; text-decoration: none; }
.to-top:hover { color: #fff; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 360px; gap: 36px; }
  .cards-grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.25fr .65fr .9fr; }
  .footer-store-column { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .section { padding: 60px 0; }
  .hero { padding-top: calc(var(--nav-height) + 42px); }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-card { max-width: 680px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-store-column { grid-column: auto; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 26px)); }
  body { font-size: 14px; }
  .section { padding: 50px 0; }
  .section-heading { margin-bottom: 23px; }
  .section-heading h2,
  .about-section h2 { font-size: clamp(1.55rem, 8vw, 1.9rem); }
  .hero { padding-top: calc(var(--nav-height) + 32px); padding-bottom: 42px; }
  .hero-copy h1 { font-size: clamp(1.95rem, 10vw, 2.45rem); }
  .hero-lead { font-size: .9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-metrics { grid-template-columns: 1fr; gap: 10px; }
  .hero-metrics > div { padding: 0 0 10px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .hero-metrics > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .cards-grid-4,
  .project-grid,
  .about-benefits,
  .footer-grid { grid-template-columns: 1fr; }
  .info-card { min-height: auto; }
  .tech-card { min-height: auto; }
  .footer-grid { gap: 25px; padding-top: 38px; }
}

@media (max-width: 380px) {
  .container { width: min(var(--container), calc(100% - 20px)); }
  .hero-copy h1 { font-size: 1.82rem; }
  .section-heading h2,
  .about-section h2 { font-size: 1.48rem; }
  .info-card,
  .process-card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
