:root {
  /* Base */
  --base: #0F0F0F;
  --surface: #141414;
  --surface-2: #1B1B1B;

  /* Texto */
  --text: #F5F3EE;
  --muted: #9A9A9A;

  /* Editorial (menú) */
  --paper: #E2CFBE;
  --paper-soft: #F2E6DC;
  --paper-card: #FAF4EE;
  --taupe: #A78E77;
  --taupe-deep: #8F7561;

  /* Marca (acento controlado) */
  --brand-red: #E62026;
  --brand-yellow: #F9E024;
  --brand-black: #111111;

  /* UI */
  --border: rgba(245, 243, 238, .14);
  --border-paper: rgba(167, 142, 119, .35);
  --shadow: 0 18px 45px rgba(0, 0, 0, .38);

  /* Nav */
  --nav-h: 78px;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--base);
  color: var(--text);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit
}

/* MAIN offset (porque navbar es fijo) */
.main {
  padding-top: var(--nav-h);
}

/*NAVBAR (DINÁMICO EN SCROLL)*/

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
  border-bottom: 1px solid transparent;
}

/* Estado inicial arriba del hero: transparente (texto claro) */
.nav--top {
  background: #000000;
  backdrop-filter: none;
  box-shadow: none;
}

/* Estado scrolleado: sólido tipo tinta (negro sumi) */
.nav--scrolled {
  background: #000000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 280px;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-subtitle {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}

/* Links desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 650;
  position: relative;
  padding: 10px 2px;
  color: var(--text);
}

/* Hover minimal (subrayado fino, con dorado tenue) */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: transparent;
  transition: background .15s ease;
}

.nav-links a:hover::after {
  background: rgba(249, 224, 36, .55);
  /* gold leaf */
}

/* Facturación | Login oculto */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-hidden {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.nav-auth:hover .auth-hidden {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.pipe {
  color: rgba(245, 243, 238, .55);
  font-size: 12px;
  user-select: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(245, 243, 238, .22);
  background: rgba(20, 20, 20, .85);
  cursor: pointer;
  padding: 10px 11px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
}

.nav-toggle span+span {
  margin-top: 5px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: rgba(15, 15, 15, .96);
  border-top: 1px solid var(--border);
  padding: 14px 24px 18px;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.mobile-menu a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 650;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(245, 243, 238, .18);
  background: rgba(20, 20, 20, .90);
  color: var(--text);
}

.mobile-menu.active {
  display: flex;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .container {
    padding: 0 16px;
  }

  .nav-inner {
    gap: 12px;
  }

  .brand {
    flex: 1;
    min-width: unset;
    gap: 10px;
    overflow: hidden;
  }

  .brand-logo {
    height: 38px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name {
    font-size: 13px;
    letter-spacing: .05em;
  }

  .brand-subtitle {
    font-size: 11px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    padding: 9px 10px;
    border-radius: 8px;
    flex-shrink: 0;
  }
}

/* En móvil no hay hover real: mostrar auth-hidden */
@media (max-width: 900px) {
  .auth-hidden {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* HOME SECTIONS */

/* HERO con imagen */
/* HERO */
.hero{
  position: relative;
  min-height: 0;
  height: auto;
  width: 100%;
  aspect-ratio: 2560 / 1000;
  max-height: calc(100vh - var(--nav-h));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0F0F0F;
}

/* Contenedor del hero */
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0F0F0F;
}

.hero-carousel{
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}

.hero-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #0f0f0f;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero-slide.is-active{
  opacity: 1;
}

.hero-slide-image{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.hero-control{
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 243, 238, .28);
  border-radius: 999px;
  background: rgba(15, 15, 15, .24);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .25s ease, border-color .25s ease;
}

.hero-control:hover{
  background: rgba(230, 32, 38, .88);
  border-color: rgba(230, 32, 38, .95);
}

.hero-control--prev{
  left: 22px;
}

.hero-control--next{
  right: 22px;
}

.hero-dots{
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot{
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.hero-dot.is-active{
  background: #e62026;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .hero {
    aspect-ratio: 2560 / 1000;
    align-items: stretch;
  }

  .hero-media {
    background: #0F0F0F;
  }

  .hero-slide {
    padding: 0;
  }

  .hero-inner {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 28px 0 32px;
  }

  .hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(15, 15, 15, .16) 0%,
      rgba(15, 15, 15, .28) 42%,
      rgba(15, 15, 15, .64) 100%
    );
  }

  .hero-control{
    display: none;
  }

  .hero-control--prev{
    left: 12px;
  }

  .hero-control--next{
    right: 12px;
  }

  .hero-dots{
    bottom: 28px;
  }
}

/* Overlay oscuro */
.hero-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

/* Contenido encima */
.hero-inner{
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 64px 0;
}

.hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 850;
  letter-spacing: .02em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.hero-line {
  width: min(520px, 86%);
  height: 1px;
  margin: 14px auto 12px;
  background: rgba(245, 243, 238, .55);
}

.hero-sub {
  font-size: clamp(18px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: .02em;
  opacity: .95;
}

/* CTA (rojo controlado) */
.hero-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(245, 243, 238, .20);
  background: rgba(230, 32, 38, .92);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-cta:hover {
  background: rgba(230, 32, 38, 1);
}

/* GRID de categorías (cards) */
.section {
  padding: 34px 0 46px;
  background: var(--base);
}

.section--tight {
  padding-top: 0;
}

.charolas-head {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-kicker {
  color: rgba(249, 224, 36, .82);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 850;
  letter-spacing: .03em;
}

.section-copy {
  margin-top: 12px;
  color: rgba(245, 243, 238, .78);
  line-height: 1.7;
  font-size: 15px;
}

.charolas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1280px) {
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cat-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 170px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(245, 243, 238, .14);
  background: var(--surface);
  text-decoration: none;
}

.charola-card {
  min-height: 240px;
}

.cat-bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  filter: saturate(.95) contrast(.98);
  transform: scale(1.02);
}

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 15, 15, .68), rgba(15, 15, 15, .12));
}

.cat-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: var(--text);
  font-weight: 850;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 22px;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 0 34px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cat-card {
    min-height: clamp(148px, 42vw, 182px);
    border-radius: 8px;
  }

  .category-grid > .cat-card:last-child {
    grid-column: 1 / -1;
    min-height: 156px;
  }

  .cat-title {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: clamp(14px, 5vw, 19px);
    line-height: 1.05;
    letter-spacing: .06em;
  }
}

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

  .category-grid > .cat-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 12px;
  }

  .hero {
    aspect-ratio: 2560 / 1000;
  }

  .cat-title {
    font-size: clamp(13px, 5.6vw, 17px);
  }
}

/* Banda informativa (papel japonés sobre negro) */
.band {
  background: var(--paper);
  color: var(--brand-black);
  border-top: 1px solid var(--border-paper);
  border-bottom: 1px solid var(--border-paper);
  padding: 36px 0;
}

.band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

@media (max-width: 900px) {
  .band-inner {
    grid-template-columns: 1fr;
  }
}

.badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge-circle {
    width: 120px;          /* ajusta tamaño */
    height: 120px;
    border-radius: 50%;
    overflow: hidden;      /* CLAVE: recorta al círculo */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;      /* opcional */
}

.badge-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* CLAVE: llena sin deformar */
}

.band-copy h3 {
  font-size: 28px;
  letter-spacing: .02em;
  margin-bottom: 10px;
  color: var(--brand-black);
}

.band-copy p {
  color: rgba(17, 17, 17, .78);
  line-height: 1.6;
}

/* Footer fuerte (negro sumi + detalles taupe) */
.footer {
  background: #0F0F0F !important;
  color: var(--text);
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 26px;
}

.footer-col p + p {
  margin-top: 4px;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 243, 238, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 950px) {
  .footer {
    padding: 32px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer h4 {
    margin-bottom: 8px;
  }

  .footer p,
  .footer a {
    font-size: 13px;
    line-height: 1.55;
  }

  .footer-bottom p {
    max-width: 28ch;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 70px;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-name {
    font-size: 12px;
    letter-spacing: .04em;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .mobile-menu {
    padding: 12px;
  }

  .mobile-menu a {
    padding: 11px 12px;
    font-size: 12px;
  }

  .band {
    padding: 26px 0;
  }

  .badge-circle {
    width: 88px;
    height: 88px;
  }

  .band-copy h3 {
    font-size: 22px;
  }

  .band-copy p {
    font-size: 14px;
  }

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

  .footer-grid .footer-col:first-child {
    grid-column: auto;
  }

  .footer-bottom p {
    max-width: none;
  }
}

.footer h4 {
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text);
}

.footer p,
.footer a {
  color: rgba(245, 243, 238, .82);
  text-decoration: none;
  line-height: 1.7;
  font-size: 14px;
}

.footer a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(249, 224, 36, .65);
}

.footer-input {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-input input {
  flex: 1;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(245, 243, 238, .22);
  background: rgba(245, 243, 238, .06);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.footer-input input::placeholder {
  color: rgba(245, 243, 238, .55);
}

.footer-input button {
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(245, 243, 238, .22);
  background: rgba(245, 243, 238, .92);
  color: var(--brand-black);
  font-weight: 750;
  cursor: pointer;
}

.footer-input button:hover {
  background: rgba(249, 224, 36, .92);
  border-color: rgba(249, 224, 36, .55);
}
@media (max-width: 560px) {
  .section-copy {
    font-size: 14px;
  }

  .charola-card {
    min-height: 200px;
  }
}
.social-float{
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.social-float a{
  width: 48px;
  height: 48px;
  background: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}

.social-float a:hover{
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,.6);
}

.social-float img{
  width: 22px;
  height: 22px;
  filter: invert(1);
}
/**/
footer .social-float a{
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: transparent !important;   
  box-shadow: none !important;          
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

footer .social-float a img{
  width: 83% !important;/**/
  height: 83% !important;/**/
  display: block !important;
  object-fit: cover !important;         
  object-position: center !important;
  filter: none !important;              
}

footer .social-float a img{
  transform: scale(1.18) !important;
}


