/* ===================================================================
   Hi-Five Solutions - Commercial Security
   Premium static site stylesheet
   =================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- Custom Properties --- */
:root {
  --primary: #F26522;
  --primary-dark: #D4551A;
  --primary-light: #FF8A50;
  --primary-glow: rgba(242, 101, 34, 0.15);
  --dark: #0A1628;
  --dark-2: #0F1F35;
  --dark-3: #162A42;
  --dark-card: #132238;
  --light: #F7F8FA;
  --light-2: #EEF0F4;
  --white: #FFFFFF;
  --text: #2C3E50;
  --text-light: #6B7B8D;
  --text-on-dark: #B0BEC5;
  --text-on-dark-bright: #D4DEE8;
  --border: #DEE2E8;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.12);
  --shadow-orange: 0 8px 32px rgba(242, 101, 34, 0.25);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-primary { color: var(--primary); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }

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

.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--dark);
  color: var(--text-on-dark);
}

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

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

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section__header p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 16px;
}

.section--dark .section__header p {
  color: var(--text-on-dark);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}

.btn--outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.nav--scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark-bright);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav__cta {
  margin-left: 16px;
  padding: 10px 24px;
  font-size: 0.85rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 80px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(242, 101, 34, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(242, 101, 34, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(22, 42, 66, 0.5) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Hero with background photo */
.hero--has-bg {
  background:
    linear-gradient(to right, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.65) 100%),
    url('images/hero-collage.jpg');
  background-size: cover;
  background-position: center 30%;
}

.hero--has-bg::before {
  background: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(242, 101, 34, 0.12);
  border: 1px solid rgba(242, 101, 34, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title span {
  color: var(--primary);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-on-dark);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__trust {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-on-dark);
  opacity: 0.6;
  margin-bottom: 20px;
}

.hero__visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 550px;
  opacity: 0.06;
  z-index: 1;
}

.hero__visual svg {
  width: 100%;
  height: auto;
}

/* Page hero (shorter) */
.hero--page {
  min-height: auto;
  padding: 160px 0 80px;
}

.hero--page .hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.hero--page .hero__subtitle {
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* --- Client Logos --- */
.clients {
  padding: 50px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.clients__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 32px;
}

.clients__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  overflow: hidden;
  transition: var(--transition);
  user-select: none;
}

.clients__logo img {
  display: block;
  max-height: 32px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.4) contrast(1.2);
  opacity: 0.55;
  transition: var(--transition);
}

.clients__logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Grid Layouts --- */
.grid {
  display: grid;
  gap: 24px;
}

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

/* --- Service Cards --- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card__text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.service-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Dark service cards */
.section--dark .service-card {
  background: var(--dark-card);
  border-color: rgba(255, 255, 255, 0.06);
}

.section--dark .service-card:hover {
  border-color: rgba(242, 101, 34, 0.2);
}

.section--dark .service-card__title { color: var(--white); }
.section--dark .service-card__text { color: var(--text-on-dark); }
.section--dark .service-card__list li { color: var(--text-on-dark-bright); }

/* --- Stats Strip --- */
.stats {
  padding: 60px 0;
  background:
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stats__item {
  position: relative;
}

.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.stats__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stats__label {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
}

/* --- Feature Rows --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 40px 0;
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-row__content {
  max-width: 520px;
}

.feature-row__visual {
  background: var(--light);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-row__visual--dark {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(242, 101, 34, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
}

.feature-row__visual-icon {
  color: var(--primary);
  opacity: 0.15;
}

.feature-row__visual-icon svg {
  width: 120px;
  height: 120px;
  stroke: currentColor;
  stroke-width: 0.8;
  fill: none;
}

.feature-row__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Project / Sector Cards --- */
.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  text-align: center;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.sector-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--primary-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.sector-card__icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.sector-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sector-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- Brand Grid --- */
.brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.brand-item {
  padding: 16px;
  background: var(--light);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.brand-item:hover {
  background: var(--primary-glow);
  color: var(--primary);
}

.section--dark .brand-item {
  background: var(--dark-card);
  color: var(--text-on-dark-bright);
}

.section--dark .brand-item:hover {
  background: rgba(242, 101, 34, 0.12);
  color: var(--primary-light);
}

/* --- About Sections --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.value-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.value-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.contact-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
}

.contact-item__value a {
  color: var(--dark);
  transition: var(--transition);
}

.contact-item__value a:hover {
  color: var(--primary);
}

/* --- Forms --- */
.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(242, 101, 34, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  text-align: center;
}

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

.cta-section p {
  color: var(--text-on-dark);
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto 36px;
}

.cta-section .btn-group {
  justify-content: center;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 60px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
}

.footer__desc {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  line-height: 1.7;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-on-dark);
  opacity: 0.6;
}

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

.reveal.visible {
  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; }

/* Hero animations */
.hero__label,
.hero__title,
.hero__subtitle,
.hero__actions,
.hero__trust {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.7s ease forwards;
}

.hero__label { animation-delay: 0.1s; }
.hero__title { animation-delay: 0.25s; }
.hero__subtitle { animation-delay: 0.4s; }
.hero__actions { animation-delay: 0.55s; }
.hero__trust { animation-delay: 0.7s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-110%);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__menu.active {
    transform: translateY(0);
  }

  .nav__link {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .nav__toggle {
    display: flex;
  }

  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero__visual { display: none; }
  .hero__trust { margin-top: 40px; padding-top: 30px; }

  .clients__grid { gap: 24px; }
  .clients__logo { font-size: 1rem; }

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

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stats__item:not(:last-child)::after { display: none; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-row--reverse { direction: ltr; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

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

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

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }
  .hero--page { padding: 130px 0 50px; }
  .form { padding: 24px; }
  .service-card { padding: 28px 24px; }
  .clients__grid { gap: 16px; }
  .clients__logo { font-size: 0.85rem; }
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

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

/* --- Utilities --- */
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
