  :root {
    --dark: #1a1a1a;
    --darker: #111111;
    --orange: #e07b2a;
    --orange-light: #f08c3a;
    --orange-dark: #c06820;
    --gray: #f5f5f5;
    --text-muted: #888;
    --border: rgba(255,255,255,0.1);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Open Sans', sans-serif; background: #fff; color: var(--dark); overflow-x: hidden; }
  h1,h2,h3,h4 { font-family: 'Oswald', sans-serif; }

  /* TOP BAR */
  .topbar { background: var(--darker); color: rgba(255,255,255,0.75); font-size: 12.5px; padding: 8px 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
  .topbar-left { display: flex; align-items: center; gap: 20px; }
  .topbar-left span { display: flex; align-items: center; gap: 6px; }
  .topbar-right { display: flex; align-items: center; gap: 14px; }
  .social-icon { width: 28px; height: 28px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s; }
  .social-icon:hover { background: var(--orange); }
  .social-icon svg { width: 14px; height: 14px; fill: white; }

  /* HEADER / NAV */
  header { background: var(--dark); padding: 0 5%; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
  .header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 75px; }
  .logo img { height: 60px; object-fit: contain; }
  nav { display: flex; align-items: center; gap: 32px; }
  nav a { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; padding: 4px 0; border-bottom: 2px solid transparent; }
  nav a:hover { color: var(--orange); border-bottom-color: var(--orange); }
  .nav-cta { background: var(--orange) !important; color: #fff !important; padding: 10px 22px !important; border-radius: 4px; border-bottom: none !important; }
  .nav-cta:hover { background: var(--orange-light) !important; }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
  .hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; display: block; }

  /* HERO */
  .hero { position: relative; min-height: 560px; display: flex; align-items: center; background: var(--darker); overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; background-image: url('https://img1.wsimg.com/isteam/ip/9011571c-237d-4cb3-9734-2c16291333a2/blob-3d685e4.png/:/rs=w:1200,cg:true'); background-size: cover; background-position: center; opacity: 0.2; }
  .hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 60%, rgba(10,10,10,0.3) 100%); }
  .hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 80px 5%; width: 100%; display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }
  .hero-text { }
  .hero-tag { display: inline-block; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 2px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 700; color: #fff; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.5px; margin-bottom: 20px; }
  .hero h1 em { font-style: normal; color: var(--orange); }
  .hero-sub { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-orange { background: var(--orange); color: #fff; padding: 14px 30px; border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: 0.5px; text-transform: uppercase; transition: all 0.2s; display: inline-block; border: none; cursor: pointer; font-family: 'Open Sans', sans-serif; }
  .btn-orange:hover { background: var(--orange-light); transform: translateY(-1px); }
  .btn-outline { background: transparent; color: #fff; padding: 14px 28px; border-radius: 4px; font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: 0.5px; text-transform: uppercase; border: 2px solid rgba(255,255,255,0.3); transition: all 0.2s; display: inline-block; }
  .btn-outline:hover { border-color: var(--orange); color: var(--orange); }

  /* LEAD CAPTURE */
  .lead-box { background: rgba(255,255,255,0.97); border-radius: 8px; padding: 32px 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
  .lead-box h3 { font-size: 22px; font-weight: 700; color: var(--dark); text-transform: uppercase; margin-bottom: 6px; }
  .lead-box p { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
  .lead-field { margin-bottom: 14px; }
  .lead-field label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #555; margin-bottom: 6px; }
  .lead-field input { width: 100%; border: 1.5px solid #e0e0e0; border-radius: 4px; padding: 11px 14px; font-size: 14px; font-family: 'Open Sans', sans-serif; color: var(--dark); transition: border-color 0.2s; outline: none; }
  .lead-field input:focus { border-color: var(--orange); }
  .lead-field input::placeholder { color: #bbb; }
  .lead-submit { width: 100%; background: var(--orange); color: #fff; padding: 13px; border-radius: 4px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; font-family: 'Open Sans', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.2s; margin-top: 4px; }
  .lead-submit:hover { background: var(--orange-light); }
  .lead-note { font-size: 11px; color: #aaa; text-align: center; margin-top: 10px; }
  .lead-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
  .lead-divider span { height: 1px; flex: 1; background: #eee; }
  .lead-divider p { font-size: 11px; color: #bbb; white-space: nowrap; }
  .whatsapp-btn { width: 100%; background: #25D366; color: #fff; padding: 12px; border-radius: 4px; font-size: 13px; font-weight: 700; border: none; cursor: pointer; font-family: 'Open Sans', sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background 0.2s; }
  .whatsapp-btn:hover { background: #1ebe5d; }

  /* TRUST BAR */
  .trust-bar { background: var(--orange); padding: 18px 5%; }
  .trust-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 16px; }
  .trust-item { display: flex; align-items: center; gap: 10px; color: #fff; }
  .trust-item svg { width: 22px; height: 22px; fill: rgba(255,255,255,0.85); flex-shrink: 0; }
  .trust-item p { font-size: 13px; font-weight: 600; letter-spacing: 0.3px; }

  /* SECTION COMMONS */
  .section { padding: 80px 5%; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; display: block; }
  .section-title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; text-transform: uppercase; color: var(--dark); letter-spacing: -0.3px; line-height: 1.1; margin-bottom: 14px; }
  .section-sub { font-size: 15px; color: #666; line-height: 1.7; max-width: 540px; }
  .section-header { margin-bottom: 48px; }
  .section-divider { width: 50px; height: 3px; background: var(--orange); border-radius: 2px; margin-top: 14px; }

  /* SERVICES */
  .services-section { background: var(--gray); }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .service-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.3s; }
  .service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
  .service-img { width: 100%; height: 180px; object-fit: cover; background: #ddd; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #999; }
  .service-img img { width: 100%; height: 100%; object-fit: cover; }
  .service-body { padding: 22px 20px; }
  .service-icon-wrap { width: 42px; height: 42px; background: rgba(224,123,42,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 20px; }
  .service-body h3 { font-size: 17px; font-weight: 700; text-transform: uppercase; color: var(--dark); margin-bottom: 8px; letter-spacing: 0.3px; }
  .service-body p { font-size: 13px; color: #666; line-height: 1.6; }

  /* FAQ */
  .faq-section { background: #fff; }
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .faq-item { border: 1.5px solid #e8e8e8; border-radius: 6px; overflow: hidden; transition: border-color 0.2s; }
  .faq-item.open { border-color: var(--orange); }
  .faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; background: #fff; transition: background 0.2s; gap: 12px; }
  .faq-item.open .faq-question { background: rgba(224,123,42,0.04); }
  .faq-question p { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; color: var(--dark); text-transform: uppercase; letter-spacing: 0.3px; line-height: 1.3; }
  .faq-icon { width: 28px; height: 28px; min-width: 28px; border-radius: 50%; border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
  .faq-item.open .faq-icon { background: var(--orange); }
  .faq-icon svg { width: 14px; height: 14px; stroke: var(--orange); stroke-width: 2.5; transition: all 0.3s; }
  .faq-item.open .faq-icon svg { stroke: #fff; transform: rotate(45deg); }
  .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.2s; }
  .faq-item.open .faq-answer { max-height: 200px; }
  .faq-answer p { padding: 0 20px 18px; font-size: 14px; color: #666; line-height: 1.7; border-top: 1px solid #f0f0f0; padding-top: 14px; }

  /* TESTIMONIALS */
  .testimonials-section { background: var(--dark); }
  .testimonials-section .section-title { color: #fff; }
  .testimonials-section .section-label { color: var(--orange); }
  .testimonials-section .section-sub { color: rgba(255,255,255,0.5); }
  .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .testimonial-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 28px 24px; transition: border-color 0.3s; }
  .testimonial-card:hover { border-color: rgba(224,123,42,0.3); }
  .stars { display: flex; gap: 3px; margin-bottom: 16px; }
  .star { color: var(--orange); font-size: 15px; }
  .testimonial-text { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 22px; font-style: italic; }
  .testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.07); }
  .author-avatar { width: 46px; height: 46px; border-radius: 50%; background: #333; border: 2px solid rgba(224,123,42,0.3); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #888; text-align: center; flex-shrink: 0; }
  .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .author-name { font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600; color: #fff; text-transform: uppercase; }
  .author-role { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }

  /* CTA SECTION */
  .cta-section { background: var(--orange); padding: 70px 5%; text-align: center; }
  .cta-section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 14px; }
  .cta-section p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
  .btn-white { background: #fff; color: var(--orange); padding: 15px 36px; border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s; display: inline-block; }
  .btn-white:hover { background: var(--dark); color: #fff; }

  /* FOOTER */
  footer { background: #0d0d0d; padding: 56px 5% 28px; }
  .footer-inner { max-width: 1200px; margin: 0 auto; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
  .footer-logo img { height: 55px; object-fit: contain; margin-bottom: 16px; }
  .footer-about { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
  .footer-socials { display: flex; gap: 10px; }
  .footer-social { width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; text-decoration: none; }
  .footer-social:hover { background: var(--orange); }
  .footer-social svg { width: 15px; height: 15px; fill: rgba(255,255,255,0.7); }
  .footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
  .footer-col ul li a:hover { color: var(--orange); }
  .footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
  .footer-contact-item svg { width: 15px; height: 15px; fill: var(--orange); flex-shrink: 0; margin-top: 2px; }
  .footer-contact-item p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }
  .footer-contact-item a { color: rgba(255,255,255,0.45); text-decoration: none; }
  .footer-contact-item a:hover { color: var(--orange); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
  .footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
  .footer-links { display: flex; gap: 20px; }
  .footer-links a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--orange); }

  /* MOBILE */
  @media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .lead-box { max-width: 480px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  }
  @media (max-width: 640px) {
    nav { display: none; }
    .hamburger { display: flex; }
    .topbar { flex-direction: column; text-align: center; gap: 6px; }
    .services-grid { grid-template-columns: 1fr; }
    .trust-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hero-actions { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }
  }

  /* ANIMATION */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  #backToTop {
  display: none; /* Se oculta al inicio */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #ff9900; /* Tu naranja de Zoho */
  color: white;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%; /* Redondo */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.4s ease; /* Transición suave */
}

#backToTop:hover {
  background-color: #1a1a1a; /* Cambia a negro al pasar el mouse */
  transform: rotate(360deg) scale(1.1); /* ¡El giro de 360 grados! */
}

#backToTop svg {
  display: block;
}
/* --- OPTIMIZACIÓN DE FORMULARIO DE DOS COLUMNAS --- */
.form-row-double {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
}
.form-row-double > div {
  flex: 1;
}
@media (max-width: 768px) {
  .form-row-double {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
  }
}

/* --- DISEÑO DEL CARRUSEL DE TESTIMONIOS AUTOMÁTICO --- */
.testimonial-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.testimonial-slide {
  display: none;
  width: 100%;
  animation: fadeEffect 0.8s ease-in-out;
}
.testimonial-slide.active {
  display: block;
}
@keyframes fadeEffect {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.carousel-dots {
  text-align: center;
  margin-top: 25px;
}
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #555;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.dot.active, .dot:hover {
  background-color: #ff9900;
}

/* ── WhatsApp Floating Widget ── */
#wa-widget-wrap {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: 'Open Sans', sans-serif;
}
#wa-chat-box {
  display: none;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  overflow: hidden;
  animation: waSlideUp 0.35s cubic-bezier(.22,.68,0,1.2) both;
}
@keyframes waSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
#wa-chat-header {
  background: #1a1a1a;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#wa-chat-header .wa-brand { display: flex; align-items: center; gap: 10px; }
#wa-chat-header .wa-avatar {
  width: 36px; height: 36px;
  background: #333; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
#wa-chat-header .wa-avatar svg { width: 20px; height: 20px; fill: #fff; }
#wa-chat-header .wa-name  { font-size: 13px; font-weight: 700; line-height: 1.3; }
#wa-chat-header .wa-status { font-size: 11px; color: #aaa; }
#wa-close-btn {
  background: none; border: none; color: #fff;
  cursor: pointer; padding: 4px; line-height: 1;
  font-size: 20px; opacity: 0.7; transition: opacity 0.2s;
}
#wa-close-btn:hover { opacity: 1; }
#wa-chat-body { padding: 16px; background: #f0ece4; }
#wa-chat-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 12px 14px;
  font-size: 13.5px; color: #222; line-height: 1.55;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  position: relative;
}
#wa-chat-bubble::before {
  content: '';
  position: absolute; top: 0; left: -8px;
  border: 8px solid transparent;
  border-top-color: #fff; border-left: none;
}
#wa-open-btn {
  display: flex; width: 100%; margin-top: 14px;
  padding: 13px; background: #25D366; color: #fff;
  border: none; border-radius: 12px;
  font-size: 14px; font-weight: 700; font-family: 'Open Sans', sans-serif;
  cursor: pointer; align-items: center; justify-content: center; gap: 8px;
  position: relative; overflow: hidden; transition: background 0.2s;
}
#wa-open-btn:hover { background: #1ebe5d; }
#wa-open-btn::after {
  content: '';
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  animation: waShimmer 2s infinite;
}
@keyframes waShimmer {
  0%   { left: -75%; }
  100% { left: 130%; }
}
#wa-open-btn svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
#wa-open-btn .wa-arrow { display: inline-block; animation: waArrowBounce 1s infinite; }
@keyframes waArrowBounce {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}
#wa-trigger {
  display: none;
  position: relative; cursor: pointer;
  align-items: center; gap: 0;
}
#wa-trigger-icon {
  width: 56px; height: 56px;
  background: #1a1a1a; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s; flex-shrink: 0;
}
#wa-trigger:hover #wa-trigger-icon { transform: scale(1.08); }
#wa-trigger-icon svg { width: 28px; height: 28px; fill: #fff; }
#wa-tooltip {
  background: #1a1a1a; color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 20px;
  white-space: nowrap; opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none; margin-right: 10px; order: -1;
}
#wa-trigger:hover #wa-tooltip { opacity: 1; transform: translateX(0); }
