/* ==========================================================
   ROSADIOR JR — Estilos generales
   Enfoque mobile-first: las reglas base son para mobile,
   los @media (min-width) van agregando estilos para
   pantallas más grandes.
   ========================================================== */

/* ----------------------------
   1. Variables y reset
   ---------------------------- */
:root {
  --color-blanco: #ffffff;
  --color-negro: #1a1a1a;
  --color-negro-total: #000000;
  --color-gris-100: #f5f5f5;
  --color-gris-300: #e2e2e2;
  --color-gris-500: #8a8a8a;
  --color-gris-700: #4a4a4a;

  --fuente: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radio: 14px;
  --sombra: 0 10px 30px rgba(26, 26, 26, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fuente);
  color: var(--color-negro);
  background: var(--color-blanco);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Botones reutilizables */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-negro);
  color: var(--color-blanco);
}

.btn-primary:hover {
  background: var(--color-negro-total);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-blanco);
  color: var(--color-blanco);
}

.btn-outline:hover {
  background: var(--color-blanco);
  color: var(--color-negro);
}

/* ----------------------------
   2. Header
   ---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gris-300);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--color-negro);
}

.header-cta {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ----------------------------
   3. Hero (reemplaza el banner original)
   Fondo en escala de grises/negro + animación CSS
   genérica de calzado: un rastro de huellas que
   avanza en bucle sobre el fondo.
   ---------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 20px 40px;
  background: linear-gradient(160deg, #2b2b2b 0%, var(--color-negro-total) 100%);
  color: var(--color-blanco);
}

.hero-animation {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Rastro de huellas: se desplaza en bucle en diagonal */
.footprint-trail {
  position: absolute;
  bottom: 8%;
  left: -20%;
  display: flex;
  align-items: center;
  gap: 46px;
  animation: caminar 9s linear infinite;
}

.footprint {
  width: 18px;
  height: 26px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50% 50% 45% 45%;
  opacity: 0;
  animation: aparecer 9s linear infinite;
}

.footprint--right {
  transform: translateY(-18px);
}

.footprint:nth-child(1) { animation-delay: 0s; }
.footprint:nth-child(2) { animation-delay: 1.2s; }
.footprint:nth-child(3) { animation-delay: 2.4s; }
.footprint:nth-child(4) { animation-delay: 3.6s; }
.footprint:nth-child(5) { animation-delay: 4.8s; }

@keyframes caminar {
  0%   { transform: translateX(0); }
  100% { transform: translateX(160vw); }
}

@keyframes aparecer {
  0%, 100% { opacity: 0; }
  10%, 60% { opacity: 1; }
  80%      { opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  opacity: 0.75;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* Respeta la preferencia del usuario de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .footprint-trail,
  .footprint {
    animation: none;
  }
}

/* ----------------------------
   4. Sección de contacto
   ---------------------------- */
.info {
  padding: 40px 0;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 460px;
  margin-inline: auto;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--color-gris-700);
  font-size: 0.98rem;
}

.info-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-negro);
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.info-item a:hover {
  color: var(--color-negro-total);
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-gris-100);
  color: var(--color-gris-700);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  background: var(--color-negro);
  color: var(--color-blanco);
}

/* ----------------------------
   5. Mapa + reseña de Google
   ---------------------------- */
.map-section {
  background: var(--color-gris-100);
  padding: 32px 20px 40px;
  text-align: center;
}

.map-frame {
  max-width: 900px;
  height: 260px;
  margin-inline: auto;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
}

.review-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--color-gris-700);
  font-weight: 500;
  font-size: 0.95rem;
}

.review-link svg {
  width: 20px;
  height: 20px;
  color: var(--color-negro);
}

.review-link:hover {
  color: var(--color-negro-total);
}

/* ----------------------------
   6. Footer
   ---------------------------- */
.site-footer {
  padding: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-gris-500);
  background: var(--color-blanco);
}

/* ==========================================================
   Breakpoints — tablet en adelante
   ========================================================== */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .map-frame {
    height: 320px;
  }
}

/* ==========================================================
   Breakpoints — desktop
   ========================================================== */
@media (min-width: 960px) {
  .info-list {
    max-width: 560px;
  }
}
