/* ═══════════════════════════════════════
   RSS GROUP — DESIGN SYSTEM
   Phase 1: Core Layout & Typography
   ═══════════════════════════════════════ */

/* ── RESET ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
img,svg{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
ul,ol{list-style:none}
button,input,select,textarea{font:inherit;border:none;outline:none;background:none}

/* ── TOKENS ── */
:root{
  --navy:#0F1D3D;
  --mid-blue:#2D5DA1;
  --amber:#D4841A;
  --white:#FFFFFF;
  --off-white:#F5F6FA;
  --dark-bg:#0F1729;
  --text-body:#4B5563;
  --text-muted:#525B6B;
  --text-light:#5E6675;
  /* Darker amber for small text on light backgrounds.
     #D4841A is only 2.7:1 on off-white and fails WCAG AA.
     Keep --amber for fills, dividers, and the logo mark. */
  --amber-text:#9C5D07;
  --border:#E5E7EB;
  --font:'Noto Sans',sans-serif;
  --font-deva:'Noto Sans Devanagari',sans-serif;
  --max-w:1200px;
  --shadow-card:0 1px 3px rgba(0,0,0,0.06),0 12px 40px rgba(15,29,61,0.06);
  --shadow-card-hover:0 1px 3px rgba(0,0,0,0.06),0 20px 56px rgba(15,29,61,0.10);
  --radius:16px;
}

/* ── BASE ── */
body{
  font-family:var(--font);
  font-size:18px;
  font-weight:400;
  color:var(--text-body);
  background:var(--off-white);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4{color:var(--navy);font-weight:700;line-height:1.2}
h1{font-size:clamp(40px,5vw,64px);letter-spacing:-0.02em}
h2{font-size:clamp(32px,4vw,40px)}
h3{font-size:24px}
h4{font-size:20px}
p{margin-bottom:1em}
p:last-child{margin-bottom:0}

.section-label{
  font-size:13px;font-weight:700;color:var(--amber-text);
  letter-spacing:0.15em;text-transform:uppercase;
  margin-bottom:12px;
}
.section-heading{margin-bottom:16px}
.section-line{
  width:40px;height:3px;background:var(--amber);
  border-radius:2px;margin-bottom:40px;
}
.section-desc{
  font-size:18px;color:var(--text-body);
  max-width:600px;line-height:1.7;margin-bottom:48px;
}

/* ── LAYOUT ── */
.container{
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 32px;
}
.section{padding:100px 0}
.section-sm{padding:72px 0}

/* ── GRID ── */
.grid{display:grid;gap:28px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}

/* ── CARDS ── */
.card{
  background:var(--white);
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow-card);
  transition:box-shadow 0.3s,transform 0.3s;
}

/* ── BUTTONS ── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-size:16px;font-weight:600;
  padding:14px 32px;border-radius:8px;
  cursor:pointer;transition:background 0.2s,transform 0.1s;
  white-space:nowrap;
}
.btn:active{transform:scale(0.98)}
.btn-amber{background:var(--amber);color:var(--navy)}
.btn-amber:hover{background:#c07416}
.btn-outline{background:transparent;color:var(--white);border:2px solid rgba(255,255,255,0.45)}
.btn-outline:hover{border-color:rgba(255,255,255,0.6);background:rgba(255,255,255,0.06)}
.btn-navy{background:var(--navy);color:var(--white)}
.btn-navy:hover{background:#0a1430}
.btn-ghost{background:transparent;color:var(--mid-blue);padding:14px 0}

/* ── NAVIGATION ── */
.nav{
  position:sticky;top:0;z-index:1000;
  background:var(--white);
  height:76px;
  border-bottom:1px solid var(--border);
  transition:box-shadow 0.3s;
}
.nav.scrolled{box-shadow:0 2px 20px rgba(15,29,61,0.08)}
.nav-inner{
  max-width:var(--max-w);margin:0 auto;
  padding:0 32px;height:100%;
  display:flex;align-items:center;
}
.nav-brand{
  display:flex;align-items:center;gap:10px;
  text-decoration:none;flex-shrink:0;
}
.nav-brand svg{width:28px;height:34px}
.nav-brand span{
  font-size:16px;font-weight:700;color:var(--navy);
  letter-spacing:0.08em;text-transform:uppercase;
}
.nav-links{
  display:flex;gap:32px;margin:0 auto;
}
.nav-links a{
  font-size:15px;font-weight:600;color:var(--text-body);
  padding:4px 0;position:relative;
  transition:color 0.2s;
}
.nav-links a:hover{color:var(--navy)}
.nav-links a.active{
  color:var(--navy);font-weight:600;
}
.nav-links a.active::after{
  content:'';position:absolute;bottom:-2px;left:0;right:0;
  height:2px;background:var(--amber);border-radius:1px;
}
.nav-right{
  display:flex;align-items:center;gap:20px;flex-shrink:0;
}
/* Both partners' numbers sit in the bar. They are links, not plain text —
   on a phone the old markup could be read but not tapped. Below 1180px there
   is no longer room for two alongside the CTA, so the second drops out and the
   Contact page carries both. */
.nav-phone{font-size:14px;font-weight:600;color:var(--navy);white-space:nowrap}
.nav-phone a{color:var(--navy);text-decoration:none}
.nav-phone a:hover{color:var(--amber-text,#9C5D07)}
.nav-phone-sep{margin:0 8px;color:#9CA3AF}
@media(max-width:1180px){
  .nav-phone-sep,.nav-phone-alt{display:none}
}
.nav-cta{
  font-size:14px;font-weight:700;color:var(--navy);
  background:var(--amber);padding:10px 24px;border-radius:8px;
  transition:background 0.2s;
}
.nav-cta:hover{background:#c07416}

/* Hamburger */
.hamburger{
  display:none;width:28px;height:20px;
  flex-direction:column;justify-content:space-between;
  cursor:pointer;margin-left:auto;
}
.hamburger span{
  display:block;width:100%;height:2px;
  background:var(--navy);border-radius:1px;
  transition:transform 0.3s,opacity 0.3s;
}
.hamburger.open span:nth-child(1){transform:translateY(9px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

/* Mobile menu overlay */
.mobile-menu{
  position:fixed;top:76px;right:-100%;bottom:0;
  width:100%;background:var(--white);z-index:999;
  display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:32px;
  transition:right 0.35s ease;
}
.mobile-menu.open{right:0}
.mobile-menu a{
  font-size:24px;font-weight:600;color:var(--navy);
}
.mobile-menu a.active{color:var(--amber-text)}

/* ── HERO ── */
.hero{
  background:linear-gradient(160deg,var(--navy) 0%,var(--dark-bg) 100%);
  min-height:100vh;display:flex;align-items:center;
  position:relative;overflow:hidden;
}
.hero-inner{
  max-width:var(--max-w);margin:0 auto;
  padding:0 32px;width:100%;
  position:relative;z-index:2;
}
.hero h1{color:var(--white);margin-bottom:20px}
.hero-sub{
  font-size:20px;color:rgba(255,255,255,0.7);
  max-width:540px;margin-bottom:40px;line-height:1.6;
}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.hero-trust{font-size:14px;color:rgba(255,255,255,0.68)}
.hero-watermark{
  position:absolute;right:-60px;top:50%;transform:translateY(-50%);
  width:400px;height:480px;opacity:0.03;z-index:1;
}
/* Page hero (non-home) */
.page-hero{
  background:linear-gradient(160deg,var(--navy) 0%,var(--dark-bg) 100%);
  padding:120px 0 72px;
}
.page-hero h1{color:var(--white);font-size:clamp(36px,4vw,48px);margin-bottom:12px}
.breadcrumb{font-size:14px;color:rgba(255,255,255,0.68)}
.breadcrumb a{color:rgba(255,255,255,0.68);transition:color 0.2s}
.breadcrumb a:hover{color:var(--amber)}

/* ── STAT CARDS ── */
.stat-card{text-align:center;padding:40px 24px}
.stat-number{
  font-size:72px;font-weight:700;color:var(--navy);
  line-height:1;margin-bottom:8px;
}
.stat-number .plus{color:var(--amber-text)}
.stat-label{
  font-size:13px;font-weight:600;color:var(--text-light);
  letter-spacing:0.08em;text-transform:uppercase;
}

/* ── SERVICE CARD ── */
.service-card{border-top:3px solid var(--amber);padding:32px}
.service-card h3{margin-bottom:12px}
.service-card p{font-size:16px;color:var(--text-body);margin-bottom:20px}
.service-card .link{
  font-size:15px;font-weight:600;color:var(--mid-blue);
  display:inline-flex;align-items:center;gap:6px;
}

/* ── VALUE CARD ── */
.value-card{text-align:center;padding:40px 32px}
.value-big{
  font-size:56px;font-weight:800;color:var(--navy);
  line-height:1;margin-bottom:12px;
}
.value-card h3{margin-bottom:8px}

/* ── CTA BAND ── */
.cta-band{
  background:linear-gradient(160deg,var(--navy) 0%,var(--dark-bg) 100%);
  padding:80px 0;text-align:center;
}
.cta-band .section-label{color:var(--amber)}
.cta-band h2{color:var(--white);margin-bottom:32px}
.cta-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* ── DIRECTOR CARD ── */
.director-card{display:flex;align-items:center;gap:24px;padding:32px}
.director-avatar{
  width:72px;height:72px;border-radius:50%;
  background:var(--navy);display:flex;align-items:center;justify-content:center;
  font-size:24px;font-weight:700;color:var(--white);flex-shrink:0;
}
.director-name{font-size:20px;font-weight:700;color:var(--navy);margin-bottom:2px}
.director-role{font-size:14px;color:var(--text-muted)}
.director-contact{font-size:14px;color:var(--text-body);margin-top:8px;line-height:1.8}

/* ── AREA TAGS ── */
.area-tag{
  display:inline-block;background:var(--white);
  padding:10px 20px;border-radius:8px;
  font-size:15px;font-weight:600;color:var(--navy);
  box-shadow:var(--shadow-card);
}

/* ── SERVICE SECTION (alternating) ── */
.service-section{padding:80px 0}
.service-section:nth-child(even){background:var(--white)}
.service-block{
  display:flex;align-items:flex-start;gap:48px;
  max-width:800px;
}
.service-accent{
  width:4px;min-height:100px;background:var(--amber);
  border-radius:2px;flex-shrink:0;margin-top:4px;
}
.service-text h2{margin-bottom:16px}
.service-text p{font-size:18px;margin-bottom:24px}

/* ── JOB CATEGORY CARD ── */
.job-card{
  text-align:center;padding:28px 20px;
  cursor:pointer;
}
.job-card h4{font-size:16px;margin-top:12px}

/* ── CALLOUT ── */
.callout{
  background:rgba(212,132,26,0.08);
  border-left:4px solid var(--amber);
  border-radius:0 12px 12px 0;
  padding:20px 28px;margin-bottom:40px;
}
.callout-big{font-size:24px;font-weight:800;color:var(--amber-text)}

/* ── FORMS ── */
.form-card{
  background:var(--white);border-radius:var(--radius);
  padding:48px;box-shadow:var(--shadow-card);
}
.form-group{margin-bottom:24px}
.form-label{
  display:block;font-size:14px;font-weight:600;
  color:var(--navy);margin-bottom:8px;
}
.form-field{
  width:100%;height:56px;
  background:var(--off-white);border:1px solid var(--border);
  border-radius:10px;padding:0 18px;
  font-size:16px;color:var(--navy);
  transition:border-color 0.2s,box-shadow 0.2s;
}
.form-field:focus{
  border-color:var(--amber);
  box-shadow:0 0 0 3px rgba(212,132,26,0.1);
}
.form-field::placeholder{color:var(--text-light)}
select.form-field{appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;
}
textarea.form-field{height:140px;padding:16px 18px;resize:vertical}
.form-submit{width:100%;height:56px;font-size:16px;font-weight:600;border-radius:10px}

/* ── FAQ ── */
.faq-item{
  background:var(--white);border-radius:12px;
  margin-bottom:12px;box-shadow:var(--shadow-card);
  overflow:hidden;
}
.faq-q{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 28px;cursor:pointer;
  font-size:16px;font-weight:600;color:var(--navy);
}
.faq-icon{
  width:24px;height:24px;flex-shrink:0;
  color:var(--text-light);transition:transform 0.3s;
}
.faq-a{
  padding:0 28px 20px;font-size:16px;
  color:var(--text-body);display:none;
}

/* ── CONTACT INFO ── */
.contact-item{
  display:flex;gap:16px;margin-bottom:24px;
}
.contact-icon{
  width:44px;height:44px;border-radius:10px;
  background:rgba(212,132,26,0.08);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.contact-icon svg{width:20px;height:20px;color:var(--amber)}
.contact-text{font-size:16px;color:var(--text-body);line-height:1.6}
.contact-text strong{color:var(--navy);display:block;margin-bottom:2px}

/* ── MAP PLACEHOLDER ── */
.map-placeholder{
  width:100%;height:280px;background:var(--white);
  border-radius:var(--radius);box-shadow:var(--shadow-card);
  display:flex;align-items:center;justify-content:center;
  color:var(--text-light);font-size:15px;font-weight:500;
}

/* ── FOOTER ── */
.footer{
  background:var(--navy);position:relative;
  padding:80px 0 0;
}
.footer::before{
  content:'';position:absolute;top:0;left:0;right:0;
  height:2px;background:var(--amber);
}
.footer-grid{
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:48px;padding-bottom:48px;
}
.footer-heading{
  font-size:12px;font-weight:700;color:var(--white);
  letter-spacing:0.12em;text-transform:uppercase;
  margin-bottom:20px;
}
.footer-brand{display:flex;flex-direction:column;gap:8px}
.footer-brand svg{width:36px;height:44px}
.footer-brand .name{font-size:18px;font-weight:700;color:var(--white);letter-spacing:0.06em}
.footer-brand .full{font-size:14px;color:rgba(255,255,255,0.7)}
.footer-brand .tagline{font-size:14px;font-weight:600;color:var(--amber);margin-top:4px}
.footer-links a{
  display:block;font-size:15px;color:rgba(255,255,255,0.7);
  padding:4px 0;transition:color 0.2s;
}
.footer-links a:hover{color:var(--amber)}
.footer-contact-item{
  display:flex;gap:10px;margin-bottom:12px;
  font-size:14px;color:rgba(255,255,255,0.7);
}
.footer-contact-item svg{width:16px;height:16px;color:var(--amber);flex-shrink:0;margin-top:3px}
.footer-contact-item a{color:var(--amber)}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);
  padding:20px 0;display:flex;justify-content:space-between;
  font-size:13px;color:rgba(255,255,255,0.62);
}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .container{padding:0 20px}
  .section{padding:72px 0}
  h1{font-size:36px}
  h2{font-size:28px}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .nav-links,.nav-right .nav-phone{display:none}
  .nav-right .nav-cta{display:none}
  .hamburger{display:flex}
  .hero{min-height:auto;padding:120px 0 80px}
  .hero-watermark{display:none}
  .stat-number{font-size:48px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:8px;text-align:center}
  .service-block{flex-direction:column;gap:24px}
  .director-card{flex-direction:column;text-align:center}
  .form-card{padding:28px}
  .cta-band{padding:56px 0}
  .page-hero{padding:100px 0 56px}
}
@media(max-width:480px){
  h1{font-size:32px}
  .hero-sub{font-size:17px}
  .btn{padding:12px 24px;font-size:15px}
  .stat-card{padding:28px 16px}
}

/* ═══════════════════════════════════════
   PHASE 2: INTERACTIVITY & ANIMATIONS
   ═══════════════════════════════════════ */

/* ── 29. PAGE LOAD FADE ── */
body{opacity:0;transition:opacity 0.4s ease}
body.loaded{opacity:1}

/* ── REDUCED MOTION ── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
    scroll-behavior:auto !important;
  }
  body{opacity:1 !important}
  .reveal{opacity:1 !important;transform:none !important}
}

/* ── 1. SCROLL REVEAL ── */
.reveal{
  opacity:0;transform:translateY(24px);
  transition:opacity 0.6s ease,transform 0.6s ease;
  will-change:opacity,transform;
}
.reveal.visible{opacity:1;transform:translateY(0)}

/* ── 2. STAGGERED CARD ENTRANCE ── */
.reveal-stagger>.card,.reveal-stagger>.service-card,
.reveal-stagger>.stat-card,.reveal-stagger>.value-card,
.reveal-stagger>.faq-item,.reveal-stagger>.area-tag,
.reveal-stagger>.director-card{
  opacity:0;transform:translateY(20px);
  transition:opacity 0.5s ease,transform 0.5s ease;
}
.reveal-stagger.visible>.card:nth-child(1),
.reveal-stagger.visible>.service-card:nth-child(1),
.reveal-stagger.visible>.stat-card:nth-child(1),
.reveal-stagger.visible>.value-card:nth-child(1){transition-delay:0ms}
.reveal-stagger.visible>.card:nth-child(2),
.reveal-stagger.visible>.service-card:nth-child(2),
.reveal-stagger.visible>.stat-card:nth-child(2),
.reveal-stagger.visible>.value-card:nth-child(2){transition-delay:100ms}
.reveal-stagger.visible>.card:nth-child(3),
.reveal-stagger.visible>.service-card:nth-child(3),
.reveal-stagger.visible>.stat-card:nth-child(3),
.reveal-stagger.visible>.value-card:nth-child(3){transition-delay:200ms}
.reveal-stagger.visible>.card:nth-child(4),
.reveal-stagger.visible>.stat-card:nth-child(4){transition-delay:300ms}
.reveal-stagger.visible>.card:nth-child(5),
.reveal-stagger.visible>.service-card:nth-child(5){transition-delay:400ms}
.reveal-stagger.visible>.card:nth-child(6){transition-delay:500ms}
.reveal-stagger.visible>.card:nth-child(7){transition-delay:600ms}
.reveal-stagger.visible>.card:nth-child(8){transition-delay:700ms}
.reveal-stagger.visible>.card,
.reveal-stagger.visible>.service-card,
.reveal-stagger.visible>.stat-card,
.reveal-stagger.visible>.value-card,
.reveal-stagger.visible>.faq-item,
.reveal-stagger.visible>.area-tag,
.reveal-stagger.visible>.director-card{
  opacity:1;transform:translateY(0);
}

/* ── 4. HERO SCROLL INDICATOR ── */
.hero-scroll{
  position:absolute;bottom:32px;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:8px;
  z-index:5;transition:opacity 0.4s;
}
.hero-scroll.hidden{opacity:0;pointer-events:none}
.hero-scroll-chevron{
  width:24px;height:24px;color:var(--amber);
  animation:bounce-chevron 2s ease-in-out infinite;
}
@keyframes bounce-chevron{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(8px)}
}
.hero-scroll-text{font-size:11px;color:rgba(255,255,255,0.6);letter-spacing:0.1em;text-transform:uppercase}

/* ── 5. NAV SHADOW (enhanced) ── */
.nav{transition:box-shadow 0.3s ease,background 0.4s ease,border-color 0.4s ease}
.nav.scrolled{box-shadow:0 2px 16px rgba(0,0,0,0.06)}

/* ── 6. NAV: always solid white ──
   A transparent nav was tried here, but .nav is position:sticky, so it
   occupies its own row rather than overlaying the hero. Transparency
   revealed the off-white body background, leaving white nav text at
   roughly 1.1:1 contrast. Solid white with dark text is legible on
   every page, so the transparent state was removed. */

/* ── 7. NAV LINK HOVER UNDERLINE ── */
.nav-links a::after{
  content:'';position:absolute;bottom:-2px;left:0;
  width:0;height:2px;background:var(--amber);
  border-radius:1px;transition:width 0.3s ease;
}
.nav-links a:hover::after{width:100%}
.nav-links a.active::after{width:100%}

/* ── 10. CARD HOVER LIFT ── */
.card{will-change:transform,box-shadow}
.card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-card-hover);
}

/* ── 11+12. BUTTON HOVER + PRESS ── */
.btn{
  will-change:transform;
  transition:background 0.3s ease,transform 0.15s ease,box-shadow 0.3s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(15,29,61,0.12)}
.btn:active{transform:scale(0.98);box-shadow:none}

/* ── 13. SERVICE CARD BORDER HOVER ── */
.service-card{transition:border-top-width 0.3s ease,border-color 0.3s ease,transform 0.3s ease,box-shadow 0.3s ease}
.service-card:hover{border-top-width:4px;border-top-color:#c07416;transform:translateY(-2px);box-shadow:var(--shadow-card-hover)}

/* ── 14. LEARN MORE ARROW SLIDE ── */
.service-card .link .arrow{display:inline-block;transition:transform 0.2s ease}
.service-card .link:hover .arrow{transform:translateX(4px)}

/* ── 15. FIELD FOCUS GLOW (amber) ── */
.form-field{border-width:1.5px;transition:border-color 0.2s ease,box-shadow 0.2s ease}
.form-field:focus{
  border-color:var(--amber);
  box-shadow:0 0 0 3px rgba(212,132,26,0.1);
}

/* ── 16. FORM SUCCESS ── */
.form-wrapper{position:relative}
.form-wrapper form{transition:opacity 0.3s ease,transform 0.3s ease}
.form-wrapper form.hiding{opacity:0;transform:scale(0.98)}
.form-success{
  display:none;text-align:center;padding:48px 32px;
  opacity:0;transform:scale(1.02);
  transition:opacity 0.4s ease,transform 0.4s ease;
}
.form-success.visible{display:block;opacity:1;transform:scale(1)}
.form-success .check-circle{
  width:72px;height:72px;margin:0 auto 24px;
  stroke:var(--amber);stroke-width:2;fill:none;
  stroke-dasharray:200;stroke-dashoffset:200;
}
.form-success.visible .check-circle{
  animation:draw-check 0.6s ease forwards 0.2s;
}
@keyframes draw-check{to{stroke-dashoffset:0}}

/* ── 17. VALIDATION SHAKE ── */
@keyframes shake{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-4px)}
  50%{transform:translateX(4px)}
  75%{transform:translateX(-4px)}
}
.form-field.error{border-color:var(--amber);animation:shake 0.4s ease}
.field-error{
  font-size:13px;color:var(--amber-text);margin-top:6px;
  opacity:0;transition:opacity 0.2s ease;
}
.field-error.visible{opacity:1}

/* ── 18-20. FAQ ACCORDION ── */
.faq-q{
  font-size:18px;
  transition:background 0.2s;
}
.faq-q:hover{background:rgba(245,246,250,0.5)}
.faq-chevron{
  width:20px;height:20px;flex-shrink:0;
  color:var(--amber-text);transition:transform 0.3s ease;
}
.faq-item.open .faq-chevron{transform:rotate(90deg)}
.faq-a{
  max-height:0;overflow:hidden;opacity:0;
  padding:0 28px;
  transition:max-height 0.4s ease,opacity 0.4s ease,padding 0.4s ease;
  display:block !important;
  font-size:16px;line-height:1.7;
}
.faq-item.open .faq-a{
  max-height:300px;opacity:1;
  padding:0 28px 20px;
}
.faq-item.open{box-shadow:var(--shadow-card-hover)}

/* ── 21. FOOTER LINK HOVER ── */
.footer-links a{position:relative;padding-left:0;transition:color 0.3s,padding-left 0.3s}
.footer-links a::before{
  content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:0;height:2px;background:var(--amber);
  opacity:0;transition:width 0.3s ease,opacity 0.3s ease;
}
.footer-links a:hover{padding-left:24px;color:var(--amber)}
.footer-links a:hover::before{width:16px;opacity:1}

/* ── 24. VALUE BIG SCALE ── */
.value-big{
  opacity:0;transform:scale(0.8);
  transition:opacity 0.5s ease,transform 0.5s ease;
}
.value-card.visible .value-big{opacity:1;transform:scale(1)}

/* ── 25. JOB CARD HOVER ── */
.job-card{position:relative;transition:transform 0.3s ease,box-shadow 0.3s ease;border-left:0px solid var(--amber)}
.job-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-card-hover);border-left-width:4px}

/* ── 26. JOB CARD CLICK ── */
.job-card.pressed{transform:scale(0.97)}

/* ── 28. BACK TO TOP ── */
.back-to-top{
  position:fixed;bottom:32px;right:32px;z-index:900;
  width:48px;height:48px;border-radius:50%;
  background:var(--amber);color:var(--navy);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;box-shadow:0 4px 16px rgba(212,132,26,0.3);
  opacity:0;transform:translateY(16px);
  transition:opacity 0.3s ease,transform 0.3s ease,background 0.2s ease;
  pointer-events:none;
}
.back-to-top.visible{opacity:1;transform:translateY(0);pointer-events:auto}
.back-to-top:hover{background:#c07416}
.back-to-top svg{width:20px;height:20px}

/* ── 30. INLINE LINK HOVER ── */
.section a:not(.btn):not(.nav-brand):not(.link){
  position:relative;color:var(--mid-blue);
}
.section a:not(.btn):not(.nav-brand):not(.link)::after{
  content:'';position:absolute;bottom:-2px;left:0;
  width:0;height:1.5px;background:var(--amber);
  transition:width 0.25s ease;
}
.section a:not(.btn):not(.nav-brand):not(.link):hover::after{width:100%}

/* ── CV UPLOAD ZONE ── */
.cv-upload{
  border:2px dashed var(--border);border-radius:10px;
  height:80px;display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:border-color 0.2s,background 0.2s;
  font-size:14px;color:var(--text-muted);
}
.cv-upload:hover{border-color:var(--amber);background:rgba(212,132,26,0.02)}
.cv-upload.has-file{border-color:var(--amber);border-style:solid;gap:12px}
.cv-upload .remove-file{
  font-size:12px;font-weight:700;color:var(--amber-text);cursor:pointer;
  width:20px;height:20px;border-radius:50%;
  border:1.5px solid var(--amber);display:flex;align-items:center;justify-content:center;
}

/* ═══════════════════════════════════════
   PHASE 3: MITRA CHATBOT
   ═══════════════════════════════════════ */

/* Floating Button */
.mitra-fab{
  position:fixed;bottom:24px;right:24px;z-index:9999;
  display:flex;align-items:center;gap:10px;
  cursor:pointer;
}
.mitra-fab-btn{
  width:56px;height:56px;border-radius:50%;
  background:var(--amber);color:var(--navy);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 16px rgba(212,132,26,0.3);
  transition:box-shadow 0.3s,transform 0.3s;
  position:relative;
}
.mitra-fab-btn:hover{box-shadow:0 4px 20px rgba(212,132,26,0.35);transform:scale(1.05)}
.mitra-fab-btn svg{width:24px;height:24px;position:absolute;transition:opacity 0.2s}
.mitra-fab-btn .ico-close{opacity:0}
.mitra-fab.open .mitra-fab-btn .ico-chat{opacity:0}
.mitra-fab.open .mitra-fab-btn .ico-close{opacity:1}
.mitra-fab-label{
  font-size:13px;font-weight:500;color:var(--navy);
  background:var(--white);padding:6px 14px;border-radius:8px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  white-space:nowrap;
}
@keyframes mitra-pulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.08)}
}
.mitra-fab-btn.pulse{animation:mitra-pulse 2s ease 1}

/* Chat Window */
.mitra-window{
  position:fixed;bottom:24px;right:24px;z-index:9998;
  width:380px;height:520px;
  background:var(--white);
  border-radius:20px 20px 20px 4px;
  box-shadow:0 4px 12px rgba(0,0,0,0.08),0 24px 60px rgba(15,29,61,0.12);
  border:1px solid rgba(0,0,0,0.04);
  display:flex;flex-direction:column;
  overflow:hidden;
  opacity:0;transform:translateY(20px);
  transition:opacity 0.4s ease,transform 0.4s ease,height 0.3s ease;
  pointer-events:none;
}
.mitra-window.open{opacity:1;transform:translateY(0);pointer-events:auto}
.mitra-window.minimized{height:56px}

/* Header */
.mitra-header{
  height:56px;min-height:56px;
  background:var(--navy);
  border-radius:20px 20px 0 0;
  display:flex;align-items:center;padding:0 16px;gap:10px;
  flex-shrink:0;
}
.mitra-header svg.mark{width:18px;height:22px;flex-shrink:0}
.mitra-header-text{flex:1}
.mitra-header-text .name{font-size:16px;font-weight:700;color:var(--white);line-height:1.2}
.mitra-header-text .sub{font-size:11px;color:rgba(255,255,255,0.6)}
.mitra-header-actions{display:flex;gap:8px}
.mitra-header-actions button{
  background:none;border:none;cursor:pointer;
  color:var(--white);font-size:20px;font-weight:300;
  width:28px;height:28px;display:flex;align-items:center;justify-content:center;
  border-radius:6px;transition:color 0.2s,background 0.2s;
}
.mitra-header-actions button:hover{color:var(--amber);background:rgba(255,255,255,0.08)}

/* Chat Body */
.mitra-body{
  flex:1;overflow-y:auto;padding:16px;
  background:var(--off-white);
  scroll-behavior:smooth;
}
.mitra-body::-webkit-scrollbar{width:4px}
.mitra-body::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.1);border-radius:2px}

/* Messages */
.mitra-msg{
  max-width:85%;margin-bottom:10px;
  opacity:0;transform:translateY(8px);
  animation:mitra-msg-in 0.3s ease forwards;
}
@keyframes mitra-msg-in{to{opacity:1;transform:translateY(0)}}
.mitra-msg.bot{align-self:flex-start}
.mitra-msg.user{margin-left:auto;max-width:75%}
.mitra-msg-label{font-size:11px;font-weight:700;color:var(--amber-text);margin-bottom:4px}
.mitra-bubble{
  padding:12px 16px;font-size:15px;line-height:1.55;
  border-radius:4px 16px 16px 16px;
  background:var(--white);color:var(--navy);
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
}
.mitra-msg.user .mitra-bubble{
  background:var(--amber);color:var(--white);
  border-radius:16px 16px 4px 16px;box-shadow:none;
}

/* Contact Card */
.mitra-contact-card{
  background:var(--white);border-radius:12px;padding:16px;
  box-shadow:0 1px 4px rgba(0,0,0,0.06);margin-top:6px;
  font-size:14px;color:var(--navy);line-height:1.8;
}
.mitra-contact-card strong{display:block;margin-bottom:4px}
.mitra-contact-card a{color:var(--amber-text);font-weight:600}

/* Typing Indicator */
.mitra-typing{display:flex;gap:4px;padding:12px 16px}
.mitra-typing span{
  width:6px;height:6px;border-radius:50%;background:var(--navy);
  animation:mitra-dot 1.2s infinite;
}
.mitra-typing span:nth-child(2){animation-delay:0.15s}
.mitra-typing span:nth-child(3){animation-delay:0.3s}
@keyframes mitra-dot{
  0%,100%{transform:scale(1);opacity:0.4}
  50%{transform:scale(1.4);opacity:1}
}

/* Quick Replies */
.mitra-qr{
  display:flex;flex-wrap:wrap;gap:8px;
  margin-top:8px;padding:4px 0;
}
.mitra-qr-btn{
  background:var(--white);border:1.5px solid var(--amber);
  color:var(--navy);font-size:14px;font-weight:500;
  padding:8px 18px;border-radius:20px;cursor:pointer;
  transition:background 0.2s,color 0.2s,transform 0.1s,opacity 0.2s;
  opacity:0;transform:translateY(8px);
  animation:mitra-qr-in 0.3s ease forwards;
}
.mitra-qr-btn:nth-child(1){animation-delay:0ms}
.mitra-qr-btn:nth-child(2){animation-delay:50ms}
.mitra-qr-btn:nth-child(3){animation-delay:100ms}
.mitra-qr-btn:nth-child(4){animation-delay:150ms}
.mitra-qr-btn:nth-child(5){animation-delay:200ms}
.mitra-qr-btn:nth-child(6){animation-delay:250ms}
.mitra-qr-btn:nth-child(7){animation-delay:300ms}
.mitra-qr-btn:nth-child(8){animation-delay:350ms}
.mitra-qr-btn:nth-child(9){animation-delay:400ms}
@keyframes mitra-qr-in{to{opacity:1;transform:translateY(0)}}
.mitra-qr-btn:hover{background:var(--amber);color:var(--white)}
.mitra-qr-btn:active{transform:scale(0.95)}
.mitra-qr-btn.fade{opacity:0;pointer-events:none}

/* Input Area */
.mitra-input{
  display:flex;align-items:center;gap:8px;
  padding:8px 12px;border-top:1px solid var(--border);
  background:var(--white);flex-shrink:0;
}
.mitra-input input{
  flex:1;height:36px;font-size:15px;color:var(--navy);
  padding:0 8px;background:none;
}
.mitra-input input::placeholder{color:var(--text-light)}
.mitra-send{
  width:36px;height:36px;border-radius:50%;
  background:var(--amber);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;flex-shrink:0;
  transition:background 0.2s,transform 0.2s;
}
.mitra-send:hover{background:#c07416;transform:scale(1.05)}
.mitra-send svg{width:16px;height:16px}

/* Mobile */
@media(max-width:768px){
  .mitra-fab-label{display:none}
  .mitra-window{
    width:calc(100vw - 32px);height:calc(100vh - 100px);
    bottom:16px;right:16px;
    border-radius:20px;
  }
  .mitra-window.open{
    animation:mitra-mobile-in 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
  }
  @keyframes mitra-mobile-in{
    from{opacity:0;transform:translateY(40px)}
    to{opacity:1;transform:translateY(0)}
  }
  .mitra-qr{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
  .mitra-qr::-webkit-scrollbar{display:none}
}

/* ── WHATSAPP CTA ── */
.wa-cta{
  position:fixed;bottom:92px;right:24px;z-index:9998;
  display:flex;align-items:center;gap:10px;
  cursor:pointer;text-decoration:none;
}
.wa-cta-btn{
  width:48px;height:48px;border-radius:50%;
  background:#25D366;color:var(--white);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 16px rgba(37,211,102,0.3);
  transition:box-shadow 0.3s,transform 0.3s;
}
.wa-cta-btn:hover{box-shadow:0 4px 20px rgba(37,211,102,0.4);transform:scale(1.05)}
.wa-cta-btn svg{width:24px;height:24px}
.wa-cta-label{
  font-size:12px;font-weight:600;color:var(--navy);
  background:var(--white);padding:5px 12px;border-radius:6px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);white-space:nowrap;
}
@media(max-width:768px){.wa-cta-label{display:none}}

/* ── BACK-TO-TOP: shift up when Mitra is present ── */
.back-to-top{bottom:160px}
