/* Nica's Shop — site styles */

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

:root {
  --red: #D42B2B;
  --red-dark: #a81f1f;
  --black: #0d0d0d;
  --dark: #141414;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --white: #ffffff;
  --gray: #aaaaaa;
  --yellow: #F5A623;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; }

/* ── TOPBAR ── */
.topbar {
  background: var(--red);
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 8px 16px;
  flex-wrap: wrap;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar svg { width: 14px; height: 14px; fill: #fff; flex-shrink: 0; }

/* ── NAV ── */
nav {
  background: var(--dark);
  border-bottom: 2px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 60px;
  overflow: visible;
}
.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
}
.logo span { color: var(--red); }
.logo small { display: block; font-size: 10px; color: var(--gray); letter-spacing: 3px; font-weight: 400; }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,.6);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  z-index: 101;
}
.nav-menu.open { max-height: 400px; padding: 8px 0; }
.nav-menu a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: color .2s, padding-left .2s;
}
.nav-menu a:hover { color: var(--red); padding-left: 32px; }
.nav-menu a:last-child { border-bottom: none; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 20px 48px;
  overflow: hidden;
  background: #000;
}
.hero-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(26,0,0,.65) 50%, rgba(0,0,0,.72) 100%);
  z-index: 2;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,43,43,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,43,43,.07) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 3;
}

@media (max-width: 767.98px) {
  .hero::before {
    content: none !important;
    display: none !important;
  }
  .hero {
    border-left: 0;
  }
  /* La primera línea vertical de la cuadrícula pegaba al borde y parecía un borde rojo */
  .hero-grid {
    left: 3px;
    width: auto;
    right: 0;
  }
}

.hero-badge,
.hero h1,
.hero p,
.hero-cta,
.hero-stats {
  position: relative;
  z-index: 5;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,43,43,.15);
  border: 1px solid var(--red);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  position: relative;
  width: fit-content;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

.hero h1 {
  position: relative;
  font-size: clamp(40px, 12vw, 72px);
  line-height: .95;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--red); }

.hero p {
  position: relative;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 340px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  padding: 16px 28px;
  border-radius: 4px;
  font-weight: 600;
  transition: background .2s, transform .1s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary:active { transform: scale(.98); background: var(--red-dark); }

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  padding: 15px 28px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  position: relative;
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  color: var(--red);
  line-height: 1;
}
.stat-item span { font-size: 11px; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; }
.stat-divider { width: 1px; background: var(--border); }

/* ── SECTION COMMONS ── */
section { padding: 60px 20px; }
.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-title span { color: var(--red); }
.section-desc { color: var(--gray); font-size: 15px; line-height: 1.7; margin-bottom: 40px; }

/* ── SERVICES ── */
#servicios { background: var(--dark); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 16px;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height .3s;
}
.service-card:hover::before,
.service-card:active::before { height: 100%; }
.service-card:hover { border-color: var(--red); transform: translateY(-2px); }
.service-icon {
  width: 44px; height: 44px;
  background: rgba(212,43,43,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.8; }
.service-card h3 {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 6px;
  line-height: 1.2;
}
.service-card p { font-size: 12px; color: var(--gray); line-height: 1.5; }

/* ── WHY US ── */
#nosotros { background: var(--black); }
.reasons-list { display: flex; flex-direction: column; gap: 20px; }
.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.reason-num {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  color: rgba(212,43,43,.25);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.reason-item h4 { font-size: 15px; letter-spacing: 1px; margin-bottom: 4px; }
.reason-item p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ── REVIEWS ── */
#resenas { background: var(--dark); }

/* Mobile: horizontal carousel */
.reviews-carousel {
  position: relative;
  margin-top: 4px;
}

.reviews-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -20px;
  width: calc(100% + 40px);
  padding: 0 20px;
  box-sizing: border-box;
}

.reviews-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.reviews-carousel .reviews-list {
  display: flex;
  flex-direction: row;
  gap: 14px;
  padding: 6px 0 4px;
  width: max-content;
  min-height: min-content;
}

.reviews-carousel .review-card {
  flex: 0 0 calc(100vw - 52px);
  max-width: min(calc(100vw - 52px), 420px);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.reviews-carousel .review-card:active {
  border-color: rgba(212, 43, 43, 0.45);
}

.review-stars { color: var(--yellow); font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p { font-size: 14px; color: #ccc; line-height: 1.6; margin-bottom: 14px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-author strong { font-size: 13px; display: block; }
.review-author span { font-size: 11px; color: var(--gray); }

.reviews-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding: 0 4px;
}

.reviews-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}

.reviews-nav:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(212, 43, 43, 0.08);
}

.reviews-nav:active {
  transform: scale(0.94);
}

.reviews-nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.reviews-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.reviews-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.reviews-dot:hover {
  background: var(--gray);
}

.reviews-dot.is-active {
  background: var(--red);
  transform: scale(1.25);
  box-shadow: 0 0 0 3px rgba(212, 43, 43, 0.25);
}

/* ── CONTACT ── */
#contacto { background: var(--black); }
.contact-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  color: var(--white);
  transition: border-color .2s;
}
.contact-item:hover { border-color: var(--red); }
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(212,43,43,.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--red); fill: none; stroke-width: 1.8; }
.contact-item strong { display: block; font-size: 12px; letter-spacing: 1px; font-family: 'Oswald', sans-serif; }
.contact-item span { font-size: 13px; color: var(--gray); }

.map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 220px;
  background: var(--card);
  position: relative;
}
.map-container iframe { width: 100%; height: 100%; border: none; filter: grayscale(80%) invert(90%); }
.map-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.map-pin {
  background: var(--red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(212,43,43,.4);
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--red);
  padding: 40px 20px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 7vw, 36px); margin-bottom: 8px; }
.cta-band p { font-size: 14px; opacity: .85; margin-bottom: 24px; }
.cta-band .btn-primary { background: #fff; color: var(--red); max-width: 280px; margin: 0 auto; }
.cta-band .btn-primary:active { background: #f0f0f0; }

/* ── FOOTER ── */
footer {
  background: #0a0a0a;
  border-top: 2px solid var(--border);
  padding: 32px 20px;
  text-align: center;
}
.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-logo span { color: var(--red); }
footer p { color: var(--gray); font-size: 12px; line-height: 1.8; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 16px 0;
}
.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 13px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--red); }

/* ── FLOATING TRANSLATE BUTTON ── */
.float-translate {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 200;
  height: 52px;
  min-width: 52px;
  padding: 0 16px;
  border-radius: 26px;
  background: #1e1e1e;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  transition: border-color .2s, background .2s, transform .15s;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--white);
  text-transform: uppercase;
}
.float-translate:hover { border-color: var(--red); background: #252525; }
.float-translate:active { transform: scale(.95); }
.float-translate svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; flex-shrink: 0; }
.float-translate .lang-label { font-size: 13px; font-weight: 700; color: var(--red); }

/* ── DESKTOP ── */
@media (min-width: 768px) {
  .hamburger { display: none; }
  nav { padding: 0 40px; height: 70px; }
  .nav-menu {
    position: static;
    max-height: none !important;
    padding: 0 !important;
    left: auto; right: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }
  .nav-menu a {
    padding: 8px 16px;
    border: none;
    font-size: 14px;
  }
  .nav-menu a:hover { padding-left: 16px; }
  .nav-menu .btn-primary { padding: 10px 20px; font-size: 13px; border-radius: 4px; }
  .hero { padding: 80px 60px; min-height: 100svh; justify-content: center; }
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--red);
    z-index: 4;
  }
  .hero h1 { font-size: 80px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  section { padding: 80px 60px; }

  .reviews-carousel-viewport {
    overflow: visible;
    margin: 0;
    width: auto;
    padding: 0;
    scroll-snap-type: none;
    scroll-padding-inline: 0;
  }

  .reviews-carousel .reviews-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: auto;
    padding: 0;
  }

  .reviews-carousel .review-card {
    flex: none;
    max-width: none;
    scroll-snap-align: unset;
    scroll-snap-stop: normal;
    border-radius: 8px;
    box-shadow: none;
  }

  .reviews-carousel-controls {
    display: none;
  }

  .hero-cta { flex-direction: row; }
}
