/* ============================================
   INEFFABLES — GLOBAL STYLESHEET
   Premium Brand Growth Agency, Tamil Nadu
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,300;1,9..40,400;1,9..40,500;1,9..40,600&display=swap');

/* ── TOKENS ───────────────────────────────── */
:root {
  --red:        #E8392A;
  --red-deep:   #C02F22;
  --black:      #0C0C0C;
  --ink:        #1C1C1C;
  --ash:        #5A5A5A;
  --rule:       #E2E2E2;
  --surface:    #F8F8F6;
  --white:      #FFFFFF;

  --font-display: 'DM Sans', sans-serif;
  --font-ui:      'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --max-w: 1280px;
  --gutter: 80px;
  --gap: 24px;
}

/* ── RESET ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: none; font-family: var(--font-body); }
ul { list-style: none; }
input, textarea, select { font-family: var(--font-body); }

/* ── CUSTOM CURSOR ────────────────────────── */
#cur-dot {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 8px; height: 8px; background: var(--red); border-radius: 50%;
  transform: translate(-50%,-50%); transition: transform .1s;
  will-change: left, top;
}
#cur-ring {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 40px; height: 40px; border: 1px solid rgba(232,57,42,.35);
  border-radius: 50%; transform: translate(-50%,-50%);
  transition: width .3s, height .3s, border-color .3s;
  will-change: left, top;
}
body.cursor-hover #cur-ring { width: 64px; height: 64px; border-color: rgba(232,57,42,.6); }
body.cursor-dark  #cur-ring { border-color: rgba(255,255,255,.4); }

/* ── SCROLL PROGRESS ──────────────────────── */
#scroll-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--red); z-index: 10000; width: 0;
  transition: width .08s linear;
}

/* ── NAV ──────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(248,248,246,.92);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--rule);
}
.nav-dark { background: transparent; }
.nav-dark.scrolled { background: rgba(12,12,12,.92); }

.nav__logo {
  display: flex; align-items: center; gap: 10px;
}
.nav__logo svg, .nav__logo img { height: 28px; width: auto; }

.nav__menu {
  display: flex; align-items: center; gap: 36px;
}
.nav__link {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  position: relative; padding-bottom: 2px;
  transition: color .2s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--red);
  transition: width .25s ease;
}
.nav__link:hover { color: var(--red); }
.nav__link:hover::after { width: 100%; }
.nav-dark .nav__link { color: rgba(255,255,255,.75); }
.nav-dark .nav__link:hover { color: #fff; }

/* Dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 20px); left: 50%;
  transform: translateX(-50%);
  min-width: 240px; background: var(--white);
  border: 1px solid var(--rule); border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  padding: 8px 0; opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dropdown a {
  display: block; padding: 10px 20px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--ink); transition: background .15s, color .15s;
}
.nav__dropdown a:hover { background: var(--surface); color: var(--red); }
.nav__dropdown-category {
  padding: 10px 20px 4px;
  font-family: var(--font-ui); font-size: 9px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ash);
}

.nav__cta {
  font-family: var(--font-ui); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--red); color: var(--white) !important;
  padding: 12px 24px; border-radius: 2px;
  transition: background .2s, transform .15s;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover { background: var(--red-deep); transform: translateY(-1px); }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; }
.nav__hamburger span { width: 24px; height: 1.5px; background: var(--ink); display: block; transition: all .3s; }
.nav-dark .nav__hamburger span { background: #fff; }

/* ── UTILITY ──────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section    { padding: 120px 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--surface { background: var(--surface); }

.label {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.label::before { content: ''; width: 28px; height: 1px; background: var(--red); flex-shrink: 0; }

.display {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 88px);
  font-weight: 700; line-height: 1.05; letter-spacing: -.02em;
}
.display em { font-style: normal; font-weight: 300; color: var(--red); }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
}
.h2 em { font-style: normal; font-weight: 300; color: var(--red); }

.h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600; line-height: 1.2; letter-spacing: -.01em;
}

.body-lg { font-size: 17px; font-weight: 400; line-height: 1.75; color: var(--ash); }
.body    { font-size: 15px; font-weight: 400; line-height: 1.7;  color: var(--ash); }
.caption { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); }

/* ── BUTTONS ──────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 32px; border-radius: 2px;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  border: none; cursor: none;
}
.btn:hover { transform: translateY(-2px); }

.btn--red {
  background: var(--red); color: var(--white);
}
.btn--red:hover { background: var(--red-deep); box-shadow: 0 8px 30px rgba(232,57,42,.3); }

.btn--outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--outline-white {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
}
.btn--outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); border-bottom: 1px solid rgba(232,57,42,.3);
  padding-bottom: 3px; transition: gap .2s, border-color .2s;
}
.btn-arrow:hover { gap: 14px; border-color: var(--red); }
.btn-arrow svg { width: 16px; transition: transform .2s; }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ── MARQUEE ──────────────────────────────── */
.marquee-wrap { overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.marquee-inner { display: flex; gap: 0; white-space: nowrap; }
.marquee-track {
  display: flex; gap: 48px; align-items: center;
  padding: 18px 24px; animation: marquee 22s linear infinite;
  flex-shrink: 0;
}
.marquee-track span {
  font-family: var(--font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.marquee-track .dot { color: var(--red); font-size: 8px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ── WHATSAPP FLOAT ───────────────────────── */
.wa-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(37,211,102,.5); }
.wa-float svg { width: 26px; height: 26px; fill: white; }

/* ── STICKY MOBILE CTA ────────────────────── */
.sticky-cta-mob {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--red); padding: 16px;
  text-align: center;
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: white;
}

/* ── EXIT POPUP ───────────────────────────── */
.popup-backdrop {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(12,12,12,.75); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.popup-backdrop.open { display: flex; }
.popup-box {
  background: var(--white); max-width: 500px; width: 100%;
  padding: 56px 48px; border-radius: 4px; position: relative;
  text-align: center;
  animation: popIn .35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes popIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.popup-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 20px; color: var(--ash);
  transition: color .2s;
}
.popup-close:hover { color: var(--ink); }
.popup-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(232,57,42,.08); color: var(--red);
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.popup-title {
  font-family: var(--font-display); font-size: 36px; font-weight: 600;
  line-height: 1.15; color: var(--ink); margin-bottom: 14px;
}
.popup-title em { font-style: normal; font-weight: 300; color: var(--red); }
.popup-body { font-size: 14px; line-height: 1.7; color: var(--ash); margin-bottom: 28px; }

/* ── FORM ─────────────────────────────────── */
.form-grid { display: grid; gap: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ash);
}
.field input, .field textarea, .field select {
  padding: 14px 16px;
  border: 1px solid var(--rule); border-radius: 2px;
  background: var(--white); font-size: 14px; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,57,42,.08);
}
.field textarea { min-height: 110px; resize: vertical; }

/* ── FOOTER ───────────────────────────────── */
.footer { background: var(--black); color: rgba(255,255,255,.55); }
.footer__top {
  padding: 80px 0 60px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__logo svg, .footer__logo img { height: 36px; width: auto; margin-bottom: 20px; }
.footer__tagline { font-size: 13px; line-height: 1.7; max-width: 240px; }
.footer__col-title {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 13px; transition: color .2s;
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  padding: 28px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.footer__copy { font-size: 12px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.4); transition: border-color .2s, color .2s;
}
.footer__social a:hover { border-color: var(--red); color: var(--red); }

/* ── REVEAL ANIMATIONS ────────────────────── */
/* Reveal animations — elements visible by default, hidden only when JS confirms it's active */
.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94); }
.js-ready .reveal.up { opacity: 1; transform: translateY(0); }
.js-ready .reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94); }
.js-ready .reveal-left.up { opacity: 1; transform: translateX(0); }
.js-ready .reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94); }
.js-ready .reveal-right.up { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --gutter: 24px; }
  .section { padding: 80px 0; }
  .nav__menu { display: none; }
  .nav__hamburger {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1px solid rgba(28,28,28,.15);
    border-radius: 50%; background: rgba(255,255,255,.75); z-index: 1001;
  }
  .nav-dark .nav__hamburger { background: rgba(12,12,12,.2); border-color: rgba(255,255,255,.18); }
  .nav.mobile-open .nav__menu {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: fixed; inset: 72px 0 0 0; left: 0; right: 0;
    background: rgba(255,255,255,.98); padding: 24px 24px 44px; border-top: 1px solid var(--rule);
    box-shadow: 0 18px 40px rgba(0,0,0,.08); z-index: 999; overflow-y: auto;
  }
  .nav.mobile-open .nav__item { width: 100%; }
  .nav.mobile-open .nav__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; font-size: 14px; width: 100%; color: var(--ink);
    border-bottom: 1px solid var(--rule);
  }
  .nav.mobile-open .nav__link::after { display: none; }
  .nav.mobile-open .nav__dropdown {
    position: static; transform: none; box-shadow: none; border: none;
    opacity: 1; visibility: visible; padding: 10px 0 0 16px; background: transparent;
  }
  .nav.mobile-open .nav__dropdown a {
    padding: 10px 0; color: var(--ink); border-bottom: 1px solid rgba(28,28,28,.06);
  }
  .nav.mobile-open .nav__cta {
    display: flex; margin-top: 24px; width: 100%; justify-content: center; padding: 15px 20px;
  }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px;    padding-bottom: 80px; }
  .sticky-cta-mob { display: block; }
  .wa-float { bottom: 80px; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
}


.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: #ffffff8a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer__social a:hover {
  opacity: 0.7;
}

.footer__social svg {
  width: 18px;
  height: 18px;
}