﻿:root {
  --bg: #f2f5fb;
  --bg-alt: #e8eef8;
  --bg-900: #12253a;
  --bg-850: #1b3550;
  --bg-800: #25507a;
  --surface: #ffffff;
  --ink: #102043;
  --ink-soft: #4e5f85;
  --ink-100: #eff8ff;
  --ink-200: #c9dff1;
  --ink-300: #a5c1d8;
  --brand: #25507a;
  --brand-deep: #1b3550;
  --accent: #7cb342;
  --line: #d7e0f0;
  --ok: #1d8f6e;
  --shadow: 0 14px 40px rgba(16, 32, 67, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max: 1180px;
  --font-body: 'Manrope', sans-serif;
  --font-title: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.noise,
.halo {
  display: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(
    96deg,
    #eaf5d6 0%,
    #d6edb8 20%,
    #25507a 56%,
    #1b3550 100%
  );
  border-bottom: 1px solid rgba(27, 53, 80, 0.22);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.logo-mark {
  max-height: 62px;
  width: auto;
}

.logo-name {
  color: var(--brand-deep);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  margin-right: auto;
}

.logo-tech {
  color: inherit;
}

.menu a {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.menu a:hover,
.menu a:focus-visible {
  color: #d7e5ff;
}

.menu-cta {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
}

.menu a.menu-cta,
.menu a.menu-cta:hover,
.menu a.menu-cta:focus-visible {
  color: #ffffff;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  position: relative;
  z-index: 50;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-btn span:first-child {
  top: 16px;
}

.menu-btn span:last-child {
  top: 24px;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tint {
  background: linear-gradient(180deg, #eef3fc 0%, #e8eef8 100%);
}

.strip {
  background: linear-gradient(115deg, #1b3550 0%, #25507a 60%, #2d5e8a 100%);
  color: #ffffff;
}

.strip .kicker,
.strip .section-head p {
  color: rgba(255, 255, 255, 0.86);
}

/* Hero inspired by corporate one-screen intro */
.hero {
  background:
    linear-gradient(120deg, rgba(27, 53, 80, 0.92) 0%, rgba(37, 80, 122, 0.89) 58%, rgba(43, 94, 138, 0.86) 100%),
    url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1800&q=80') center/cover;
  color: #ffffff;
  padding: 6rem 0 5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero h1 {
  margin: 1rem 0 0.95rem;
  font-family: var(--font-title);
  font-size: clamp(2.05rem, 3.45vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
}

.hero-actions {
  margin: 1.8rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-solid {
  background: var(--accent);
  color: #10200f;
  box-shadow: 0 12px 24px rgba(124, 179, 66, 0.34);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: #8ac54a;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0 1rem;
}

.hero-metric {
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-metric strong {
  display: block;
  font-size: 1.08rem;
}

.hero-metric span {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-list li {
  padding-left: 1rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
}

.hero-list li::before {
  content: '';
  width: 0.34rem;
  height: 0.34rem;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.68rem;
}

.hero-right {
  display: grid;
  gap: 0.95rem;
}

.pulse-card {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 33, 95, 0.1);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.pulse-card h3 {
  margin: 0;
  font-size: 1rem;
}

.pulse-card p,
.pulse-card figcaption {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
}

.hero-media,
.about-banner,
.value-media,
.contact-media {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 32, 67, 0.09);
}

.hero-media {
  background: transparent;
  border: 1px solid rgba(18, 33, 95, 0.1);
  box-shadow: var(--shadow);
  padding: 0;
  max-height: 480px;
  border-radius: var(--radius-md);
}

.themed-media,
.hero-media img,
.about-banner img,
.value-media img,
.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Headings */
.section-head {
  text-align: center;
  margin-bottom: 2.1rem;
}

.kicker {
  margin: 0;
  color: var(--brand);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.08em;
  font-weight: 800;
}

@media (min-width: 1024px) {
  .kicker {
    font-size: 1.12rem;
  }
}

.section-head h1,
.section-head h2 {
  margin: 0.52rem 0 0;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 2.35vw, 2.8rem);
  line-height: 1.1;
}

.section-head p {
  margin: 0.85rem auto 0;
  max-width: 64ch;
  color: var(--ink-soft);
}

/* Grids */
.service-grid,
.diff-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: 0 8px 24px rgba(16, 32, 67, 0.08);
}

.service-card h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.service-card h3 i,
.diff-card i,
.contact-quick-btn i {
  color: var(--brand);
}

.service-card ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.service-card li {
  color: var(--ink-soft);
  position: relative;
  padding-left: 0.95rem;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--accent);
}

.diff-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.diff-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.diff-card p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #ffffff;
}

.diff-card i {
  color: var(--accent);
}

.sector-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.sector-cloud span {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  color: var(--ink);
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  align-items: start;
}

.about-main,
.about-stack {
  display: grid;
  gap: 0.5rem;
}

.about-main {
  order: 2;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.about-stack {
  order: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.about-stack > div:last-child {
  grid-column: 1 / -1;
}

.about-main > .about-banner {
  order: 1;
}

.about-main > .kicker {
  order: 2;
}

.about-main > h1,
.about-main > h2 {
  order: 3;
}

.about-main > p {
  order: 4;
}

.about-main > .mini-facts {
  order: 5;
}

.about-main h1,
.about-main h2 {
  margin: 0.35rem 0 0.6rem;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
}

.about-main p,
.about-stack p,
.contact-info p,
.footer-copy {
  color: var(--ink-soft);
}

.about-stack > div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.95rem;
}

.mini-facts div {
  background: rgba(27, 45, 130, 0.07);
  border: 1px solid rgba(27, 45, 130, 0.12);
  border-radius: var(--radius-md);
  padding: 0.95rem;
}

.about-stack h3 {
  margin: 0 0 0.6rem;
}

.mini-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.mini-facts span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.mini-facts strong {
  display: block;
  margin-top: 0.2rem;
}

/* Contact */
#contacto {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(238, 243, 252, 0.9) 0%, rgba(232, 238, 248, 0.9) 100%),
    url('https://plus.unsplash.com/premium_photo-1661878265739-da90bc1af051?q=80&w=786&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
}

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-head {
  margin-bottom: 2rem;
}

.contact-head h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.contact-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(27, 45, 130, 0.07);
  border: 1px solid rgba(27, 45, 130, 0.12);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  width: min(100%, 360px);
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-quick-btn:hover,
.contact-quick-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(124, 179, 66, 0.28);
  border-color: rgba(124, 179, 66, 0.5);
  box-shadow: 0 10px 22px rgba(124, 179, 66, 0.24);
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.field-row {
  display: grid;
  gap: 0.44rem;
  margin-bottom: 0.8rem;
}

.field-row.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd6ea;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  padding: 0.7rem 0.82rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(27, 45, 130, 0.14);
  border-color: var(--brand);
}

textarea {
  min-height: 124px;
  resize: vertical;
}

.channel-picker {
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.channel-picker legend {
  font-weight: 800;
  padding: 0 0.25rem;
}

.channel-picker label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #d6e0f3;
  background: #f4f7fc;
}

.channel-picker input {
  width: auto;
  accent-color: var(--brand);
}

.channel-picker input:checked + span {
  color: var(--brand-deep);
  font-weight: 800;
}

.submit-btn {
  width: 100%;
}

.form-note {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Footer */
.footer {
  background: #12253a;
  color: rgba(255, 255, 255, 0.88);
  padding: 1.5rem 0 1.8rem;
  margin-top: auto;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  text-align: center;
}

.footer a {
  color: #9ed565;
}

.whatsapp-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 90;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  font-size: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 1060px) {
  .hero-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .diff-grid,
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-main {
    order: 1;
  }

  .about-stack {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .menu-btn {
    display: inline-flex;
  }

  .logo-name {
    font-size: 1rem;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: initial;
    color: #1b3550;
  }

  .logo-tech {
    color: #9ed36a;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: linear-gradient(
      135deg,
      #1b3550 0%,
      #25507a 42%,
      #5a8a28 82%,
      #6e9e32 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: var(--shadow);
    border-radius: 14px;
    padding: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu a {
    width: 100%;
    padding: 0.72rem 0.2rem;
  }

  .menu-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding-top: 4.8rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.3rem 0;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8.1vw, 2.3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-metrics,
  .service-grid,
  .diff-grid,
  .field-row.two-cols,
  .mini-facts,
  .about-stack {
    grid-template-columns: 1fr;
  }

  .contact-head h2 {
    font-size: 1.6rem;
  }

  .contact-actions {
    gap: 0.75rem;
    flex-direction: column;
  }

  .contact-quick-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: center;
  }
}
