/* ============================================================
   MERAQ — GLOBAL STYLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500&display=swap');

:root {
  --black:  #0c0c0c;
  --white:  #ffffff;
  --off:    #f2f1ee;
  --mid:    #777777;
  --light:  #bbbbbb;
  --border: #e0dedb;
  --accent: #0c0c0c;
  --accent2: #333333;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 58px; padding: 0 36px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.2rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--black); text-decoration: none;
}
.nav-logo span { color: #0c0c0c; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.75rem; font-weight: 400; color: var(--mid);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-cta {
  background: var(--black) !important; color: var(--white) !important;
  padding: 9px 22px; font-size: 0.72rem !important;
  font-weight: 600 !important; letter-spacing: 0.08em;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #0c0c0c !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { width: 22px; height: 2px; background: var(--black); display: block; transition: all 0.3s; }

/* ── TICKER ── */
.ticker {
  margin-top: 58px;
  background: var(--black);
  padding: 12px 0; overflow: hidden;
  border-bottom: 1px solid #1a1a1a;
}
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); padding: 0 40px;
  display: flex; align-items: center; gap: 40px;
}
.ticker-item::after { content: '◆'; color: rgba(255,255,255,0.3); font-size: 0.5rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 14px 36px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; transition: all 0.25s;
  cursor: pointer; border: none; font-family: 'Inter', sans-serif;
}
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #0c0c0c; }
.btn-outline {
  background: transparent; color: var(--black);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--black); }
.btn-gold { background: var(--black); color: var(--white); }
.btn-gold:hover { background: #333333; color: var(--white); transform: translateY(-1px); }
.btn-white-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-white-outline:hover { border-color: var(--white); }

/* ── SECTION LABELS ── */
.s-label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: #0c0c0c;
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.s-label::before { content: ''; width: 20px; height: 1.5px; background: #0c0c0c; }

.s-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 24px;
}
.s-title em { font-style: italic; font-weight: 400; font-family: 'Inter'; color: #0c0c0c; }

.s-body { font-size: 1rem; color: var(--mid); line-height: 1.78; }
.s-body strong { color: var(--black); font-weight: 400; }

/* ── DARK SECTIONS ── */
.dark-section { background: var(--black); color: var(--white); }
.dark-section .s-body { color: rgba(255,255,255,0.55); }
.dark-section .s-body strong { color: var(--white); }
.off-section { background: var(--off); }

/* ── SECTION PADDING ── */
.s-pad { padding: 88px 48px; }
.s-pad-sm { padding: 56px 48px; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); }
.divider-dark { border-top-color: rgba(255,255,255,0.08); }

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 3px solid rgba(255,255,255,0.12);
  padding: 60px 48px 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.4rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--white); text-decoration: none; display: block; margin-bottom: 12px;
}
.footer-logo span { color: #0c0c0c; }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer-col-title {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px; display: block;
}
.footer-links-list { list-style: none; }
.footer-links-list li { margin-bottom: 10px; }
.footer-links-list a {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer-links-list a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer-tagline { font-size: 0.72rem; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  margin-top: 58px;
  background: var(--black);
  padding: 80px 48px;
  border-bottom: 3px solid rgba(255,255,255,0.15);
}
.page-hero-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.92; letter-spacing: -0.03em; color: var(--white);
  margin-bottom: 20px;
}
.page-hero-title em { font-style: italic; font-weight: 400; font-family: 'Inter'; color: #0c0c0c; }
.page-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.5); max-width: 540px; line-height: 1.72; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .s-pad { padding: 60px 20px; }
  .s-pad-sm { padding: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-hero { padding: 56px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── DARK BACKGROUND OVERRIDES (black/white mode) ── */

/* Labels and accents on dark backgrounds → white */
.dark-section .s-label,
.page-hero .s-label { color: rgba(255,255,255,0.55); }
.dark-section .s-label::before,
.page-hero .s-label::before { background: rgba(255,255,255,0.4); }

.dark-section .s-title em,
.page-hero .page-hero-title em { color: rgba(255,255,255,0.65); font-style: italic; }

.dark-section .btn-gold { background: var(--white); color: var(--black); }
.dark-section .btn-gold:hover { background: var(--off); }

/* Section headers (black band) labels */
.sh-idx { color: rgba(255,255,255,0.35); }
.sh-title em { color: rgba(255,255,255,0.6); }

/* Service detail on dark rows */
.dark-row .srv-detail-label { color: rgba(255,255,255,0.55); }
.dark-row .feature-icon { color: var(--white); }
.dark-row .srv-detail-cta { color: var(--white); border-bottom-color: rgba(255,255,255,0.3); }

/* Timeline exp-year */
.exp-year { color: var(--black); }

/* FAQ icon */
.faq-q-icon { color: var(--white); }

/* Contact info label */
.contact-info-label { color: rgba(255,255,255,0.45); }

/* Portfolio link bar */
.portfolio-link-bar a { color: var(--white); }
.portfolio-link-bar { border-top-color: rgba(255,255,255,0.12); }

/* Value card number */
.value-n { color: rgba(0,0,0,0.05); }

/* Nav logo */
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.04em; }
.nav-logo sup { font-size: 0.55em; font-weight: 400; vertical-align: super; }

/* Footer logo */
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: 0.04em; }
.footer-logo sup { font-size: 0.5em; font-weight: 400; vertical-align: super; color: rgba(255,255,255,0.4); }

/* Pkg items */
.pkg-li::before { color: var(--black); }
.srv-tag-pill { border: 1.5px solid var(--black); color: var(--black); background: transparent; }
.srv-tag-pill:hover { background: var(--black); color: var(--white); }

/* CTA band */
.cta-band { background: var(--black); }
.cta-band h3 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.45); }
.cta-band .btn-black { background: var(--white); color: var(--black); }
.cta-band .btn-black:hover { background: var(--off); }

/* Filter buttons */
.filter-btn.active { border-bottom-color: var(--black); color: var(--black); }

/* Ticker separator */
.ticker-item::after { color: rgba(255,255,255,0.2) !important; }

/* Hero video dots */
.hero-dot.active { background: var(--white); }

/* Footer border */
footer { border-top: 2px solid rgba(255,255,255,0.1); }
