/* ============================================
   INICIO — Estilos específicos
   ============================================ */

/* --- HERO --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  gap: 3rem;
  align-items: center;
}

.hero-contenido { max-width: 520px; }

.hero h1 {
  margin: 0.75rem 0 1.25rem;
  color: var(--color-marron);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-acento);
}

.hero-subtitulo {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-imagen {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-imagen img {
  width: 100%;
  max-width: 480px;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radio);
  filter: grayscale(30%);
  box-shadow: var(--sombra);
}

.hero-imagen-placeholder {
  width: 100%;
  max-width: 480px;
  height: 500px;
  background: var(--color-crema);
  border: 2px dashed var(--color-acento);
  border-radius: var(--radio);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-texto-suave);
  font-size: 0.9rem;
  text-align: center;
}

.hero-imagen-placeholder span { font-size: 3rem; }

/* --- HISTORIA PREVIEW --- */
.historia-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.historia-foto img {
  width: 100%;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  filter: grayscale(100%);
}

.foto-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: #E8E0D5;
  border: 2px dashed var(--color-acento);
  border-radius: var(--radio);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-texto-suave);
  font-size: 0.9rem;
  text-align: center;
}

.foto-placeholder span { font-size: 2.5rem; }

/* --- SERVICIOS GRID --- */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.servicio-tarjeta {
  background: var(--color-blanco);
  border: 1px solid var(--color-crema);
  border-radius: var(--radio);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--sombra);
  transition: var(--transicion);
}

.servicio-tarjeta:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(74,55,40,0.14);
}

.servicio-icono {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.servicio-tarjeta h3 {
  margin-bottom: 0.5rem;
}

.servicio-tarjeta p {
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.precio {
  display: inline-block;
  font-family: var(--font-titulo);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-acento);
}

/* --- CONTACTO RÁPIDO --- */
.contacto-rapido {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.contacto-rapido address {
  font-style: normal;
  margin-top: 1rem;
  color: var(--color-texto-suave);
  line-height: 1.8;
}

.btn-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: #1877F2;
  color: white;
  border-radius: var(--radio);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-cuerpo);
  transition: var(--transicion);
}

.btn-facebook:hover {
  background: #145dbf;
  color: white;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: #25D366;
  color: white;
  border-radius: var(--radio);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-cuerpo);
  letter-spacing: 0.06em;
  transition: var(--transicion);
  border: none;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  color: white;
}

/* --- LOGO ICONO (cuando no hay imagen) --- */
.logo-icono {
  font-size: 1.8rem;
  color: var(--color-marron);
  line-height: 1;
}

/* Logo imagen real */
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .hero-contenido { max-width: 100%; }
  .hero-subtitulo { max-width: 100%; }
  .hero-botones { justify-content: center; }
  .hero-imagen { order: -1; }
  .hero-imagen-placeholder { max-width: 340px; height: 320px; }

  .historia-preview {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .historia-foto { order: -1; max-width: 320px; margin: 0 auto; }

  .servicios-grid { grid-template-columns: 1fr 1fr; }

  .contacto-rapido {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .contacto-rapido div:first-child > div[style] {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .servicios-grid { grid-template-columns: 1fr; }
}
