* { margin: 0; padding: 0; box-sizing: border-box; }



/* Tipografía global */
body {
  font-family: 'Segoe UI', 'Roboto', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.3;
  color: #222;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.4rem;
}

p {
  font-size: 1.05rem;
  color: #444;
}

/* Navegación */
.nav-menu li a {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}


.header {
  background: #e9c916;
  color: #333;
  padding: 12px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  max-height: 72px;
  margin: 0;
  padding: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  height: 64px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 0.92rem;
  color: #333;
}

.logo-text strong {
  font-size: 1.4rem;
  color: #333;
}

.logo-text span {
  font-size: 0.9rem;
  color: #333;
}



/* ----------- NAV MENU DESKTOP ----------- */
.nav-menu-container {
  display: flex;
  align-items: center;
  gap: 12px;
}
/*-----------Decoración del boton Modo Oscuro--------------*/
#toggle-theme {
  background: #fff;
  color: #222;
  border: 2px solid #e9c916;
  border-radius: 8px;
  font-size: 1.2rem;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Responsive: ubicar al final en móviles */
@media (max-width: 768px) {
  #toggle-theme {
    order: 2;
    margin-top: 10px;
    align-self: flex-end;
  }
}

#toggle-theme:hover {
  background: #fdf3a5;
  color: #000;
  transform: scale(1.05);
}

.dark-mode #toggle-theme {
  background: #222;
  color: #f3f3f3;
  border-color: #888;
}

.dark-mode #toggle-theme:hover {
  background: #333;
  color: #fff;
  border-color: #fdf3a5;
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 22px;
  transition: right .3s;
}

.nav-menu li a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  padding: 9px 16px;
  transition: background .2s;
}

.nav-menu li a:focus,
.nav-menu li a:hover {
  background: #fff3b0;
  color: #e9c916;
  outline: 2px solid #e9c916;
}

/* ----------- HAMBURGER ICON (global, always hidden) ----------- */
.hamburger {
  display: none;    /* Hidden everywhere except mobile */
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 30;
}

/* ----------- OVERLAY ----------- */
.overlay {
  display: none;
}

/* ----------- RESPONSIVE NAV MENU MOBILE ----------- */
@media (max-width: 800px) {
  .header-container {
    flex-wrap: wrap;
  }
  .nav-menu {
    /* Drawer menu, hidden by default */
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    flex-direction: column;
    background: #e9c916;
    box-shadow: -2px 0 12px rgba(0,0,0,.15);
    padding-top: 70px;
    z-index: 21;
    display: none;         /* Now hidden by default */
    transition: right .3s;
  }
  .nav-menu.active {
    display: flex;         /* Only visible if .active */
    right: 0;
  }
  .nav-menu li {
    margin-bottom: 22px;
    text-align: left;
  }
  /* Hamburger only visible on mobile/tablet */
  .hamburger {
    display: block;
    position: absolute;
    top: -10px;
    right: 24px;
    z-index: 30;
  }
  .overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.36);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }
  .overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
}
/* Modal */
.welcome-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.modal-content input {
  padding: 10px;
  width: 80%;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.modal-content button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #e9c916;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-content button:hover {
  background: #ffe877;
}

/* Saludo */
.saludo-usuario {
  position: fixed;
  top: 10px;
  right: 10px;
  background: #ffe877;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  display: none;
  z-index: 10000;
}

/* Modo oscuro */
.dark-mode .modal-content {
  background: #2a2a2a;
  color: #fff;
}

.dark-mode .modal-content input {
  background: #1a1a1a;
  color: #fff;
  border-color: #444;
}

.dark-mode .saludo-usuario {
  background: #444;
  color: #ffe877;
}

/* === Sección Hero con diseño responsivo === */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 56px 6%;
  background: linear-gradient(94deg, #f7e678 60%, #e9c916 90%);
}
/* Contenedor del texto */
.hero-content {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
/* Título principal */
.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 1rem;
  color: #222;
}
/* Subtítulo */
.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: #444;
}
/* Imagen alineada */
.hero-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}
.hero-btn {
  background: #e9c916;
  color: #333;
  font-weight: bold;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: background .2s;
}
.hero-btn:hover,
.hero-btn:focus {
  background: #fff3b0;
  color: #e9c916;
}
.hero-image img {
  width: 390px;
  max-width: 90vw;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
@media (max-width: 900px) {
   .hero {
    flex-direction: column;
    text-align: center;
    padding: 52px 3%;
  }
  .hero-image img {
    width: 98vw;
    margin-top: 24px;
  }
  .hero-content {
    text-align: center;
  }
}
.services {
  background: linear-gradient(102deg, #f7e678 60%, #eddc7a 100%);
  padding: 64px 0 48px 0;
  margin: 0;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.section-title {
  font-size: 2.1rem;
  font-weight: bold;
  color: #e9c916;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
  text-align: center;
}
.section-description {
  font-size: 1.12rem;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 32px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .17s, box-shadow .22s;
  height: 100%;
}
.service-card:focus-within,
.service-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 14px 38px rgba(233,201,22,0.18);
}
.service-icon {
  margin-bottom: 24px;
  width: 88px;
  height: 88px;
  object-fit: cover;
}
.service-title {
  font-size: 1.15rem;
  color: #e9c916;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}
.service-description {
  color: #333;
  font-size: 0.98rem;
  text-align: center;
  margin-bottom: 0;
  flex-grow: 1;
}
.btn-saber-mas {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF; /* Azul accesible */
  color: #ffffff; /* Texto blanco */
  font-weight: 500;
  font-size: 1rem;
  border-radius: 6px;
  transition: background

}

.btn-saber-mas:hover {
  background-color: #d7b70f;
  transform: scale(1.03);
}


@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .services {
    padding: 44px 0 16px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-card {
    padding: 22px 10px 18px 10px;
  }
  .service-icon {
    width: 74px;
    height: 74px;
  }
  .container {
    padding: 0 6px;
  }
}
.service-cta {
  display: inline-block;
  margin-top: auto;
  background: #e9c916;
  color: #333;
  font-weight: bold;
  padding: 10px 30px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background .2s, color .2s;
}
.service-cta:hover, .service-cta:focus {
  background: #fff3b0;
  color: #e9c916;
  outline: 2px solid #e9c916;
}

/* Mejor contraste y foco tarjeta */
.service-card:focus-within,
.service-card:focus,
.service-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 14px 38px rgba(233,201,22,0.18);
  border: 2px solid #e9c916;
}
/* Hero para obras civiles */
.hero.hero-obras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 56px 6%;
  background: linear-gradient(94deg, #f7e678 60%, #e9c916 90%);
}
.hero-content {
  max-width: 500px;
}
.hero-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-subtitle {
  font-size: 1.18rem;
  color: #444;
  margin-bottom: 36px;
}
.hero-btn {
  background: #e9c916;
  color: #333;
  font-weight: bold;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: background .2s;
  display: inline-block;
  margin-top: 12px;
}
.hero-btn:hover,
.hero-btn:focus {
  background: #fff3b0;
  color: #e9c916;
}
.hero-image img {
  width: 400px;
  max-width: 90vw;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

@media(max-width: 900px) {
  .hero.hero-obras {
    flex-direction: column;
    text-align: center;
    padding: 52px 3% 30px 3%;
    gap: 18px;
  }
  .hero-content {
    max-width: 96vw;
    margin: 0 auto;
  }
  .hero-image img {
    width: 98vw;
    margin-top: 24px;
  }
}

/* Secciones intro, beneficios, pasos y CTA */
.obras-intro, .obras-beneficios, .obras-pasos, .obras-cta {
  background: #fff;
  padding: 38px 0 28px 0;
}
.obras-intro h2, .obras-beneficios h2, .obras-pasos h2, .obras-cta h2 {
  font-size: 1.7rem;
  color: #e9c916;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
.obras-intro p {
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.07rem;
  text-align: center;
}

/* Beneficios: lista con icono SVG */
.obras-list {
  list-style: none;
  padding: 0; margin: 0;
  max-width: 880px;
  margin: 0 auto;
}
.obras-list li {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  color: #333;
  margin-bottom: 18px;
  background: #fff3b0;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(233,201,22,0.08);
  padding: 12px 18px;
}
.obras-list li svg {
  margin-right: 13px;
  flex-shrink: 0;
}

/* Proceso de pasos */
.obras-proceso {
  counter-reset: paso;
  padding-left: 0;
  margin: 0 auto 0 auto;
  max-width: 800px;
}
.obras-proceso li {
  position: relative;
  font-size: 1rem;
  color: #444;
  margin-bottom: 14px;
  padding-left: 38px;
  line-height: 1.6;
}
.obras-proceso li::before {
  counter-increment: paso;
  content: counter(paso) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  color: #e9c916;
  font-weight: bold;
}

/* CTA final */
.obras-cta {
  text-align: center;
  background: linear-gradient(102deg, #f7e678 60%, #eddc7a 100%);
  padding: 46px 0 38px 0;
}
.obras-cta .hero-btn {
  margin-top: 22px;
  font-size: 1.15rem;
  padding: 12px 36px;
}

@media (max-width: 680px) {
  .obras-intro, .obras-beneficios, .obras-pasos, .obras-cta {
    padding: 24px 0 16px 0;
  }
  .obras-intro h2, .obras-beneficios h2, .obras-pasos h2, .obras-cta h2 {
    font-size: 1.15rem;
    margin-bottom: 11px;
  }
  .obras-list li {
    font-size: .97rem;
    padding: 8px 10px;
    margin-bottom: 10px;
  }
  .obras-proceso li {
    font-size: .95rem;
    padding-left: 26px;
  }
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.back-home-btn {
  background: #e9c916;
  color: #333;
  font-weight: bold;
  padding: 10px 34px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background .2s, color .2s;
  font-size: 1.09rem;
  display: inline-block;
}
.back-home-btn:hover, .back-home-btn:focus {
  background: #fff3b0;
  color: #e9c916;
  outline: 2px solid #e9c916;
}.proyectos {
  background: #fff3b0;
  padding: 64px 0 48px 0;
}
.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.proyecto-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  padding: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: transform .17s, box-shadow .22s;
}
.proyecto-card:focus-within,
.proyecto-card:hover {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 14px 38px rgba(233,201,22,0.16);
  border: 2px solid #e9c916;
}
.proyecto-img {
  width: 100%; 
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  object-fit: cover;
  max-height: 180px;
}
.proyecto-title {
  font-size: 1.08rem;
  color: #e9c916;
  font-weight: bold;
  padding: 23px 16px 10px 16px;
  text-align: center;
}
.proyecto-desc {
  color: #333;
  font-size: .97rem;
  padding: 0 16px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .proyectos-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (max-width: 600px) {
  .proyectos-grid { grid-template-columns: 1fr; gap: 17px; }
  .proyectos { padding: 32px 0 18px 0; }
}

.qr-pago-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  max-width: 360px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

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

.qr-title {
  font-size: 1.6rem;
  color: #222;
  margin-bottom: 8px;
}

.qr-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 16px;
}

.qr-img-box {
  border: 4px solid #e9e9e9;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: white;
}

.qr-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.qr-key {
  font-size: 1rem;
  color: #111;
}

/* 🌗 Modo oscuro */
.dark-mode .qr-pago-card {
  background-color: #2a2a2a;
  color: #f1f1f1;
  box-shadow: 0 4px 16px rgba(255,255,255,0.05);
}

.dark-mode .qr-title {
  color: #ffe877;
}

.dark-mode .qr-subtitle,
.dark-mode .qr-key {
  color: #ccc;
}

.dark-mode .qr-img-box {
  background-color: #1a1a1a;
  border-color: #444;
}
.pago-metodos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* QR Box */
.qr-box {
  text-align: center;
  flex: 1;
  max-width: 160px;
}

.qr-img {
  width: 100%;
  max-width: 120px;
  border-radius: 8px;
  border: 2px solid #eee;
  padding: 6px;
  background: #fff;
}

.qr-label {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #333;
}

/* PayPal */
.paypal-box {
  flex: 1;
  text-align: center;
  max-width: 160px;
}

.paypal-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border: 2px solid #0070ba;
  border-radius: 8px;
  padding: 10px;
  color: #0070ba;
  transition: all 0.3s ease;
}

.paypal-button img {
  width: 36px;
  margin-bottom: 6px;
}

.paypal-button:hover {
  background-color: #0070ba;
  color: #fff;
}

.paypal-button:hover img {
  filter: brightness(0) invert(1);
}

/* Modo Oscuro */
.dark-mode .qr-box .qr-label {
  color: #ccc;
}

.dark-mode .paypal-button {
  background-color: #1a1a1a;
  border-color: #09c;
  color: #09c;
}

.dark-mode .paypal-button:hover {
  background-color: #09c;
  color: #fff;
}

.dark-mode .paypal-button:hover img {
  filter: brightness(0) invert(1);
}

/* ====== TESTIMONIOS ====== */
.testimonios {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.testimonios .section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: #333;
}

/* Testimonios Grid */
.testimonios-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding-bottom: 40px;
}

.testimonio-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.testimonio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.testimonio-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 12px;
  font-style: italic;
}

.testimonio-author {
  font-weight: bold;
  color: #222;
}

.testimonio-rol {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.testimonio-rating {
  color: #e9c916;
  font-size: 1.2rem;
}

/* Responsive para móviles: scroll horizontal */
@media (max-width: 768px) {
  .testimonios-carousel {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
  }

  .testimonio-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    min-width: 280px;
  }
}

/* Dark mode */
.dark-mode .testimonio-card {
  background-color: #2a2a2a;
  color: #f0f0f0;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.dark-mode .testimonio-text {
  color: #ccc;
}

.dark-mode .testimonio-rol {
  color: #aaa;
}
/* ====== ESTADÍSTICAS ====== */
.estadisticas {
  background-color: #fff3b0;
  padding: 60px 20px;
}

.estadisticas-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.counter-box {
  text-align: center;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  width: 200px;
  transition: transform 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-6px);
}

.counter {
  font-size: 3rem;
  font-weight: bold;
  color: #e9c916;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.counter-label {
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
}

/* Modo oscuro */
.dark-mode .estadisticas {
  background-color: #1a1a1a;
}

.dark-mode .counter-box {
  background-color: #2a2a2a;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.05);
}

.dark-mode .counter {
  color: #ffe877;
}

.dark-mode .counter-label {
  color: #ccc;
}


.contacto {
  background: #fff3b0;
  padding: 60px 0 36px 0;
}
.contacto-form {
  max-width: 525px;
  margin: 30px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  padding: 34px 26px;
  border-radius: 12px;
  box-shadow: 0 6px 24px #e9c91618;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
label {
  color: #444;
  font-weight: 600;
  font-size: 0.99rem;
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  border: 1.5px solid #e9c916;
  border-radius: 5px;
  font-size: 1rem;
  padding: 8px 10px;
  margin-top: 1px;
  background: #fff3b0;
  color: #333;
  font-family: inherit;
  transition: border-color .18s;
}
input:focus, select:focus, textarea:focus {
  border-color: #baa711;
  outline: 2px solid #e9c916;
  background: #fff;
}
.hero-btn {
  width: 100%;
  margin-top: 19px;
  cursor: pointer;
}
@media (max-width: 600px) {
  .contacto-form { padding: 18px 6px; }
}
.footer-main {
  background: #e9c916;
  color: #333;
  padding: 34px 0 14px 0;
  text-align: center;
  font-size: 1rem;
}
.footer-content {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}
.footer-brand {
  font-weight: bold;
  letter-spacing: .2px;
}
.footer-contact {
  margin-bottom: 2px;
  font-size: 0.98rem;
}
.footer-sep { color: #baa711; }
.footer-contact a {
  color: #333;
  font-weight: 600;
  text-decoration: underline;
  margin: 0 7px;
  transition: color .20s;
}
.footer-contact a:hover,
.footer-contact a:focus {
  color: #e9c916;
  background: #fff3b0;
  outline: 2px solid #e9c916;
  text-decoration: none;
  border-radius: 4px;
}
.footer-social {
  margin-top: 4px;
  display: flex;
  gap: 18px;
  justify-content: center;
}
.footer-social a svg {
  transition: filter .16s, transform .18s;
  width: 36px;
  height: 36px;
  display: inline-block;
}
.footer-social a:hover svg,
.footer-social a:focus svg {
  filter: drop-shadow(0 2px 10px #fff3b088) brightness(1.13);
  transform: scale(1.15) rotate(-7deg);
}
@media (max-width: 560px) {
  .footer-social { gap: 14px;}
  .footer-social a svg { width: 32px; height: 32px;}
}

/* === Estilos agregados para sobre-nosotros === */

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* HEADER */
.header {
  background: linear-gradient(94deg, #f7e678 40%, #e9c916 95%);
  color: #333;
  padding: 12px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.logo-icon {
  height: 72px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.logo-text .empresa {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  text-transform: uppercase;
}

.logo-text .eslogan {
  font-size: 0.95rem;
  font-weight: 400;
  color: #444;
  font-style: italic;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* NAVIGATION */
.nav-menu ul {
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 8px;
  position: relative;
}

.nav-menu li a.active,
.nav-menu li a:hover {
  color: #000;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #222;
  transition: width 0.3s;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

/* ABOUT PAGE */
.about-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-page .hero {
  text-align: center;
  margin-bottom: 40px;
}

.about-page .hero h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
  color: #222;
}

.about-page .hero p {
  font-size: 1.1rem;
  color: #555;
}

.section {
  margin-bottom: 36px;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  border-left: 4px solid #e9c916;
  padding-left: 12px;
  color: #222;
}

.section h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #333;
}

.values-list,
.services-list {
  list-style: none;
  padding-left: 0;
}

.values-list li,
.services-list li {
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}

.values-list li::before,
.services-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #e9c916;
  font-weight: bold;
}

.mission-vision {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.mission-vision .col {
  flex: 1;
  min-width: 280px;
}

.commitment p,
.team p,
.history p {
  line-height: 1.6;
  color: #444;
}

.cta {
  text-align: center;
  background: #fdf8d6;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background-color: #e9c916;
  color: #222;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #d7b70f;
}
/* =========================
   SECCIÓN ASESORÍAS ESPECIALIZADAS
========================= */

.asesorias {
  padding: 60px 20px;
  background: #fff;
}

.asesorias .section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #e9c916;
  margin-bottom: 10px;
}

.asesorias .section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.asesorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.asesoria-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.asesoria-card:hover,
.asesoria-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(233, 201, 22, 0.25);
}

.asesoria-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #e9c916;
}

.asesoria-title {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
}

.asesoria-text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

.asesoria-precio {
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

/* Responsividad */
@media (max-width: 600px) {
  .asesorias {
    padding: 40px 15px;
  }

  .asesoria-card {
    padding: 20px;
  }

  .asesoria-icon {
    font-size: 2.5rem;
  }
}
/* =========================
   SECCIÓN PLANES DE PROYECTO
========================= */
.planes {
  background: #f9f9f9;
  padding: 70px 20px;
}

.planes .section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #e9c916;
  margin-bottom: 10px;
}

.planes .section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.plan-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.plan-card:hover,
.plan-card:focus-within {
  transform: translateY(-8px);
  border-color: #e9c916;
  box-shadow: 0 12px 28px rgba(233, 201, 22, 0.2);
}

.plan-card.destacado {
  border: 2px solid #e9c916;
  background: #fffdee;
}

.plan-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
}

.plan-description {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.plan-price {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .planes {
    padding: 40px 15px;
  }

  .plan-card {
    padding: 25px;
  }
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 16px;
  background: #e9c916;
  color: #333;
  border: none;
  font-size: 1.5rem;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  display: none;
  z-index: 1000;
}
.scroll-top:hover {
  background: #fff3b0;
}
/*NOfitación flotante de Whatsapp*/
.btn-whatsapp {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* === DARK MODE GLOBAL === */
.dark-mode body {
  background-color: #121212;
  color: #f0f0f0;
}

/* Textos generales */
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode p,
.dark-mode label,
.dark-mode input,
.dark-mode select,
.dark-mode textarea,
.dark-mode .section-title,
.dark-mode .section-description {
  color: #f0f0f0;
}

/* Enlaces */
.dark-mode a {
  color: #ffe877;
}
.dark-mode a:hover {
  color: #fff3b0;
}

/* Hero */
.dark-mode .hero,
.dark-mode .hero.hero-obras {
  background: linear-gradient(120deg, #1a1a1a 50%, #222 100%);
}
.dark-mode .hero-title {
  color: #fff;
}
.dark-mode .hero-subtitle {
  color: #ccc;
}
.dark-mode .hero-btn {
  background: #ffe877;
  color: #222;
}
.dark-mode .hero-btn:hover {
  background: #fff3b0;
}

/* Header */
.dark-mode .header,
.dark-mode .nav-menu-container {
  background-color: #1a1a1a;
  color: #fff;
}
.dark-mode .nav-menu a {
  color: #eee;
}
.dark-mode .nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffe877;
}

/* Botón Modo Oscuro */
.dark-mode #toggle-theme,
.dark-mode #toggle-theme-mobile {
  background-color: #333;
  color: #f5f5f5;
  border-color: #999;
}

/* Servicios */
.dark-mode .services {
  background: linear-gradient(94deg, #2a2a2a 50%, #1f1f1f 100%);
}
.dark-mode .service-card {
  background: #1e1e1e;
  color: #f0f0f0;
  border: 1px solid #333;
}
.dark-mode .service-title {
  color: #ffe877;
}
.dark-mode .btn-saber-mas,
.dark-mode .service-cta {
  background: #ffe877;
  color: #222;
}
.dark-mode .btn-saber-mas:hover,
.dark-mode .service-cta:hover {
  background: #fff3b0;
  color: #000;
}

/* Asesorías */
.dark-mode .asesoria-card {
  background: #1e1e1e;
  color: #f0f0f0;
}

/* Planes */
.dark-mode .planes {
  background-color: #1c1c1c;
}
.dark-mode .plan-card {
  background-color: #1e1e1e;
  color: #f0f0f0;
  border-color: #444;
}
.dark-mode .plan-card.destacado {
  background-color: #2a2a2a;
}
.dark-mode .plan-title {
  color: #ffe877;
}

/* Testimonios */
.dark-mode .testimonios {
  background: #1e1e1e;
}
.dark-mode .testimonio-card {
  background: #2a2a2a;
  color: #f0f0f0;
}

/* Contacto */
.dark-mode .contacto {
  background-color: #1e1e1e;
}
.dark-mode .contacto-form {
  background-color: #2a2a2a;
  color: #f0f0f0;
}
.dark-mode input,
.dark-mode select,
.dark-mode textarea {
  background: #333;
  color: #fff;
  border-color: #666;
}

/* Footer */
.dark-mode .footer-main {
  background-color: #1a1a1a;
  color: #f0f0f0;
}
.dark-mode .footer-contact a {
  color: #ffe877;
}
.dark-mode .footer-contact a:hover {
  background: #2a2a2a;
  color: #fff3b0;
}

/* Scroll to top */
.dark-mode .scroll-top {
  background-color: #ffe877;
  color: #222;
}

/* Whatsapp Floating Button */
.dark-mode .btn-whatsapp {
  background-color: #128c7e;
}

/* Overlay */
.dark-mode .overlay {
  background: rgba(255, 255, 255, 0.1);
}



/* Hamburguesa + menú móvil */
.dark-mode .nav-menu-container {
  background: #111;
}


/* Sólo muestra botón escritorio */
#toggle-theme {
  display: inline-flex;
}

/* Esconde el de móvil por defecto */
#toggle-theme-mobile {
  display: none;
}

/* En móvil, intercambia visibilidad */
@media (max-width: 768px) {
  #toggle-theme {
    display: none;
  }

  #toggle-theme-mobile {
    display: inline-flex;
    margin-top: 16px;
    align-self: flex-end;
    margin-right: 7rem;
    
  }

  .nav-menu-container {
    flex-direction: column;
    align-items: flex-end;
  }
}
/* Control de visibilidad según dispositivo */
.desktop-only { display: inline-block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
  .desktop-only { display: none; }


  .mobile-only {
    display: inline-block;
    margin-top: 14px;
    align-self: flex-end;
  }
}


/* Estilo para botones de tema */
.theme-toggle {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color: inherit;
  transition: transform 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.2);
}

/* Visibilidad responsive */
.desktop-only { display: inline-flex; }
.mobile-only { display: none; }

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only {
    display: inline-flex;
    margin-top: 1rem;
    align-self: flex-end;
    margin-right: 2rem;
  }
}
/* === SWITCH VISUAL DE MODO OSCURO === */
.switch-theme {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  margin-left: 12px;
  cursor: pointer;
}

.switch-theme input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  background-color: #ccc;
  border-radius: 34px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background-color 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Activado (modo oscuro) */
.switch-theme input:checked + .slider {
  background-color: #e9c916;
}

.switch-theme input:checked + .slider::before {
  transform: translateX(24px);
}

/* Oscurece switch en dark mode base */
.dark-mode .slider {
  background-color: #444;
}
.dark-mode .switch-theme input:checked + .slider {
  background-color: #ffe877;
}

/* Corrige visibilidad de enlaces activos en modo oscuro */
.dark-mode .nav-menu a.active {
  color: #ffe877; /* o blanco (#fff) */
}



/* 🔧 Visibilidad según tamaño de pantalla */
.desktop-only {
  display: inline-block !important;
}

.mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: inline-block !important;
  }
}

.counter-box {
  text-align: center;
  padding: 20px;
  background: #fff3b0;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  max-width: 200px;
  margin: 0 auto;
}

.counter {
  font-size: 3.2rem;
  font-weight: bold;
  color: #e9c916;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.counter-label {
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
}

/* Dark mode */
.dark-mode .counter-box {
  background: #1f1f1f;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.08);
}

.dark-mode .counter {
  color: #ffe877;
}

.dark-mode .counter-label {
  color: #ccc;
}

