/* ========== GLOBAL STYLES ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #0b1722;
  background-color: #f5f7fa;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #0b1722;
  color: #ffffff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;

  .logo-image {
    height: 40px;
    width: auto;
    display: block;
  }
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 160px;
  height: 32px;
  background-color: #ffffff22;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

/* ========== BUTTONS ========== */
.btn-primary {
  background-color: #39b54a;
  color: #0b1722;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background-color: #30a041;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #c7d0da;
  font-size: 14px;
  background-color: #ffffff;
  cursor: pointer;
}

/* ========== MAIN CONTENT ========== */
main {
  padding-bottom: 40px;
}

/* ========== HERO SECTIONS ========== */
.hero {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
  min-height: 500px;
  background: #0b1722 url("../imagenes/a-truck-with-a-blue-trailer.webp") center
    center / cover no-repeat;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(57, 181, 74, 0.4) 0%,
    rgba(11, 23, 34, 0.6) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero.hero-static {
  background: radial-gradient(circle at top left, #39b54a22, transparent 55%);
  padding: 60px 0 40px;
}

/* Hero sections con imágenes de fondo */
.hero-contact {
  background: linear-gradient(
      135deg,
      rgba(11, 23, 34, 0.85) 0%,
      rgba(57, 181, 74, 0.3) 100%
    ),
    url("imagenes/w%20contacto.webp") center/cover no-repeat;
  padding: 60px 0 40px;
}

.hero-about {
  background: linear-gradient(
      135deg,
      rgba(11, 23, 34, 0.85) 0%,
      rgba(57, 181, 74, 0.3) 100%
    ),
    url("imagenes/w-nosotros.webp") center/cover no-repeat;
  padding: 60px 0 40px;
}

.hero-services {
  background: linear-gradient(
      135deg,
      rgba(11, 23, 34, 0.85) 0%,
      rgba(57, 181, 74, 0.3) 100%
    ),
    url("imagenes/w%20servicio.webp") center/cover no-repeat;
  padding: 60px 0 40px;
}

.hero-blog {
  background: linear-gradient(
      135deg,
      rgba(11, 23, 34, 0.85) 0%,
      rgba(57, 181, 74, 0.3) 100%
    ),
    url("imagenes/w%20blog.webp") center/cover no-repeat;
  padding: 60px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #39b54a;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 16px;
  color: #f5f7fa;
  margin-bottom: 24px;
  max-width: 540px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-tagline {
  margin-top: 24px;
  font-size: 14px;
  color: #e5e9ed;
  max-width: 420px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-image {
  width: 100%;
  height: 280px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0b1722, #16324a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* Hero Blog Specific */
.hero-side-card {
  background-color: #0b1722;
  color: #ffffff;
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.5);
  font-size: 14px;
}

.hero-side-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #39b54a;
  color: #0b1722;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-side-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-side-text {
  opacity: 0.9;
  margin-bottom: 12px;
}

/* ========== SECTIONS ========== */
section {
  padding: 50px 0;
}

.section-header {
  margin-bottom: 22px;
}

.section-title {
  font-size: 26px;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 15px;
  color: #4a5a68;
  max-width: 640px;
  margin-bottom: 24px;
}

/* ========== METRICS ========== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.metric-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.metric-number {
  font-size: 22px;
  font-weight: 700;
  color: #39b54a;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 14px;
  color: #4a5a68;
}

/* ========== BENEFITS ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.benefit-item {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  font-size: 14px;
}

.benefit-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: #0b1722;
}

/* ========== BADGES & PILLS ========== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #e3f7e6;
  color: #215732;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #e3f7e6;
  color: #215732;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #e3f7e6;
  color: #215732;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.badge-small {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  background-color: #e3f7e6;
  color: #215732;
  margin-left: 6px;
}

.category-pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: #dbe3ec;
  color: #1e293b;
}

/* ========== CLIENTS ========== */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.client-logo {
  width: 75px;
  height: 75px;
  border-radius: 12px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========== HIGHLIGHT SECTIONS ========== */
.highlight-section {
  background-color: #0b1722;
  color: #ffffff;
  border-radius: 24px;
  padding: 26px 22px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

.highlight-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.highlight-text {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 14px;
  max-width: 520px;
}

.highlight-band {
  margin-top: 30px;
  background-color: #0b1722;
  color: #ffffff;
  border-radius: 24px;
  padding: 22px 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.highlight-note {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 6px;
}

/* ========== FAQ ========== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-answer {
  color: #4a5a68;
}

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.blog-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 16px 18px 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.blog-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-link {
  display: inline-flex;
  margin-top: 4px;
  font-size: 13px;
  color: #39b54a;
  font-weight: 500;
}

.layout-blog {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 30px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.post-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 16px 18px 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-tag {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  background-color: #e3f7e6;
  color: #215732;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.post-title {
  font-weight: 600;
  font-size: 16px;
  color: #0b1722;
}

.post-meta {
  font-size: 12px;
  color: #6c7a87;
}

.post-excerpt {
  color: #4a5a68;
  font-size: 14px;
}

.post-link {
  font-size: 13px;
  color: #39b54a;
  font-weight: 500;
  margin-top: 4px;
}

.featured-post {
  grid-column: span 2;
}

/* ========== SIDEBAR ========== */
.sidebar-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font-size: 14px;
  margin-bottom: 18px;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0b1722;
}

.category-list {
  list-style: none;
  margin-top: 4px;
}

.category-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  color: #4a5a68;
}

.category-list li:last-child {
  border-bottom: none;
}

.sidebar-link {
  font-size: 13px;
  color: #39b54a;
  font-weight: 500;
  margin-top: 6px;
  display: inline-flex;
}

.posts-list {
  list-style: none;
  margin-top: 4px;
}

.posts-list li {
  font-size: 13px;
  color: #4a5a68;
  padding: 6px 0;
  border-bottom: 1px solid #e2e8f0;
}

.posts-list li:last-child {
  border-bottom: none;
}

/* ========== CONTACT PAGE ========== */
.contact-info-card {
  background-color: #ffffff;
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  font-size: 14px;
}

.contact-line {
  margin-bottom: 12px;
}

.contact-label {
  font-weight: 600;
  color: #0b1722;
  margin-bottom: 2px;
}

.contact-text {
  color: #4a5a68;
  font-size: 14px;
}

.form-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  margin-top: 20px;
}

.form-group {
  margin-bottom: 16px;
}

label {
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  color: #0b1722;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cdd6df;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background-color: #fff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #39b54a;
}

textarea {
  height: 120px;
  resize: none;
}

/* Captcha styles */
.captcha-group {
  margin-bottom: 16px;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.captcha-question {
  background: linear-gradient(135deg, #0b1722, #1a2a3a);
  color: #39b54a;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  user-select: none;
}

.grid-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 20px;
}

.location-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.location-title {
  font-weight: 600;
  font-size: 16px;
  color: #0b1722;
  margin-bottom: 6px;
}

.location-text {
  color: #4a5a68;
  font-size: 14px;
}

.location-name {
  font-weight: 600;
  margin-bottom: 6px;
}

.location-note {
  font-size: 13px;
  color: #6c7a87;
  margin-top: 4px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

/* ========== ABOUT PAGE ========== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font-size: 14px;
}

.card-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: #0b1722;
}

.list {
  margin-top: 6px;
  padding-left: 16px;
}

.list li {
  margin-bottom: 4px;
  color: #4a5a68;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.value-item {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.value-name {
  font-weight: 600;
  margin-bottom: 4px;
  color: #0b1722;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.timeline-item {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.timeline-year {
  font-size: 13px;
  font-weight: 600;
  color: #39b54a;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.timeline-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.team-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-role {
  font-size: 13px;
  color: #6c7a87;
}

.cta-band {
  margin-top: 32px;
  background-color: #0b1722;
  color: #ffffff;
  border-radius: 24px;
  padding: 22px 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.cta-band-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.cta-band-text {
  font-size: 14px;
  opacity: 0.9;
  max-width: 540px;
}

.cta-band-note {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 6px;
}

/* ========== SERVICES PAGE ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 18px 20px 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font-size: 14px;
}

.service-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  color: #0b1722;
}

.service-text {
  color: #4a5a68;
}

.service-list {
  margin-top: 8px;
  padding-left: 16px;
}

.service-list li {
  margin-bottom: 4px;
  color: #4a5a68;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.step-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #39b54a;
  color: #0b1722;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: #0b1722;
}

/* ========== CTA SECTIONS ========== */
.cta-final {
  text-align: center;
  padding: 34px 20px;
  background-color: #0b1722;
  color: #ffffff;
  border-radius: 24px;
  margin-top: 30px;
}

.cta-final h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.cta-final p {
  font-size: 15px;
  margin-bottom: 18px;
  opacity: 0.92;
}

/* ========== FOOTER ========== */
footer {
  padding: 26px 0 20px;
  font-size: 13px;
  color: #94a3b8;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #d0dae5;
  padding-top: 16px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}

.social-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.social-pill {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background-color: #dbe3ec;
}

/* ========== WHATSAPP FLOAT BUTTON ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  z-index: 999;
  transition: all 0.3s ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 10px 28px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 900px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ========== ARTICLE PAGE ========== */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-header {
  margin-bottom: 32px;
}

.article-meta {
  font-size: 13px;
  color: #6c7a87;
  margin-bottom: 20px;
}

.article-title {
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #0b1722;
}

.article-intro {
  font-size: 17px;
  color: #4a5a68;
  line-height: 1.6;
  margin-bottom: 24px;
}

.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #0b1722;
}

.article-content h2 {
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #0b1722;
}

.article-content h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #0b1722;
}

.article-content p {
  margin-bottom: 18px;
  color: #4a5a68;
}

.article-content ul,
.article-content ol {
  margin-bottom: 18px;
  padding-left: 28px;
}

.article-content li {
  margin-bottom: 8px;
  color: #4a5a68;
}

.article-content strong {
  color: #0b1722;
  font-weight: 600;
}

.article-highlight {
  background-color: #e3f7e6;
  border-left: 4px solid #39b54a;
  padding: 18px 20px;
  margin: 24px 0;
  border-radius: 8px;
}

.article-highlight p {
  color: #215732;
  margin-bottom: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #39b54a;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 24px;
}

.back-link:hover {
  opacity: 0.8;
}

/* ========== RESPONSIVE ========== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .btn-desktop {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    background-color: #0b1722;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid #ffffff22;
  }

  .hero-grid,
  .grid-contact,
  .about-grid,
  .two-column,
  .highlight-section,
  .highlight-band,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .layout-blog {
    grid-template-columns: 1fr;
  }

  .featured-post {
    grid-column: span 1;
  }

  .hero-image {
    margin-top: 16px;
    height: 220px;
  }

  .hero-title {
    font-size: 28px;
  }

  .article-title {
    font-size: 30px;
  }
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: 2;
  }
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* BUSCADOR DEL BLOG                                                        */
/* ═══════════════════════════════════════════════════════════════════════ */

.blog-search-form {
  margin-top: 25px;
}

.search-wrapper {
  display: flex;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s, background 0.2s;
}

.search-wrapper:focus-within {
  border-color: #39b54a;
  background: rgba(255, 255, 255, 0.15);
}

.search-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-btn {
  padding: 14px 20px;
  background: #39b54a;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
}

.search-btn:hover {
  background: #2d8f3c;
}

.clear-search {
  display: inline-block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-decoration: none;
}

.clear-search:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* PAGINACIÓN                                                               */
/* ═══════════════════════════════════════════════════════════════════════ */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
}

.pagination-btn {
  padding: 10px 20px;
  background: #39b54a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s;
}

.pagination-btn:hover {
  background: #2d8f3c;
}

.pagination-info {
  color: #666;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* NO RESULTADOS                                                            */
/* ═══════════════════════════════════════════════════════════════════════ */

.no-results {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.no-results p {
  color: #666;
  font-size: 18px;
  margin-bottom: 20px;
}

/*-------------------- estilos SERVICIOS*/

:root {
  --primary-blue: #2563eb;
  --primary-green: #059669;
  --primary-orange: #d97706;
}

body {
  background-color: #f8fafc;
  font-family: 'Inter', -apple-system, sans-serif;
  color: #334155;
}

.main-container {
  max-width: 850px;
  margin: 50px auto;
}

/* Bloque Padre */
.category-card {
  border: none;
  border-radius: 24px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-bottom: 25px;
  overflow: hidden;
  border-left: 10px solid;
}

.category-header {
  padding: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

.category-header:hover { background-color: #fcfdfe; }

.title-group { font-weight: 800; font-size: 1.3rem; color: #1e293b; }


h2, .icono {
font-size: 1.3rem;
font-weight: 800;
display: inline-block;
vertical-align: middle; /* Alinea verticalmente */

}

.rubro-desc {
  padding: 0 1.8rem 1.5rem;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
}

/* Hijos (Servicios) */
.sub-service-item { border-top: 1px solid #f1f5f9; }

.sub-service-trigger {
  padding: 18px 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #475569;
  transition: 0.2s ease;
}

.sub-service-trigger h3 {
  font-size: 16px;
  font-weight: 600;
}

.sub-service-trigger:hover { background-color: #f8fafc; }

.sub-service-trigger i {
  font-size: 0.8rem;
  margin-right: 15px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sub-service-trigger[aria-expanded="true"] i { transform: rotate(90deg); }

/* Contenido de la descripción */
.description-box {
  padding: 5px 35px 25px 60px;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  background-color: #fcfdfe;
}

.btn-ver-mas {
  display: inline-block;
  margin-top: 15px;
  padding: 7px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}

/* Paleta de Colores por Rubro */
.border-gestión { border-color: var(--primary-blue); }
.btn-blue { border: 1.5px solid var(--primary-blue); color: var(--primary-blue); }
.btn-blue:hover { background: var(--primary-blue); color: white; }

.border-capacitación { border-color: var(--primary-green); }
.btn-green { border: 1.5px solid var(--primary-green); color: var(--primary-green); }
.btn-green:hover { background: var(--primary-green); color: white; }

.border-logística { border-color: var(--primary-orange); }
.btn-orange { border: 1.5px solid var(--primary-orange); color: var(--primary-orange); }
.btn-orange:hover { background: var(--primary-orange); color: white; }