/* =============================================
   ALLYMERCI — SHARED STYLESHEET (LIGHT THEME)
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Nunito:wght@300;400;500;600&display=swap');

:root {
  --bg:       #f5f6fa;
  --bg2:      #eef0f8;
  --white:    #ffffff;
  --surface:  #ffffff;
  --border:   rgba(60,80,180,0.10);
  --shadow:   0 4px 32px rgba(60,80,180,0.08);
  --shadow-lg:0 12px 60px rgba(60,80,180,0.13);
  --text:     #1a1d2e;
  --muted:    #6b7196;
  --primary:  #3d5af1;
  --primary2: #8b3cf7;
  --grad:     linear-gradient(135deg, #3d5af1 0%, #8b3cf7 100%);
  --grad-soft:linear-gradient(135deg, rgba(61,90,241,0.08) 0%, rgba(139,60,247,0.08) 100%);

  /* Department colors */
  --voice:    #3d5af1;
  --automate: #00b96b;
  --build:    #f76b35;
  --social:   #f7296e;
  --growth:   #f5a623;
  --ventures: #8b3cf7;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,h2,h3,h4,.brand { font-family: 'Syne', sans-serif; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(61,90,241,0.10); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 38px; width: 38px; object-fit: contain; border-radius: 10px; }
.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  color: var(--text); letter-spacing: -0.5px;
}
.nav-logo-text span {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.88rem; font-weight: 600;
  transition: color 0.2s; letter-spacing: 0.2px;
}
.nav-links a:hover { color: var(--primary); }

/* DROPDOWN */
.dropdown { position: relative; }
.dropdown > a { display: flex; align-items: center; gap: 4px; }
.dropdown > a::after { content: '▾'; font-size: 0.65rem; transition: transform 0.2s; }
.dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 10px;
  min-width: 270px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: var(--text);
  font-size: 0.84rem; transition: background 0.15s;
}
.dropdown-item:hover { background: var(--bg); }
.dropdown-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dropdown-item strong { display: block; font-weight: 700; font-size: 0.86rem; }
.dropdown-item small { color: var(--muted); font-size: 0.76rem; }

.nav-cta {
  background: var(--grad) !important;
  color: #fff !important;
  padding: 10px 22px; border-radius: 10px;
  font-weight: 700 !important; font-size: 0.85rem !important;
  transition: box-shadow 0.2s, transform 0.15s !important;
  white-space: nowrap;
}
.nav-cta:hover { box-shadow: 0 6px 24px rgba(61,90,241,0.35); transform: translateY(-1px); }

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; display: block; transition: all 0.3s; }

.mobile-nav {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 199; padding: 24px 5%;
  flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block; padding: 13px 16px; color: var(--text);
  text-decoration: none; font-size: 0.95rem; font-weight: 600;
  border-radius: 10px; transition: background 0.15s;
}
.mobile-nav a:hover { background: var(--bg); }
.mobile-section-label {
  font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); padding: 16px 16px 6px; font-weight: 700;
}
.mobile-dept { display: flex; align-items: center; gap: 10px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad);
  color: #fff; font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.9rem;
  padding: 14px 30px; border-radius: 12px;
  text-decoration: none; border: none; cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(61,90,241,0.35); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem;
  padding: 14px 30px; border-radius: 12px;
  text-decoration: none; border: 2px solid var(--primary); cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-outline:hover { background: rgba(61,90,241,0.06); transform: translateY(-2px); }

/* ── SECTION COMMONS ── */
section { padding: 100px 5%; position: relative; }

.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  background: var(--grad-soft); color: var(--primary);
  border: 1px solid rgba(61,90,241,0.15);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800;
  color: var(--text); letter-spacing: -1px; line-height: 1.1; margin-bottom: 14px;
}
.section-title span {
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub { color: var(--muted); font-size: 1rem; max-width: 520px; line-height: 1.75; }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 70px 5% 30px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
  margin-bottom: 50px; max-width: 1200px;
}
.footer-brand-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 16px;
}
.footer-brand-logo img { height: 36px; width: 36px; object-fit: contain; border-radius: 8px; filter: brightness(1.1); }
.footer-brand-logo span {
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; color: #fff;
}
.footer-brand p { font-size: 0.84rem; line-height: 1.75; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; text-decoration: none; color: rgba(255,255,255,0.5);
  font-weight: 700; transition: background 0.2s, color 0.2s;
}
.social-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-col h4 {
  font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.84rem; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a:hover { color: #fff; }
.footer-dept-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  max-width: 1200px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }
.powered {
  font-size: 0.72rem; color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 14px; border-radius: 100px;
}
.powered span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
