/*
Theme Name: DemTechSolutions
Theme URI: https://demtechsolutions.fr
Author: DemTech Solutions
Author URI: https://demtechsolutions.fr
Description: Thème officiel DemTechSolutions - Solutions de Maintenance Informatique Clé en Main pour Particuliers et Professionnels.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: demtech
Tags: one-page, responsive, dark, tech
*/

/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --bg-dark: #040d1e;
  --bg-card: #0a1628;
  --bg-card2: #0d1f3a;
  --blue-glow: #1a5fd4;
  --blue-accent: #2979ff;
  --blue-bright: #4fc3f7;
  --purple-accent: #7c3aed;
  --purple-glow: #a855f7;
  --cyan: #00e5ff;
  --white: #ffffff;
  --text-light: #c8d8f0;
  --text-muted: #7a92b4;
  --gradient-hero: linear-gradient(135deg, #040d1e 0%, #0a1a40 50%, #0d0a2e 100%);
  --gradient-btn: linear-gradient(135deg, #7c3aed, #2979ff);
  --gradient-btn2: linear-gradient(135deg, #2979ff, #00e5ff);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --border-card: 1px solid rgba(41,121,255,0.15);
  --border-radius: 16px;
  --font-main: 'Exo 2', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-main); font-weight: 700; line-height: 1.2; }

/* ===========================
   STARFIELD BACKGROUND
=========================== */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.starfield::before,
.starfield::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 10%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 25%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 70%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 5%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 5% 80%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 85%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(2px 2px at 30% 70%, rgba(100,180,255,0.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 75% 45%, rgba(168,85,247,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 48% 30%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 3% 95%, rgba(255,255,255,0.5) 0%, transparent 100%);
  background-size: 100% 100%;
}

/* Circuit board background lines */
.circuit-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(41,121,255,0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(41,121,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Decorative circuit elements on sides */
.circuit-side-left,
.circuit-side-right {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}
.circuit-side-left { left: 0; }
.circuit-side-right { right: 0; }

/* ===========================
   LAYOUT WRAPPER
=========================== */
.site-wrapper {
  position: relative;
  z-index: 1;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   HEADER / NAVIGATION
=========================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(4, 13, 30, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(41,121,255,0.15);
  transition: all 0.3s ease;
}
#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo image variant (real JPG with dark background) */
.site-logo--img {
  gap: 0;
  line-height: 0;
}
.logo-img {
  width: 220px;
  height: 68px;
  object-fit: contain;
  /* screen blend: dark bg of the JPG disappears on the dark navbar,
     only the bright D icon + white text remain visible — exact match to image */
  mix-blend-mode: screen;
  filter: brightness(1.05) contrast(1.1);
  transition: filter 0.25s ease;
  display: block;
}
.site-logo--img:hover .logo-img {
  filter: brightness(1.15) contrast(1.1) drop-shadow(0 0 10px rgba(79,195,247,0.4));
}
.logo-icon {
  width: 42px;
  height: 42px;
}
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .brand {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.logo-text .brand span { color: var(--blue-accent); }
.logo-text .sub {
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--blue-accent);
  border-radius: 2px;
}
.nav-services { position: relative; }
.nav-services .dropdown-arrow { margin-left: 3px; font-size: 0.7rem; opacity: 0.6; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: var(--bg-card2);
  border: var(--border-card);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  box-shadow: var(--shadow-card);
}
.nav-services:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-light);
}
.nav-dropdown a:hover {
  background: rgba(41,121,255,0.1);
  color: var(--white);
}
.btn-contact-nav {
  padding: 10px 22px !important;
  background: var(--gradient-btn) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  color: var(--white) !important;
  transition: all 0.2s !important;
  box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}
.btn-contact-nav:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(124,58,237,0.45) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   HERO SECTION
=========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  padding-top: 68px;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.12) 0%, transparent 60%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(41,121,255,0.5), rgba(124,58,237,0.5), transparent);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0 60px;
}
.hero-content { animation: fadeInLeft 0.8s ease forwards; }
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-content h1 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.18;
  margin-bottom: 28px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.01em;
}
/* legacy: kept for compatibility if .highlight reappears */
.hero-content h1 .highlight { color: var(--white); }

.hero-content .hero-desc {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.6;
  max-width: 560px;
}
.hero-content .hero-desc2 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 560px;
}

/* Hero CTA button — pill shape gradient like image */
.btn-hero {
  padding: 16px 38px !important;
  font-size: 1rem !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #4fc3f7 0%, #2979ff 50%, #a855f7 100%) !important;
  box-shadow: 0 8px 32px rgba(79,195,247,0.35), 0 4px 16px rgba(168,85,247,0.25) !important;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(79,195,247,0.5), 0 6px 22px rgba(168,85,247,0.35) !important;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gradient-btn);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.5);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gradient-btn2);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(41,121,255,0.35);
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(41,121,255,0.5);
}

/* Hero Visual - big "D" logo image (matches reference image) */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.2s both;
  position: relative;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-d-img {
  width: 115%;
  max-width: 720px;
  height: auto;
  display: block;
  margin-right: -8%;
  /* PNG transparent + screen blend = clean fade into dark hero background */
  mix-blend-mode: screen;
  filter:
    brightness(1.05) contrast(1.08)
    drop-shadow(0 0 60px rgba(41,121,255,0.35))
    drop-shadow(0 0 120px rgba(124,58,237,0.25));
  animation: floatD 6s ease-in-out infinite;
}
@keyframes floatD {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ── legacy orb styles kept (unused but harmless if reused elsewhere) ── */
.hero-orb {
  position: relative;
  width: 360px;
  height: 360px;
}
.orb-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(41,121,255,0.22) 0%, rgba(124,58,237,0.18) 40%, transparent 70%);
  border-radius: 50%;
  animation: pulse-orb 3s ease-in-out infinite;
}
@keyframes pulse-orb {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.06); opacity: 1; }
}
.orb-ring {
  position: absolute;
  inset: 10px;
  border: 2px solid transparent;
  border-top-color: rgba(41,121,255,0.7);
  border-right-color: rgba(124,58,237,0.5);
  border-radius: 50%;
  animation: spin-slow 8s linear infinite;
}
.orb-ring-2 {
  position: absolute;
  inset: 30px;
  border: 1px solid transparent;
  border-bottom-color: rgba(0,229,255,0.6);
  border-left-color: rgba(41,121,255,0.4);
  border-radius: 50%;
  animation: spin-slow 12s linear infinite reverse;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.orb-center {
  position: absolute;
  inset: 50px;
  background: radial-gradient(ellipse at 35% 35%, rgba(79,195,247,0.3), rgba(41,121,255,0.2) 40%, rgba(124,58,237,0.15) 70%, transparent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(41,121,255,0.3);
  backdrop-filter: blur(10px);
}
.orb-center svg {
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 0 20px rgba(41,121,255,0.55)) drop-shadow(0 0 40px rgba(124,58,237,0.35));
}

/* ===========================
   SERVICES CARDS SECTION
=========================== */
#services-cards {
  padding: 0 0 60px;
  position: relative;
  z-index: 1;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  padding: 30px;
  border: var(--border-card);
  box-shadow: var(--shadow-card);
}
.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 18px;
  text-align: center;
  transition: all 0.3s;
  color: #1a1a2e;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(41,121,255,0.2);
}
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0d1b2e;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.78rem;
  color: #4a5568;
  line-height: 1.55;
}

/* ===========================
   ABOUT / DEPANNAGE + BRANDS
=========================== */
#about {
  padding: 80px 0;
  position: relative;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-content h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.3;
}
.about-content h2 span { color: var(--blue-accent); }
.about-content p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-content p strong { color: var(--white); }

/* Brand logos grid - 3 columns x 2 rows */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.brand-card {
  background: var(--white);
  border-radius: 12px;
  padding: 18px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  min-height: 70px;
}
.brand-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(41,121,255,0.2);
}
.brand-card svg { max-width: 100%; max-height: 40px; }

/* ===========================
   CONTACT SECTION
=========================== */
#contact {
  padding: 80px 0;
  position: relative;
}
.contact-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.contact-inner h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 16px;
}
.contact-inner h2 span { color: var(--blue-accent); }
.contact-inner p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   FOOTER
=========================== */
#site-footer {
  background: rgba(3, 9, 22, 0.97);
  border-top: 1px solid rgba(41,121,255,0.15);
  padding: 40px 0 20px;
}

/* Top bar: SIRET + WP/TG/mail icons + email */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(41,121,255,0.1);
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-siret {
  font-size: 0.83rem;
  color: var(--text-muted);
}
.footer-siret strong { color: var(--text-light); }
.footer-social {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(41,121,255,0.1);
  border: 1px solid rgba(41,121,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
}
.social-icon:hover {
  background: var(--blue-accent);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-email {
  font-size: 0.83rem;
  color: var(--text-muted);
}
.footer-email a { color: var(--blue-accent); }

/* Contact icons row */
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(41,121,255,0.1);
  margin-bottom: 22px;
}
.footer-social-right {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

/* Main footer: 3 columns */
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(41,121,255,0.1);
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.55;
}
.footer-address svg { flex-shrink: 0; margin-top: 3px; color: var(--blue-accent); }
.footer-map {
  width: 100%;
  height: 190px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(41,121,255,0.2);
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(88%) hue-rotate(178deg) saturate(0.8);
}
.footer-copyright {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.footer-bottom {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ===========================
   SECTION DIVIDER
=========================== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41,121,255,0.3), rgba(124,58,237,0.3), transparent);
  margin: 0;
}

/* ===========================
   ANIMATIONS
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.glow-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.glow-dot.blue {
  width: 8px;
  height: 8px;
  background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue-bright), 0 0 24px var(--blue-bright);
}
.glow-dot.red {
  width: 8px;
  height: 8px;
  background: #ff4444;
  box-shadow: 0 0 12px #ff4444;
}

/* ===========================
   SR-ONLY
=========================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ===========================
   MODAL
=========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,8,20,0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; }
.modal-box {
  background: linear-gradient(135deg, #0d1f3a 0%, #0a1628 100%);
  border: 1px solid rgba(41,121,255,0.25);
  border-radius: 20px;
  padding: 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(41,121,255,0.1);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-box h2 { font-size: 1.5rem; color: var(--white); margin-bottom: 8px; }
.modal-box > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover {
  background: rgba(255,80,80,0.15);
  border-color: rgba(255,80,80,0.3);
  color: #ff6b6b;
}
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(41,121,255,0.2);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.88rem;
  transition: all 0.2s;
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group select option { background: #0d1f3a; color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(41,121,255,0.6);
  background: rgba(41,121,255,0.07);
  box-shadow: 0 0 0 3px rgba(41,121,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-message {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
}
.form-message.success {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
}
.form-message.error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(41,121,255,0.3); border-radius: 4px; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    inset: 68px 0 0;
    background: rgba(4,13,30,0.97);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
    padding: 60px 0 40px;
  }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-visual { order: -1; }
  .hero-d-img { max-width: 280px; margin: 0 auto; }
  .hero-orb { width: 240px; height: 240px; }
  .services-grid { grid-template-columns: 1fr 1fr; padding: 20px; }
  .about-inner { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-email { text-align: center; }
  .footer-contact-row { flex-wrap: wrap; }
  .footer-social-right { margin-left: 0; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .modal-box { padding: 28px 20px; }
}
