/* ===========================================================
   Corporación Lonja Ingenieros Sinergia — Landing
   =========================================================== */
:root {
  --navy: #0c2130;
  --navy-2: #0f2838;
  --ink: #12283a;
  --green: #1f7a3d;
  --green-2: #2a8c47;
  --green-text: #2c8a46;
  --lime: #8cc63f;
  --lime-2: #9bd24c;
  --muted: #5b6670;
  --bg: #f4f6f7;
  --white: #ffffff;
  --radius: 8px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-brand: "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: 1548px;
  margin: 0 auto;
  padding: 0 24px;
}

.ico {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.ico--lg { width: 26px; height: 26px; stroke-width: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 26px;
  border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 17px;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico:last-child { transition: transform .2s; }
.btn:hover .ico:last-child { transform: translateX(3px); }

.btn--dark { background: var(--green); color: #fff; height: 48px; padding: 0 22px; font-size: 16.5px; }
.btn--dark:hover { background: var(--green-2); box-shadow: 0 8px 20px rgba(31, 122, 61, .25); }

.btn--lime { background: var(--lime); color: var(--navy); font-size: 17.5px; }
.btn--lime:hover { background: var(--lime-2); box-shadow: 0 10px 24px rgba(140, 198, 63, .3); }

.btn--outline { color: #fff; border: 1.5px solid rgba(255, 255, 255, .85); background: transparent; }
.btn--outline:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }

/* ---------- Eyebrows ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
}
.eyebrow i { font-style: normal; margin: 0 .55em; }
.eyebrow--light { color: #d9e3ea; }
.eyebrow--line {
  display: flex; align-items: center; gap: 16px;
  color: var(--green-text);
}
.eyebrow--line::after {
  content: ""; width: 174px; height: 1px; background: #b9c4c9;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #f5f7f8;
  border-bottom: 1px solid #e6eaec;
}
.header__inner {
  display: flex; align-items: center;
  height: 80px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__icon { width: 108px; height: auto; margin-left: -4px; }
.brand__text { display: flex; flex-direction: column; }
.brand__text strong {
  font-family: var(--font-brand); font-weight: 800;
  font-size: 19px; line-height: 1.02; letter-spacing: .005em;
  text-transform: uppercase; color: var(--ink);
}
.brand__text small {
  margin-top: 5px;
  font-family: var(--font-brand); font-weight: 600;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-text);
}

.nav {
  display: flex; gap: 50px;
  margin-left: auto; margin-right: auto;
  padding-left: 110px;
}
.nav a {
  position: relative;
  font-size: 16px; font-weight: 500; color: var(--ink);
  padding: 8px 4px;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--green);
  transform: scaleX(0); transition: transform .25s;
}
.nav a:hover { color: var(--green); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { font-weight: 700; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle .ico { width: 28px; height: 28px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 428px;
  background:
    radial-gradient(120% 90% at 0% 0%, #13324a 0%, rgba(19, 50, 74, 0) 55%),
    linear-gradient(180deg, #0d2333 0%, #0a1f2c 100%);
  color: #fff;
  overflow: hidden;
}
.hero__blueprint {
  position: absolute; inset: 0 auto 0 0;
  width: 52%; height: 100%;
  color: #6f9ab8; opacity: .12;
  pointer-events: none;
}

.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0;
  left: 44.3%;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%);
}

.hero__place {
  position: absolute; top: 44px; right: 122px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 2px 0 12px 16px;
  border-left: 1.5px solid var(--lime);
  font-size: 13.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: #2b3f4c;
}
.hero__place::after {
  content: ""; position: absolute; left: 20px; bottom: 0;
  width: 60px; height: 1.5px; background: var(--lime);
}

.hero__tags {
  position: absolute; right: 0; bottom: 0;
  width: 172px; padding: 20px 16px 28px 16px;
  display: flex; flex-direction: column; gap: 3px;
  background: linear-gradient(180deg, rgba(10, 35, 45, .25), rgba(10, 35, 45, .45));
  border-left: 1.5px solid var(--lime);
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: #e3ecef;
}
.hero__tags::after {
  content: ""; width: 26px; height: 1.5px; background: var(--lime); margin-top: 10px;
}

.hero__content {
  position: relative; z-index: 2;
  padding-top: 24px; padding-bottom: 18px;
  padding-left: 37px;
}
.hero__title {
  margin-top: 10px;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(36px, 3.15vw, 53px);
  line-height: 0.98; letter-spacing: -.01em;
}
.lime { color: var(--lime); }
.hero__lead {
  margin-top: 10px;
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(16px, 1.3vw, 21.5px); line-height: 1.3;
  color: #d4dde3;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 26px;
}
.hero__features {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-wrap: wrap;
}
.hero__features li {
  display: flex; align-items: center; gap: 18px;
  padding: 0 26px 0 0; margin-right: 26px;
  font-size: 13.5px; font-weight: 500; line-height: 1.3; color: #e9eef1;
}
.hero__features li:first-child { padding-left: 4px; }
.hero__features li + li { padding-left: 0; }
.hero__features li:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .18); }
.hero__features .ico {
  width: 40px; height: 40px; stroke-width: 1.6; color: var(--lime);
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  padding: 20px 0 16px;
  background: var(--bg);
}
.services__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding: 0 0 0 8px;
  margin-bottom: 14px;
}
.services__head h2 {
  margin-top: 4px;
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(26px, 1.95vw, 32px); letter-spacing: -.015em;
  color: var(--ink);
}
.services__intro {
  font-size: 15.5px; line-height: 1.32; color: #4f5b64;
  margin-bottom: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0 -23px;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16, 40, 58, .06), 0 8px 24px rgba(16, 40, 58, .07);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(16, 40, 58, .06), 0 18px 36px rgba(16, 40, 58, .14);
}
.card__img { height: 108px; overflow: hidden; }
.card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.card:hover .card__img img { transform: scale(1.05); }

.card__body {
  position: relative;
  flex: 1;
  padding: 10px 12px 34px 20px;
}
.card__icon {
  position: absolute; left: 10px; top: -26px;
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #fff;
  color: var(--green);
}
.card__icon .ico { width: 30px; height: 30px; stroke-width: 1.6; }
.card__body h3 {
  min-height: 34px;
  padding-left: 58px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 13.6px; line-height: 1.2; color: var(--ink);
  display: flex; align-items: center;
}
.card__body p {
  margin-top: 10px;
  font-size: 13px; line-height: 1.33; color: var(--muted);
}
.card__more {
  position: absolute; right: 12px; bottom: 12px;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid #dfe4e7; background: #fff;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.card__more .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.card:hover .card__more { background: var(--green); border-color: var(--green); color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  background: linear-gradient(90deg, #0b2430 0%, #0d2733 60%, #132c3d 100%);
  color: #fff;
  overflow: hidden;
}
.footer__gear {
  position: absolute; right: 230px; top: 50%;
  width: 200px; height: 200px; transform: translateY(-50%);
  fill: none; stroke: #fff; stroke-width: .5; opacity: .06;
  pointer-events: none;
}
.footer__inner {
  position: relative;
  display: flex; align-items: center;
  min-height: 108px;
  padding-top: 12px; padding-bottom: 12px;
}
.f-item {
  display: flex; align-items: center; gap: 18px;
  padding: 0 26px;
  border-right: 1px solid rgba(255, 255, 255, .2);
  min-height: 48px;
  flex-shrink: 0;
  white-space: nowrap;
}
.f-item strong { display: block; font-weight: 600; font-size: 13.5px; }
.f-item small { display: block; margin-top: 6px; font-size: 12.5px; color: #c9d4da; }
.f-item small i { font-style: normal; margin: 0 .4em; }

.f-whatsapp { padding-left: 0; }
.f-whatsapp strong { font-size: 16px; }
.wa-circle {
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #2a8c47; color: #fff;
  transition: transform .2s, background .2s;
}
.wa-circle svg { width: 32px; height: 32px; }
.f-whatsapp:hover .wa-circle { transform: scale(1.06); background: #25d366; }

.f-phones { flex-direction: column; align-items: flex-start; gap: 2px; }
.f-phones a {
  font-family: var(--font-body); font-weight: 700;
  font-size: 21px; letter-spacing: .04em; line-height: 1.2;
}
.f-phones a:hover, .f-mail a:hover { color: var(--lime); }

.f-icon { width: 44px; height: 44px; stroke-width: 1.4; color: var(--lime); }
.f-mail strong { font-size: 12.5px; margin-bottom: 6px; }
.f-mail a { display: block; font-size: 15.5px; line-height: 1.4; color: #eef3f5; transition: color .2s; }
.f-place { border-right: 0; }
.f-place .f-icon { width: 40px; height: 40px; }

.f-brand {
  margin-left: auto;
  display: flex; align-items: center; gap: 14px;
  white-space: nowrap;
}
.f-brand img { width: 94px; height: auto; }
.f-brand strong {
  display: block;
  font-family: var(--font-brand); font-weight: 800;
  font-size: 17px; line-height: 1.1; text-transform: uppercase;
}
.f-brand small {
  display: block; margin-top: 4px;
  font-family: var(--font-brand); font-weight: 600;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #d7e0e5;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1440px) {
  .nav { gap: 36px; padding-left: 40px; }
  .cards { margin: 0; }
  .f-item { padding: 0 20px; }
}

@media (max-width: 1520px) {
  .footer__inner { flex-wrap: wrap; row-gap: 20px; padding-top: 24px; padding-bottom: 24px; }
  .f-brand { margin-left: 0; width: 100%; justify-content: flex-start; }
  .footer__gear { display: none; }
}

@media (max-width: 1280px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__inner { flex-wrap: wrap; row-gap: 20px; padding-top: 24px; padding-bottom: 24px; }
  .f-brand { margin-left: 0; width: 100%; justify-content: flex-start; }
  .footer__gear { display: none; }
}

@media (max-width: 1100px) {
  /* navegación móvil */
  .nav-toggle { display: block; }
  .header__cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 8px 24px 16px; margin: 0;
    background: #f5f7f8; border-bottom: 1px solid #e6eaec;
    box-shadow: 0 12px 24px rgba(16, 40, 58, .08);
    display: none;
  }
  .header.is-open .nav { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #e6eaec; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--green); }

  /* hero apilado */
  .hero { display: flex; flex-direction: column-reverse; }
  .hero__media { position: relative; left: 0; height: 340px; }
  .hero__media img { -webkit-mask-image: none; mask-image: none; object-position: 60% bottom; }
  .hero__blueprint { width: 100%; }
  .hero__content { padding: 32px 24px 36px; }
  .hero__title { font-size: clamp(34px, 6vw, 52px); }
  .hero__lead br { display: none; }

  .services__head { flex-direction: column; align-items: flex-start; gap: 10px; padding-left: 0; }
  .services__intro br { display: none; }
}

@media (max-width: 760px) {
  .header__inner { height: 68px; }
  .brand__icon { width: 74px; }
  .brand__text strong { font-size: 14.5px; }
  .brand__text small { font-size: 8.5px; letter-spacing: .12em; }

  .hero__media { height: 260px; }
  .hero__place { top: 18px; right: 18px; font-size: 11px; }
  .hero__tags { width: 150px; padding: 14px 12px 18px; font-size: 9.5px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; font-size: 16px; }
  .hero__features { gap: 16px; }
  .hero__features li { border: 0 !important; padding: 0 !important; margin: 0; width: 100%; }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .services { padding: 32px 0 40px; }

  .f-item { border-right: 0; padding: 0; width: 100%; white-space: normal; }
  .f-mail a { font-size: 14px; word-break: break-all; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__content { padding: 28px 16px 32px; }
  .eyebrow { font-size: 11.5px; letter-spacing: .2em; }
  .cards { grid-template-columns: 1fr; }
  .card__img { height: 150px; }
  .eyebrow--line::after { width: 80px; }
}
