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

:root {
  --color-dark:    #111111;
  --color-light:   #f9f6f1;
  --color-accent:  #ef9527;
  --color-green:   #80af25;
  --color-hw-bg:   #1a0a00;
  --color-hw-acc:  #ff8117;
  --color-xm-bg:   #021a09;
  --color-xm-acc:  #d11909;
  --font-main: 'Georgia', serif;
  --font-ui:   system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--color-light);
  color: var(--color-dark);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
}

.navbar__brand {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.navbar__logo {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--color-accent);
  letter-spacing: 1px;
}

.navbar__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.navbar__name {
  font-size: 1rem;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar__links a {
  color: #ccc;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--color-accent);
}

.navbar__links .btn-contacto {
  border: 1px solid var(--color-accent);
  padding: 0.45rem 1.2rem;
  border-radius: 2px;
  background: var(--color-accent);
  color: #111;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.navbar__links .btn-contacto:hover {
  background: var(--color-dark);
  color: var(--color-accent);
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(239, 149, 39, 0.55);
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===========================
   MOBILE MENU
=========================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.97);
  padding: 1.5rem 2rem;
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-menu a {
  color: #ccc;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--color-accent); }

/* ===========================
   HERO INTRO
=========================== */
.hero-intro {
  margin-top: 68px;
  padding: 1.5rem 2rem;
  text-align: center;
  background: var(--color-dark);
  color: #fff;
}

.hero-intro h1 {
  font-family: var(--font-main);
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  line-height: 1.2;
  color: var(--color-accent);
}

.hero-intro p {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: #aaa;
  letter-spacing: 1px;
}

/* ===========================
   TARJETAS DE DECORACIÓN
=========================== */
.decoraciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 68px;
  min-height: calc(100vh - 68px);
  column-gap: 4px;
  background: var(--color-accent);
}

.deco-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

/* ---- Halloween ---- */
.deco-card.halloween {
  background:
    url('img/halloween.jpg') center center / cover no-repeat;
}


/* ---- Navidad ---- */
.deco-card.navidad {
  background:
    url('img/navidad.webp') center center / cover no-repeat;
}

.deco-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 3rem 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  transition: background 0.4s;
}

.deco-card:hover .deco-card__overlay,
.deco-card.in-view .deco-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 80%);
}

.deco-card__content {
  transform: translateY(12px);
  transition: transform 0.4s;
}

.deco-card:hover .deco-card__content,
.deco-card.in-view .deco-card__content {
  transform: translateY(0);
}

.deco-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.8rem;
  color: #fff;
}

.halloween .deco-card__tag  { background: var(--color-hw-acc); }
.navidad  .deco-card__tag   { background: var(--color-xm-acc); }

.deco-card__content h2 {
  font-family: var(--font-main);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.halloween .deco-card__content h2 { color: #ffb347; }
.navidad   .deco-card__content h2 { color: #f0d080; }

.deco-card__content p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 1.4rem;
}

.deco-card__btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

.halloween .deco-card__btn { color: var(--color-hw-acc); }
.halloween .deco-card__btn:hover {
  background: var(--color-hw-acc);
  color: #000;
}

.navidad .deco-card__btn { color: #f0d080; }
.navidad .deco-card__btn:hover {
  background: #f0d080;
  color: #111;
}

/* Decoración visual Halloween (sin imagen) */
.deco-card.halloween::before {
  content: '🎃';
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 5rem;
  opacity: 0.25;
  pointer-events: none;
}

/* Decoración visual Navidad (sin imagen) */
.deco-card.navidad::before {
  content: '🎄';
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 5rem;
  opacity: 0.25;
  pointer-events: none;
}

/* ===========================
   FRANJA DESTACADA
=========================== */
.franja {
  background: var(--color-dark);
  padding: 2rem 2rem;
}

.franja__items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}

.franja__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #bbb;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.franja__icon {
  display: flex;
  color: var(--color-accent);
}

.franja__icon svg { width: 18px; height: 18px; }

/* ===========================
   POR QUÉ ELEGIRNOS
=========================== */
.features {
  padding: 2.5rem 2rem;
  background: var(--color-light);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.features__item {
  text-align: center;
  padding: 2.4rem 1.6rem 2.2rem;
  background: #fff;
  border-top: 4px solid transparent;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.features__item:hover { transform: translateY(-6px); }

.features__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.3s;
}

.features__item:hover .features__icon { transform: scale(1.1) rotate(-4deg); }

.features__icon svg { width: 26px; height: 26px; }

.features__item h3 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.features__item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.features__item--orange { border-top-color: var(--color-accent); }
.features__item--green  { border-top-color: var(--color-green); }
.features__item--red    { border-top-color: var(--color-xm-acc); }

.features__item--orange:hover { box-shadow: 0 14px 30px rgba(239, 149, 39, 0.35); }
.features__item--green:hover  { box-shadow: 0 14px 30px rgba(128, 175, 37, 0.35); }
.features__item--red:hover    { box-shadow: 0 14px 30px rgba(209, 25, 9, 0.35); }

.features__item--orange .features__icon { background: linear-gradient(135deg, var(--color-accent), #ffb35c); }
.features__item--green  .features__icon { background: linear-gradient(135deg, var(--color-green), #a8d15a); }
.features__item--red    .features__icon { background: linear-gradient(135deg, var(--color-xm-acc), #ff5b45); }

.features__item--orange h3 { color: #b8690f; }
.features__item--green  h3 { color: #587a17; }
.features__item--red    h3 { color: #a30f04; }

/* ===========================
   DIVISOR
=========================== */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 260px;
  margin: 0 auto;
  padding: 0.25rem 2rem 1rem;
  background: var(--color-light);
}

.divider__line {
  flex: 1;
  height: 1px;
  background: rgba(200, 169, 110, 0.35);
}

.divider__icon {
  color: var(--color-accent);
  font-size: 0.9rem;
}

/* ===========================
   ESTADÍSTICAS
=========================== */
.stats {
  padding: 0.5rem 2rem 3rem;
  background: var(--color-light);
  text-align: center;
}

.stats__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stats__item {
  flex: 1;
  padding: 2.2rem 1.5rem;
}

.stats__item + .stats__item {
  border-left: 1px solid #eee;
}

.stats__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(239, 149, 39, 0.12);
  color: var(--color-accent);
}

.stats__icon svg { width: 22px; height: 22px; }

.stats__number {
  display: block;
  font-family: var(--font-main);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: bold;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats__item p {
  color: #666;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* ===========================
   FOOTER
=========================== */
.footer {
  background: #0a0a0a;
  color: #888;
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer__col p { margin-top: 0.8rem; font-size: 0.9rem; line-height: 1.6; }

.footer__contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.6rem;
}

.footer__contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.footer__col h4 {
  color: var(--color-accent);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer__col a {
  color: #888;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--color-accent); }

/* ===========================
   PÁGINAS INTERNAS (base)
=========================== */
.page-hero {
  margin-top: 68px;
  padding: 5rem 2rem 3rem;
  background: var(--color-dark);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-accent);
}

.page-hero p {
  margin-top: 0.8rem;
  color: #999;
  font-size: 1rem;
}

.page-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 2rem;
  line-height: 1.8;
  font-size: 1rem;
  color: #333;
}

.page-content h2 {
  font-family: var(--font-main);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.page-content p { margin-bottom: 1.2rem; }

/* ===========================
   GALERÍA – TABS
=========================== */
.galeria-tabs {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  padding: 2.5rem 2rem 2rem;
  background: var(--color-light);
}

.galeria-tab {
  background: #fff;
  border: 2px solid #e2e2e2;
  border-radius: 999px;
  padding: 0.9rem 2.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-ui);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  color: #777;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.galeria-tab:hover {
  color: var(--color-dark);
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.galeria-tab.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.galeria-tab[data-tab="halloween"]:hover { border-color: var(--color-hw-acc); }

.galeria-tab[data-tab="halloween"].active {
  background: var(--color-hw-acc);
  border-color: var(--color-hw-acc);
  color: #111;
}

.galeria-tab[data-tab="navidad"]:hover { border-color: var(--color-xm-acc); }

.galeria-tab[data-tab="navidad"].active {
  background: var(--color-xm-acc);
  border-color: var(--color-xm-acc);
  color: #fff;
}

/* ===========================
   GALERÍA (grilla)
=========================== */
.galeria-grid {
  columns: 3;
  column-gap: 6px;
  padding: 1.5rem 1.5rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.galeria-item {
  break-inside: avoid;
  margin-bottom: 6px;
  border-radius: 2px;
  overflow: hidden;
}

.galeria-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.galeria-item:hover img { transform: scale(1.04); }
.galeria-item { cursor: zoom-in; }

/* ===========================
   LIGHTBOX
=========================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lightbox__close {
  top: 1.2rem;
  right: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__prev { left: 1.2rem; }
.lightbox__next { right: 1.2rem; }

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #111;
}

@media (max-width: 600px) {
  .lightbox__nav { width: 40px; height: 40px; font-size: 1.6rem; }
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
  .lightbox__close { top: 0.7rem; right: 0.7rem; }
}

/* ===========================
   FORMULARIO CONTACTO
=========================== */
.form-contacto {
  max-width: 640px;
  margin: 3rem auto 5rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-contacto label {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  display: block;
  margin-bottom: 0.3rem;
}

.form-contacto input,
.form-contacto textarea,
.form-contacto select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 1rem;
  font-family: var(--font-ui);
  background: #fff;
  transition: border-color 0.2s;
}

.form-contacto input:focus,
.form-contacto textarea:focus,
.form-contacto select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-contacto textarea { resize: vertical; min-height: 140px; }

.form-contacto button {
  padding: 0.85rem;
  background: var(--color-dark);
  color: var(--color-accent);
  border: none;
  border-radius: 2px;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s;
}

.form-contacto button:hover { background: #333; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__toggle { display: block; }

  .decoraciones { grid-template-columns: 1fr; }
  .deco-card { min-height: 420px; }

  .galeria-grid { columns: 2; }

  .features__grid { grid-template-columns: 1fr; max-width: 380px; }

  .stats__grid { flex-direction: column; max-width: 320px; }
  .stats__item + .stats__item { border-left: none; border-top: 1px solid #eee; }

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

  .footer__col ul { align-items: center; }
  .footer__contact-item { justify-content: center; }
}

@media (max-width: 480px) {
  .navbar { padding: 0 1.2rem; }
  .hero-intro { padding: 4rem 1.2rem 2.5rem; }
  .franja__items { gap: 1.2rem 2rem; }
}
