:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-primary: #f57c00;
  --color-secondary: #4b382a;
  --color-muted: #f4f4f4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 2rem;
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 3px solid var(--color-primary);
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-box img {
  height: 46px;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--color-secondary);
  font-weight: 500;
}

nav a:hover {
  color: var(--color-primary);
}

.nav-cta {
  border: 1px solid var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: var(--color-primary);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
}

/* ================= HERO ================= */

.hero, .page-hero {
  position: relative;
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero {
  background-image: url("../img/team.jpg");
}

.page-hero.servicios {
  background-image: url("../img/team2.jpg");
}

.page-hero.blog {
  background-image: url("../img/team3.jpg");
}

.page-hero.salud {
  background-image: url("../img/team12.jpg");
}

.page-hero.retail {
  background-image: url("../img/team7.jpg");
}

.page-hero.implementa {
  background-image: url("../img/team8.jpg");
}

.page-hero.telecomunicaciones {
  background-image: url("../img/team10.jpg");
}

.page-hero.agropecuaria {
  background-image: url("../img/team11.jpg");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin-left: 8%;
  padding: 2rem;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 2rem;
}

/* ================= BUTTONS ================= */

.btn-primary {
  background: var(--color-primary);
  color: white;
  padding: 0.8rem 1.6rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

/* ================= SECTIONS ================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
}

.card {
  border: 1px solid #eee;
  padding: 2rem;
  border-radius: 6px;
}

.card h3 {
  color: var(--color-secondary);
}

/* ================= BLOG ================= */

.post-preview {
  border-bottom: 1px solid #eee;
  padding: 2rem 0;
}

.post-preview h2 a {
  color: var(--color-secondary);
  text-decoration: none;
}

.post-preview h2 a:hover {
  color: var(--color-primary);
}

.post h1 {
  color: var(--color-secondary);
}

.meta {
  color: #777;
  font-size: 0.9rem;
}

/* ================= CONTACT ================= */

.contact form {
  max-width: 600px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* ================= FOOTER ================= */

.footer {
  background: #f8f8f8;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 2rem;
    border: 1px solid #eee;
    padding: 1rem;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content {
    margin-left: 0;
  }
}

/* ================= LANDING LEY 21.719 SALUD ================= */

.landing-salud-21719 {
  padding: 2rem 0;
}

.landing-salud-21719 h2 {
  color: var(--color-secondary);
  margin-top: 3rem;
}

.hero-salud {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a2a43, #0e4b6d);
  color: #fff;
  padding: 3rem;
  border-radius: 12px;
}

.hero-salud h1 {
  font-size: 2.4rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin: 1rem 0 2rem;
}

.landing-salud-21719 .btn-primary {
  background: var(--color-primary);
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
}

/* Tabla */

.tabla-pareo {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.tabla-pareo th,
.tabla-pareo td {
  border: 1px solid #ddd;
  padding: 12px;
}

.tabla-pareo th {
  background: var(--color-muted);
  color: var(--color-secondary);
}

/* Fases */

.fases li {
  margin-bottom: 1rem;
}

/* CTA */

.cta-salud {
  background: var(--color-muted);
  padding: 3rem;
  border-left: 6px solid var(--color-primary);
  margin-top: 4rem;
}

.nav-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background-color: #0A66C2;
  transition: background-color 0.3s ease;
}

.nav-linkedin svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.nav-linkedin:hover {
  background-color: #084d94;
}


