/* ============================================================
   NORVIC — Landing corporativa
   Paleta de marca (del logo aprobado):
   azul petróleo #127a82 · verde lima #a5cd3a · grafito #1a2230
   ============================================================ */

:root {
  --petrol: #127a82;
  --petrol-dark: #0c5b61;
  --lime: #a5cd3a;
  --lime-dark: #8db82e;
  --ink: #1a2230;
  --ink-soft: #4a5568;
  --muted: #7a8699;
  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --border: #e3e8ec;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(18, 122, 130, 0.10);
  --grad: linear-gradient(135deg, var(--petrol) 0%, var(--lime) 100%);
  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

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

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 28px;
  max-width: 22ch;
}

/* ===== Isotipo (logo oficial NORVIC, recortado sin texto) ===== */
.brand-iso {
  display: inline-block;
  height: 32px; width: auto;
  flex: none;
}
.brand-iso--sm { height: 26px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 20px; letter-spacing: 0.04em;
  color: var(--ink);
}
.nav { display: flex; gap: 28px; }
.nav a {
  font-weight: 500; font-size: 15px; color: var(--ink-soft);
  transition: color 0.18s;
}
.nav a:hover { color: var(--petrol); }

/* ===== Hero ===== */
.hero {
  background: var(--bg-soft);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(18,122,130,0.08), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(165,205,58,0.10), transparent 45%);
  padding: 96px 0 104px;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-iso {
  height: 96px; width: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 12px 26px rgba(18,122,130,0.22));
}
.hero-title {
  font-size: clamp(32px, 5.5vw, 54px);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 10px;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px rgba(18,122,130,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(18,122,130,0.34); }
.btn-secondary {
  background: #fff; color: var(--petrol); border: 1.5px solid var(--petrol);
}
.btn-secondary:hover { background: var(--petrol); color: #fff; transform: translateY(-2px); }

/* ===== Productos ===== */
.products { padding: 88px 0; }
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(18,122,130,0.14); }
.product-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 13px; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  color: #fff;
}
.product-badge--atendlyx { background: var(--petrol); }
.product-badge--infralyx { background: var(--lime-dark); }
.product-name { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.product-desc { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 18px; }
.product-points { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.product-points li {
  position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-soft);
}
.product-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px; border-radius: 4px; background: var(--grad);
}
.product-link {
  display: inline-block; margin-top: 22px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px;
  color: var(--petrol);
  transition: gap 0.18s, color 0.18s;
}
.product-link:hover { color: var(--petrol-dark); }

/* ===== Nosotros ===== */
.about { background: var(--bg-soft); padding: 84px 0; }
.about-inner { max-width: 760px; }
.about-text { font-size: clamp(16px, 2vw, 18px); color: var(--ink-soft); }

/* ===== Contacto ===== */
.contact { padding: 84px 0; }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.contact-item {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.18s, transform 0.18s;
}
a.contact-item:hover { border-color: var(--petrol); transform: translateY(-2px); }
.contact-label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.contact-value { font-size: 17px; font-weight: 600; color: var(--ink); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cdd6e0; padding: 48px 0 36px; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand strong {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 18px; letter-spacing: 0.04em; color: #fff;
}
.footer-legal { font-size: 14px; line-height: 1.7; color: #9aa7b5; }
.footer-copy { font-size: 13px; color: #6b7888; margin-top: 4px; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .product-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav { gap: 18px; }
  .hero { padding: 72px 0 80px; }
  .products, .about, .contact { padding: 64px 0; }
}
@media (max-width: 520px) {
  .nav a:not(:last-child) { display: none; } /* simplifica nav en móvil */
}
