/* Reset y configuración general */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

/* Siempre usa esto para contenedores principales */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Evita anchos fijos mayores al 100% */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Evita que grids o flex desborden */
.row, .flex-wrap {
  flex-wrap: wrap;
}


body {
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #333;
}

/* Contenedor reutilizable para todas las páginas */
/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
} */

/* HEADER */
header,
.site-header {
    background: #d50000;
    color: white;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background 0.3s ease-in-out;
}

header .container,
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

nav ul,
.main-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

nav a,
.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ffcccb;
}

#cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

#cart-count {
    background: white;
    color: #d50000;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.9em;
}

.login-btn {
    background: white;
    color: #d50000 !important;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #ffcccc;
    color: #900;
}

 .account-dropdown {
  position: relative;
  display: inline-block;
}

.account-toggle {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  display: inline-block;
  transition: background 0.3s;
}

.account-toggle:hover {
  background: #d50000;
  border-radius: 6px;
}

.account-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  min-width: 180px;
  display: none;
  z-index: 1000;
}

.account-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
}

.account-menu a:hover {
  background: #f5f5f5;
}


/* MAIN */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* HERO */
.hero {
    background: #f44336;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* BOTÓN */
.btn {
    display: inline-block;
    background: #fff;
    color: #d50000;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
}

/* index.php */

/* Botón con rojo f44336 */
.webinno-btn {
  background-color: #f44336;
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}
.webinno-btn:hover {
  transform: scale(1.06);
  background-color: #d32f2f;
}

/* Hero con fondo degradado rojo intenso */
.hero-burst {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}
.text-glow {
  font-size: 2.8em;
  animation: glowText 2s ease-in-out infinite alternate;
}
@keyframes glowText {
  from { text-shadow: 0 0 8px #ffb3b3; }
  to { text-shadow: 0 0 18px #ffffff, 0 0 28px #ffaaaa; }
}

/* Fondo blanco tenue */
body {
  background-color: #fffafa;
  color: #1b1b1b;
}

/* Sección de beneficios */
.impact-section {
  background-color: #fffafa;
  padding: 60px 20px;
  text-align: center;
}
.section-title {
  font-size: 2em;
  color: #f44336;
  margin-bottom: 30px;
}
.impact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.impact-card {
  background: #ffffff;
  color: #1b1b1b;
  width: 300px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(244, 67, 54, 0.2);
}

/* Sección de resultados */
.result-boost {
  background: #ffe5e2;
  text-align: center;
  padding: 60px 20px;
}
.highlight {
  font-size: 1.3em;
  color: #d32f2f;
}
.float-btn {
  animation: floatUpDown 2s infinite ease-in-out;
}
@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.btn-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}


/* Testimonios */
.trust-voices {
  background: #fffafa;
  padding: 60px 20px;
  text-align: center;
}
.testimonial {
  background: #fff0f0;
  border-left: 5px solid #f44336;
  margin: 20px auto;
  max-width: 600px;
  padding: 20px;
  font-style: italic;
  color: #2b2b2b;
}
.slide-left {
  animation: slideInLeft 1s forwards;
}
.slide-right {
  animation: slideInRight 1s forwards;
  animation-delay: 0.3s;
}
@keyframes slideInLeft {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Llamado final */
.final-cta {
  background: #1b1b1b;
  color: white;
  text-align: center;
  padding: 80px 20px;
}
.neon-hover:hover {
  box-shadow: 0 0 12px #ff5e6e, 0 0 25px #f44336, 0 0 35px #d32f2f;
  background-color: #d32f2f;
}
.pulse-bg {
  animation: pulseRed 6s infinite alternate;
}
@keyframes pulseRed {
  from { background-color: #1b1b1b; }
  to { background-color: #3a0000; }
}


/* SERVICIOS */
.services {
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.services .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card h3 {
    padding: 10px 0;
    color: #d50000;
}

.price {
    font-weight: bold;
    color: #d50000;
}

.card form {
    padding: 10px;
}

.card button {
    background: #d50000;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* TABLA */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

/* FOOTER */
footer {
    background: #d50000;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* dashboard card */

.ws-dashboard-container {
  max-width: 960px;
  margin: 40px auto;
  padding: 20px;
}

.ws-dashboard-container h2 {
  text-align: center;
  color: #d50000;
  margin-bottom: 30px;
}

.ws-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.ws-dashboard-card {
  background: #fff;
  border: 1px solid #eee;
  border-left: 6px solid #d50000;
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.ws-dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.ws-dashboard-card h3 {
  margin: 0 0 10px;
  color: #d50000;
  font-size: 1.2rem;
}

.ws-dashboard-card p {
  margin: 0;
  font-size: 0.95rem;
}

.ws-dashboard-card.danger {
  border-left-color: #a30000;
  background: #fff5f5;
}

.ws-dashboard-card.danger h3 {
  color: #a30000;
}


.ws-dashboard-card .ws-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ws-dashboard-card .ws-actions a {
  flex: 1;
  text-align: center;
  text-decoration: none;
}

/* services.php  */
.ws-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px;
  background: #fff;
  height: 100%;
}

.ws-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: ws-fadeUp 0.6s ease-in-out;
}

.ws-card1 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: ws-fadeUp 0.6s ease-in-out;
    width: 50%;
    height: 50%;
}

.ws-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.ws-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.ws-card:hover img {
  filter: brightness(0.9);
}

.ws-card h3 {
  font-size: 1.3em;
  color: #d50000;
  margin: 15px 0 5px;
  padding: 0 15px;
}

.ws-card p {
  padding: 0 15px;
  margin: 5px 0;
  color: #333;
}

.ws-price {
  font-weight: bold;
  color: #d50000;
  padding-bottom: 10px;
}

.ws-card form {
  margin-top: auto;
  padding: 15px;
  display: flex;
  justify-content: center;
}

.ws-btn {
  background: #d50000;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.ws-btn:hover {
  background: #a30000;
  transform: scale(1.05);
}

@keyframes ws-fadeUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* carrito */

.ws-cart-container {
  padding: 60px 20px;
  background: #fff;
}

.ws-cart-title {
  text-align: center;
  font-size: 2em;
  color: #d50000;
  margin-bottom: 30px;
}

.ws-cart-table-wrapper {
  overflow-x: auto;
}

.ws-cart-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 1000px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.ws-cart-table th, .ws-cart-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.ws-cart-table th {
  background: #d50000;
  color: white;
  font-weight: bold;
}

.ws-cart-table td {
  background: #fff;
  color: #333;
}

.ws-cart-total-label {
  text-align: right;
  font-weight: bold;
  color: #d50000;
  background: #f9f9f9;
}

.ws-cart-total-value {
  font-weight: bold;
  color: #d50000;
  background: #f9f9f9;
}

.ws-cart-actions {
  margin-top: 20px;
  text-align: center;
}

.ws-cart-btn {
  background: #d50000;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  font-size: 1em;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.ws-cart-btn:hover {
  background: #a30000;
  transform: scale(1.05);
}

.ws-cart-empty {
  text-align: center;
  color: #666;
  font-size: 1.2em;
  margin-top: 40px;
}

/* agregar compañia */

.ws-form-container {
  max-width: 700px;
  margin: 80px auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.ws-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ws-form label {
  font-weight: bold;
}
.ws-form input, .ws-form textarea, .ws-form select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}


/* Portafolio */

.ws-company-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.ws-logo-mini {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.ws-company-title h3 {
  margin: 0;
  font-size: 1.4rem;
}

.ws-company-title h3 a {
  color: #d50000;
  text-decoration: none;
}

.ws-company-title h3 a:hover {
  text-decoration: underline;
}


/* login.php */

main .loginmain{
flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-box {
      background: #fff;
      border: 1px solid #ddd;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      max-width: 400px;
      width: 100%;
      text-align: center;
      animation: fadeIn 0.6s ease-in-out;
    }
    .login-box h2 {
      color: #d50000;
      margin-bottom: 20px;
    }
    .login-box input {
      width: 100%;
      padding: 12px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 8px;
      transition: border 0.3s ease;
    }
    .login-box input:focus {
      border-color: #d50000;
      outline: none;
    }
    .login-box button {
      background: #d50000;
      color: #fff;
      border: none;
      padding: 12px 20px;
      border-radius: 8px;
      font-weight: bold;
      cursor: pointer;
      width: 100%;
      transition: background 0.3s ease;
    }
    .login-box button:hover {
      background: #a30000;
    }
    .error {
      color: #a30000;
      margin-top: 10px;
      font-weight: bold;
    }
    @keyframes fadeIn {
      from {opacity: 0; transform: translateY(-20px);}
      to {opacity: 1; transform: translateY(0);}
    }

    /* contacto */

    .ws-contact {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  animation: ws-fadeIn 0.6s ease-in-out;
}

.ws-contact h2 {
  text-align: center;
  color: #d50000;
  margin-bottom: 15px;
}

.ws-contact p {
  text-align: center;
  color: #444;
  margin-bottom: 30px;
}

.ws-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ws-contact-form label {
  font-weight: bold;
  color: #333;
}

.ws-contact-form input,
.ws-contact-form select,
.ws-contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  font-size: 1rem;
}

.ws-contact-form input:focus,
.ws-contact-form select:focus,
.ws-contact-form textarea:focus {
  border-color: #d50000;
  outline: none;
}

.ws-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

@keyframes ws-fadeIn {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .header-content {
        padding: 10px 20px;
    }

    .main-nav ul {
        gap: 12px;
    }

    .services .container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .ws-card1 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: ws-fadeUp 0.6s ease-in-out;
    width: 50%;
    height: 20%;
}
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .main-nav a {
        font-size: 16px;
    }

    .hero {
        padding: 60px 15px;
    }

    .btn {
        padding: 8px 16px;
    }

    .card img {
        height: 130px;
    }
      .ws-contact {
    padding: 30px 20px;
  }
  .ws-card1 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: ws-fadeUp 0.6s ease-in-out;
    width: 50%;
    height: 20%;
}
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px;
    }

    .main-nav ul {
        align-items: flex-start;
    }

    .services .container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero {
        padding: 40px 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .card img {
        height: 120px;
    }

    th,
    td {
        font-size: 14px;
        padding: 6px;
    }

    .login-btn {
        padding: 4px 10px;
        font-size: 14px;
    }

    #cart-count {
        font-size: 0.8em;
        padding: 2px 6px;
    }
    .ws-card1 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: ws-fadeUp 0.6s ease-in-out;
    width: 50%;
    height: 20%;
}
}

@media (max-height: 500px) {
    main {
        padding-top: 60px;
    }
    .ws-card1 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: ws-fadeUp 0.6s ease-in-out;
    width: 50%;
    height: 20%;
}
}

/* Media queries opcionales (ajustes finos en pantallas muy pequeñas) */
@media (max-width: 480px) {
  .ws-dashboard-card {
    padding: 15px;
  }

  .ws-dashboard-card h3 {
    font-size: 1rem;
  }

  .ws-btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .ws-card1 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: ws-fadeUp 0.6s ease-in-out;
    width: 100%;
    height: 50%;
}
}

/* nav movil */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Cambiar a "X" al estar activo */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .header-content {
    position: relative; /* 👈 Esto es clave */
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    background: #d50000;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 15px 0;
    z-index: 1000;
  }

  .main-nav ul.open {
    display: flex;
    align-items: center;
  }
}


/* index.php */

.results-section {
  background: #fff0f0;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.results-section .section-title {
  font-size: 2rem;
  color: #b30000;
  margin-bottom: 10px;
}

.intro-highlight {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 30px;
}

.results-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.metric-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}
.metric-box:hover {
  transform: scale(1.05);
}

.metric-box h3 {
  color: #d50000;
  font-size: 2rem;
  margin-bottom: 10px;
}

.metric-box p {
  color: #333;
  font-size: 0.95rem;
}

.results-cta {
  margin-top: 40px;
}


/* Impact cards con íconos */
.impact-card i {
    color: #d50000;
    margin-bottom: 10px;
    display: block;
    transition: transform 0.3s ease;
}
.impact-card:hover i {
    transform: scale(1.2);
}

/* Estadísticas animadas */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 2em;
    flex-wrap: wrap;
}
.stat-box {
    text-align: center;
    font-size: 1.5rem;
    background: #fff0f0;
    padding: 20px;
    border-radius: 12px;
    width: 150px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.stat-box strong {
    font-size: 2.2rem;
    color: #d50000;
    display: block;
    margin-bottom: 8px;
}

/* Cómo trabajamos */
.workflow-section {
  padding: 60px 20px;
  background: #fffaf9;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.workflow-section .section-title {
  color: #d50000;
  margin-bottom: 30px;
  font-size: 2rem;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.workflow-step {
  background: #ffffff;
  border: 1px solid #f0eaea;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.workflow-step:hover {
  transform: translateY(-8px);
}

.step-icon {
  font-size: 40px;
  color: #d50000;
  margin-bottom: 10px;
}

.workflow-step h3 {
  color: #b30000;
  font-size: 1.2rem;
  margin: 10px 0;
}

.workflow-step p {
  color: #444;
  font-size: 0.95rem;
}

.workflow-cta {
  margin-top: 40px;
}
.alt-btn {
  background: #b30000;
  padding: 14px 24px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.alt-btn:hover {
  background: #900;
}


/* Testimonios en carrusel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    height: 160px;
}
.testimonial-carousel .testimonial {
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease-in-out;
    text-align: center;
}
.testimonial-carousel .testimonial.active {
    opacity: 1;
    position: relative;
}

/* Formulario rápido */
.quick-contact {
    background: #fff0f0;
    padding: 3em 1em;
    text-align: center;
    margin-top: 4em;
}
.mini-contact-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1em;
}
.mini-contact-form input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 200px;
}
.mini-contact-form button {
    background: #d50000;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}
.mini-contact-form button:hover {
    background: #a30000;
}

/* Responsive */
@media (max-width: 768px) {
    .impact-cards, .stats-container, .workflow-section .steps {
        flex-direction: column;
        align-items: center;
    }
    .mini-contact-form {
        flex-direction: column;
    }
    .mini-contact-form input, .mini-contact-form button {
        width: 100%;
        max-width: 300px;
    }
}

/* orders css */

.detail-wrapper {
  max-width: 1000px;
  margin: 2em auto;
  font-family: 'Segoe UI', sans-serif;
  padding: 0 1em;
}

.detail-head {
  background: #d50000;
  color: #fff;
  padding: 20px;
  border-radius: 12px 12px 0 0;
}

.detail-head h2 {
  margin: 0;
  font-size: 1.4rem;
}

.detail-body {
  border: 1px solid #eee;
  border-top: none;
  padding: 20px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.section-title {
  color: #b30000;
  margin-top: 30px;
  font-size: 1.2rem;
}

.table-lite {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.table-lite th,
.table-lite td {
  padding: 10px;
  border-bottom: 1px solid #f1f1f1;
  text-align: left;
}

.table-lite th {
  background: #fff0f0;
}

.task-diff-Baja {
  color: green;
}
.task-diff-Media {
  color: #d49800;
}
.task-diff-Alta {
  color: #d50000;
  font-weight: bold;
}

.toggle-btn {
  background: #d50000;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 1rem;
  transition: background 0.3s;
}
.toggle-btn:hover {
  background: #b20000;
}

.add-task-form {
  display: none;
  margin-top: 20px;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
  background: #fafafa;
}

.add-task-form input,
.add-task-form textarea,
.add-task-form select {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
}

.add-task-form button {
  background: #d50000;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.add-task-form button:hover {
  background: #b20000;
}

/* ────────────────────────
   ✅ Estilos Responsive
──────────────────────── */
@media (max-width: 600px) {
  .table-lite thead {
    display: none;
  }

  .table-lite tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }

  .table-lite td {
    display: block;
    text-align: right;
    position: relative;
    padding-left: 50%;
    border: none;
    border-bottom: 1px solid #f1f1f1;
  }

  .table-lite td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: bold;
    color: #555;
    text-align: left;
  }

  .table-lite td:last-child {
    border-bottom: none;
  }
}

/* register */
.adminland-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
    font-family: 'Segoe UI', sans-serif;
}
.adminland-title {
    margin-top: 2em;
    color: #b30000;
    font-size: 26px;
    text-align: center;
}
.gridpanel-bloq {
    width: 95%;
    max-width: 1000px;
    border-collapse: collapse;
    margin: 2em auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}
.gridpanel-bloq th {
    background-color: #d50000;
    color: #fff;
    padding: 14px;
    font-size: 16px;
    text-align: left;
    letter-spacing: 0.5px;
}
.gridpanel-bloq td {
    padding: 14px;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f1f1;
}
.gridpanel-bloq tr:hover td {
    background-color: #fff0f0;
}
.action-port a {
    text-decoration: none;
    color: #d50000;
    font-weight: bold;
    margin: 0 5px;
    transition: color 0.3s ease;
}
.action-port a:hover {
    color: #a30000;
}
.formbox-zona {
    background: #fff8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 400px;
    margin: 2em auto 0;
}
.formbox-zona h2 {
    color: #b30000;
    margin-bottom: 1em;
    text-align: center;
}
.formbox-zona select,
.formbox-zona input[type="text"],
.formbox-zona input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border 0.3s ease;
}
.formbox-zona select:focus,
.formbox-zona input:focus {
    border-color: #d50000;
    outline: none;
}
.btn-formgo {
    background: #d50000;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s ease;
}
.btn-formgo:hover {
    background: #a30000;
}
.msg-exito {
    color: green;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}
.msg-error {
    color: #a30000;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

/* profile.php */

.profile-wrapper {
    max-width: 1000px;
    margin: 2em auto;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 2em;
}
.customer-info, .customer-orders {
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    background: #fff;
}
.customer-info h2, .customer-orders h3 {
    background: #d50000;
    color: #fff;
    margin: 0;
    padding: 16px;
    border-radius: 12px 12px 0 0;
    font-size: 1.4rem;
}
.customer-info-content {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.customer-info .fa-user-circle {
    font-size: 100px;
    color: #d50000;
}
.customer-details p {
    margin: 6px 0;
    font-size: 1.1rem;
    color: #333;
}
.customer-orders .order-content {
    padding: 20px;
}
.section-title {
    color: #b30000;
    margin-top: 0;
    font-size: 1.2rem;
}
.table-lite {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.table-lite th, .table-lite td {
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
}
.table-lite th {
    background: #fff0f0;
    text-align: left;
}
.detail-toggle {
    cursor: pointer;
    color: #d50000;
    font-weight: bold;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.95rem;
}
.detail-box {
    display: none;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 10px;
}