/* ==========================================================================
   AVN TEXPERTS — STYLESHEET
   Tokens: navy #0A1930, blue #26418F, red #C0203E, off-white #F6F7F9
   ========================================================================== */

:root{
  --white:#FFFFFF;
  --off-white:#F6F7F9;
  --navy:#0A1930;
  --navy-soft:#12244A;
  --navy-line:rgba(255,255,255,.12);
  --blue:#26418F;
  --blue-bright:#2F5DD6;
  --red:#C0203E;
  --ink:#10182B;
  --muted:#5B6472;
  --border:#E4E7EC;
  --shadow-sm:0 1px 2px rgba(16,24,43,.06);
  --shadow-md:0 8px 24px rgba(16,24,43,.08);
  --shadow-lg:0 20px 48px rgba(16,24,43,.14);
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:22px;
  --container:1160px;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important;}
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

h1,h2,h3,h4{
  font-family:var(--font);
  font-weight:700;
  color:var(--ink);
  line-height:1.2;
  margin:0 0 14px;
  letter-spacing:-0.01em;
}
h2{font-size:clamp(1.7rem,3vw,2.35rem);}
h3{font-size:1.15rem;font-weight:600;}
p{margin:0 0 14px;color:var(--muted);}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
img{max-width:100%;display:block;}
button{font-family:var(--font);}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
.container-narrow{max-width:820px;}

.section{padding:88px 0;}
@media (max-width:768px){.section{padding:60px 0;}}

.section-head{max-width:680px;margin:0 0 44px;}
.section-sub{font-size:1.02rem;max-width:600px;}

.eyebrow{
  display:inline-block;
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.04em;
  color:var(--blue);
  margin:0 0 14px;
}
.eyebrow-dark{color:var(--blue);}
.eyebrow-light{color:#9FB4E8;}
.hero .eyebrow{color:#9FB4E8;}

.on-dark{color:var(--white);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 26px;
  border-radius:10px;
  font-size:.96rem;
  font-weight:600;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--navy);
  color:var(--white);
}
.btn-primary:hover{background:var(--blue-bright); box-shadow:var(--shadow-md); transform:translateY(-1px);}
.btn-ghost{
  background:transparent;
  color:var(--navy);
  border-color:var(--border);
}
.btn-ghost:hover{border-color:var(--navy); background:var(--off-white);}
.btn-sm{padding:10px 18px; font-size:.88rem;}
.btn-block{width:100%;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.brand{display:flex;align-items:center;}
.brand-logo{height:50px;width:auto;display:block;}

.main-nav ul{display:flex;gap:32px;align-items:center;}
.nav-link{
  font-size:.93rem;
  font-weight:500;
  color:var(--ink);
  position:relative;
  padding:6px 0;
  transition:color .15s ease;
}
.nav-link:hover{color:var(--blue);}
.nav-link.active{color:var(--blue);}
.nav-link.active::after{
  content:'';
  position:absolute;
  left:0;right:0;bottom:-2px;
  height:2px;
  background:var(--red);
  border-radius:2px;
}

.header-actions{display:flex;align-items:center;gap:14px;}

.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px;height:38px;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--white);
  cursor:pointer;
  padding:0;
}
.hamburger span{
  display:block;
  width:16px;height:2px;
  background:var(--navy);
  margin:0 auto;
  transition:transform .25s ease, opacity .25s ease;
}
.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{
  max-height:0;
  overflow:hidden;
  background:var(--white);
  border-bottom:1px solid transparent;
  transition:max-height .3s ease, border-color .3s ease;
}
.mobile-nav.open{max-height:520px; border-color:var(--border);}
.mobile-nav ul{padding:14px 24px 22px;display:flex;flex-direction:column;gap:4px;}
.mobile-nav .nav-link{display:block;padding:12px 4px;font-size:1rem;border-bottom:1px solid var(--border);}
.mobile-nav .btn{margin-top:12px;}

@media (max-width:860px){
  .main-nav{display:none;}
  .hamburger{display:flex;}
}

/* ---------- Hero ---------- */
.hero{padding:76px 0 90px;background:linear-gradient(180deg,var(--navy) 0%, var(--navy-soft) 100%);}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}
.hero-heading{font-size:clamp(2.1rem,4.4vw,3.1rem); margin-bottom:18px; color:var(--white);}
.accent{color:#7FA3F5; position:relative;}
.hero-sub{font-size:1.08rem; max-width:520px; margin-bottom:28px; color:#B7C2DE;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:32px;}
.hero-ctas .btn-primary{background:var(--white); color:var(--navy);}
.hero-ctas .btn-primary:hover{background:#EDF1FB; box-shadow:var(--shadow-md); transform:translateY(-1px);}
.hero-ctas .btn-ghost{color:var(--white); border-color:rgba(255,255,255,.3);}
.hero-ctas .btn-ghost:hover{border-color:rgba(255,255,255,.6); background:rgba(255,255,255,.06);}
.hero-points{display:flex; gap:24px; flex-wrap:wrap;}
.hero-points li{display:flex; align-items:center; gap:8px; font-size:.9rem; font-weight:500; color:#DCE2F0;}
.dot{width:8px;height:8px;border-radius:50%;display:inline-block;}
.dot-blue{background:#7FA3F5;}
.dot-red{background:var(--red);}
.dot-navy{background:var(--white);}

/* Hero visual */
.hero-visual{display:flex; flex-direction:column; gap:20px;}
.flow-card,.chart-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-md);
  padding:22px;
}
.flow-title,.chart-title{font-size:.82rem; font-weight:600; color:var(--navy); margin-bottom:16px; text-transform:none;}
.flow-pipeline{display:flex; flex-direction:column; align-items:flex-start;}
.flow-step{
  display:flex; align-items:center; gap:10px;
  font-size:.9rem; font-weight:500; color:var(--ink);
  background:var(--off-white);
  border:1px solid var(--border);
  border-radius:8px;
  padding:9px 14px;
  width:100%;
}
.flow-step-final{background:rgba(192,32,62,.06); border-color:rgba(192,32,62,.25); color:var(--red); font-weight:600;}
.flow-icon{font-size:.78rem; color:var(--blue); font-weight:700;}
.flow-line{
  width:2px; height:22px; margin-left:20px;
  background:var(--border);
  position:relative;
  overflow:hidden;
}
.flow-pulse{
  position:absolute; left:-2px; top:-10px;
  width:6px; height:6px; border-radius:50%;
  background:var(--blue-bright);
  animation:flowPulse 2s ease-in-out infinite;
}
@keyframes flowPulse{
  0%{top:-10px; opacity:0;}
  15%{opacity:1;}
  85%{opacity:1;}
  100%{top:26px; opacity:0;}
}

.chart-row{display:flex; align-items:center; gap:12px; margin-bottom:12px;}
.chart-label{width:76px; font-size:.85rem; font-weight:500; color:var(--muted); flex-shrink:0;}
.chart-track{flex:1; background:var(--off-white); border-radius:8px; overflow:hidden; height:30px;}
.chart-bar{
  height:100%;
  width:0;
  border-radius:8px;
  display:flex; align-items:center; justify-content:flex-end;
  padding-right:10px;
  color:var(--white);
  font-size:.78rem; font-weight:600;
  transition:width 1.1s cubic-bezier(.22,.68,.3,1);
}
.chart-bar-manual{background:var(--navy);}
.chart-bar-auto{background:var(--blue-bright);}
.hero-visual.in-view .chart-bar{width:var(--w);}
.chart-caption{font-size:.78rem; color:var(--muted); margin:10px 0 0;}

@media (max-width:940px){
  .hero-grid{grid-template-columns:1fr; gap:44px;}
}

/* ---------- Grids & cards ---------- */
.grid{display:grid; gap:24px;}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
@media (max-width:940px){
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:620px){
  .grid-4,.grid-3{grid-template-columns:1fr;}
}

.problem-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:26px 24px;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.problem-card:hover{box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:transparent;}
.card-index{
  display:inline-block;
  font-size:.78rem; font-weight:700; color:var(--red);
  margin-bottom:12px;
  letter-spacing:.03em;
}
.problem-card p, .service-card p, .support-card p{font-size:.94rem; margin-bottom:0;}

/* Shift / transition section */
.shift{background:var(--off-white);}
.shift-inner{text-align:center; max-width:640px; margin:0 auto;}
.shift-path{
  display:flex; flex-direction:column; align-items:center; gap:6px;
  margin-top:24px;
  font-weight:600; font-size:1.02rem; color:var(--muted);
}
.shift-path span{padding:4px 0;}
.shift-final{color:var(--red);}
.shift-arrow{color:var(--blue); font-size:1.1rem;}

/* Services */
.service-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:28px 24px;
  position:relative;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.service-card:hover{box-shadow:var(--shadow-lg); transform:translateY(-4px); border-color:transparent;}
.service-num{
  position:absolute; top:24px; right:24px;
  font-size:.78rem; font-weight:700; color:var(--border);
}
.service-icon{font-size:1.6rem; display:block; margin-bottom:16px;}

/* Process (dark) */
.process{background:var(--navy); color:var(--white);}
.process .section-sub{color:#B7C2DE;}
.timeline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  position:relative;
}
.timeline-item{
  padding:0 20px 0 0;
  position:relative;
  border-top:2px solid var(--navy-line);
  padding-top:22px;
}
.timeline-item::before{
  content:'';
  position:absolute; top:-2px; left:0;
  width:44px; height:2px; background:var(--red);
}
.timeline-num{display:block; font-size:.82rem; font-weight:700; color:#7C93D6; margin-bottom:10px;}
.timeline-item h3{color:var(--white);}
.timeline-item p{color:#AEB9D6; font-size:.92rem;}

@media (max-width:860px){
  .timeline{grid-template-columns:1fr; gap:28px;}
  .timeline-item{border-top:none; border-left:2px solid var(--navy-line); padding:0 0 0 22px;}
  .timeline-item::before{top:0; left:-2px; width:2px; height:36px;}
}

/* Support cards */
.support-card{
  background:var(--off-white);
  border-radius:var(--radius-md);
  padding:26px 24px;
  border:1px solid var(--border);
}

/* About */
.about-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:44px;}
.about-block{
  padding:24px 0 0;
  border-top:2px solid var(--border);
}
.about-block h3{color:var(--navy);}
.about-block p{font-size:.95rem;}
@media (max-width:860px){.about-grid{grid-template-columns:1fr; gap:28px;}}

.why-us{
  background:var(--off-white);
  border-radius:var(--radius-lg);
  padding:36px;
}
.why-us h3{margin-bottom:18px;}
.why-list{display:grid; grid-template-columns:repeat(2,1fr); gap:12px 28px;}
.why-list li{
  font-size:.95rem; font-weight:500; color:var(--ink);
  padding-left:22px; position:relative;
}
.why-list li::before{
  content:'';
  position:absolute; left:0; top:9px;
  width:9px; height:9px; border-radius:2px;
  background:var(--blue);
}
@media (max-width:620px){.why-list{grid-template-columns:1fr;} .why-us{padding:26px;}}

/* Case studies */
.case-card{
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:26px 24px;
  text-align:center;
  background:var(--white);
}
.case-path{display:flex; flex-direction:column; align-items:center; gap:4px; font-weight:600; color:var(--navy); margin-bottom:18px; font-size:.92rem;}
.case-arrow{color:var(--blue); font-size:.85rem;}
.case-soon{
  font-size:.85rem; color:var(--muted); font-style:italic; margin:0;
  border-top:1px dashed var(--border); padding-top:14px;
}

/* FAQ */
.faq-list{display:flex; flex-direction:column; gap:10px;}
.faq-item{
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:6px 20px;
  background:var(--white);
}
.faq-item summary{
  cursor:pointer;
  list-style:none;
  padding:16px 28px 16px 0;
  font-weight:600;
  font-size:.98rem;
  color:var(--ink);
  position:relative;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:'+';
  position:absolute; right:0; top:14px;
  font-size:1.3rem; color:var(--blue); font-weight:400;
  transition:transform .2s ease;
}
.faq-item[open] summary::after{content:'–';}
.faq-item p{padding-bottom:16px; margin:0; font-size:.94rem;}

/* Contact */
.contact-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:40px;}
.contact-info{display:flex; flex-direction:column; gap:14px;}
.contact-method{
  display:flex; flex-direction:column; gap:4px;
  padding:20px 22px;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.contact-method:hover{border-color:var(--blue); box-shadow:var(--shadow-sm); transform:translateY(-2px);}
.contact-label{font-size:.76rem; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:.05em;}
.contact-value{font-size:1.05rem; font-weight:600; color:var(--navy);}

.contact-form{
  background:var(--off-white);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px;
}
.form-row{margin-bottom:18px; display:flex; flex-direction:column; gap:6px;}
.form-row label{font-size:.85rem; font-weight:600; color:var(--ink);}
.form-row input, .form-row textarea{
  font-family:var(--font);
  font-size:.95rem;
  padding:12px 14px;
  border:1.5px solid var(--border);
  border-radius:9px;
  background:var(--white);
  color:var(--ink);
  transition:border-color .15s ease, box-shadow .15s ease;
  resize:vertical;
}
.form-row input:focus, .form-row textarea:focus{
  outline:none;
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(38,65,143,.14);
}
.form-row input.invalid, .form-row textarea.invalid{border-color:var(--red);}
.form-error{font-size:.78rem; color:var(--red); min-height:14px;}
.form-note{font-size:.86rem; margin:14px 0 0; text-align:center; color:var(--blue); min-height:16px;}

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

/* Footer */
.site-footer{background:var(--navy); color:#B7C2DE; padding-top:64px;}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr .8fr .8fr .9fr;
  gap:36px;
  padding-bottom:44px;
  border-bottom:1px solid var(--navy-line);
}
.footer-logo{height:30px; width:auto; margin-bottom:16px; display:block;}
.footer-tagline{font-size:.85rem; font-weight:600; color:#9FB4E8; margin-bottom:10px;}
.footer-desc{font-size:.86rem; max-width:280px; color:#8E9BC0;}
.footer-col h4{color:var(--white); font-size:.85rem; letter-spacing:.03em; margin-bottom:16px;}
.footer-col ul{display:flex; flex-direction:column; gap:10px;}
.footer-col a{font-size:.88rem; color:#AEB9D6; transition:color .15s ease;}
.footer-col a:hover{color:var(--white);}
.footer-bottom{padding:22px 0; }
.footer-bottom p{margin:0; font-size:.8rem; color:#7C88A8;}

@media (max-width:860px){
  .footer-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:560px){
  .footer-grid{grid-template-columns:1fr; gap:28px;}
}

/* WhatsApp floating button */
.whatsapp-fab{
  position:fixed; right:22px; bottom:22px; z-index:90;
  width:54px; height:54px; border-radius:50%;
  background:var(--navy); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lg);
  transition:transform .18s ease, background .18s ease;
}
.whatsapp-fab:hover{transform:translateY(-3px); background:var(--blue-bright);}

/* Reveal-on-scroll */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in-view{opacity:1; transform:translateY(0);}
