:root {
  --hc-primary: #00b3a4;
  --hc-primary-dark: #00837a;
  --hc-accent: #1f3c88;
  --hc-bg: #f4f6fb;
  --hc-text: #333333;
  --hc-muted: #6b7280;
}

/* RESET BÁSICO */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--hc-bg);
  color: var(--hc-text);
  line-height: 1.6;
}
html {
  scroll-behavior: smooth;
}

/* CONTENEDOR GENERAL */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

/* ===== CABECERA Y LOGO (AJUSTE DEFINITIVO) ===== */

/* Cabecera un poco más fina */
.site-header {
  background-color: #ffffff;
  padding: 6px 5%;
}

/* Logo a la izquierda, menú a la derecha */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Enlace del logo */
.logo-link {
  display: flex;
  align-items: center;
}

/* TAMAÑO REAL DEL LOGO */
.logo-image {
  width: 220px !important;      /* aquí mandas tú: 200–240px según te guste */
  height: auto !important;
  max-height: none !important;
  display: block;
}

/* Ajuste en móvil: logo un poco más pequeño */
@media (max-width: 768px) {
  .site-header {
    padding: 4px 4%;
  }

  .logo-image {
    width: 170px !important;
  }
  width: auto;
  display: block;
}

.site-header {
  padding: 8px 0;    /* hace que el header no se haga enorme */
}

@media (max-width: 768px) {
  .logo-img {
    height: 56px;    /* un poco más pequeño en móvil */
  }
}
.logo-image {
  height: 72px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--hc-accent);
  padding-bottom: 0.15rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background-color: var(--hc-primary);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: var(--hc-primary-dark);
}

.main-nav a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  background-image: linear-gradient(
      120deg,
      rgba(0, 179, 164, 0.12),
      rgba(31, 60, 136, 0.08)
    ),
    url("img/hero-cleaning.jpg");
  background-size: cover;
  background-position: center;
  padding: 4.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.3rem;
  margin: 0 0 1rem;
  color: #0f172a;
}

.hero-text p {
  margin: 0 0 0.9rem;
}

.hero-sub {
  color: var(--hc-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0 0.7rem;
}

.mini-note {
  font-size: 0.85rem;
  color: var(--hc-muted);
}

/* HERO LADO DERECHO */

.hero-image-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.3rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: var(--hc-accent);
}

.hero-badge {
  align-self: flex-start;
  background-color: #ffffff;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-weight: 700;
  color: var(--hc-primary-dark);
  font-size: 0.9rem;
}

.badge-sub {
  font-size: 0.85rem;
  color: var(--hc-muted);
}

/* BOTONES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background-color: var(--hc-primary);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 179, 164, 0.35);
}

.btn-primary:hover {
  background-color: var(--hc-primary-dark);
  box-shadow: 0 12px 24px rgba(0, 179, 164, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--hc-accent);
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

/* SECCIONES GENERALES */

.section {
  padding: 3.2rem 0;
}

.section-light {
  background-color: #ffffff;
}

.section-intro {
  max-width: 640px;
  color: var(--hc-muted);
}

h2 {
  font-size: 1.7rem;
  margin: 0 0 0.9rem;
  color: var(--hc-accent);
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

/* LISTAS */

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.feature-list li::before {
  content: "✓";
  color: var(--hc-primary);
  margin-top: 0.1rem;
}

/* GRID GENERIC */

.grid {
  display: grid;
  gap: 1.4rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr);
  align-items: start;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* TARJETAS */

.card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.3rem 1.2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.service-card ul {
  font-size: 0.9rem;
}

/* PASOS */

.step-card {
  position: relative;
  padding-top: 1.9rem;
}

.step-number {
  position: absolute;
  top: 0.5rem;
  left: 1.2rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: var(--hc-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

/* GALERÍA */

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  padding: 0;
  overflow: hidden;
}

.gallery-image {
  height: 180px;
  background-color: #e5e7eb;
  background-size: cover;
  background-position: center;
}

.gallery-card h3,
.gallery-card p {
  padding: 0.75rem 1rem;
}

.img-comm {
  background-image: url("img/trabajo-comunidad.jpg");
}

.img-obra {
  background-image: url("img/trabajo-obra.jpg");
}

.img-ofi {
  background-image: url("img/trabajo-oficina.jpg");
}

/* ZONA */

.zona-highlight {
  background-color: #e0f7f4;
  border-radius: 12px;
  padding: 1.2rem 1.1rem;
  color: var(--hc-text);
}

/* CONTACTO */

.section-contact {
  background-color: #edf2ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 1.8rem;
}

.contact-form {
  max-width: 520px;
}

.form-group {
  margin-bottom: 0.85rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--hc-primary);
  box-shadow: 0 0 0 1px rgba(0, 179, 164, 0.35);
}

textarea {
  resize: vertical;
}

.contact-info .contact-card {
  height: 100%;
}

.mini-note {
  font-size: 0.85rem;
}

/* FOOTER */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.footer-inner {
  padding: 1rem 1.5rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--hc-muted);
}

.footer-extra {
  max-width: 360px;
}

/* BOTÓN WHATSAPP FLOTANTE */

/* BOTÓN WHATSAPP FLOTANTE */
/* BOTÓN WHATSAPP FLOTANTE */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;              /* verde oficial WhatsApp */
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;

  /* por si queda texto dentro (WhatsApp, Wha, etc.) */
  font-size: 0;
  color: transparent;
}

/* Imagen del icono */
.whatsapp-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

/* Efecto al pasar el ratón (en desktop) */
.whatsapp-float:hover {
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.75);
  transform: translateY(-2px);
}

/* Ajuste ligero para pantallas pequeñas */
@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .main-nav {
    gap: 0.9rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
  }

  .hero {
    padding: 3.2rem 0 3rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .services-grid,
  .steps-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  }
}
/* ===== CABECERA Y LOGO ===== */

/* La cabecera ocupa una fila: logo a la izquierda, menú a la derecha */
.site-header {
  background-color: #ffffff;
  padding: 10px 5%;
}

/* El contenedor interior alinea logo y menú en una línea */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Enlace del logo (por si el navegador lo trata como inline) */
.logo-link {
  display: flex;
  align-items: center;
}

/* TAMAÑO DEL LOGO */
/* Aquí es donde lo hacemos grande */
.logo-image {
  height: 80px;    /* sube o baja este valor: 70–90px según te guste */
  width: auto;
  display: block;
}

/* En móvil lo hacemos un poco más pequeño para que todo quepa bien */
@media (max-width: 768px) {
  .logo-image {
    height: 60px;
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 90px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: red;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  z-index: 9999;
  /* SEM opacity 0, SEM pointer-events none, SEM transform */
}
/* Imagens dos cartões de trabalhos */
.trabajo-card img {
  width: 100%;
  height: 210px;          /* ajusta a altura se quiseres mais alto/baixo */
  object-fit: cover;      /* preenche sem deformar, cortando o excesso */
  border-radius: 24px 24px 0 0; /* segue o mesmo arredondado do cartão */
  display: block;
}
/* Grelha dos trabalhos */
.trabajos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.trabajo-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.trabajo-card h3 {
  margin-top: 16px;
  margin-bottom: 8px;
}

.trabajo-card p {
  margin: 0;
}

/* Imagens dos cartões */
.trabajo-card img {
  width: 100%;
  height: 210px;      /* se quiseres mais alto/baixo, ajusta aqui */
  object-fit: cover;
  border-radius: 20px 20px 12px 12px;
  display: block;
}




