/* ============================================
   MAXIME DESNOYERS — FREELANCE MARKETING
   SensoLab Marketing Inc.
   Style Guide: Rouge #E8132A | Noir #0A0A0A | Blanc #FFFFFF
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #E8132A;
  --red-dark: #B50F21;
  --red-light: #FF3347;
  --black: #0A0A0A;
  --dark: #141414;
  --dark2: #1E1E1E;
  --gray: #2A2A2A;
  --gray-light: #3A3A3A;
  --mid: #888888;
  --light: #CCCCCC;
  --white: #FFFFFF;
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Bebas Neue', 'Impact', Arial Black, sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 30px rgba(232, 19, 42, 0.15);
  --shadow-dark: 0 8px 40px rgba(0,0,0,0.5);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: 1rem;
  color: var(--light);
  line-height: 1.75;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--red-light); }

.accent { color: var(--red); }
.white { color: var(--white); }

/* --- LAYOUT --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-sm {
  padding: 4rem 0;
}

/* --- LANGUAGE TOGGLE --- */
#lang-toggle {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  gap: 0.4rem;
  background: rgba(10,10,10,0.8);
  border: 1px solid var(--gray-light);
  border-radius: 50px;
  padding: 0.3rem;
  backdrop-filter: blur(10px);
}

.lang-btn {
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  color: var(--mid);
}

.lang-btn.active {
  background: var(--red);
  color: var(--white);
}
.lang-btn:hover:not(.active) {
  color: var(--white);
}

/* --- NAVIGATION --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 1.2rem 0;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid rgba(232,19,42,0.2);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--red); }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--red-dark) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* --- HERO --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(232,19,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 30% 20%, rgba(232,19,42,0.04) 0%, transparent 50%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 5rem;
}

.hero-content {
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,19,42,0.1);
  border: 1px solid rgba(232,19,42,0.3);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-name {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.hero-name .last {
  color: var(--red);
  display: block;
}

.hero-title {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--red);
  padding-left: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--light);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: 2px solid var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: 2px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
  text-align: left;
}

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* Hero Photo */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--red), transparent, var(--red));
  border-radius: 12px;
  z-index: -1;
  opacity: 0.6;
}

.hero-photo-wrap img {
  width: 100%;
  border-radius: 10px;
  display: block;
  filter: grayscale(10%);
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: var(--dark2);
  border: 1px solid rgba(232,19,42,0.3);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-dark);
}

.badge-icon { font-size: 1.5rem; }

.badge-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.badge-text span {
  font-size: 0.72rem;
  color: var(--mid);
}

.hero-badge2 {
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  background: var(--red);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.hero-badge2 strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
}
.hero-badge2 span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- SERVICES --- */
#services {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-header h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(232,19,42,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(232,19,42,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.65;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.tag {
  background: rgba(255,255,255,0.05);
  color: var(--light);
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

/* --- ABOUT --- */
#about {
  background: var(--black);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.about-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,10,10,0.85));
  padding: 2rem;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.about-floater {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background: var(--dark2);
  border: 1px solid rgba(232,19,42,0.3);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-dark);
}

.floater-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.floater-label {
  font-size: 0.72rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-content h2 { 
  color: var(--white);
  margin-bottom: 1.2rem; 
}

.about-content p {
  margin-bottom: 1.2rem;
}

.about-highlights {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--light);
}

.about-highlights li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  color: var(--light);
}

/* --- EXPERTISE / SKILLS --- */
#expertise {
  background: var(--dark);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.expertise-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 2rem;
}

.expertise-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.expertise-card h3 span {
  color: var(--red);
  font-size: 1.2rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-pill {
  background: rgba(232,19,42,0.08);
  border: 1px solid rgba(232,19,42,0.15);
  color: var(--light);
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
  transition: all var(--transition);
}
.skill-pill:hover {
  background: rgba(232,19,42,0.15);
  color: var(--white);
}

/* --- ACHIEVEMENTS --- */
#achievements {
  background: var(--black);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.achieve-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.achieve-card:hover {
  border-color: rgba(232,19,42,0.3);
  transform: translateY(-4px);
}

.achieve-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.achieve-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.achieve-label {
  font-size: 0.82rem;
  color: var(--mid);
  line-height: 1.4;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), rgba(232,19,42,0.1));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--black);
  box-shadow: 0 0 0 3px rgba(232,19,42,0.3);
}

.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.timeline-org {
  font-size: 0.88rem;
  color: var(--mid);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.65;
}

/* --- PORTFOLIO --- */
#portfolio {
  background: var(--dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,19,42,0.2);
  box-shadow: var(--shadow);
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,19,42,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-icon {
  font-size: 2rem;
  color: white;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.portfolio-content h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  font-size: 0.85rem;
  color: var(--mid);
}

/* --- PROCESS --- */
#process {
  background: var(--black);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(232,19,42,0.1));
}

.process-step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--red);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--mid);
}

/* --- CONTACT --- */
#contact {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,19,42,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(232,19,42,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.contact-item-text a, .contact-item-text span {
  font-size: 0.95rem;
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--gray);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--dark2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --- FOOTER --- */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-logo span { color: var(--red); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  color: var(--mid);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--mid);
}

/* --- DIVIDER --- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  margin: 0;
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  footer .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Mobile nav open */
.nav-mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 850;
}
.nav-mobile-open .nav-links a {
  font-size: 1.5rem;
}

/* --- SENSOLAB PROMO SECTION --- */
#sensolab {
  background: var(--black);
  padding: 5rem 0;
}

.sensolab-inner {
  background: linear-gradient(135deg, var(--dark2), var(--dark));
  border: 1px solid rgba(232,19,42,0.2);
  border-radius: 16px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.sensolab-inner::before {
  content: 'SENSOLAB';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(232,19,42,0.04);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
}

.sensolab-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.sensolab-content p {
  max-width: 550px;
  margin-bottom: 1.5rem;
}

.sensolab-logo {
  background: var(--dark);
  border: 1px solid rgba(232,19,42,0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  min-width: 180px;
}

.sensolab-logo img {
  width: 100%;
  max-width: 150px;
  border-radius: 8px;
}

.sensolab-name {
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.sensolab-sub {
  font-size: 0.72rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}