/* ══════════════════════════════════
   SABICARS — Shared Theme
   White Primary / Dark Toggle
══════════════════════════════════ */

/* LIGHT (default) */
:root {
  --bg:        #FAFAF8;
  --bg2:       #F2F0EA;
  --bg3:       #E8E4DB;
  --bg4:       #DDD9CE;
  --card:      #FFFFFF;
  --border:    rgba(139,105,20,0.18);
  --border2:   rgba(0,0,0,0.07);
  --text:      #1C1C1A;
  --text2:     #3A3A38;
  --muted:     #6B6B68;
  --muted2:    #9A9A96;
  --gold:      #B8922A;
  --gold-lt:   #D4AA4E;
  --gold-dim:  rgba(184,146,42,0.10);
  --gold-border: rgba(184,146,42,0.30);
  --header-bg: rgba(250,250,248,0.96);
  --hero-grad: linear-gradient(135deg,rgba(250,250,248,0.96) 0%,rgba(250,250,248,0.80) 50%,rgba(250,250,248,0.30) 100%);
  --hero-mob:  linear-gradient(180deg,rgba(250,250,248,0.55) 0%,rgba(250,250,248,0.97) 60%);
  --shadow:    0 2px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.11);
  --topbar-bg: #1C1C1A;
  --topbar-text: #C9A84C;
}

/* DARK */
[data-theme="dark"] {
  --bg:        #0C0C0A;
  --bg2:       #141412;
  --bg3:       #1C1C1A;
  --bg4:       #252523;
  --card:      #161614;
  --border:    rgba(201,168,76,0.18);
  --border2:   rgba(255,255,255,0.06);
  --text:      #EDEDE8;
  --text2:     #C8C8C2;
  --muted:     #7A7A74;
  --muted2:    #555550;
  --gold:      #C9A84C;
  --gold-lt:   #E2C47A;
  --gold-dim:  rgba(201,168,76,0.12);
  --gold-border: rgba(201,168,76,0.30);
  --header-bg: rgba(12,12,10,0.96);
  --hero-grad: linear-gradient(135deg,rgba(12,12,10,0.95) 0%,rgba(12,12,10,0.75) 50%,rgba(12,12,10,0.25) 100%);
  --hero-mob:  linear-gradient(180deg,rgba(12,12,10,0.40) 0%,rgba(12,12,10,0.97) 60%);
  --shadow:    0 2px 20px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.50);
  --topbar-bg: rgba(201,168,76,0.12);
  --topbar-text: #C9A84C;
}

/* BASE */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
  line-height: 1.6;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media(max-width:768px) { .container { padding: 0 18px; } }

/* TYPOGRAPHY */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }
h1,h2,h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; }

/* SECTION LABELS */
.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.sec-label-line { width: 28px; height: 1.5px; background: var(--gold); }
.sec-label-text {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600; color: var(--text); line-height: 1.1;
  margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub {
  font-size: 0.95rem; color: var(--muted);
  font-weight: 300; line-height: 1.75; max-width: 520px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #fff;
  padding: 13px 28px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,146,42,0.30); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 12px 26px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--border2);
  transition: all 0.3s ease;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 12px 22px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s ease; white-space: nowrap;
}
.btn-wa:hover { background: #1db954; transform: translateY(-1px); }

/* TOPBAR */
.topbar {
  background: var(--topbar-bg);
  padding: 8px 0;
  border-bottom: 1px solid var(--gold-border);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.topbar-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--gold-border);
  border-radius: 50px; padding: 4px 12px;
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--topbar-text);
}
[data-theme="dark"] .topbar-pill { background: rgba(201,168,76,0.08); }
.topbar-pill a { color: inherit; text-decoration: none; }
.topbar-dot {
  width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.2;} }
.topbar-sep { color: var(--gold-border); font-size: 0.9rem; opacity: 0.5; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: background 0.35s ease;
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 12px 0; gap: 16px;
}

/* LOGO */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img { height: 46px; width: 46px; object-fit: contain; border-radius: 8px; }
.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; color: var(--text); letter-spacing: 0.04em; line-height: 1; }
.logo-sub { font-size: 0.57rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

/* NAV */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 7px 14px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s;
}
.nav a:hover, .nav a.active {
  color: var(--gold); background: var(--gold-dim);
  border-color: var(--gold-border);
}

/* HEADER RIGHT */
.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.theme-btn {
  width: 36px; height: 36px; border-radius: 6px;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: all 0.25s;
}
.theme-btn:hover { border-color: var(--gold); color: var(--gold); }

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--border);
  width: 38px; height: 38px; border-radius: 6px;
  align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--bg); z-index: 999;
  flex-direction: column; align-items: center;
  justify-content: center; gap: 12px;
  padding: 80px 24px 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  width: 100%; text-align: center;
  padding: 13px 24px; border-radius: 6px;
  border: 1px solid var(--border2);
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  transition: all 0.25s;
}
.mobile-nav a:hover { border-color: var(--gold); color: var(--gold); }
.mob-wa-btn {
  width: 100%; display: flex; align-items: center;
  justify-content: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 14px; border-radius: 6px;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; margin-top: 8px;
}

@media(max-width:960px) { .nav { display: none; } .hamburger { display: flex; } }
@media(max-width:480px) { .btn-wa .wa-label { display: none; } .logo-text { display: none; } }

/* MARQUEE */
.marquee-bar { background: var(--gold); padding: 10px 0; overflow: hidden; }
.marquee-track { display: flex; animation: mq 24s linear infinite; white-space: nowrap; }
.mq-item { display: inline-flex; align-items: center; gap: 12px; padding: 0 24px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; }
[data-theme="dark"] .mq-item { color: #0C0C0A; }
.mq-dot { width: 4px; height: 4px; background: rgba(255,255,255,0.5); border-radius: 50%; }
[data-theme="dark"] .mq-dot { background: rgba(0,0,0,0.4); }
@keyframes mq { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* CARD */
.card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* FLOATING WA */
.float-wa {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 1.3rem;
  text-decoration: none; box-shadow: 0 6px 24px rgba(37,211,102,0.40);
  z-index: 998; transition: transform 0.3s;
}
.float-wa:hover { transform: scale(1.1); }
.float-wa::before {
  content: ''; position: absolute; width: 100%; height: 100%;
  border-radius: 50%; background: #25D366;
  animation: pulse 2.5s ease-out infinite; z-index: -1;
}
@keyframes pulse { 0%{transform:scale(1);opacity:.6;} 100%{transform:scale(2.2);opacity:0;} }

/* FOOTER */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media(max-width:900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media(max-width:480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.82rem; color: var(--muted); font-weight: 300; line-height: 1.8; margin: 12px 0 18px; max-width: 240px; }
.socials { display: flex; gap: 8px; }
.soc { width: 34px; height: 34px; border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.8rem; text-decoration: none; border-radius: 6px; transition: all 0.25s; }
.soc:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 { font-size: 0.63rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 0.82rem; color: var(--muted); text-decoration: none; font-weight: 300; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border2); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.72rem; color: var(--muted2); }
.rc-pill { display: inline-flex; align-items: center; gap: 5px; background: var(--gold-dim); border: 1px solid var(--gold-border); padding: 4px 10px; border-radius: 50px; font-size: 0.62rem; color: var(--gold); letter-spacing: 0.1em; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2){transition-delay:.07s;} .reveal:nth-child(3){transition-delay:.14s;} .reveal:nth-child(4){transition-delay:.21s;} .reveal:nth-child(5){transition-delay:.28s;} .reveal:nth-child(6){transition-delay:.35s;}
