/* =========================================================
   CSS CUSTOM PROPERTIES — White + Red + Black theme
========================================================= */
:root {
  /* Brand */
  --red:        #CC0000;
  --red-bright: #E60000;
  --red-dark:   #990000;
  --red-light:  #FFF0F0;
  --red-glow:   rgba(204, 0, 0, 0.2);
  --black:      #111111;
  --charcoal:   #222222;

  /* Backgrounds */
  --page-bg:    #FFFFFF;
  --section-alt:#F7F7F7;   /* subtle off-white for alternating sections */
  --card-bg:    #FFFFFF;
  --input-bg:   #F8F8F8;
  --footer-bg:  #111111;

  /* Surfaces */
  --border:     #E5E5E5;
  --border-red: rgba(204, 0, 0, 0.25);
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:  0 6px 30px rgba(0,0,0,0.10);
  --shadow-red: 0 8px 32px rgba(204,0,0,0.20);

  /* Text */
  --text-head:  #111111;
  --text-body:  #444444;
  --text-muted: #888888;
  --text-light: #FFFFFF;

  /* Misc */
  --white:      #FFFFFF;
  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Inter', sans-serif;
  --nav-h:      72px;
  --radius:     8px;
  --radius-lg:  16px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  background: var(--page-bg);
}

.section-alt {
  background: var(--section-alt);
}

.text-red { color: var(--red); }

/* =========================================================
   TYPOGRAPHY HELPERS
========================================================= */
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  border: 1px solid var(--border-red);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-head);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(204,0,0,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* Black outline button — for white sections */
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 var(--red-glow); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 16px rgba(204,0,0,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0  rgba(204,0,0,0); }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 0.6; }
}

/* Intersection Observer reveal classes */
.fade-up,
.fade-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right { transform: translateX(-40px); }

.fade-up.visible,
.fade-right.visible {
  opacity: 1;
  transform: none;
}

/* Hero reveal elements start hidden */
.reveal-hero {
  opacity: 0;
  transform: translateY(30px);
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Over hero image — transparent bg, white text */
.navbar .nav-link         { color: rgba(255,255,255,0.75); }
.navbar .nav-link:hover,
.navbar .nav-link.active  { color: var(--white); }
.navbar .logo-ie,
.navbar .logo-group       { color: var(--white); }
.navbar .hamburger span   { background: var(--white); }

/* Scrolled — white bg, dark text */
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar.scrolled .nav-link         { color: var(--text-muted); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active  { color: var(--black); }
.navbar.scrolled .logo-ie,
.navbar.scrolled .logo-group       { color: var(--black); }
.navbar.scrolled .hamburger span   { background: var(--black); }
.navbar.scrolled .nav-link.nav-cta { color: var(--white); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-dot { color: var(--red); font-size: 1.8rem; line-height: 0.5; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.nav-link.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 20px;
}

.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover  { background: var(--red-bright); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO — always dark (image bg + overlay)
   Text stays white here regardless of theme
========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/*
  ── HOW TO CHANGE HERO IMAGE ──────────────────────────────
  Update the background-image URL in index.html on the
  <div class="hero-bg"> element. You can point it to any
  path, e.g. style="background-image: url('path/to/your-image.jpg');"
  ─────────────────────────────────────────────────────────
*/
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Fallback if image fails to load */
  background-color: #1a0000;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 0, 0, 0.90) 0%,
    rgba(30, 0, 0, 0.78) 45%,
    rgba(100, 0, 0, 0.40) 100%
  );
}

/* Animated glow shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,0,0,0.14) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.shape-1 { width: 600px; height: 600px; top: -200px; right: -150px; animation-delay: 0s; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: 10%;  animation-delay: 2s; }
.shape-3 { width: 200px; height: 200px; top: 30%;     left: 5%;    animation-delay: 4s; }
.shape-4 { width: 300px; height: 300px; top: 60%;     right: 15%;  animation-delay: 1s; }

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--red);
  border: 1px solid rgba(204,0,0,0.45);
  background: rgba(204,0,0,0.10);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  animation: scroll-bounce 2s ease-in-out infinite;
  transition: color var(--transition);
}

.hero-scroll-hint:hover { color: var(--red); }

/* =========================================================
   ABOUT — white background
========================================================= */
.about {
  background: var(--page-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.about-desc {
  color: var(--text-body);
  margin-bottom: 20px;
  font-size: 0.975rem;
  line-height: 1.85;
}

.about-mvs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.mv-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: border-left-color var(--transition), box-shadow var(--transition);
}

.mv-card:hover {
  border-left-color: var(--red-bright);
  box-shadow: var(--shadow-red);
}

.mv-card i {
  font-size: 1.4rem;
  color: var(--red);
  margin-top: 2px;
  flex-shrink: 0;
}

.mv-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 6px;
}

.mv-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  margin: 0;
}

/* About Image */
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease;
}

.about-img-wrapper:hover img { transform: scale(1.03); }

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--red);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-red);
  animation: pulse-ring 3s ease-in-out infinite;
}

.badge-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 40px 24px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--red-light); }

.stat-item i {
  font-size: 1.6rem;
  color: var(--red);
  margin-bottom: 4px;
}

.stat-item .count {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-head);
  line-height: 1;
}

.stat-item .plus {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
}

.stat-item span:last-child {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================================
   COMPANIES — alt (light grey) background
========================================================= */
.companies {
  background: var(--section-alt);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.company-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), var(--shadow-red);
  border-color: var(--border-red);
}

.company-card--featured {
  border-color: var(--border-red);
  background: linear-gradient(180deg, var(--red-light) 0%, var(--card-bg) 24%);
}

.company-card--featured::before { transform: scaleX(1); }

.company-card-inner {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  border: 1px solid var(--border-red);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  width: fit-content;
}

.company-logo-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  background: var(--section-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.company-card:hover .company-logo-wrap {
  border-color: var(--border-red);
  box-shadow: 0 0 0 3px var(--red-light);
}

.company-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-body { flex: 1; }

.company-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.company-body h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 14px;
}

.company-body p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
}

.company-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.company-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.825rem;
  color: var(--text-body);
}

.company-features li i {
  color: var(--red);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.company-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* =========================================================
   BLOG — white background
========================================================= */
.blog {
  background: var(--page-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-red);
}

.blog-img-link { display: block; }

.blog-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

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

.blog-card:hover .blog-img-wrap img { transform: scale(1.07); }

.blog-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}

.blog-body { padding: 28px; }

.blog-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--red);
}

.blog-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
}

.blog-body h3 a {
  color: var(--text-head);
  transition: color var(--transition);
}

.blog-body h3 a:hover { color: var(--red); }

.blog-body p {
  font-size: 0.845rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  font-family: var(--font-head);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.read-more:hover { gap: 10px; color: var(--red-bright); }

.blog-cta { text-align: center; }

/* =========================================================
   WHY CHOOSE US — alt (light grey) background
========================================================= */
.why {
  background: var(--section-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.why-card:hover::after { opacity: 1; }

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  border-color: var(--border-red);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: background var(--transition), box-shadow var(--transition);
}

.why-icon i {
  font-size: 1.4rem;
  color: var(--red);
}

.why-card:hover .why-icon {
  background: var(--red);
  box-shadow: 0 0 24px rgba(204,0,0,0.30);
}

.why-card:hover .why-icon i { color: var(--white); }

.why-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.845rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* =========================================================
   CONTACT — white background
========================================================= */
.contact {
  background: var(--page-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.required { color: var(--red); }

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-head);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #BBBBBB; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.08);
  background: var(--white);
}

.form-group input.error,
.form-group textarea.error { border-color: #E53935; }

.form-error {
  display: block;
  font-size: 0.775rem;
  color: #E53935;
  margin-top: 6px;
  min-height: 18px;
}

.form-success {
  display: none;
  background: #F0FFF4;
  border: 1px solid #A3D9A5;
  border-radius: var(--radius);
  color: #2E7D32;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 0.875rem;
  text-align: center;
}

.form-success i { margin-right: 8px; }

/* Contact Info */
.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--red-light);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  color: var(--red);
  font-size: 0.95rem;
}

.info-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.info-item p,
.info-item a {
  font-size: 0.9rem;
  color: var(--text-head);
}

.info-item a:hover { color: var(--red); }

.contact-social { display: flex; gap: 12px; }

.contact-social a {
  width: 40px;
  height: 40px;
  background: var(--section-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: all var(--transition);
}

.contact-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   FOOTER — always dark (black)
========================================================= */
.footer {
  background: var(--footer-bg);
  color: var(--white);
  border-top: 3px solid var(--red);
}

.footer-top { padding: 80px 0 60px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #AAAAAA;
  line-height: 1.8;
  margin: 20px 0 28px;
  max-width: 280px;
}

.footer-logo { font-size: 1.6rem; }

/* Footer logo — white on dark */
.footer .logo-ie,
.footer .logo-group { color: var(--white); }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 38px;
  height: 38px;
  background: #1E1E1E;
  border: 1px solid #2E2E2E;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #AAAAAA;
  font-size: 0.8rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2E2E2E;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: #AAAAAA;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col ul li a:hover { color: var(--red); padding-left: 4px; }
.footer-col ul li a i    { font-size: 0.65rem; color: var(--red); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: #AAAAAA;
  margin-bottom: 12px;
}

.footer-contact li i    { color: var(--red); margin-top: 2px; flex-shrink: 0; }
.footer-contact li a    { color: #AAAAAA; transition: color var(--transition); }
.footer-contact li a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid #2E2E2E;
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p,
.footer-links-inline a {
  font-size: 0.8rem;
  color: #777777;
}

.footer-links-inline a:hover { color: var(--red); }

/* =========================================================
   BACK TO TOP
========================================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-red);
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--red-bright);
  transform: translateY(-4px) !important;
}

/* =========================================================
   STAGGERED ANIMATION DELAYS
========================================================= */
.why-card:nth-child(1)  { transition-delay: 0.05s; }
.why-card:nth-child(2)  { transition-delay: 0.12s; }
.why-card:nth-child(3)  { transition-delay: 0.19s; }
.why-card:nth-child(4)  { transition-delay: 0.26s; }
.why-card:nth-child(5)  { transition-delay: 0.33s; }
.why-card:nth-child(6)  { transition-delay: 0.40s; }

.company-card:nth-child(1) { transition-delay: 0.05s; }
.company-card:nth-child(2) { transition-delay: 0.15s; }
.company-card:nth-child(3) { transition-delay: 0.25s; }

.blog-card:nth-child(1)  { transition-delay: 0.05s; }
.blog-card:nth-child(2)  { transition-delay: 0.15s; }
.blog-card:nth-child(3)  { transition-delay: 0.25s; }

.stat-item:nth-child(1)  { transition-delay: 0.05s; }
.stat-item:nth-child(2)  { transition-delay: 0.12s; }
.stat-item:nth-child(3)  { transition-delay: 0.19s; }
.stat-item:nth-child(4)  { transition-delay: 0.26s; }

/* =========================================================
   RESPONSIVE — TABLET (≤1024px)
========================================================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image { order: -1; }

  .about-img-wrapper img { height: 340px; }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }

  .companies-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card:last-child { grid-column: span 2; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand { grid-column: span 2; }
}

/* =========================================================
   RESPONSIVE — MOBILE (≤768px)
========================================================= */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .section { padding: 72px 0; }

  /* Nav */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* On mobile, nav links are always on white panel */
  .navbar .nav-links .nav-link { color: var(--text-body); }
  .navbar .nav-links .nav-link:hover,
  .navbar .nav-links .nav-link.active { color: var(--red); }
  .navbar .hamburger span { background: var(--white); }
  .navbar.scrolled .hamburger span { background: var(--black); }

  .nav-link {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
  }

  .nav-link::after { display: none; }

  .nav-link.active,
  .nav-link:hover {
    background: var(--red-light);
    color: var(--red);
  }

  .nav-link.nav-cta { text-align: center; margin-top: 8px; }

  /* Hero */
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; }

  /* About */
  .about-grid { gap: 32px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 28px 16px; }

  /* Companies */
  .companies-grid { max-width: 100%; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card:last-child { grid-column: span 1; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-form-wrap { padding: 28px 24px; }
  .contact-info-card  { padding: 28px 24px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: span 1; }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .back-to-top { bottom: 20px; right: 20px; }
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
========================================================= */
@media (max-width: 480px) {
  .hero-stats         { flex-direction: column; gap: 16px; padding-top: 28px; }
  .section-title      { font-size: 1.6rem; }
  .about-mvs          { gap: 12px; }
  .company-card-inner { padding: 28px 24px; }
  .blog-body          { padding: 22px 20px; }
  .stats-row          { grid-template-columns: repeat(2, 1fr); }
}
