/* ============================================
   ByteRight Technology Solutions — Stylesheet
   Modern Charcoal + Electric Blue
   ============================================ */

/* --- Google Fonts are loaded via <link> in HTML head (faster than @import) --- */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --charcoal: #2D3436;
  --charcoal-light: #3d4749;
  --charcoal-dark: #1e2324;
  --blue: #0984E3;
  --blue-hover: #0773c7;
  --blue-glow: rgba(9, 132, 227, 0.15);
  --teal: #00B894;
  --teal-hover: #00a382;
  --light-bg: #F5F6FA;
  --white: #FFFFFF;
  --text-dark: #2D3436;
  --text-muted: #636E72;
  --text-light: #b2bec3;
  --border: #dfe6e9;
  --border-light: #eef1f5;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-blue: 0 4px 20px rgba(9, 132, 227, 0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

a:hover {
  color: var(--blue-hover);
}

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

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-muted);
  max-width: 65ch;
}

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

.section {
  padding: var(--space-4xl) 0;
}

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

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

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

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

/* --- Utility --- */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-teal { color: var(--teal); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.section--dark .section-label {
  color: var(--teal);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 55ch;
}

.section--dark .section-subtitle {
  color: var(--text-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  line-height: 1;
}

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

.btn--primary:hover {
  background: var(--blue-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(9, 132, 227, 0.35);
}

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

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

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

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

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

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

.btn--sm {
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
}

.btn--lg {
  font-size: 1.05rem;
  padding: 1rem 2rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(45, 52, 54, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--duration-normal) ease;
}

.header--scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.header__logo:hover .header__logo-icon {
  transform: rotate(-8deg) scale(1.05);
}

.header__logo-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.header__logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-xs);
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) ease;
  text-decoration: none;
}

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

.nav__cta {
  margin-left: var(--space-sm);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: var(--charcoal);
  padding: calc(72px + var(--space-3xl)) 0 var(--space-4xl);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(9, 132, 227, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 184, 148, 0.06), transparent);
  pointer-events: none;
}

/* Subtle grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  animation: fadeInUp 0.7s var(--ease-out) both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid rgba(0, 184, 148, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin-bottom: var(--space-lg);
}

.hero__badge svg {
  width: 14px;
  height: 14px;
  fill: var(--teal);
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: normal;
  color: var(--blue);
}

.hero__description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-xl);
  max-width: 50ch;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Contact panel in hero */
.hero__panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.7s var(--ease-out) 0.15s both;
}

.hero__panel-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-lg);
}

.hero__panel-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__panel-item:last-of-type {
  border-bottom: none;
}

.hero__panel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(9, 132, 227, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__panel-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--blue);
}

.hero__panel-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.hero__panel-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
}

.hero__panel-value a {
  color: var(--white);
  text-decoration: none;
}

.hero__panel-value a:hover {
  color: var(--blue);
}

.hero__panel-cta {
  margin-top: var(--space-lg);
}

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

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

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

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

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

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--blue);
}

.service-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  background: rgba(0, 184, 148, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  margin-top: var(--space-md);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-lg);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--duration-normal) ease;
}

.service-card__cta:hover {
  gap: 10px;
}

.service-card__cta svg {
  width: 16px;
  height: 16px;
  fill: var(--blue);
}

/* --- Why Choose Us / Credentials --- */
.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.credential {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.credential__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(9, 132, 227, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.section--dark .credential__icon {
  background: rgba(9, 132, 227, 0.15);
}

.credential__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--blue);
}

.credential__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.credential__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.section--dark .credential__desc {
  color: var(--text-light);
}

.credly-badge-wrap {
  border-radius: 8px;
  padding: 4px;
  background: #ffffff;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue), #0773c7);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 0%, rgba(255,255,255,0.1), transparent),
    radial-gradient(ellipse 40% 60% at 90% 100%, rgba(0,0,0,0.1), transparent);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
  margin: var(--space-md) auto 0;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
  margin-top: var(--space-xl);
}

.cta-banner .btn--secondary {
  background: var(--white);
  color: var(--blue);
  border: none;
  font-weight: 700;
}

.cta-banner .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  line-height: 1.4;
  transition: color var(--duration-fast) ease;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-question__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-question__icon {
  background: var(--blue);
  transform: rotate(45deg);
}

.faq-question__icon svg {
  width: 14px;
  height: 14px;
  fill: var(--text-muted);
  transition: fill var(--duration-normal) ease;
}

.faq-item.active .faq-question__icon svg {
  fill: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out),
              padding var(--duration-slow) var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer__inner {
  padding-bottom: var(--space-lg);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-dark);
  transition: all var(--duration-fast) ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

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

.form-error {
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: var(--space-xs);
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  background: rgba(0, 184, 148, 0.08);
  border: 1px solid rgba(0, 184, 148, 0.2);
  color: var(--teal);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-success.visible {
  display: block;
}

/* Contact info sidebar */
.contact-info-card {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(9, 132, 227, 0.12), transparent);
  pointer-events: none;
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(9, 132, 227, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--blue);
}

.contact-info-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.contact-info-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.contact-info-value a {
  color: var(--white);
}

.contact-info-value a:hover {
  color: var(--blue);
}

/* --- About Page --- */
.about-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-image-placeholder {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
}

.about-image-placeholder span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.delivery-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.delivery-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.delivery-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.delivery-card__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--blue);
}

/* --- Footer --- */
.footer {
  background: var(--charcoal-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 35ch;
  color: rgba(255, 255, 255, 0.5);
}

.footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--duration-fast) ease;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__certs {
  display: flex;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: var(--charcoal);
  padding: calc(72px + var(--space-3xl)) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 100%, rgba(9, 132, 227, 0.06), transparent);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-header h1 {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
  margin-top: var(--space-sm);
  font-size: 1.1rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero__panel {
    max-width: 450px;
  }

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

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

  .about-hero {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .nav__list {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - 72px);
    z-index: 1000;
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-md);
    overflow-y: auto;
  }

  .nav__list.active {
    display: flex;
  }

  .nav__link {
    font-size: 1.25rem;
    padding: 1rem var(--space-xl);
    width: 100%;
    text-align: center;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-md);
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding: calc(72px + var(--space-2xl)) 0 var(--space-3xl);
  }

  .hero__inner {
    gap: var(--space-xl);
  }

  .hero__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    justify-content: center;
  }

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

  .credentials {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .delivery-options {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cta-banner {
    padding: var(--space-2xl) var(--space-lg);
  }
}

/* --- Focus / Accessibility --- */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline-offset: 3px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--blue);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--duration-fast) ease;
}

.skip-link:focus {
  top: var(--space-md);
  color: var(--white);
}
