/*
  NovaElite Consulting - Landing Page
  Corrección de branding:
  - Logo en SVG para evitar pixelación.
  - Header con isotipo + texto real en Poppins para máxima nitidez.
  - Hero usando solo isotipo para no saturar el diseño.
*/

:root {
  --nova-green: #afca0c;
  --nova-blue: #103d47;
  --nova-light: #f5f5f5;
  --nova-white: #ffffff;
  --nova-text: #263238;
  --nova-muted: #667780;
  --nova-border: rgba(16, 61, 71, 0.12);
  --shadow-soft: 0 18px 50px rgba(16, 61, 71, 0.12);
  --shadow-card: 0 12px 35px rgba(16, 61, 71, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--nova-light);
  color: var(--nova-text);
  line-height: 1.6;
}

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

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

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

.section {
  padding: 96px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nova-blue);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--nova-green);
}

h1,
h2,
h3 {
  color: var(--nova-blue);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.9rem);
  letter-spacing: -0.07em;
  font-weight: 800;
  max-width: 940px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  letter-spacing: -0.045em;
  font-weight: 800;
}

h3 {
  font-size: 1.22rem;
  font-weight: 700;
}

p {
  color: var(--nova-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--nova-green);
  color: var(--nova-blue);
  box-shadow: 0 14px 28px rgba(175, 202, 12, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 35px rgba(175, 202, 12, 0.36);
}

.btn-outline {
  color: var(--nova-blue);
  border-color: rgba(16, 61, 71, 0.22);
  background: var(--nova-white);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  padding: 18px 0;
}

.site-header.scrolled {
  background: rgba(245, 245, 245, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(16, 61, 71, 0.08);
  padding: 10px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-symbol {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  line-height: 1;
  letter-spacing: -0.035em;
}

.brand-text strong {
  color: var(--nova-blue);
  font-size: 1.3rem;
  font-weight: 800;
}

.brand-text small {
  color: var(--nova-muted);
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-light .brand-text strong,
.brand-light .brand-text small {
  color: var(--nova-white);
}

.brand-light .brand-symbol {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  color: var(--nova-blue);
  font-weight: 600;
  font-size: 0.94rem;
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--nova-green);
  transition: width 0.25s ease;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--nova-border);
  background: var(--nova-white);
  color: var(--nova-blue);
  font-size: 1.35rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 148px 0 92px;
  background:
    radial-gradient(circle at top right, rgba(175, 202, 12, 0.32), transparent 35%),
    linear-gradient(135deg, var(--nova-light) 0%, #ffffff 48%, rgba(16, 61, 71, 0.08) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -180px;
  top: 120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(175, 202, 12, 0.13);
  filter: blur(4px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 62px;
  align-items: center;
}

.hero-copy p {
  max-width: 710px;
  margin: 26px 0 34px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #50656e;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
}

.metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 61, 71, 0.1);
  box-shadow: 0 10px 28px rgba(16, 61, 71, 0.06);
}

.metric strong {
  display: block;
  color: var(--nova-blue);
  font-size: 1.55rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--nova-muted);
  font-size: 0.88rem;
}

.hero-card {
  position: relative;
  background: var(--nova-blue);
  border-radius: 42px;
  padding: 34px;
  min-height: 560px;
  color: var(--nova-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -90px -120px auto;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: var(--nova-green);
  opacity: 0.94;
}

.hero-card::after {
  content: "N";
  position: absolute;
  right: 24px;
  bottom: -54px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 19rem;
  font-weight: 900;
  line-height: 0.8;
}

.hero-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.hero-card-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--nova-white);
  font-weight: 700;
  font-size: 0.82rem;
}

.hero-logo-chip {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: var(--nova-white);
  display: grid;
  place-items: center;
  padding: 10px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

.hero-logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card h2 {
  color: var(--nova-white);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 420px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 420px;
  margin-top: 18px;
}

.hero-services-mini {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-service {
  padding: 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 0.9rem;
}

.about {
  background: var(--nova-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.about-panel {
  min-height: 430px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(175, 202, 12, 0.4), transparent 30%),
    linear-gradient(160deg, rgba(16, 61, 71, 0.97), rgba(16, 61, 71, 0.82));
  padding: 34px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.about-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--nova-green);
  top: -60px;
  right: -40px;
  opacity: 0.88;
}

.about-panel-brand {
  position: absolute;
  left: 30px;
  top: 28px;
  width: 230px;
  opacity: 0.96;
}

.about-panel-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  padding: 24px;
  max-width: 360px;
}

.about-panel-card strong {
  display: block;
  color: var(--nova-blue);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.about-content p {
  margin-top: 20px;
  font-size: 1.03rem;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.feature-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(175, 202, 12, 0.18);
  color: var(--nova-blue);
  font-weight: 900;
}

.services {
  background:
    linear-gradient(180deg, var(--nova-light) 0%, #ffffff 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 315px;
  border-radius: var(--radius-md);
  background: var(--nova-white);
  border: 1px solid var(--nova-border);
  padding: 26px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(175, 202, 12, 0.65);
  box-shadow: 0 18px 45px rgba(16, 61, 71, 0.13);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(175, 202, 12, 0.13);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--nova-blue);
  color: var(--nova-green);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 22px;
}

.service-card ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.service-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  color: var(--nova-muted);
  font-size: 0.92rem;
}

.service-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--nova-green);
}

.why {
  background: var(--nova-blue);
  color: var(--nova-white);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  inset: -160px auto auto -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(175, 202, 12, 0.16);
}

.why .section-header h2,
.why .eyebrow {
  color: var(--nova-white);
}

.why .section-header p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 18px;
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.why-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--nova-green);
  color: var(--nova-blue);
  font-weight: 900;
  margin-bottom: 18px;
}

.why-card h3 {
  color: var(--nova-white);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.process {
  background: var(--nova-white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.process-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: var(--nova-light);
  border: 1px solid var(--nova-border);
  min-height: 230px;
}

.process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--nova-blue);
  color: var(--nova-green);
  font-weight: 900;
  margin-bottom: 24px;
}

.process-card p {
  margin-top: 12px;
  font-size: 0.94rem;
}

.contact {
  background:
    radial-gradient(circle at bottom left, rgba(175, 202, 12, 0.22), transparent 34%),
    var(--nova-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 32px;
  align-items: stretch;
}

.contact-info,
.contact-form {
  border-radius: var(--radius-lg);
  background: var(--nova-white);
  border: 1px solid var(--nova-border);
  box-shadow: var(--shadow-card);
  padding: 34px;
}

.contact-info {
  background: var(--nova-blue);
  color: var(--nova-white);
  position: relative;
  overflow: hidden;
}

.contact-info::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--nova-green);
  opacity: 0.9;
}

.contact-info h2 {
  color: var(--nova-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.contact-list a,
.contact-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 14px;
  color: var(--nova-white);
  overflow-wrap: anywhere;
}

.contact-list span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--nova-green);
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--nova-blue);
  font-weight: 700;
  font-size: 0.88rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(16, 61, 71, 0.16);
  border-radius: 15px;
  padding: 13px 15px;
  font: inherit;
  color: var(--nova-blue);
  background: #fbfbfb;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--nova-green);
  box-shadow: 0 0 0 4px rgba(175, 202, 12, 0.14);
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
}

.site-footer {
  padding: 34px 0;
  background: #0b2d35;
  color: var(--nova-white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--nova-green);
  color: var(--nova-blue);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: 0 18px 35px rgba(16, 61, 71, 0.22);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 480px;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 780px) {
  .site-header {
    padding: 14px 0;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--nova-border);
    box-shadow: var(--shadow-card);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu li a {
    display: block;
    padding: 14px 12px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-metrics,
  .services-grid,
  .why-grid,
  .process-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .hero-services-mini {
    grid-template-columns: 1fr;
  }

  .about-panel-brand {
    width: 190px;
  }
}

@media (max-width: 520px) {
  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 1.08rem;
  }

  .brand-text small {
    font-size: 0.55rem;
    letter-spacing: 0.18em;
  }

  .hero-card,
  .contact-info,
  .contact-form,
  .about-panel {
    border-radius: 24px;
    padding: 24px;
  }

  .hero-logo-chip {
    width: 70px;
    height: 70px;
    border-radius: 20px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .about-panel-brand {
    width: 170px;
    left: 24px;
    top: 24px;
  }
}
