:root{
  --bg: #ffffff;
  --panel: #f8f8f8;
  --panel2: #f2f2f2;
  --text: #1E1E1C;
  --muted: rgba(17,17,17,.62);
  --border: rgba(0,0,0,.10);

  --blue: #6b7280;
  --blue2: #4b5563;

  --yellow: #1E1E1C;
}

/* ------------------------------------------------------------
   Base body / background
   ------------------------------------------------------------ */

body.app{
  overflow-x: hidden;
  background: #f7f5f2;
  color: var(--text);
}

/* ------------------------------------------------------------
   Home - Fullscreen hero + Header overlay
   ------------------------------------------------------------ */

.hero-full.hero-breakout{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.page-home .site-main{
  padding-top: 0;
}

body.page-home .hero-full{
  min-height: 100vh;
}

body.page-home .site-header.site-header--overlay{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.page-home .site-header.site-header--overlay .topbar,
body.page-home .site-header.site-header--overlay .nav{
  background: transparent;
}

/* Logo TUALUCE: trazo blanco sutil para que se distinga sobre fondos oscuros */
body.page-home .site-header.site-header--overlay .brand-text{
  color:#1E1E1C;
  text-shadow:
    0 0 1px rgba(255,255,255,.9),
    0 0 2px rgba(255,255,255,.7);
}

/* Iconos (usuario, globo, menú): mismo efecto con contorno blanco */
body.page-home .site-header.site-header--overlay svg{
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.9))
    drop-shadow(0 0 1px rgba(255,255,255,.7));
}

/* Hamburguesa (3 rayas) — son <span>, no SVG: aplicamos box-shadow blanco para halo */
body.page-home .site-header.site-header--overlay .header-hamburger-line{
  box-shadow:
    0 0 1px rgba(255,255,255,.9),
    0 0 2px rgba(255,255,255,.7);
}

/* Input de búsqueda traslúcido para que se vea sobre la imagen */
body.page-home .site-header.site-header--overlay .search-input{
  background: rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.55);
  color:#ffffff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.35),
    0 1px 6px rgba(0,0,0,.25);
  text-shadow:
    0 0 1px rgba(255,255,255,.9),
    0 0 2px rgba(255,255,255,.6);
}
body.page-home .site-header.site-header--overlay .search-input::placeholder{
  color: #1E1E1C;
  opacity: 1;
  text-shadow:
    0 0 1px rgba(255,255,255,.95),
    0 0 2px rgba(255,255,255,.85),
    0 0 3px rgba(255,255,255,.7);
}

body.page-home .site-header.site-header--overlay .topbar{
  border-bottom: 0;
}

/* ------------------------------------------------------------
   Hero base
   ------------------------------------------------------------ */

.hero-full{
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.hero-full .hero-slides{ position:absolute; inset:0; }
.hero-full .hero-slide{ position:absolute; inset:0; background-size:cover; background-position:center; background-repeat:no-repeat; opacity:0; transition:opacity .6s ease; }
.hero-full .hero-slide.is-active{ opacity:1; }
.hero-full .hero-ui{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; pointer-events:none; }
.hero-full .hero-center{ pointer-events:none; text-align:center; padding:24px; }
.hero-full .hero-center h1{ margin:0; letter-spacing:.08em; text-transform:uppercase; font-size:clamp(28px,5vw,56px); color:#fff; }
.hero-full .hero-center p{ margin:10px 0 0; color:rgba(255,255,255,.88); font-size:clamp(14px,1.8vw,18px); }
.hero-full .hero-arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:4; width:46px; height:46px; border-radius:999px; border:1px solid rgba(255,255,255,.35); background:rgba(0,0,0,.20); color:#fff; cursor:pointer; display:grid; place-items:center; pointer-events:all; }
.hero-full .hero-arrow:hover{ background:rgba(0,0,0,.38); }
.hero-full .hero-arrow.prev{ left:18px; }
.hero-full .hero-arrow.next{ right:18px; }
.hero-full .hero-dots{ position:absolute; left:50%; bottom:18px; transform:translateX(-50%); display:flex; gap:8px; z-index:4; pointer-events:all; }
.hero-full .hero-dot{ width:9px; height:9px; border-radius:999px; border:1px solid rgba(255,255,255,.45); background:rgba(255,255,255,.22); cursor:pointer; }
.hero-full .hero-dot.is-active{ background:#ffffff; border-color:#ffffff; }

.hero-full .hero-counter{
  position:absolute;
  right:28px;
  bottom:18px;
  z-index:4;
  color:#ffffff;
  font-size:14px;
  letter-spacing:.04em;
  text-shadow:0 1px 8px rgba(0,0,0,.45);
}

.hero-full .hero-scroll-down{
  position:absolute;
  left:50%;
  bottom:56px;
  transform:translateX(-50%);
  z-index:4;
  width:54px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.hero-full .hero-scroll-down span{
  width:30px;
  height:30px;
  border-right:2px solid #ffffff;
  border-bottom:2px solid #ffffff;
  transform:rotate(45deg);
  opacity:.95;
}

.hero-full .hero-scroll-down:hover span{
  opacity:1;
}

/* ------------------------------------------------------------
   Footer - columnas
   ------------------------------------------------------------ */

.footer-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:24px;
  padding:28px 18px;
  word-wrap:break-word;
  overflow-wrap:break-word;
}

.footer-col{
  min-width:0; /* permite que las celdas se encojan sin desbordar */
}

.footer-col h4{
  margin:0 0 12px;
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#1E1E1C;
}

.footer-col a{
  display:inline-block;
  color:rgba(17,17,17,.82);
  text-decoration:none;
  font-size:13px;
  line-height:1.8;
  word-break:break-word;
}

.footer-col a:hover{
  color:#1E1E1C;
  text-decoration:underline;
}

.footer-col .muted{
  color:rgba(17,17,17,.70);
  font-size:13px;
  line-height:1.6;
}

.footer-map{
  width:100%;
  aspect-ratio:4/3;
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  overflow:hidden;
}

.footer-map iframe{
  width:100%;
  height:100%;
  border:0;
}

/* Tablet grande -> 4 columnas pero con menos gap */
@media (max-width:1200px){
  .footer-grid{
    gap:18px;
    padding:24px 14px;
  }
  .footer-col h4{ font-size:13px; }
  .footer-col a, .footer-col .muted{ font-size:12px; }
}

/* Tablet media -> 2 columnas */
@media (max-width:980px){
  .footer-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:22px;
  }
}

/* Móvil -> 1 columna */
@media (max-width:640px){
  .footer-grid{
    grid-template-columns:1fr;
  }

  .hero-full .hero-arrow{
    width:40px;
    height:40px;
  }

  .hero-full .hero-counter{
    right:18px;
    bottom:16px;
    font-size:13px;
  }

  .hero-full .hero-scroll-down{
    bottom:52px;
    width:48px;
    height:48px;
  }
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  backdrop-filter: none;
  background: transparent;
  border-bottom: 0;
}

.topbar{
  border-bottom: 0;
}

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

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

.badge-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: #1E1E1C;
  box-shadow: 0 0 10px rgba(0,0,0,.10);
}

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

.nav{
  padding: 12px 0;
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.brand-link{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  color: #1E1E1C;
  font-weight: 800;
}

.brand-text{
  letter-spacing: .18em;
  font-weight: 800;
  font-size: 14px;
  color:#1E1E1C;
}

.nav-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  justify-content:flex-end;
}

.nav-link{
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text);
  opacity: .92;
}

.nav-link:hover{
  border-color: rgba(0,0,0,.10);
  background: rgba(0,0,0,.04);
}

/* ------------------------------------------------------------
   Main
   ------------------------------------------------------------ */

.site-main{
  padding: calc(var(--site-header-h, 72px) + 22px) 24px 40px;
}

@media (min-width: 768px){
  .site-main{
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */

.btn-ghost{
  color: var(--text);
  border-color: transparent;
  background: transparent;
}

.btn-ghost:hover{
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.08);
}

.btn-primary{
  background: transparent;
  color: var(--text);
  border-color: transparent;
  box-shadow: none;
}

.btn-primary:hover{
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.08);
  box-shadow: none;
}

/* ------------------------------------------------------------
   Inputs
   ------------------------------------------------------------ */

.search-input{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.10);
  color: var(--text);
}

.search-input::placeholder{
  color: rgba(17,17,17,.45);
}

.search-input:focus{
  border-color: rgba(0,0,0,.22);
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

/* ------------------------------------------------------------
   Pills
   ------------------------------------------------------------ */

.pill{
  background: transparent;
  border: 1px solid rgba(0,0,0,.12);
  color: var(--text);
}

/* ------------------------------------------------------------
   Breadcrumbs
   ------------------------------------------------------------ */

.breadcrumb-link{
  color: #4b5563;
}

.breadcrumb-link:hover{
  text-decoration: underline;
}

.breadcrumb-not-link{
  color: rgba(17,17,17,.70);
}

/* ------------------------------------------------------------
   Boxes
   ------------------------------------------------------------ */

.box{
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 640px){
  .box{ padding: 0; }
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer{
  border-top: 1px solid var(--border);
  background: #cfc2ae;
  padding: 20px 0;
}

.footer-inner{
  padding: 10px 0;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
}

.footer-links a{
  text-decoration:none;
  opacity: .85;
}

.footer-links a:hover{
  opacity: 1;
  color: #1E1E1C;
}

.footer-links .sep{
  opacity: .35;
  padding: 0 6px;
}

/* ------------------------------------------------------------
   HOME sections
   ------------------------------------------------------------ */

.home-sections{
  padding: 22px 0 40px;
}

.home-stack{
  display: grid;
  gap: 16px;
}

.home-section{
  padding: 16px;
}

.home-section-title{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1E1E1C;
}

.home-subtitle{
  margin-top: 6px;
  opacity: .92;
  color:#2f2f2f;
}

.home-copy{
  margin-top: 12px;
}

.home-copy p{
  margin: 0 0 10px;
  color: rgba(17,17,17,.82);
}

.home-bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(17,17,17,.82);
}

.home-divider{
  border: 0;
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 14px 0;
}

.home-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.home-chip{
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  font-size: 13px;
  background: #f5f5f5;
}

/* Promotions */

.promo-grid{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:stretch;
  justify-content:center;
}

.promo-card{
  width: 320px;
  max-width: 320px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0,0,0,.04);
}

.promo-media{
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.promo-link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.promo-body{
  padding: 10px 12px;
}

.promo-title{
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #1E1E1C;
}

.promo-text{
  color: rgba(17,17,17,.72);
  font-size: 13px;
  line-height: 1.6;
}

/* Products */

.home-products-header{
  text-align:center;
  margin-bottom: 14px;
}

.home-products-title{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.10em;
  color:#1E1E1C;
}

.home-products-subtitle{
  margin-top:6px;
  font-size:16px;
  opacity:.92;
  color:#444444;
}

.home-gallery{
  margin-top: 16px;
}

.home-gallery-title{
  text-align:center;
  margin: 10px 0 12px;
}

.home-category-pill{
  display:inline-block;
  padding:6px 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background: #f5f5f5;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:12px;
  color:#1E1E1C;
}

.home-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:flex-start;
  justify-content:center;
}

.home-card{
  width: 240px;
  max-width: 240px;
}

.home-card-link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.home-thumb{
  width:100%;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f4f4f4;
}

.home-card-title{
  margin-top: 6px;
  text-align:center;
  font-weight:600;
  color: #1E1E1C;
}

.home-empty{
  margin: 12px 0 0;
  color: rgba(17,17,17,.62);
}

/* ------------------------------------------------------------
   HOME: Second block
   ------------------------------------------------------------ */

.home-about-grid{
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.home-about-img{
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f4f4f4;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
}

.home-about-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px){
  .home-about-grid{
    grid-template-columns: 0.9fr 1.3fr;
    align-items: start;
  }

  .home-about-img{
    max-width: 480px;
    aspect-ratio: 4 / 3;
  }
}

/* ------------------------------------------------------------
   HOME: Icon strip
   ------------------------------------------------------------ */

.home-features{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: stretch;
}

.home-feature{
  flex: 1 1 220px;
  min-width: 180px;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,.03);
}

.home-feature-icon{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 0 0 2px rgba(0,0,0,.02);
}

.home-feature-icon img{
  width: 24px;
  height: 24px;
  display:block;
  filter: grayscale(100%) contrast(1);
}

.home-feature-text{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #1E1E1C;
}

@media (min-width: 1000px){
  .home-feature{
    flex: 1 1 0;
  }
}

/* ------------------------------------------------------------
   Centrar título del bloque iluminación
   ------------------------------------------------------------ */

.home-about > .home-section-title,
.home-about > .home-subtitle{
  text-align: center;
}