/* =========================================================
   Lumori — Landing Page Styles
   Stack: Bootstrap 5 + Bootstrap Icons + AOS + custom CSS
   ========================================================= */

:root {
  --brand:       #C9A84C;
  --brand-dark:  #a88830;
  --bg:          #030303;
  --bg-card:     #0d0d0d;
  --bg-input:    #1c1c1c;
  --text:        #ffffff;
  --text-muted:  #888888;
  --border-dim:  rgba(201, 168, 76, 0.12);
  --border-hover:rgba(201, 168, 76, 0.45);
  --radius:      8px;
  --ease:        0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* =========================================================
   Utilities
   ========================================================= */
.text-brand        { color: var(--brand); }
.text-light-custom { color: var(--text); }

/* =========================================================
   Header
   ========================================================= */
#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 80px;
  background: rgba(3, 3, 3, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dim);
  transition: background var(--ease), transform 0.35s ease, opacity 0.35s ease;
}

#header.header--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 3px;
  transition: color var(--ease);
}

.logo:hover { color: var(--brand); }

/* Nav */
#navmenu { display: flex; align-items: center; gap: 1rem; }

#nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

#nav-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.4px;
  transition: color var(--ease);
}

#nav-list a:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* Mobile nav drawer */
@media (max-width: 1199px) {
  .nav-toggle { display: block; }

  #nav-list {
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0; right: -300px;
    width: 280px;
    height: 100vh;
    background: #080808;
    padding: 5rem 2rem 2rem;
    border-left: 1px solid var(--border-dim);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.6);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  #nav-list.open { right: 0; }

  #nav-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

  #nav-list a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
  }

  /* Overlay behind drawer */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 998;
  }
  .nav-overlay.open { display: block; }
}

/* =========================================================
   Sections — shared
   ========================================================= */
section { padding: 6rem 0; }

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 1.1rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto;
}

/* =========================================================
   Button
   ========================================================= */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.7rem 2.25rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--brand);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), transform 0.15s ease;
  letter-spacing: 0.4px;
}

.btn-brand--hero {
  font-size: 1rem;
  padding: 0.9rem 2.75rem;
}

.btn-brand:hover {
  background: transparent;
  color: var(--brand);
}

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

.btn-brand:disabled,
.btn-brand[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* =========================================================
   Hero
   ========================================================= */
/* =========================================================
   Hero shape entrance + float keyframes
   ========================================================= */
@keyframes shapeEntrance {
  from { opacity: 0; transform: translateY(-150px) rotate(var(--rotate, 0deg)); }
  to   { opacity: 1; transform: translateY(0)      rotate(var(--rotate, 0deg)); }
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0px)  rotate(var(--rotate, 0deg)); }
  50%       { transform: translateY(15px) rotate(var(--rotate, 0deg)); }
}

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(99,102,241,0.05) 0%, transparent 50%, rgba(244,63,94,0.05) 100%),
    var(--bg);
}

/* Floating shapes container */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Base shape styles */
.hero-shape {
  position: absolute;
  border-radius: 9999px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.08);
  animation:
    shapeEntrance 2.4s var(--d, 0.3s) cubic-bezier(0.23, 0.86, 0.39, 0.96) both,
    shapeFloat    12s  calc(var(--d, 0.3s) + 2.4s) ease-in-out infinite;
}

.hero-shape::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.18), transparent 70%);
}

/* Shape 1 — indigo, left / top 20% */
.hero-shape--1 {
  --d: 0.3s; --rotate: 12deg;
  left: -5%; top: 20%;
  width: min(600px, 90vw); height: 140px;
  background: linear-gradient(to right, rgba(99,102,241,0.15), transparent);
}

/* Shape 2 — rose, right / top 75% */
.hero-shape--2 {
  --d: 0.5s; --rotate: -15deg;
  right: 0%; top: 75%;
  width: min(500px, 80vw); height: 120px;
  background: linear-gradient(to right, rgba(244,63,94,0.15), transparent);
}

/* Shape 3 — violet, left / bottom 10% */
.hero-shape--3 {
  --d: 0.4s; --rotate: -8deg;
  left: 10%; bottom: 10%;
  width: min(300px, 60vw); height: 80px;
  background: linear-gradient(to right, rgba(139,92,246,0.15), transparent);
}

/* Shape 4 — amber, right / top 15% */
.hero-shape--4 {
  --d: 0.6s; --rotate: 20deg;
  right: 20%; top: 15%;
  width: min(200px, 40vw); height: 60px;
  background: linear-gradient(to right, rgba(245,158,11,0.15), transparent);
}

/* Shape 5 — cyan, left-center / top 10% */
.hero-shape--5 {
  --d: 0.7s; --rotate: -25deg;
  left: 25%; top: 10%;
  width: min(150px, 30vw); height: 40px;
  background: linear-gradient(to right, rgba(6,182,212,0.15), transparent);
}

/* Top/bottom fade overlay */
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #040404 0%, rgba(4,4,4,0.6) 25%, transparent 52%, rgba(3,3,3,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.85);
  flex-shrink: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 1rem 0;
}

.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1;
}

.hero-tagline {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  color: var(--brand);
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 2.5rem;
}

/* =========================================================
   About — Qué es Lumori
   ========================================================= */
#about {
  background: #040404;
  padding: 4rem 0;
}

.about-img-wrap {
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 0.4s ease;
}

.about-img-wrap:hover .about-img {
  transform: scale(1.13);
}

.about-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.about-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  margin: 0;
}

/* =========================================================
   How it works — Cómo funciona
   ========================================================= */
#how-it-works { background: #040404; }

.how-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.07);
  border-radius: 14px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  height: 100%;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.how-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.how-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.6rem;
  color: #fff;
  transition: border-color var(--ease);
}

.how-card:hover .how-icon { border-color: var(--brand); color: var(--brand); }

.how-card h3 {
  font-size: 0.975rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.how-card p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   Locations — Dónde encontrarnos (Gallery4 style carousel)
   ========================================================= */
#locations {
  background: #040404;
  padding-bottom: 4rem;
}

/* Section header: title+desc left, arrows right */
.locations-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.locations-header-text h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.locations-header-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 500px;
  margin: 0;
}

/* Nav arrows — hidden on mobile like Gallery4 */
.locations-nav-btns {
  display: none;
  gap: 0.4rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .locations-nav-btns { display: flex; }
}

.locations-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), opacity var(--ease);
}

.locations-nav-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
}

.locations-nav-btn.swiper-button-disabled {
  opacity: 0.25;
  cursor: default;
}

.locations-swiper {
  overflow: hidden;
  margin-top: 1.5rem;
}

/* Slide fixed width */
.locations-swiper .swiper-slide {
  width: 280px;
}

@media (min-width: 768px)  { .locations-swiper .swiper-slide { width: 320px; } }
@media (min-width: 1200px) { .locations-swiper .swiper-slide { width: 360px; } }

/* Card */
.location-card-new {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 27rem;
  text-decoration: none;
  color: inherit;
}

.location-card-new img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.location-card-new:hover img { transform: scale(1.05); }

.location-img--center { object-position: center center; }

.location-card--dark-bg { background: #1a1a1a; }
.location-card--dark-bg img {
  object-fit: contain;
  padding: 2rem;
}

.location-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.25) 55%,
    rgba(0,0,0,0.82) 100%
  );
  pointer-events: none;
}

.location-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.75rem 1.75rem;
  color: #fff;
}

.location-card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.location-card-cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.3px;
  transition: gap var(--ease), color var(--ease);
}

.location-card-new:hover .location-card-cta {
  color: var(--brand);
  gap: 0.65rem;
}

/* Pagination dots — external element without swiper-pagination class */
.locations-pagination {
  margin-top: 1.75rem;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.locations-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.2);
  opacity: 1;
  transition: background var(--ease), transform var(--ease);
}

.locations-pagination .swiper-pagination-bullet-active {
  background: var(--brand);
  transform: scale(1.2);
}

/* =========================================================
   Contact
   ========================================================= */
#contact { background: #040404; }

/* Left column */
.contact-heading {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.contact-subtext {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-row i {
  font-size: 1.25rem;
  color: var(--brand);
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
}

.cir-label {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 0.1rem;
}

.cir-value {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 300;
}

.cir-value a {
  color: inherit;
  text-decoration: none;
}

.cir-value a:hover { color: var(--brand); }

/* Honeypot — hidden from humans, filled by bots */
.contact-honeypot {
  display: none;
}

/* Form inputs */
.contact-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.85rem 1.1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
}

.contact-input--sm {
  padding: 0.6rem 0.9rem;
  font-size: 0.825rem;
}

.contact-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.contact-input:focus {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

textarea.contact-input {
  resize: vertical;
  min-height: 150px;
}

textarea.contact-input--sm {
  min-height: 120px;
}

/* Feedback messages */
.form-msg {
  display: none;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: left;
}

.form-msg--error {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff7b7b;
}

.form-msg--success {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--brand);
}

/* =========================================================
   Footer
   ========================================================= */
#footer {
  background: #000;
  padding: 0.75rem 0 0.6rem;
  border-top: 1px solid var(--border-dim);
}

.footer-logo {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--brand);
  letter-spacing: 3px;
  margin-bottom: 0.15rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease);
}

.footer-social a:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin: 0;
}

/* =========================================================
   Scroll top
   ========================================================= */
#scroll-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #000;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 997;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================================================
   Contact — form column offset on desktop
   ========================================================= */
@media (min-width: 992px) {
  #contact .col-lg-7 { padding-top: 2.5rem; }
}

/* =========================================================
   Advertise — Publicidad en locales
   ========================================================= */
#partners {
  background: #040404;
  padding: 3rem 0;
}

.partners-highlight {
  display: flex;
  align-items: center;
  gap: 2rem;
  border: 1px solid var(--border-dim);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  transition: border-color var(--ease);
}

.partners-highlight:hover { border-color: rgba(201,168,76,0.25); }

.partners-icon-wrap {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--brand);
}

.partners-body { flex: 1; }

.partners-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.partners-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
  max-width: 560px;
}

.btn-brand--outline {
  background: transparent;
  color: var(--brand);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-brand--outline:hover {
  background: var(--brand);
  color: #000;
}

@media (max-width: 767px) {
  .partners-highlight {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }
  .partners-desc { max-width: 100%; }
}

/* =========================================================
   Responsive tweaks
   ========================================================= */
@media (max-width: 767px) {
  section { padding: 3.5rem 0; }

  .hero-title { letter-spacing: 0.15em; }

  .how-card { padding: 2rem 1.25rem; }
}

@media (max-width: 575px) {
  .location-card { aspect-ratio: 1 / 1; }
}
