/* ===========================
   VCoSec Design System
   =========================== */

/* --- Google Fonts Import --- */

/* --- CSS Custom Properties --- */
:root {
  --color-black: #1A1A1A;
  --color-white: #FFFFFF;
  --color-grey-light: #F5F5F5;
  --color-grey-mid: #E5E7EB;
  --color-grey-text: #6B7280;
  --color-red: #E5222E;
  --color-red-dark: #C41E27;

  --font-heading: 'Calibri', 'Gill Sans', 'Trebuchet MS', sans-serif;
  --font-body: 'Calibri', 'Gill Sans', 'Trebuchet MS', sans-serif;

  --container-max: 1200px;
  --section-padding: 80px;
  --grid-gap: 32px;
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
}

.header__logo img {
  filter: none;
}

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

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--color-grey-text);
  margin-bottom: 16px;
}

.section-subtitle {
  display: block;
  color: var(--color-red);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header p {
  max-width: 640px;
  margin: 16px auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 34, 46, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-red);
  border-color: var(--color-red);
}

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

.btn-white {
  background: var(--color-white);
  color: var(--color-red);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  padding: 0 64px 0 0;
}

.header__logo {
  margin-left: -24px;
}

.header__logo img {
  height: 100px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-right: 0;
}

.header__nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-black);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: var(--transition);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__nav .btn {
  padding: 10px 24px;
}

.header__nav .btn::after {
  display: none;
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}

/* --- Footer --- */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--grid-gap);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.8;
}

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

.footer__about p {
  margin-bottom: 20px;
}

.footer__links ul li {
  margin-bottom: 8px;
}

.footer__links ul li a::before {
  content: '\203A';
  margin-right: 8px;
  color: var(--color-red);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer__contact li strong {
  color: var(--color-white);
  min-width: 60px;
}

.footer__bottom {
  text-align: center;
  padding: 24px 0;
  margin-top: 24px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Section Utilities --- */
.section {
  padding: var(--section-padding) 0;
}

.section--grey {
  background: var(--color-grey-light);
}

.section--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Card Component --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(229, 34, 46, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

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

/* --- Hero Component --- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 110px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.6) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: var(--color-white);
}

.hero__content .section-subtitle {
  color: var(--color-red);
}

.hero__content h1 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--color-white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stats-bar__item {
  padding: 32px 16px;
  border-right: 1px solid var(--color-grey-mid);
}

.stats-bar__item:last-child {
  border-right: none;
}

.stats-bar__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 8px;
}

.stats-bar__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-grey-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--color-red);
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--color-black);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-grey-mid);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(229, 34, 46, 0.1);
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .header__nav {
    position: fixed;
    top: 110px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--color-white);
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    gap: 16px;
  }

  .header__nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  .header__menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 480px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .stats-bar__item {
    border-bottom: 1px solid var(--color-grey-mid);
  }

  .stats-bar__item:nth-child(odd) {
    border-right: 1px solid var(--color-grey-mid);
  }

  .stats-bar__item:nth-child(even) {
    border-right: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    text-align: center;
  }
}