/* ==========================================================================
   INNOVATIVE VIVEK — Design tokens
   Ink navy + gold(rank)/teal(growth) duo-accent, SERP/ranking motif
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  --ink:        #0B0D12;
  --ink-2:      #12151D;
  --paper:      #EEF0F2;
  --paper-2:    #FFFFFF;
  --text-light: #F5F4F0;
  --text-muted: #9AA1AE;
  --text-dark:  #14171D;
  --text-dark-muted: #565D6B;
  --gold:       #E7A93C;
  --gold-dim:   #ad7f2e;
  --teal:       #35C1A0;
  --line:       rgba(245,244,240,0.12);
  --line-dark:  rgba(20,23,29,0.12);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius: 10px;
  --container: 1180px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-light);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.wrap{
  max-width: var(--container);
  margin:0 auto;
  padding:0 32px;
}

@media (max-width:640px){
  .wrap{ padding:0 20px; }
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight:700;
  letter-spacing:-0.01em;
  line-height:1.08;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color: var(--gold);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}
.eyebrow::before{
  content:"";
  width:20px; height:1px;
  background: var(--gold);
  display:inline-block;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 26px;
  border-radius:100px;
  font-family: var(--font-body);
  font-weight:600;
  font-size:15px;
  border:1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-primary{
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(231,169,60,0.55);
}
.btn-ghost{
  border-color: var(--line);
  color: var(--text-light);
}
.btn-ghost:hover{
  border-color: var(--gold);
  color: var(--gold);
}
.btn-dark{
  background: var(--ink);
  color: var(--text-light);
}
.btn-dark:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
}

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:18px 0;
  background: rgba(11,13,18,0.75);
  backdrop-filter: blur(14px);
  border-bottom:1px solid transparent;
  transition: border-color .3s ease, padding .3s ease;
}
.nav.scrolled{
  border-bottom-color: var(--line);
  padding:12px 0;
}
.nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo img{ height:34px; width:auto; filter: brightness(1.25) contrast(1.05); }
.nav-links{
  display:flex; align-items:center; gap:34px;
}
.nav-links a{
  font-size:14.5px; color: var(--text-muted);
  transition: color .2s ease;
}
.nav-links a:hover{ color: var(--text-light); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{ display:none; background:none; border:0; }
@media (max-width: 900px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; }
  .nav-links.open{
    display:flex !important;
    flex-direction:column;
    position:absolute;
    top:100%; left:0; right:0;
    background:#0B0D12;
    padding:20px 32px 26px;
    gap:18px;
    border-bottom:1px solid var(--line);
  }
}

/* ---------- HERO ---------- */
.hero{
  padding: 168px 0 100px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(231,169,60,0.16), transparent 60%),
    radial-gradient(500px 260px at 5% 10%, rgba(53,193,160,0.10), transparent 60%);
  pointer-events:none;
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap:56px;
  align-items:center;
  position:relative;
}
.hero h1{
  font-size: clamp(38px, 5vw, 62px);
  margin-bottom:22px;
}
.hero h1 .hl{ color: var(--gold); }
.hero p.lead{
  font-size:18px;
  color: var(--text-muted);
  max-width:520px;
  margin-bottom:34px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:40px; }
.hero-tags{
  display:flex; gap:22px; flex-wrap:wrap;
  font-family: var(--font-mono);
  font-size:12.5px;
  color: var(--text-muted);
  letter-spacing:0.03em;
}
.hero-tags span{ display:flex; align-items:center; gap:8px; }
.hero-tags .dot{ width:6px; height:6px; border-radius:50%; background: var(--teal); }

/* ---- Signature element: rank climb card ---- */
.rank-card{
  background: var(--ink-2);
  border:1px solid var(--line);
  border-radius: 16px;
  padding:22px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  animation: float-card 5s ease-in-out infinite;
}
@keyframes float-card{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce){
  .rank-card{ animation: none; }
}
.rank-card-top{
  display:flex; align-items:center; gap:8px;
  padding-bottom:16px; margin-bottom:18px;
  border-bottom:1px solid var(--line);
}
.rank-card-top .dot{ width:9px; height:9px; border-radius:50%; background: var(--line); }
.rank-card-bar{
  flex:1; margin-left:10px;
  font-family: var(--font-mono);
  font-size:12px;
  color: var(--text-muted);
  background: var(--ink);
  border-radius:6px;
  padding:7px 12px;
  border:1px solid var(--line);
}
.rank-card-body{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; }
.rank-label{
  font-family: var(--font-mono);
  font-size:11.5px;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color: var(--text-muted);
  margin-bottom:8px;
}
.rank-number{
  font-family: var(--font-display);
  font-size:74px;
  font-weight:700;
  line-height:0.9;
  color: var(--text-light);
}
.rank-number .hash{ color: var(--gold); }
.rank-sub{
  font-family: var(--font-mono);
  font-size:13px;
  color: var(--teal);
  margin-top:10px;
  display:flex; align-items:center; gap:6px;
}
.rank-spark{ width:150px; height:56px; }
.rank-card-foot{
  margin-top:18px; padding-top:16px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center;
  font-family: var(--font-mono); font-size:12px; color: var(--text-muted);
}
.rank-card-foot .kw{ color: var(--text-light); }

/* ---------- SERP-style SERVICES ---------- */
.section{ padding:110px 0; }
.section-light{ background: var(--paper); color: var(--text-dark); }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:40px;
  margin-bottom:56px; flex-wrap:wrap;
}
.section-head h2{ font-size: clamp(28px,3.4vw,42px); }
.section-head p{ color: var(--text-muted); max-width:420px; font-size:15.5px; }
.section-light .section-head p{ color: var(--text-dark-muted); }

.serp-list{ border-top:1px solid var(--line); }
.section-light .serp-list{ border-top-color: var(--line-dark); }
.serp-item{
  display:grid;
  grid-template-columns: 90px 1fr 240px 30px;
  gap:24px;
  align-items:center;
  padding:34px 0;
  border-bottom:1px solid var(--line);
  transition: padding-left .3s ease;
}
.section-light .serp-item{ border-bottom-color: var(--line-dark); }
.serp-item:hover{ padding-left:10px; }
.serp-rank{
  font-family: var(--font-mono);
  font-size:13px;
  color: var(--gold);
}
.serp-rank b{ font-family: var(--font-display); font-size:26px; color: var(--text-light); display:block; }
.section-light .serp-rank b{ color: var(--text-dark); }
.serp-main .serp-url{
  font-family: var(--font-mono);
  font-size:12px;
  color: var(--teal);
  margin-bottom:6px;
}
.serp-main h3{ font-size:22px; margin-bottom:8px; }
.serp-main p{ color: var(--text-muted); font-size:14.5px; max-width:520px; }
.section-light .serp-main p{ color: var(--text-dark-muted); }
.serp-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.serp-tags span{
  font-family: var(--font-mono);
  font-size:11px;
  padding:5px 10px;
  border-radius:100px;
  border:1px solid var(--line);
  color: var(--text-muted);
}
.section-light .serp-tags span{ border-color: var(--line-dark); color: var(--text-dark-muted); }
.serp-arrow{ font-size:20px; color: var(--text-muted); transition: transform .25s ease, color .25s ease; }
.serp-item:hover .serp-arrow{ transform: translateX(4px); color: var(--gold); }

.serp-item.featured .serp-rank b{ color: var(--gold); }
.serp-item.featured .serp-main h3::after{
  content:"FOCUS";
  font-family: var(--font-mono);
  font-size:10px;
  letter-spacing:0.1em;
  color: var(--ink);
  background: var(--gold);
  padding:4px 8px;
  border-radius:100px;
  margin-left:12px;
  vertical-align:middle;
}

@media (max-width:760px){
  .serp-item{
    grid-template-columns: 1fr;
    gap:14px;
    padding:26px 0;
  }
  .serp-rank{ display:flex; align-items:center; gap:10px; }
  .serp-rank b{ display:inline; font-size:16px; }
  .serp-arrow{ display:none; }
  .serp-main h3{ font-size:19px; }
}

/* ---------- PROCESS ---------- */
.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background: var(--line-dark);
  border:1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow:hidden;
}
.process-step{
  background: var(--paper-2);
  padding:36px 26px;
}
.process-step .num{
  font-family: var(--font-mono);
  color: var(--gold-dim);
  font-size:13px;
  margin-bottom:22px;
}
.process-step h4{ font-size:18px; margin-bottom:10px; color: var(--text-dark); }
.process-step p{ font-size:14px; color: var(--text-dark-muted); }
@media (max-width:900px){
  .process-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .process-grid{ grid-template-columns:1fr; }
}

/* ---------- ABOUT / SPLIT ---------- */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:64px;
  align-items:center;
}
.split h2{ font-size: clamp(28px,3.2vw,40px); margin-bottom:22px; }
.split p{ color: var(--text-muted); font-size:16px; margin-bottom:18px; max-width:480px; }
.stat-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:32px;
}
.stat-box{
  border:1px solid var(--line); border-radius:12px; padding:22px;
}
.stat-box .num{
  font-family: var(--font-display); font-size:32px; color: var(--gold);
  margin-bottom:6px;
}
.stat-box .label{ font-size:13px; color: var(--text-muted); }

.visual-panel{
  background: var(--ink-2);
  border:1px solid var(--line);
  border-radius:16px;
  padding:30px;
  position:relative;
  overflow:hidden;
}

@media (max-width:900px){
  .split{ grid-template-columns:1fr; }
}

/* ---------- TESTIMONIAL / TRUST ---------- */
.trust-row{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.trust-card{
  border:1px solid var(--line-dark);
  border-radius:14px;
  padding:28px;
  background: var(--paper-2);
}
.trust-card .quote{ font-size:16.5px; color: var(--text-dark); margin-bottom:20px; }
.trust-card .who{ font-family: var(--font-mono); font-size:12.5px; color: var(--text-dark-muted); }
@media (max-width:900px){
  .trust-row{ grid-template-columns:1fr; }
}

/* ---------- CTA BAND ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--ink-2), var(--ink));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:100px 0;
  text-align:center;
}
.cta-band h2{ font-size: clamp(30px,4vw,48px); margin-bottom:20px; }
.cta-band p{ color: var(--text-muted); font-size:17px; max-width:560px; margin:0 auto 36px; }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ---------- CONTACT ---------- */
.contact-grid{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap:60px;
}
.contact-info .eyebrow{ color: var(--teal); }
.contact-info .eyebrow::before{ background: var(--teal); }
.contact-info h2{ font-size:clamp(28px,3.2vw,40px); margin-bottom:20px; }
.contact-info p{ color: var(--text-muted); margin-bottom:28px; max-width:420px; }
.contact-list{ display:flex; flex-direction:column; gap:16px; }
.contact-list a{
  display:flex; align-items:center; gap:12px;
  font-size:15px; color: var(--text-light);
  padding-bottom:14px; border-bottom:1px solid var(--line);
}
.contact-list span.tag{
  font-family: var(--font-mono); font-size:11px; color: var(--gold);
  text-transform:uppercase; letter-spacing:0.08em; width:80px;
}

.form-card{
  background: var(--ink-2);
  border:1px solid var(--line);
  border-radius:16px;
  padding:34px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-family: var(--font-mono); font-size:11.5px; color: var(--text-muted); text-transform:uppercase; letter-spacing:0.06em; }
.field input, .field select, .field textarea{
  background: var(--ink);
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px 14px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size:14.5px;
  outline:none;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--gold); }
.field.full{ grid-column: 1 / -1; }
.form-submit{ width:100%; justify-content:center; margin-top:6px; }

@media (max-width:900px){
  .contact-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
}

/* ---------- FOOTER ---------- */
.footer{
  padding:50px 0 30px;
  border-top:1px solid var(--line);
}
.footer .wrap{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px;
}
.footer-logo img{ height:28px; filter: brightness(1.25) contrast(1.05); }
.footer-links{ display:flex; gap:26px; flex-wrap:wrap; }
.footer-links a{ font-size:13.5px; color: var(--text-muted); }
.footer-links a:hover{ color: var(--text-light); }
.footer-copy{ font-family: var(--font-mono); font-size:12px; color: var(--text-muted); }

/* ---------- REVEAL ANIM ---------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ scroll-behavior:auto !important; }
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float{
  position:fixed;
  bottom:24px; right:24px;
  z-index:200;
  width:58px; height:58px;
  border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6);
  transition: transform .25s ease;
}
.whatsapp-float::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:#25D366;
  animation: wa-pulse 2.4s ease-out infinite;
  z-index:-1;
}
@keyframes wa-pulse{
  0%{ transform: scale(1); opacity:0.55; }
  100%{ transform: scale(1.9); opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-float::before{ animation: none; }
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float svg{ width:30px; height:30px; }

/* ---------- KEYWORD MARQUEE ---------- */
.marquee{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:16px 0;
  overflow:hidden;
  white-space:nowrap;
  background: var(--ink-2);
}
.marquee-track{
  display:inline-flex;
  gap:0;
  animation: scroll-left 32s linear infinite;
}
.marquee-track span{
  font-family: var(--font-mono);
  font-size:13px;
  color: var(--text-muted);
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  gap:22px;
}
.marquee-track span::after{
  content:"•";
  color: var(--gold);
  margin-left:22px;
}
@keyframes scroll-left{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* ---------- AREAS WE SERVE ---------- */
.areas-chips{
  display:flex; flex-wrap:wrap; gap:12px;
  margin-top:8px;
}
.areas-chips span{
  font-family: var(--font-mono);
  font-size:13px;
  padding:9px 16px;
  border-radius:100px;
  border:1px solid var(--line);
  color: var(--text-light);
  display:inline-flex; align-items:center; gap:8px;
}
.areas-chips span .dot{ width:6px; height:6px; border-radius:50%; background: var(--gold); }
.areas-map{
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
}
.areas-map iframe{ width:100%; height:100%; min-height:280px; border:0; display:block; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

/* mobile hero stack */
@media (max-width:900px){
  .hero .wrap{ grid-template-columns:1fr; }
  .hero{ padding-top:140px; }
}

/* ---------- BROADER MOBILE POLISH ---------- */
@media (max-width:760px){
  .section{ padding:72px 0; }
  .hero{ padding:130px 0 60px; }
  .hero h1{ font-size: clamp(30px, 8vw, 42px); }
  .hero p.lead{ font-size:16px; }
  .hero-actions .btn{ width:100%; justify-content:center; }
  .hero-actions{ flex-direction:column; }

  .section-head{ flex-direction:column; align-items:flex-start; gap:14px; margin-bottom:36px; }

  .rank-card{ padding:18px; }
  .rank-card-body{ flex-wrap:wrap; gap:18px; }
  .rank-number{ font-size:56px; }
  .rank-spark{ width:110px; height:44px; }
  .rank-card-bar{ font-size:11px; }

  .process-grid{ border-radius:8px; }
  .process-step{ padding:28px 22px; }

  .stat-grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .stat-box{ padding:16px; }

  .cta-band{ padding:64px 0; }
  .cta-actions .btn{ width:100%; justify-content:center; }
  .cta-actions{ flex-direction:column; }

  .form-card{ padding:22px; }

  .footer .wrap{ flex-direction:column; align-items:flex-start; gap:16px; }

  .whatsapp-float{ width:52px; height:52px; bottom:18px; right:18px; }
  .whatsapp-float svg{ width:26px; height:26px; }

  .areas-map iframe{ min-height:220px; }
}

@media (max-width:420px){
  .hero-tags{ flex-direction:column; gap:10px; }
  .nav .btn-primary{ padding:9px 14px !important; font-size:13px !important; }
}
