/* ==============================
   SECCIONES GENERALES
============================== */

.section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
}

.ptb_100 {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-heading h1,
.section-heading h2 {
  font-weight: 700;
}

.section-heading p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: #6b7280;
}

/* Fondo claro para secciones */
.bg-light {
  background-color: #f9fafb;
}

/* ==============================
   CARDS DE PLANES (PRICING)
============================== */

/* ============================
   Estilos para tarjetas de planes
   ============================ */

.pricing-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

/* Hover general */
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border-color: var(--brand-primary, #16a34a);
  /* tu verde */
}

/* Plan destacado */
.pricing-card--featured {
  border-width: 2px;
  border-color: var(--brand-primary, #16a34a);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.4);
}

/* Un poquito más de efecto al hover del destacado */
.pricing-card--featured:hover {
  transform: translateY(-10px) scale(1.01);
}

/* Plan personalizado (fondo suave) */
.pricing-card--custom {
  background: #f3e8ff;
}

.pricing-card--custom:hover {
  border-color: #a855f7;
}

/* Lista interna de los planes: un poco más legible */
.pricing-list li {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* Cinta (ribbon) en la esquina del plan destacado */
.pricing-ribbon {
  position: absolute;
  top: 14px;
  right: -40px;
  background: var(--brand-primary, #16a34a);
  color: #fff;
  padding: 4px 40px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.5);
}

/* Ajuste para que el contenido no se pegue demasiado al borde superior por la cinta */
.pricing-card--featured .card-body {
  padding-top: 2.2rem;
}




/* ==============================
   CARDS DE PORTAFOLIO
============================== */

.project-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: #ffffff;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.card__media {
  position: relative;
  overflow: hidden;
}

.card__media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .card__media img {
  transform: scale(1.05);
}

.project-card .card-body {
  padding: 16px 18px 20px;
}

.project-card .card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.project-card .card-text {
  font-size: 0.95rem;
  color: #6b7280;
}

/* ==============================
   BOTONES UTILIZADOS
============================== */

.btn-bordered {
  border-radius: 999px;
  border-width: 2px;
  border-style: solid;
  border-color: #2563eb;
  color: #2563eb;
  padding: 8px 22px;
  font-weight: 600;
  text-transform: none;
}

.btn-bordered:hover {
  background-color: #2563eb;
  color: #ffffff;
}

.btn-bordered-white {
  border-radius: 999px;
  border-width: 2px;
  border-style: solid;
  border-color: #ffffff;
  color: #ffffff;
  padding: 8px 22px;
  font-weight: 600;
}

.btn-bordered-white:hover {
  background-color: #ffffff;
  color: #111827;
}

/* Asegurar que los botones ocupen ancho total en móviles cuando usan .btn-block */
@media (max-width: 576px) {
  .btn-block {
    display: block;
    width: 100%;
  }
}


:root {
  --brand-primary: #237d6bdb;
  /* verde tipo Tailwind "green-600" */
}

/* ============================
   Override Bootstrap primary
   ============================ */

.bg-primary {
  background-color: var(--brand-primary) !important;
}

.text-primary {
  color: var(--brand-primary) !important;
}

.border-primary {
  border-color: var(--brand-primary) !important;
}

/* Botones "primary" */
.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #15803d;
  /* un poco más oscuro */
  border-color: #15803d;
}

/* Botón outline primary */
.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* Badges primary */
.badge-primary {
  background-color: var(--brand-primary);
}

/* Si usas .btn-bordered (personalizado) con borde azul,
   también lo podemos pasar a verde */
.btn-bordered {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-bordered:hover {
  background-color: var(--brand-primary);
  color: #fff;
}


/* ============================
   Tamaño del logo en la navbar
   ============================ */

.navbar-brand .brand-logo {
  height: 60px;
  /* más grande en escritorio */
  max-height: 60px;
  width: auto;
}

/* En pantallas pequeñas lo hacemos un poco más chico para que quepa bien */
@media (max-width: 576px) {
  .navbar-brand .brand-logo {
    height: 56px;
  }
}


/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.whatsapp-icon {
  font-size: 28px;
  line-height: 1;
}


.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #22c55e;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.cta-area {
  background: radial-gradient(circle at top left, #22c55e, #0f766e);
  text-align: center;
}

.cta-area .section-heading h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-area .section-heading p {
  max-width: 720px;
  margin: 0.75rem auto 0;
}

.cta-area .btn.btn-bordered-white {
  border: 2px solid #ffffff;
  color: #0f172a;
  background-color: #ffffff;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.cta-area .btn.btn-bordered-white:hover {
  background-color: transparent;
  color: #ffffff;
}

.ptb_60 {
  padding-top: 60px;
  padding-bottom: 60px;
}


.visit-counter-bar {
  background: #020617;
  color: #e5e7eb;
  padding: 4px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.visit-counter {
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.visit-counter i {
  font-size: 0.9rem;
  color: #22c55e;
  /* verde a juego con tu tema */
}

/* Un poco más pequeño en pantallas chicas */
@media (max-width: 575.98px) {
  .visit-counter {
    font-size: 0.75rem;
  }
}

/* Contador de visitas en el header */
.visit-counter {
  background: rgba(15, 23, 42, 0.06);
  /* un verde/azul MUY suave */
  color: #0f172a;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.visit-counter i {
  font-size: 0.8rem;
  opacity: 0.8;
}

.hero-main-image {
  max-width: 440px;   /* tamaño cómodo en escritorio */
}

@media (max-width: 767.98px) {
  .hero-main-image {
    max-width: 100%;
    margin-top: 1.5rem;
  }
}
/* Tarjeta de la imagen del hero */
.hero-card {
  position: relative;
  display: inline-block;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* Glow suave detrás */
.hero-card::before {
  content: "";
  position: absolute;
  inset: 15%;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 60%);
  filter: blur(8px);
  z-index: 0;
}

/* Imagen principal */
.hero-main-image {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 22px;
  transform: translateY(0);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    filter 0.45s ease;
}

/* Efecto hover: flota un poco y se ilumina */
.hero-card:hover .hero-main-image {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
  filter: brightness(1.03);
}

/* Tamaño máximo para que no se coma todo el ancho */
.hero-main-image {
  max-width: 440px;
}

@media (max-width: 767.98px) {
  .hero-card {
    padding: 6px;
    border-radius: 22px;
  }

  .hero-main-image {
    max-width: 100%;
  }
}


/* Hero Soporte / Mantenimiento TI */
.support-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-image: url('../img/soporte-techsoluciones.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.support-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 16, 35, 0.65); /* capa oscura para que el texto se lea bien */
}

.support-hero .container {
  position: relative;
  z-index: 1;
}
