/* -------- RESET SENCILLO -------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f3f3; /* FONDO CLARO */
  color: #222222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* -------- LAYOUT GENERAL -------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------- TOPBAR / CABECERA -------- */
.topbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff; /* CABECERA CLARA */
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-wrap img {
  height: 80px; /* logo más grande, petición de la jefa */
}

/* Si en móvil queda muy grande, bajamos un poco */
@media (max-width: 480px) {
  .logo-wrap img {
    height: 64px;
  }
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* -------- BOTONES -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn-solid {
  background: #e63946;
  border-color: #e63946;
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.btn-solid:hover {
  background: #ff4b59;
  border-color: #ff4b59;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.6);
  color: #222222;
}

.btn-outline:hover {
  border-color: #000000;
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

/* enlace Instagram en topbar */
.topbar-contact .social-link {
  font-size: 0.85rem;
  opacity: 0.8;
  text-decoration: none;
}

.topbar-contact .social-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* -------- HERO -------- */
#hero {
  padding: 3rem 0 2.5rem;
  background: #ffffff; /* sección principal clara */
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
}

.hero-text {
  flex: 1.4;
  min-width: 260px;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 2.6vw + 1rem, 2.6rem);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  color: #444444;
  margin-bottom: 1.5rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Lado derecho: tarjeta de info */
.hero-side {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card {
  background: #f8f8f8;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.info-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.info-card ul {
  list-style: none;
}

.info-card li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* -------- SECCIONES GENERALES -------- */
section {
  padding: 2.5rem 0;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* -------- SERVICIOS -------- */
#servicios {
  background: #f6f6f6;
}

/* ahora flex para poder centrar 3 + 2 */
#servicios .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* centramos las tarjetas */
  gap: 1.5rem;
}

/* tarjetas de servicios: ancho base 260-320px para que en escritorio queden 3 arriba y 2 abajo */
#servicios .card {
  flex: 1 1 260px;
  max-width: 320px;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.card p {
  color: #444444;
  font-size: 0.95rem;
}

/* servicio destacado: revisión antes de compra */
.servicio-destacado {
  border-color: rgba(230, 57, 70, 0.4);
  box-shadow: 0 12px 28px rgba(230, 57, 70, 0.18);
}

/* -------- SOBRE EL TALLER -------- */
#taller {
  background: #ffffff;
}

#taller p {
  margin-bottom: 0.9rem;
  color: #444444;
}

/* -------- CONTACTO + MAPA -------- */
#contacto {
  background: #f6f6f6;
}

.contacto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list,
.horario-list {
  list-style: none;
  margin: 0.75rem 0 1.25rem;
}

.contact-list li,
.horario-list li {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.contact-list a {
  color: #e63946;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.map-placeholder {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Que el mapa sea fluido */
.map-placeholder iframe {
  width: 100%;
  min-height: 260px;
}

/* -------- FOOTER -------- */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #202020; /* aquí sí un poco más oscuro para contraste */
  padding: 1.5rem 0;
  margin-top: 1rem;
  color: #dddddd;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.footer-small {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
  }

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

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .topbar-contact {
    justify-content: flex-start;
  }
}
