
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 con efecto de scroll */
/* Ajusta la posición inicial del logo */
.logo-img {
  height: 90px;
  width: auto;
  transition: all 0.3s ease;
  transform-origin: top left;
  margin-top: 0; /* quitar el valor negativo */
}

/* Cuando haces scroll y se activa shrink */
.shrink .logo-img {
  height: 35px;
}

/* Asegura espacio para la top bar */

.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;
}

/* 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: #0b0b0b;
  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: #1a1a1a;
  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;
}

/* === AUDITOOL NAV + BOTÓN (ÚNICO BLOQUE) === */

/* Base */
.auditool-navbar{
  background:#fff;
  border-top:1px solid #ddd; border-bottom:1px solid #ddd;
}
.auditool-menu{
  list-style:none; margin:0; padding:0;
}

/* Botón (oculto en desktop) */
.nav-toggle{
  display:none; position:relative; z-index:1100;
  width:42px; height:42px; background:transparent; border:0; cursor:pointer;
}
.nav-toggle .bar{ position:absolute; left:8px; right:8px; height:3px; background:#0f2d35; transition:.25s; }
.nav-toggle .bar:nth-child(1){ top:12px; }
.nav-toggle .bar:nth-child(2){ top:20px; }
.nav-toggle .bar:nth-child(3){ top:28px; }

/* Desktop */
@media (min-width:993px){
  .nav-toggle{ display:none !important; }
  .auditool-navbar{ display:block !important; }
  .auditool-menu{
    display:flex; flex-direction:row; justify-content:center;
    max-width:1200px; margin:0 auto;
  }
  .auditool-menu li{ flex:1 1 auto; 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;
    border-bottom:2px solid transparent; transition:color .3s, border-bottom .3s;
  }
  .auditool-menu a:hover{ color:#1A8C94; border-bottom-color:#1A8C94; }
}

/* Mobile (overlay) */
@media (max-width:992px){
  .nav-toggle{ display:block !important; }

  .auditool-navbar{
    display:none !important;
    position:fixed; left:0; right:0; top:96px; bottom:0;   /* ajusta 96px si cambia top bar + logo */
    background:#fff; box-shadow:0 8px 28px rgba(0,0,0,.12);
    z-index:1000; overflow:auto;
  }
  .auditool-navbar.is-open{ display:block !important; }

  .auditool-menu{
    display:flex !important; flex-direction:column !important;
    gap:.75rem; margin:0 !important; padding:1rem !important; max-width:none;
  }
  .auditool-menu li{ border-right:none; border-bottom:1px solid #eee; text-align:left; }
  .auditool-menu li:last-child{ border-bottom:none; }
  .auditool-menu a{ display:block; padding:14px 18px; color:#222; text-decoration:none; }
    
  }
  .about-hero{
    text-align: center;
    padding: 30px 20px;
  }
    
  .about-hero img{
    width: 100%;
    max-width: 140px;
    height: auto;
    border-radius: 16px;
    margin-bottom: 14px;
  }
    
  .about-hero h2{
    margin: 0;
    font-size: 24px;
    color: #003c44;
  }
    
  .about-role{
    color: #007f89;
    font-weight: 600;
    margin-top: 4px;
  
  }

  .promo-pill-wrap{
    display:flex;
    justify-content:center;
    padding: 10px 12px;
  }

  .promo-pill{
    position: relative;
    display:flex;
    align-items:center;
    gap: 10px;
    background:#0a6f75;
    color:#fff;
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    max-width: 520px;
    width: 100%;
  }

  .promo-msg{
    font-size: 13px;
    line-height: 1.2;
    flex: 1;
  }

  .promo-cta{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width: auto !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.18);
    color:#fff !important;
    text-decoration:none !important;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
  }

  .promo-cta:hover{
    background: rgba(255,255,255,0.28);
  }

  .promo-x{
    position:absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border:none;
    background: transparent;
    color:#fff;
    font-size: 18px;
    cursor:pointer;
    opacity: 0.9;
  }

/* HERO */
.hero{
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 18px 40px;
  color: #fff;
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(15,45,63,0.75)),
    url('/assets/imgs/officealp.jpg');
  background-size: cover;
  background-position: center;
}

.hero-inner{
  max-width: 780px;
}

.hero h1{
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.05;
}

.hero p{
  margin: 0 auto 18px;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}

.quote-button{
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: #007f89;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0,0,0,0.25);
}
.quote-button:hover{ background:#005d66; }

/* SERVICES */
.services{
  padding: 54px 16px;
  background: #fff;
}

.services h2{
  text-align: center;
  color: #003c44;
  font-size: 38px;
  margin: 0 0 26px;
}

.services-grid{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-card{
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
}

.service-card i{
  font-size: 34px;
  color: #007f89;
  margin-bottom: 8px;
}

.service-card h3{
  margin: 0 0 8px;
  color: #003c44;
  font-size: 20px;
}

.service-card p{
  margin: 0 0 12px;
  color: #444;
  line-height: 1.6;
  font-size: 15px;
}

.service-link{
  color: #007f89;
  font-weight: 800;
  text-decoration: none;
}
.service-link:hover{ text-decoration: underline; }

/* RESPONSIVE */
@media (min-width: 900px){
  .services-grid{ grid-template-columns: repeat(3, 1fr); }
}

/* HERO - mobile general */
@media (max-width: 600px){
  .hero{
    min-height: 38vh !important;
    padding-top: 56px !important;
    padding-bottom: 22px !important;
    background-position: center 30% !important;
    background-size: cover !important;
  }

  .hero h1{
    font-size: 30px !important;
    line-height: 1.1 !important;
    margin-bottom: 8px !important;
  }

  .hero p{
    font-size: 14px !important;
    margin-bottom: 14px !important;
  }
}

/* HERO - mobile pequeño (opcional) */
@media (max-width: 380px){
  .hero h1{
    font-size: 28px !important;
  }
}







    








