/* ============================================
   TOKENS
   ============================================ */
:root{
  --bg: #080808;
  --bg-secondary: #111111;
  --card: #151515;
  --card-raised: #1a1a1a;
  --red: #E50914;
  --red-bright: #FF1F2D;
  --white: #FFFFFF;
  --text-secondary: #B8B8B8;
  --text-muted: #7d7d7d;
  --border: #292929;
  --border-light: #333333;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }

html{
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

ul{ list-style: none; }

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

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

section{
  padding: 110px 0;
  position: relative;
}

.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}

.section-tag{
  color: var(--red-bright);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: block;
}

.section-head h2{
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-head p{
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 56ch;
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}

.btn-primary{
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(229,9,20,.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(229,9,20,.7); }

.btn-outline{
  background: transparent;
  color: var(--white);
  border-color: var(--border-light);
}
.btn-outline:hover{ border-color: var(--red-bright); background: rgba(229,9,20,0.08); transform: translateY(-2px); }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,8,8,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled{
  border-bottom-color: var(--border);
  background: rgba(8,8,8,0.92);
}

.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .mark{
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--white);
  box-shadow: 0 6px 16px -4px rgba(229,9,20,.6);
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a{
  font-size: 0.96rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red-bright);
  transition: width .25s var(--ease);
}
.nav-links a:hover{ color: var(--white); }
.nav-links a:hover::after{ width: 100%; }

.nav-actions{ display: flex; align-items: center; gap: 18px; }

.hamburger{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hamburger span{
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity: 0; }
.hamburger.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 82vw);
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-menu.open{ transform: translateX(0); }
.mobile-menu a{
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}
.menu-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.menu-overlay.open{ opacity: 1; pointer-events: auto; }

/* ============================================
   HERO
   ============================================ */
.hero{
  position: relative;
  padding: 190px 0 140px;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 82% 8%, rgba(229,9,20,0.18), transparent 60%),
    radial-gradient(500px 500px at 10% 90%, rgba(229,9,20,0.10), transparent 60%);
}
.hero-bg::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 20%, black 10%, transparent 75%);
}
.hero-shape{
  position: absolute;
  top: -120px; right: -160px;
  width: 620px; height: 620px;
  border: 1px solid rgba(229,9,20,0.18);
  border-radius: 50%;
  z-index: 0;
}
.hero-shape::before{
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px solid rgba(229,9,20,0.12);
  border-radius: 50%;
}

.hero-content{
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.hero-eyebrow .dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 12px 2px rgba(255,31,45,0.7);
}

.hero h1{
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  margin-bottom: 26px;
}

.hero p.lead{
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 58ch;
  margin-bottom: 42px;
}

.hero-ctas{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 64px;
}

.hero-stats{
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.hero-stats .stat b{
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
}
.hero-stats .stat span{
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about{
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.about-copy p{
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 20px;
  max-width: 54ch;
}
.about-copy p:first-of-type{
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 500;
}

.highlight-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.highlight-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.highlight-card:hover{
  border-color: rgba(229,9,20,0.4);
  transform: translateY(-3px);
}
.highlight-card .icon{
  width: 40px; height: 40px;
  margin-bottom: 16px;
  color: var(--red-bright);
}
.highlight-card h4{
  font-size: 1rem;
  margin-bottom: 6px;
}
.highlight-card p{
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-bright), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  border-color: rgba(229,9,20,0.35);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
}
.service-card:hover::before{ opacity: 1; }

.service-icon{
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(229,9,20,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--red-bright);
  margin-bottom: 22px;
}
.service-card h3{
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-card p{
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why{ background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card{
  display: flex;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color .25s var(--ease);
}
.why-card:hover{ border-color: rgba(229,9,20,0.35); }
.why-icon{
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(229,9,20,0.12);
  color: var(--red-bright);
  display: flex; align-items: center; justify-content: center;
}
.why-card h4{ font-size: 1rem; margin-bottom: 6px; }
.why-card p{ color: var(--text-muted); font-size: 0.88rem; }

/* ============================================
   PROCESS
   ============================================ */
.process-list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-list::before{
  content: '';
  position: absolute;
  top: 26px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, var(--border), rgba(229,9,20,0.5), var(--border));
}
.process-step{
  position: relative;
  padding: 0 20px 0 0;
}
.process-num{
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red-bright);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.process-step h4{
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.process-step p{
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 32ch;
}

/* ============================================
   CONTACT INFO + FORM
   ============================================ */
.contact{
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.info-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  height: fit-content;
}
.info-card h3{ font-size: 1.3rem; margin-bottom: 6px; }
.info-card .subtitle{ color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; }

.info-row{
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.info-row:first-of-type{ border-top: none; }
.info-row .icon{
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(229,9,20,0.1);
  color: var(--red-bright);
  display: flex; align-items: center; justify-content: center;
}
.info-row .label{ font-size: 0.8rem; color: var(--text-muted); margin-bottom: 3px; }
.info-row .value{ font-size: 0.98rem; color: var(--white); font-weight: 500; }
.info-row .value:hover{ color: var(--red-bright); }

/* Form */
.form-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group{ margin-bottom: 20px; }
.form-group.full{ grid-column: 1 / -1; }
.form-group label{
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea{
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-group textarea{ resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  border-color: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.15);
  outline: none;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error{
  border-color: #ff4d4d;
}
.field-error{
  color: #ff6b6b;
  font-size: 0.78rem;
  margin-top: 6px;
  display: none;
}
.field-error.show{ display: block; }

.form-submit-row{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}
.form-note{ color: var(--text-muted); font-size: 0.82rem; }

.success-msg{
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: rgba(229,9,20,0.08);
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-top: 10px;
}
.success-msg.show{ display: flex; }
.success-msg .icon{ color: var(--red-bright); flex-shrink: 0; }
.success-msg strong{ display: block; margin-bottom: 4px; }
.success-msg p{ color: var(--text-secondary); font-size: 0.9rem; }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band{
  position: relative;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;
}
.cta-band::before{
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 50% 100%, rgba(229,9,20,0.16), transparent 70%);
}
.cta-band-inner{ position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-band h2{ font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.cta-band p{ color: var(--text-secondary); margin-bottom: 34px; font-size: 1.05rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer{
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 30px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo{ margin-bottom: 18px; }
.footer-brand p{
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 34ch;
  margin-bottom: 24px;
}
.social-row{ display: flex; gap: 12px; }
.social-row a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all .2s var(--ease);
}
.social-row a:hover{
  border-color: var(--red-bright);
  color: var(--red-bright);
  transform: translateY(-2px);
}
.footer-col h5{
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.footer-col ul li{ margin-bottom: 12px; }
.footer-col ul li a{
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color .2s var(--ease);
}
.footer-col ul li a:hover{ color: var(--white); }

.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
}
.footer-bottom p{ color: var(--text-muted); font-size: 0.84rem; }
.footer-legal{ display: flex; gap: 20px; }
.footer-legal a{ color: var(--text-muted); font-size: 0.84rem; }
.footer-legal a:hover{ color: var(--white); }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px){
  .about-grid{ grid-template-columns: 1fr; gap: 40px; }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-list{ grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process-list::before{ display: none; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  section{ padding: 76px 0; }
  .nav-links{ display: none; }
  .hamburger{ display: flex; }
  .hero{ padding: 150px 0 90px; }
  .hero-stats{ gap: 30px; }
  .services-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .process-list{ grid-template-columns: 1fr; }
  .highlight-grid{ grid-template-columns: 1fr 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .hero-shape{ width: 380px; height: 380px; top: -80px; right: -140px; }
}