/* =============================================
   SHARED CSS – DECOTRONICS PREMIUM WEBSITE
   =============================================*/

:root {
  --black:        #060608;
  --black-soft:   #0c0c10;
  --black-card:   #111116;
  --black-border: #1c1c24;
  --gold:         #c9a84c;
  --gold-light:   #e8c97e;
  --gold-dark:    #9a7a30;
  --gold-glow:    rgba(201,168,76,0.18);
  --gold-glow2:   rgba(201,168,76,0.06);
  --white:        #ffffff;
  --white-off:    #f0ebe0;
  --grey:         #888899;
  --grey-light:   #bbb8ac;

  --font-display: 'Playfair Display', serif;
  --font-sans:    'DM Sans', sans-serif;
  --font-hero:    'Bebas Neue', sans-serif;
  --nav-h: 84px;
  --transition: 0.4s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white-off);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; outline: none; background: none; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }
::selection { background: var(--gold); color: var(--black); }

/* Noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9990; opacity: 0.35;
}

/* ====== LOADER ====== */
#loader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s, visibility 0.8s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-hero);
  font-size: 3rem;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-bottom: 24px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse { 0%,100%{opacity:.3}50%{opacity:1} }
.loader-bar { width: 220px; height: 1px; background: var(--black-border); margin: 0 auto 16px; overflow: hidden; }
.loader-fill { height: 100%; width: 0; background: linear-gradient(to right, transparent, var(--gold), transparent); animation: loaderFill 2s ease-in-out forwards; }
@keyframes loaderFill { to { width: 100%; } }
.loader-text { font-size: 0.62rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--grey); }

/* ====== CURSOR ====== */
.cursor-dot {
  width: 8px; height: 8px; background: var(--gold);
  border-radius: 50%; position: fixed; pointer-events: none;
  z-index: 9999; transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
}
.cursor-ring {
  width: 36px; height: 36px; border: 1.5px solid var(--gold);
  border-radius: 50%; position: fixed; pointer-events: none;
  z-index: 9998; transform: translate(-50%,-50%);
  transition: width .3s, height .3s, border-color .3s;
}
body.cursor-hover .cursor-dot { width: 14px; height: 14px; background: var(--gold-light); }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; border-color: var(--gold-light); opacity: .5; }

/* ====== WHATSAPP ====== */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 32px;
  width: 60px; height: 60px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem;
  z-index: 500; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform .3s, box-shadow .3s;
  animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); animation: none; }
.wa-tooltip {
  position: absolute; right: 72px; white-space: nowrap;
  background: var(--black-card); border: 1px solid var(--black-border);
  color: var(--white-off); font-size: 0.75rem; padding: 6px 12px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
  letter-spacing: 0.05em;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.06); }
}

/* ====== NAV ====== */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#nav.scrolled {
  background: rgba(6,6,8,0.96); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.15);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-hero);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--gold-light);
}
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a {
  font-family: var(--font-sans); font-size: 0.72rem;
  font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--grey-light);
  position: relative; transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1px; background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: transparent !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 9px 22px !important;
  border-radius: 1px;
  transition: background var(--transition), color var(--transition) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 1.5px; background: var(--gold); transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: rgba(6,6,8,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 36px; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2.5rem;
  font-weight: 400; color: var(--white-off); letter-spacing: 0.06em;
  transition: color .3s;
}
.mobile-menu a:hover { color: var(--gold-light); }

/* ====== SECTION UTILITIES ====== */
.section { padding: 110px 6%; }
.section-sm { padding: 60px 6%; }
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.section-label::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.section-title em { color: var(--gold-light); font-style: italic; }
.gold-line { width: 80px; height: 2px; background: linear-gradient(to right, var(--gold), transparent); margin: 28px 0; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; flex-wrap: wrap; gap: 20px;
}
.section-header-center { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-header-center p { font-size: 0.9rem; color: var(--grey-light); line-height: 1.8; }
.section-header-center .section-label { justify-content: center; }

/* ====== BUTTONS ====== */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--black);
  font-family: var(--font-sans); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 36px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none; cursor: pointer;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.35); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(201,168,76,0.5); color: var(--gold-light);
  font-family: var(--font-sans); font-size: 0.72rem;
  font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 15px 30px; transition: all var(--transition); cursor: pointer;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); transform: translateY(-2px); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.4); color: var(--white);
  font-family: var(--font-sans); font-size: 0.72rem;
  font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 15px 30px; transition: all var(--transition);
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ====== MARQUEE ====== */
.marquee-strip { background: var(--gold); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 0; animation: marqueeScroll 22s linear infinite; }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-sans); font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--black); padding: 0 40px;
}
.marquee-item .dot { width: 5px; height: 5px; background: var(--black); border-radius: 50%; opacity: 0.4; }

/* ====== BRANDS STRIP ====== */
.brands-strip {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  padding: 40px 0;
  overflow: hidden;
}
.brands-label {
  text-align: center; font-size: 0.62rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 28px;
}
.brands-scroll { overflow: hidden; white-space: nowrap; }
.brands-track {
  display: inline-flex; gap: 0;
  animation: brandsScroll 28s linear infinite;
}
@keyframes brandsScroll { to { transform: translateX(-50%); } }
.brands-track span {
  padding: 0 40px; font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--grey); letter-spacing: 0.05em;
  position: relative; transition: color .3s;
}
.brands-track span::after {
  content: '·'; position: absolute; right: 0;
  color: var(--black-border); font-size: 1rem;
}

/* ====== FOOTER ====== */
#footer { background: var(--black); border-top: 1px solid var(--black-border); padding: 80px 6% 40px; }
.footer-inner {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--font-display); font-size: 2.2rem;
  font-weight: 700; color: var(--gold-light); margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.footer-brand p { font-size: 0.78rem; color: var(--grey); line-height: 1.8; max-width: 280px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border: 1px solid var(--black-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); font-size: 0.85rem; transition: all .3s;
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow2); }
.footer-col h4 {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 0.8rem; color: var(--grey); transition: color .3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact > div { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact i { color: var(--gold-dark); font-size: 0.75rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact span, .footer-contact a { font-size: 0.78rem; color: var(--grey); line-height: 1.6; transition: color .3s; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--black-border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 0.72rem; color: var(--grey);
}
.footer-bottom a { color: var(--grey); transition: color .3s; margin-left: 16px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ====== CTA SECTION ====== */
.cta-section { position: relative; overflow: hidden; padding: 120px 6%; text-align: center; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,6,8,0.92) 0%, rgba(20,16,8,0.85) 100%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: var(--font-display); font-size: clamp(2.2rem,4.5vw,4rem);
  font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 16px;
}
.cta-content h2 em { color: var(--gold-light); font-style: italic; }
.cta-content p { font-size: 0.85rem; color: var(--grey-light); margin-bottom: 40px; letter-spacing: 0.1em; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ====== SCROLL REVEAL ====== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.delay-0 { transition-delay: 0s; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ====== PAGE HERO (inner pages) ====== */
.page-hero {
  min-height: 55vh; position: relative;
  display: flex; align-items: flex-end;
  padding: 0 6% 80px;
  overflow: hidden;
}
.ph-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.ph-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,6,8,0.93) 0%, rgba(10,8,4,0.75) 100%);
}
.ph-content { position: relative; z-index: 2; padding-top: var(--nav-h); }
.ph-content .section-title { font-size: clamp(2.8rem,6vw,6rem); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 70px 5%; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { text-align: center; justify-content: center; }
  .cursor-dot, .cursor-ring { display: none; }
  .cta-section { padding: 80px 5%; }
}
@media (max-width: 480px) {
  .section { padding: 60px 5%; }
}
