/* ===== Reset básico ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; }
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #111;
  background: #f5f5f5;
}

/* ===== Helpers ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.page { padding: 40px 0 70px; }
.muted { opacity: .75; }

/* ===== Header ===== */
.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
}

.brand img { height: 52px; width: auto; display: block; }

.menu { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color .2s ease;
}
.menu a:hover { color: #67a42c; }

/* ===== Dropdown ===== */
.dropdown { position: relative; }
.dropbtn {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dropbtn:hover { color: #67a42c; }

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; 
  left: 0;
  min-width: 260px;
  background: #1d1d1d;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  z-index: 9999;
}
.dropdown-content a {
  display: block;
  padding: 10px 12px;
  color: #fff;
  border-radius: 8px;
  margin: 2px 0;
}
.dropdown-content a:hover { background: rgba(255,255,255,.10); }

/* Desktop hover + focus + puente anti-cierre */
@media (min-width: 769px){
  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content{
    display: block;
  }

  /* Puente invisible para evitar que se cierre al bajar el ratón */
  .dropdown::after{
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 14px;
  }
}

/* Mobile open class (por JS) */
.dropdown.open .dropdown-content { display: block; }


/* ===== Hero ===== */
.hero {
  position: relative;
  height: 56vh;
  min-height: 360px;
  overflow: hidden;
  background: #000;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
  opacity: 0.9;
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  color: #fff;
}
.kicker {
  display: inline-block;
  width: fit-content;
  background: rgba(0,0,0,.55);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .9rem;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  background: rgba(0,0,0,.55);
  padding: 10px 14px;
  border-radius: 12px;
  width: fit-content;
}
.lead {
  max-width: 720px;
  background: rgba(0,0,0,.55);
  padding: 12px 14px;
  border-radius: 12px;
}

/* Buttons */
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
}
.btn--primary { background: #67a42c; color: #fff; }
.btn--primary:hover { filter: brightness(0.95); }
.btn--ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); }

/* ===== Secciones ===== */
h2 { color: #67a42c; margin-bottom: 12px; font-size: 2rem; }
h3 { margin-bottom: 6px; }
section { margin-top: 36px; }

/* Grid 2 */
.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: start;
}

/* Media card */
.media-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}
.media-card img { width: 100%; height: 320px; object-fit: cover; display: block; }
.media-card figcaption { padding: 12px 14px; opacity: .8; }

/* Checklist */
.checklist { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.checklist li {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

/* Cards 3 */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}

/* Process */
.process__steps { display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}
.step__num {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(103,164,44,.15);
  color: #111;
  font-weight: 900;
  font-size: 1.1rem;
}

/* Gallery */
.gallery__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}
.gallery__grid img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}

/* CTA */
.cta__box{
  background: #111;
  color: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.cta__box h2{ color:#fff; }
.cta__box p{ opacity:.9; margin: 8px 0 14px; }


/* =========================
   SELECT SERVICIO (FIX WINDOWS/CHROME)
========================= */

/* Select cerrado */
.field select{
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

/* Cuando se abre el desplegable:
   Muchos navegadores fuerzan fondo blanco nativo.
   Por eso hacemos el texto oscuro para que se lea SIEMPRE. */
.field select option{
  background: #ffffff !important;  /* el navegador suele forzar blanco */
  color: #111111 !important;       /* 🔑 texto oscuro (se ve sí o sí) */
}

/* Opción seleccionada */
.field select option:checked{
  background: #6CBF3D !important;
  color: #111111 !important;
}

/* =========================
   SERVICIOS - MISMO TAMAÑO
========================= */

/* 1) Todas las tarjetas con la misma altura mínima */
.servicio-card{
  max-width: 980px;
  margin: 18px auto;
  align-items: stretch;      /* estira columnas */
}

/* 2) Imagen con altura fija */
.servicio-media{
  height: 180px;             /* ajusta a 160/180/200 si quieres */
}

/* 3) Contenido: misma “caja” para que no cambie por texto */
.servicio-info{
  display: flex;
  flex-direction: column;
  min-height: 180px;         /* igual que la imagen para equilibrio */
}

/* 4) La lista que no empuje el botón: límite suave */
.servicio-lista{
  margin-top: 10px;
  margin-bottom: 0;
  flex: 1;                   /* ocupa el espacio disponible */
}

/* 5) Botones siempre pegados abajo */
.servicio-cta{
  margin-top: 14px;
}

/* 6) En móvil: también ordenado */
@media (max-width: 900px){
  .servicio-media{
    height: 190px;
  }
  .servicio-info{
    min-height: auto;        /* en móvil que fluya */
  }
}

/* =========================
   HOVER PRO EN TARJETAS
========================= */

/* Ajusta el selector a tu clase real.
   En tu caso has usado .servicio-card en inspector, así que uso esa. */
.servicio-card{
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, filter .18s ease;
  will-change: transform;
}

/* Efecto al pasar ratón */
.servicio-card:hover{
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.22);
  filter: brightness(1.03);
}

/* Efecto si navegan con teclado (TAB) */
.servicio-card:focus-within{
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  outline: 2px solid rgba(123, 203, 64, .65); /* verde marca */
  outline-offset: 4px;
}

/* Opcional: que la imagen tenga un “zoom” suave al hover */
.servicio-card img{
  transition: transform .35s ease, filter .35s ease;
}

.servicio-card:hover img{
  transform: scale(1.05);
  filter: saturate(1.05);
}

/* Opcional: que los botones se vean más “clicables” al hover */
.servicio-card:hover .btn,
.servicio-card:hover .btn-pro{
  transform: translateY(-1px);
}

/* Respeta usuarios que prefieren menos animación */
@media (prefers-reduced-motion: reduce){
  .servicio-card,
  .servicio-card img{
    transition: none !important;
  }
  .servicio-card:hover{
    transform: none !important;
  }
}

.servicio-card{
  cursor: pointer;
}
/* =========================
   ESTILO POLÍTICA PRIVACIDAD
========================= */

.legal-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  line-height: 1.7;
  font-size: 16px;
  color: #222;
}

.legal-container h2,
.legal-container h3 {
  margin-top: 30px;
  color: #216942; /* verde Heriser */
}

.legal-container p {
  margin-bottom: 15px;
}

.legal-container span {
  font-weight: 600;
}

/* En móvil */
@media (max-width: 768px) {
  .legal-container {
    padding: 20px;
    font-size: 15px;
  }
}

.legal-header h1{
  font-size: 2.2rem;
  margin-bottom: 6px;
  color: #111;
}

.legal-toc{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 26px;
  padding: 14px;
  background: rgba(103,164,44,.08);
  border: 1px solid rgba(103,164,44,.18);
  border-radius: 14px;
}

.legal-toc a{
  text-decoration: none;
  color: #111;
  font-weight: 700;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.legal-toc a:hover{
  color: #216942;
  transform: translateY(-1px);
}

.legal-section{
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.legal-list{
  margin: 10px 0 0 18px;
}

.legal-footer{
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* En móvil */
@media (max-width: 768px){
  .legal-toc{
    grid-template-columns: 1fr;
  }
  .legal-header h1{
    font-size: 1.8rem;
  }
}
/* Mascota junto a "Nuestros servicios" */
/* ===== Mascota: tamaño controlado SIEMPRE ===== */
.services-title{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mascot{
  display: inline-flex;
  align-items: center;
  position: relative;
}

.mascota-alicate,
.mascot img{
  width: 64px !important;
  height: auto !important;
  max-width: 64px !important;
  display: block;
  object-fit: contain;
}

/* Bocadillo */
.mascot-bubble{
  position: absolute;
  left: 72px;
  top: -10px;
  background: rgba(0,0,0,.75);
  color: #fff;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: .2s;
  pointer-events: none;
}

.services-title:hover .mascot-bubble{
  opacity: 1;
  transform: translateY(0);
}

/* Móvil */
@media (max-width:600px){
  .mascota-alicate,
  .mascot img{
    width: 44px !important;
    max-width: 44px !important;
  }
  .mascot-bubble{
    left: 52px;
    font-size: 12px;
  }
}

/* Lista limpia dentro de la tarjeta */
.servicio-bullets{
  margin: 10px 0 0 18px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.servicio-bullets li{
  color: #111;
}
/* ===== Presupuesto + Mascota (2 columnas) ===== */
.quote__wrap{
  display: flex;
  gap: 24px;
  align-items: center;
}

.quote__col--form{
  flex: 1 1 680px;
  min-width: 0;
}

.quote__col--mascot{
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote__mascot{
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.35));
  transform: translateY(-280px);
}

/* Responsive: en móvil se apila y la mascota baja */
@media (max-width: 900px){
  .quote__wrap{
    flex-direction: column;
    align-items: stretch;
  }

  .quote__col--mascot{
    flex-basis: auto;
  }

  .quote__mascot{
    max-width: 220px;
    margin: 0 auto;
  }
}



