
body {
  margin: 0;
  font-family: 'Marcellus', serif;
  background: #f9f9f9;
  color: #111;
}

/* Top Bar */
.top-bar {
  width: 100%;
  background: #111;
  color: white;
  font-size: 0.85rem;
  position: sticky;
  top: 0;
  z-index: 1001;
}
.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a {
  color: white;
  text-decoration: none;
  margin-left: 12px;
  font-weight: 500;
  display: inline-block;
  white-space: nowrap;
}
.top-bar a:hover {
  color: #1A8C94;
}
.top-right {
  display: flex;
  gap: 12px; /* espacio entre About Us y Blog */
}


.top-right a {
  color: white;
  margin-left: 12px;
  text-decoration: none;
  font-weight: 500;
}

/* Header */
.main-header {
  background: white;
  padding: 10px 20px;
  margin-bottom: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.main-header .container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  height: 65px;
  max-height: none;
}
.tagline {
  font-size: 1.05rem;
  color: #333;
  font-weight: 500;
  line-height: 1.3;
  margin-left: 20px;
}

/* Auditool Navbar */
.auditool-navbar {
  background-color: #fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.auditool-menu {
  list-style: none;
  display: flex;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  justify-content: center;
}
.auditool-menu li {
  flex: 1;
  text-align: center;
  border-right: 1px solid #eee;
}
.auditool-menu li:last-child {
  border-right: none;
}
.auditool-menu a {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
}
.auditool-menu a:hover {
  color: #1A8C94;
  border-bottom: 2px solid #1A8C94;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #15797e;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebc59;
}

/* Footer */
footer {
  background-color: #000;
  color: white;
  padding: 20px 0;
  text-align: center;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-social a {
  color: white;
  margin-right: 1.5rem;
  font-size: 1rem;
  text-decoration: none;
}

.footer-social i {
  margin-right: 0.4rem;
}
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #1A8C94;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1A8C94;
  color: white;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 1.4rem;
  text-decoration: none;
  font-weight: bold;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.back-to-top.show {
  opacity: 1;
}

/* Start Business Section */
.start-business-section {
  background-color: white; /* fondo blanco */
  padding: 60px 20px;
  position: relative;
}

.start-business-section .container {
  display: block !important;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #111;
  text-transform: uppercase;
  font-family: 'Marcellus', serif;
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.business-box {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.3s ease;
}
.business-box:hover {
  transform: translateY(-5px);
}
.business-box h3 {
  color: #166e74;
  font-size: 20px;
  margin-bottom: 15px;
}
.business-box p,
.business-box ul {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.business-box ul {
  padding-left: 20px;
  list-style: disc;
}

/* Button */
.quote-button-container {
  margin-top: 50px;
  margin-bottom: 60px;
  text-align: center;
}
.quote-button {
  display: inline-block;
  background-color: #166e74;
  color: white;
  font-size: 16px;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.quote-button:hover {
  background-color: #0f595e;
  transform: translateY(-2px);
}
/* Repara el layout del formulario en index.php */
.quote-form-section .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
/* --- QUOTE FORM STYLING --- */
.quote-form-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.quote-form-section .container form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quote-form-section form input,
.quote-form-section form select,
.quote-form-section form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1 1 200px;
  min-width: 200px;
}

.quote-form-section form textarea {
  min-width: 400px;
  height: 100px;
}

.quote-form-section form button {
  background-color: #166e74;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}
/* --- HERO BUTTON STYLE (Fix) --- */
.hero-section .quote-button {
  display: inline-block;
  background-color: #005F5F;
  color: white;
  padding: 10px 25px;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* Imagen decorativa para la sección Start Your Business */
.start-business-image-container {
  margin: 40px auto 0;
  max-width: 1000px;
  padding: 0 20px;
}

.start-business-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.start-business-image:hover {
  transform: scale(1.02);
}
.about-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.about-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #002c2c;
}

.about-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.about-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
}

.about-text strong {
  color: #005f5f;
}

.about-image {
  flex: 1;
  max-width: 400px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
/* Add these styles to your style.css */
.blog-section {
  padding: 60px 20px;
  background-color: #f7f7f7;
}
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-6px);
}
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-card .card-content {
  padding: 16px;
}
.blog-card .date {
  font-size: 0.8rem;
  color: gray;
}

.single-post-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.single-post-container {
    max-width: 800px;
    margin: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    padding: 40px;
}

.single-post-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.single-post-container h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.single-post-container .date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

.single-post-container .content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}
.section.blog-posts {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.post-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 30px;
}

.read-more {
  color: #5a2cc0;
  font-weight: bold;
  text-decoration: none;
}
.section.blog-post {
  padding: 40px 20px;
  background-color: #fff;
}

.post-header {
  text-align: center;
  margin-bottom: 30px;
}

.post-title {
  font-size: 2rem;
  margin-bottom: 5px;
}

.post-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
  display: block;
}

.post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  white-space: pre-line;
  text-align: justify; /* o left si prefieres */
}

.back-to-blog {
  margin-top: 40px;
  text-align: center;
}

.back-to-blog a {
  text-decoration: none;
  color: #5a2cc0;
  font-weight: bold;
}

.back-to-blog a:hover {
  text-decoration: underline;
}

.posts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  font-family: 'Marcellus', serif;
}
.post-card .blog-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}
.blog-post .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
  display: block;
}

.blog-thumb {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #222;
  text-align: justify;
  padding: 0 10px;
}

.post-content h2,
.post-content h3 {
  margin-top: 40px;
  margin-bottom: 15px;
  color: #1a1a1a;
  font-weight: bold;
}

.post-content ul {
  padding-left: 30px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-content hr {
  margin: 40px auto;
  max-width: 100%;
  border: none;
  border-top: 1px solid #ddd;
}
.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #222;
  text-align: justify;
}

.post-body h2,
.post-body h3 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.post-body ul {
  padding-left: 20px;
  margin: 20px 0 30px 0;
}

.post-body li {
  margin-bottom: 10px;
}

.post-body hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 40px 0;
}

.post-body .post-image {
  width: 100%;
  max-width: 760px;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  margin: 30px auto 40px auto;
  display: block;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}
.post-body p,
.post-body ul,
.post-body li {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  line-height: 1.5 !important;
}
.blog-post .container {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 20px;
}

.post-image {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 8px;
  margin: 25px 0;
  display: block;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.post-body {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
  text-align: justify;
}

.post-body p {
  margin-bottom: 6px;
}

.post-body ul {
  margin: 10px 0 20px 25px;
  padding-left: 0;
}

.post-body li {
  margin-bottom: 6px;
}

.post-body h2,
.post-body h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #1a1a1a;
}

.back-to-blog {
  margin-top: 40px;
  text-align: center;
}

.back-to-blog a {
  text-decoration: none;
  color: #5a2cc0;
  font-weight: bold;
}

.back-to-blog a:hover {
  text-decoration: underline;
}
.post-body h2, .post-body .subtitle {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #1a1a1a;
  position: relative;
}

.post-body .subtitle::before {
  content: "📌 ";
  color: #444;
}

.post-body ul {
  list-style-type: "✅ ";
  padding-left: 1em;
}
.blog-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.blog-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  margin: 2rem auto;
  max-width: 850px;
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 300px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-content p {
  margin-bottom: 1rem;
}

.read-more {
  color: #5c4dff;
  font-weight: bold;
  text-decoration: none;
}
.blog-section h1,
.blog-section h2,
.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 2.5rem;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.5px;
}

/* 🌐 Ajustes para pantallas pequeñas (mobile first) */
@media (max-width: 768px) {
  body {
    padding: 10px;
    font-size: 15px;
  }

  .container,
  .blog-container,
  .tools-container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
  }

  .section-title,
  .page-title,
  h1, h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  /* Blog cards responsive */
  .posts-grid,
  .tools-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .post-card,
  .blog-card,
  .tool-card {
    width: 100% !important;
    margin-bottom: 20px;
  }

  .blog-thumb,
  .post-card img,
  .blog-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Timecard form */
  .timecard-container {
    padding: 1rem;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row label,
  .form-row input {
    width: 100%;
    margin-bottom: 10px;
  }

  .timecard-table {
    font-size: 13px;
  }

  /* Navbar responsive */
  nav.auditool-navbar ul.auditool-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
  }

  .top-bar .top-right {
    flex-direction: column;
    gap: 8px;
    text-align: right;
  }

  footer {
    padding: 30px 15px;
    text-align: center;
  }

  footer .footer-logo,
  footer .footer-links {
    width: 100%;
    margin-bottom: 15px;
  }

  .read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 15px;
  }

  @media (max-width: 768px) {
  .blog-card {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  .auditool-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .auditool-menu.active {
    display: flex;
  }

  .auditool-menu li {
    border: none;
    padding: 10px 20px;
    text-align: left;
  }

  .auditool-menu li a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
    color: #111;
  }

  .blog-card img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px 12px 0 0 !important;
  }

  .blog-card-content {
    padding: 1rem;
    text-align: left;
  }

  .blog-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .blog-section .section-title {
    font-size: 2rem;
  }

  /* ✅ Blog ajustes móviles corregidos */
  .blog-card {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  .blog-card img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px 12px 0 0 !important;
  }

  .blog-card-content {
    padding: 1rem;
    text-align: left;
  }

  .blog-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .blog-section .section-title {
    font-size: 2rem;
  }

Forzar color turquesa del logo ALP */
  .main-header .logo .logo-primary {
    color: #1A8C94 !important;
  }






