/* ============================================
   Beckham Enterprises — Website Stylesheet
   Brand: Blue #2D8CF0 | Purple #7B4FBE | Navy #1A2744
   ============================================ */

/* --- Loading Screen --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loaded .loader { display: none; }
.loader__logo {
  width: 280px;
  opacity: 0;
  animation: loaderPush 2.5s ease forwards;
}
@keyframes loaderPush {
  0%   { opacity: 0; transform: scale(0.8); }
  15%  { opacity: 1; transform: scale(0.8); }
  70%  { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(1.8); }
}

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

:root {
  --blue: #2D8CF0;
  --blue-hover: #1A7AE0;
  --purple: #7B4FBE;
  --purple-hover: #6A3FAD;
  --gradient: linear-gradient(135deg, #2D8CF0, #7B4FBE);
  --gradient-hover: linear-gradient(135deg, #1A7AE0, #6A3FAD);
  --navy: #1A2744;
  --navy-light: #243456;
  --medium-blue: #3A5BA0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text: #1E293B;
  --text-light: #64748B;
  --border: #E2E8F0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(26, 39, 68, 0.1);
  --shadow-hover: 0 4px 16px rgba(26, 39, 68, 0.15);
  --shadow-lg: 0 8px 32px rgba(26, 39, 68, 0.12);
  --nav-height: 80px;
  --max-width: 1100px;
  --transition: 0.2s ease;
}

/* --- Font Loading --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiJ-Ek-_EeA.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuGKYAZ9hiJ-Ek-_EeA.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYAZ9hiJ-Ek-_EeA.woff2') format('woff2');
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

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

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

h1, h2, h3, h4 { color: var(--navy); line-height: 1.3; }
h1 { font-size: 2.4rem; margin-bottom: 0.5em; }
h2 { font-size: 1.7rem; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
h4 { font-size: 1.1rem; margin-bottom: 0.3em; }

p { margin-bottom: 1em; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.8); }
.section--gradient { background: var(--gradient); color: var(--white); }
.section--gradient h2, .section--gradient h3, .section--gradient h4 { color: var(--white); }
.section--gradient p { color: rgba(255,255,255,0.9); }
.section--white { background: var(--white); }
.section--alt { background: #F1F5F9; }

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

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

.nav__link {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav__link:hover,
.nav__link.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* --- Nav Dropdown --- */
.nav__dropdown {
  position: relative;
}
.nav__dropdown-toggle {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
}
.nav__dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--transition);
}
.nav__dropdown:hover .nav__dropdown-toggle::after,
.nav__dropdown.open .nav__dropdown-toggle::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav__dropdown-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 180px;
  list-style: none;
}
.nav__dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav__dropdown-item:hover {
  background: var(--bg);
  color: var(--blue);
}

.nav__cta {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: opacity var(--transition), transform var(--transition);
}
.nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* --- Mobile Nav Toggle --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Portfolio Stats & Filters --- */
.portfolio-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.portfolio-stat {
  text-align: center;
}
.portfolio-stat__number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.portfolio-stat__label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.portfolio-filter {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
}
.portfolio-filter:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.portfolio-filter.active {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}

.portfolio-item {
  transition: opacity 0.3s ease, max-height 0.3s ease;
}
.portfolio-item.hidden {
  display: none;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: var(--navy);
  padding: 48px 0 40px;
  margin-top: var(--nav-height);
  text-align: center;
}
.page-header h1 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 0.3em;
}
.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* --- Hero (Home) --- */
.hero {
  margin-top: var(--nav-height);
  padding: 80px 0 72px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,140,240,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123,79,190,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.4em;
  letter-spacing: -0.02em;
}
.hero__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2em;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
}
.btn:hover {
  transform: translateY(-2px);
}

.btn--gradient {
  background: var(--gradient);
  color: var(--white);
}
.btn--gradient:hover {
  opacity: 0.9;
  box-shadow: 0 4px 20px rgba(45,140,240,0.3);
  color: var(--white);
}

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

.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow-hover);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}
.btn--white:hover {
  box-shadow: var(--shadow-hover);
  color: var(--navy);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}
.card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--text-light); margin-bottom: 0; font-size: 0.95rem; }

/* --- Feature / Case Study Card --- */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.feature-card__img {
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.feature-card__img img {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}
.feature-card__tag {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.feature-card h3 { font-size: 1.4rem; }
.feature-card p { color: var(--text-light); }

/* --- Community / Highlight Section --- */
.highlight {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.highlight__icon {
  margin-bottom: 20px;
}
.highlight__icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.highlight h3 { font-size: 1.3rem; margin-bottom: 0.5em; }
.highlight p { color: var(--text-light); margin-bottom: 0; }

/* --- Family of Companies --- */
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.family-item {
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}
.family-item__name {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.family-item__desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- Process / Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  text-align: center;
  counter-increment: step;
}
.step__number {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}
.step h4 { margin-bottom: 0.3em; }
.step p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* --- Service Detail Sections --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }
.service-detail__content h3 { font-size: 1.5rem; margin-bottom: 0.5em; }
.service-detail__content p { color: var(--text-light); }
.service-detail__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.service-detail__list li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}
.service-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.7;
}
.service-detail__visual {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border);
}
.service-detail__visual svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}
.founder-headshot {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

/* --- Portfolio Case Study --- */
.case-study {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-study__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* --- Site Preview (cropped window with click-to-zoom) --- */
.site-preview {
  height: 320px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.site-preview img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  transition: filter var(--transition);
}
.site-preview::after {
  content: 'Click to expand';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(26, 39, 68, 0);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}
.site-preview:hover img { filter: brightness(0.6); }
.site-preview:hover::after {
  opacity: 1;
  background: rgba(26, 39, 68, 0.4);
}

/* --- Image Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 24px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 900px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.lightbox__close {
  position: fixed;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 9001;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox__close:hover { opacity: 1; }
.case-study__body { padding: 32px; }
.case-study__tag {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.case-study__body h3 { font-size: 1.4rem; }
.case-study__body p { color: var(--text-light); }
.case-study__tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.case-study__tech span {
  background: var(--bg);
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

/* --- Values Cards --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.value-card__icon {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.value-card__icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}
.value-card h3 { margin-bottom: 0.4em; }
.value-card p { color: var(--text-light); margin-bottom: 0; font-size: 0.95rem; }

/* --- Ecosystem Table --- */
.ecosystem-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.ecosystem-table th,
.ecosystem-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.ecosystem-table th {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ecosystem-table td { color: var(--text); font-size: 0.95rem; }
.ecosystem-table a { font-weight: 500; }
.ecosystem-table tr:last-child td { border-bottom: none; }

/* --- Forms --- */
.form { max-width: 600px; }
.form--centered { margin: 0 auto; }

.form__group { margin-bottom: 20px; }
.form__label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45,140,240,0.15);
}
.form__textarea { resize: vertical; min-height: 140px; }
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-top: 16px;
  display: none;
}
.form__status--success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.form__status--error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* --- CTA Section --- */
.cta {
  text-align: center;
  padding: 64px 0;
  background: var(--gradient);
}
.cta h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.4em;
}
.cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 1.5em;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  text-align: center;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer__brand {
  margin-bottom: 28px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.footer__logo img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}
.footer__logo span {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}
.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}

.footer__links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__links li { margin: 0; }
.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__family {
  margin-top: 20px;
  padding-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__family h4 {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0;
  white-space: nowrap;
}
.footer__family ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.footer__family li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer__family a {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}
.footer__family a:hover { color: var(--white); }

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* --- ScamEscape-specific --- */
.se-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.se-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.se-feature__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.se-feature h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.se-feature p { color: var(--text-light); margin-bottom: 0; font-size: 0.9rem; }

.se-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: sestep;
}
.se-step {
  text-align: center;
  counter-increment: sestep;
}
.se-step__number {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
}
.se-step h4 { margin-bottom: 0.3em; }
.se-step p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

.download-box {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}
.download-box h3 { margin-bottom: 0.5em; }
.download-box p { color: var(--text-light); margin-bottom: 1.5em; }
.download-box .btn { margin-bottom: 12px; }
.download-box__note { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; }

/* --- LaunchCodes-specific --- */
.lc-hero-screenshot {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26, 39, 68, 0.2);
  border: 1px solid var(--border);
}
.lc-hero-screenshot img {
  width: 100%;
  display: block;
}

.lc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lc-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.lc-feature h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.lc-feature p { color: var(--text-light); margin-bottom: 0; font-size: 0.9rem; }

.lc-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lc-showcase__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.lc-showcase__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.lc-showcase__item img {
  width: 100%;
  display: block;
}
.lc-showcase__label {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
}

.lc-security {
  max-width: 640px;
  margin: 0 auto;
}
.lc-security__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}
.lc-security__check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}
.lc-security__item span {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.lc-tech {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.lc-tech__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
}
.lc-tech__item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.lc-tech__item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.lc-donate {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.lc-donate h3 { margin-bottom: 0.5em; }
.lc-donate p { color: var(--text-light); margin-bottom: 1.5em; font-size: 0.95rem; }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 { margin-bottom: 0.3em; }
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* --- Coming Soon Placeholder --- */
.coming-soon {
  text-align: center;
  padding: 48px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.coming-soon h3 { color: var(--text-light); margin-bottom: 0.3em; }
.coming-soon p { color: var(--text-light); margin-bottom: 0; }

/* --- Utility --- */
.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;
}
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* --- Contact Info Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 0.5em; }
.contact-info p { color: var(--text-light); }
.contact-info__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info__icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    z-index: 999;
  }
  .nav.open .nav__link {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: none;
    text-align: center;
  }
  .nav.open .nav__dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .nav.open .nav__dropdown-toggle {
    display: inline-flex;
    width: auto;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: none;
    justify-content: center;
    gap: 6px;
  }
  .nav.open .nav__dropdown-menu {
    position: static;
    transform: none;
    padding-top: 0;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity var(--transition), visibility var(--transition), max-height 0.3s ease;
  }
  .nav.open .nav__dropdown.open .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
  }
  .nav.open .nav__dropdown-list {
    border: none;
    box-shadow: none;
    padding: 0 0 4px 0;
    min-width: 0;
  }
  .nav.open .nav__dropdown-item {
    display: block;
    padding: 8px 0;
    text-align: center;
  }
  .nav.open .nav__dropdown:hover .nav__dropdown-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
  }
  .nav.open .nav__dropdown.open:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
  }
  .nav.open .nav__cta {
    display: block;
    margin-top: 8px;
    text-align: center;
    width: 100%;
  }
  .nav-toggle { display: flex; }

  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }

  .section { padding: 48px 0; }

  .card-grid,
  .values-grid,
  .se-features,
  .lc-features { grid-template-columns: 1fr; }

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

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

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

  .feature-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .service-detail,
  .service-detail--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }

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

  .footer__links { gap: 6px 20px; }
  .footer__family { flex-direction: column; gap: 8px; }
  .footer__family ul { flex-direction: column; gap: 4px; }

  .cta h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }

  .container { padding: 0 16px; }

  .hero h1 { font-size: 1.7rem; }
  .hero__actions { flex-direction: column; align-items: center; }

  .family-grid { grid-template-columns: 1fr; }
  .steps,
  .se-steps { grid-template-columns: 1fr; }
  .lc-showcase { grid-template-columns: 1fr; }
  .lc-tech { grid-template-columns: 1fr; }

  .page-header { padding: 32px 0 28px; }
  .page-header h1 { font-size: 1.6rem; }
  .portfolio-stats { gap: 24px; }
  .portfolio-stat__number { font-size: 1.5rem; }

  .card { padding: 24px 20px; }
}
