/*
Theme Name: JM Technology Groups
Theme URI: https://jmtechnologygroups.com
Author: JM Technology Groups
Author URI: https://jmtechnologygroups.com
Description: Professional IT Services & Consulting theme for JM Technology Groups — featuring Managed IT, Cybersecurity, Cloud Services, and Network & Infrastructure solutions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jmtg
Tags: business, technology, it-services, consulting, responsive
*/

/* ============================================================
   IMPORTS & VARIABLES
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Fraunces:ital,wght@0,300;0,700;1,300;1,600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Brand Colors */
  --blue-900:  #0a1628;
  --blue-800:  #0d1f3c;
  --blue-700:  #102a52;
  --blue-600:  #1a3f7a;
  --blue-500:  #1e56a8;
  --blue-400:  #2e6fcc;
  --blue-300:  #4d8de0;
  --blue-200:  #93bef0;
  --blue-100:  #d6e8fb;
  --blue-50:   #eef5fd;

  --accent:        #0ea5e9;
  --accent-light:  #38bdf8;
  --accent-glow:   rgba(14,165,233,0.25);

  --white:     #ffffff;
  --off-white: #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-400:  #94a3b8;
  --gray-600:  #475569;
  --gray-800:  #1e293b;
  --gray-900:  #0f172a;

  --gold:      #f59e0b;

  /* Typography */
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: 110px;
  --container:   1240px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(10,22,40,0.08), 0 1px 2px rgba(10,22,40,0.06);
  --shadow-md:  0 4px 24px rgba(10,22,40,0.10), 0 2px 8px rgba(10,22,40,0.06);
  --shadow-lg:  0 20px 60px rgba(10,22,40,0.14), 0 8px 24px rgba(10,22,40,0.08);
  --shadow-xl:  0 32px 80px rgba(10,22,40,0.18);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* ============================================================
   UTILITIES
============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.section-pad { padding: var(--section-pad) 0; }

.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.label-tag::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--blue-900);
}
.section-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue-500);
}
.section-heading.light { color: var(--white); }
.section-heading.light em { color: var(--accent-light); }

.section-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray-600);
  max-width: 580px;
  margin-top: 18px;
}
.section-sub.light { color: var(--blue-200); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30,86,168,0.35);
}
.btn-primary:hover {
  background: var(--blue-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30,86,168,0.45);
}
.btn-secondary {
  background: var(--white);
  color: var(--blue-600);
  border: 1.5px solid var(--blue-200);
}
.btn-secondary:hover {
  border-color: var(--blue-400);
  background: var(--blue-50);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn svg { flex-shrink: 0; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   HEADER / NAV
============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: all 0.3s ease;
  padding: 0;
}
#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  max-width: 100%;
  transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}
#site-header.scrolled .header-inner {
  padding: 14px 40px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 24px rgba(10,22,40,0.09);
  backdrop-filter: blur(12px);
}

/* Topbar */
.header-topbar {
  background: var(--blue-900);
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: height 0.3s, opacity 0.3s;
}
#site-header.scrolled .header-topbar {
  height: 0;
  padding: 0 40px;
  overflow: hidden;
  opacity: 0;
}
.topbar-info {
  display: flex;
  gap: 28px;
  align-items: center;
}
.topbar-info a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-200);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.topbar-info a:hover { color: var(--white); }
.topbar-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 6px var(--accent-light);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100%{opacity:1} 50%{opacity:0.4}
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue-500), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: white;
  font-family: var(--font-head);
  letter-spacing: -0.04em;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(30,86,168,0.4);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.02em;
}
#site-header:not(.scrolled) .logo-name { color: var(--white); }
.logo-tagline {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}
#site-header:not(.scrolled) .logo-tagline { color: var(--blue-200); }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
#site-header:not(.scrolled) .main-nav a { color: rgba(255,255,255,0.8); }
.main-nav a:hover {
  color: var(--blue-500);
  background: var(--blue-50);
}
#site-header:not(.scrolled) .main-nav a:hover {
  color: white;
  background: rgba(255,255,255,0.12);
}
.nav-cta { margin-left: 10px; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: all 0.3s;
}
#site-header:not(.scrolled) .menu-toggle span { background: white; }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 20px 30px 30px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(10,22,40,0.12);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--blue-900);
  overflow: hidden;
  padding-top: 100px;
}

/* Layered background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 60% 40%, rgba(14,165,233,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(30,86,168,0.25) 0%, transparent 60%),
    linear-gradient(160deg, var(--blue-900) 0%, #071020 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 100%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(14,165,233,0.4) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, black 10%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px var(--accent-light);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-light);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.78;
  color: var(--blue-200);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-metrics {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.metric strong {
  display: block;
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}
.metric strong span { color: var(--accent-light); }
.metric small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-top: 4px;
  display: block;
}

/* Hero visual card panel */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}
.hero-card:hover { transform: translateX(-6px); border-color: rgba(14,165,233,0.35); }
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.icon-blue { background: rgba(30,86,168,0.4); }
.icon-cyan { background: rgba(14,165,233,0.2); }
.icon-gold { background: rgba(245,158,11,0.2); }
.icon-green { background: rgba(16,185,129,0.2); }
.status-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.status-green { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.status-blue  { background: rgba(14,165,233,0.15); color: var(--accent-light); border: 1px solid rgba(14,165,233,0.3); }
.hero-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.hero-card p {
  font-size: 13px;
  color: var(--blue-200);
  line-height: 1.5;
}
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-top: 14px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue-400), var(--accent));
  animation: progressAnim 2s ease forwards;
}
@keyframes progressAnim { from { width: 0 } }

/* ============================================================
   CLIENTS STRIP
============================================================ */
.clients-strip {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
  overflow: hidden;
}
.clients-scroll {
  display: flex;
  animation: scrollClients 28s linear infinite;
  width: max-content;
  gap: 0;
}
.clients-strip:hover .clients-scroll { animation-play-state: paused; }
.client-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-400);
  padding: 0 52px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 52px;
  transition: color 0.3s;
}
.client-name:hover { color: var(--blue-400); }
.client-name::after { content: '·'; color: var(--gray-300); font-size: 24px; }
@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
============================================================ */
.services-section { background: var(--off-white); }
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue-300);
  margin-bottom: 28px;
}
.service-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: background 0.3s;
}
.service-card:hover .service-icon-wrap { background: var(--blue-100); }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 28px;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
}
.service-feature::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1.5px solid var(--blue-300);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3l2 2 4-4' stroke='%231e56a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   WHY US / FEATURES
============================================================ */
.why-section { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-visual {
  position: relative;
  background: linear-gradient(145deg, var(--blue-800), var(--blue-900));
  border-radius: var(--radius-xl);
  padding: 48px;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(14,165,233,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.why-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.why-stat-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: background 0.3s;
}
.why-stat-box:hover { background: rgba(255,255,255,0.11); }
.why-stat-box .num {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}
.why-stat-box .num span { color: var(--accent-light); }
.why-stat-box .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-top: 6px;
}
.why-cert-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.cert-badge {
  flex: 1;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}
.feature-item { display: flex; gap: 20px; }
.feature-icon-box {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.25s;
}
.feature-item:hover .feature-icon-box {
  background: var(--blue-500);
  border-color: var(--blue-500);
  transform: scale(1.08);
}
.feature-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.feature-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-600);
}

/* ============================================================
   TEAM
============================================================ */
.team-section { background: var(--blue-900); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.team-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14,165,233,0.3);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.team-photo {
  height: 200px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.team-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.3));
}
.team-info { padding: 24px; }
.team-info h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.team-info .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.team-info p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--blue-200);
}
.team-certs {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.team-cert {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(14,165,233,0.15);
  color: var(--accent-light);
  border: 1px solid rgba(14,165,233,0.2);
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section { background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.testimonial-card.featured {
  background: linear-gradient(145deg, var(--blue-800), var(--blue-900));
  border-color: rgba(14,165,233,0.3);
  color: var(--white);
}
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--gold);
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 28px;
}
.testimonial-card.featured .testimonial-text { color: var(--blue-100); }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-900);
}
.testimonial-card.featured .author-name { color: var(--white); }
.author-company {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-top: 2px;
}
.testimonial-card.featured .author-company { color: var(--blue-300); }

/* ============================================================
   CONTACT
============================================================ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.contact-item h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 4px;
  font-family: var(--font-mono);
}
.contact-item p, .contact-item a {
  font-size: 16px;
  font-weight: 500;
  color: var(--blue-900);
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--blue-500); }

/* Contact Form */
.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.contact-form-wrap h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.contact-form-wrap > p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(30,86,168,0.1);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; font-size: 15px; padding: 16px; }

/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 60%, #030d1a 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(14,165,233,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner .section-heading { margin: 0 auto; max-width: 700px; }
.cta-banner .section-sub { margin: 20px auto 40px; text-align: center; max-width: 500px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-phone {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: -0.02em;
  margin: 0 auto 40px;
}

/* ============================================================
   FOOTER
============================================================ */
#site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-name { color: white; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.3); }
.footer-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  margin: 20px 0 28px;
  max-width: 280px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  cursor: pointer;
}
.social-btn:hover { background: var(--blue-500); border-color: var(--blue-500); color: white; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a:hover { color: var(--white); }
.footer-col ul a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-400);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.footer-col ul a:hover::before { opacity: 1; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
}
.footer-links-bottom { display: flex; gap: 24px; }
.footer-links-bottom a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-links-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  :root { --section-pad: 80px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .main-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-topbar { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  #site-header .header-inner { padding: 16px 20px; }
  .hero { padding: 80px 0 60px; }
  .hero-metrics { flex-direction: column; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
