/* =========================================================
   HALLBYTE PORTFOLIO — Dark, bold, minimal agency style
   Inspired by majd-portfolio.framer.website
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --surface: #161616;
  --border: #262626;
  --text: #f5f5f3;
  --text-dim: #9a9a9a;
  --text-faint: #5c5c5c;
  --accent: #c8ff5c; /* electric lime accent */
  --accent-dim: #8fb843;
  --radius: 14px;
  --container: 1240px;
  --nav-h: 88px;
  font-size: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}
.btn-primary:hover { transform: translateY(-2px); background: #d8ff85; }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: transform .35s ease;
}
.navbar.nav-hidden { transform: translateY(-100%); }

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span {
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200,255,92,0.12) 0%, rgba(200,255,92,0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-title {
  font-size: clamp(56px, 8.4vw, 132px);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  background: linear-gradient(100deg,
    #f5f5f3 0%, #f5f5f3 30%,
    var(--accent) 45%, #ffffff 52%, var(--accent) 59%,
    #f5f5f3 75%, #f5f5f3 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: title-shimmer 5s linear infinite;
}

@keyframes title-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -50% 0; }
}

.hero-year {
  font-size: 15px;
  color: var(--text-faint);
  letter-spacing: 2px;
  margin-bottom: 0;
  font-weight: 600;
}

.btn-whatsapp {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-whatsapp svg { flex-shrink: 0; color: var(--accent); }
.btn-whatsapp:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-whatsapp:hover svg { color: var(--accent); }

.hero-desc {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 28px 0 34px;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
}
.hero-photo .layer {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-photo .layer-back {
  top: 6%;
  left: 10%;
  width: 78%;
  height: 78%;
  opacity: .5;
  filter: grayscale(1);
  z-index: 1;
}
.hero-photo .layer-front {
  bottom: 0;
  left: 0;
  width: 86%;
  height: 88%;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee ticker ---------- */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-alt);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 22s linear infinite;
}
.ticker-track span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0 28px;
  white-space: nowrap;
}
.ticker-track span:nth-child(odd) { color: var(--accent); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ BIO ============ */
.bio {
  padding: 140px 0;
  border-bottom: 1px solid var(--border);
}
.bio-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.bio-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1 1 520px;
  min-width: 0;
}
.bio-heading { font-size: clamp(32px, 4vw, 48px); margin-bottom: 0; }
.bio-text p {
  font-size: 19px;
  color: var(--text-dim);
  margin-bottom: 22px;
  max-width: 640px;
}
.bio-text strong { color: var(--text); font-weight: 600; }

/* ---------- Bio photo card ---------- */
.bio-photo {
  position: relative;
  flex: 0 0 auto;
  width: 380px;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-photo-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
  background: rgba(10,10,10,0.65);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* ---------- Big scrolling tagline ---------- */
.tagline {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.tagline p {
  font-size: clamp(28px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-faint);
}
.tagline p .hl { color: var(--text); }
.tagline p .accent-word { color: var(--accent); }

/* ============ SERVICES ============ */
.services { padding: 140px 0; border-bottom: 1px solid var(--border); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 30px;
}
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-head p { color: var(--text-dim); max-width: 380px; font-size: 16px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 34px 26px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  background: var(--surface);
}

.service-num {
  position: absolute;
  top: 30px;
  right: 26px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 1px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  transition: background .3s ease, border-color .3s ease;
}
.service-card:hover .service-icon { background: var(--accent); border-color: var(--accent); }
.service-icon svg * { transition: stroke .3s ease; }
.service-card:hover .service-icon svg * { stroke: #0a0a0a; }

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 22px;
  min-height: 66px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.service-tags span {
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
}
.service-tags span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--text-faint);
}

/* ============ PROJECTS ============ */
.projects { padding: 140px 0; border-bottom: 1px solid var(--border); }

.projects-slider {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.projects-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: projects-scroll 28s linear infinite;
}
.projects-track:hover { animation-play-state: paused; }

@keyframes projects-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  flex: 0 0 260px;
  width: 260px;
  aspect-ratio: 1/1;
  background: var(--surface);
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.06); }

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
}
.project-overlay .p-title { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.project-overlay .p-tag { font-size: 11.5px; color: var(--text-dim); }

.projects-footer { display: flex; justify-content: center; margin-top: 50px; }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 140px 0; border-bottom: 1px solid var(--border); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.review-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px 26px;
  transition: border-color .25s ease, transform .25s ease;
}
.review-card:hover { border-color: var(--accent); transform: translateY(-6px); }

.review-quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}

.review-text {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 26px;
  flex: 1;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  flex-shrink: 0;
}

.review-name { font-size: 14px; font-weight: 700; }
.review-role { font-size: 12px; color: var(--text-faint); }

.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 9/12;
  cursor: pointer;
  background: var(--surface);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .25s ease; }
.video-card:hover img { opacity: 1; }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-caption {
  position: absolute;
  left: 20px; bottom: 18px;
  font-size: 14px;
  color: var(--text-dim);
}

/* ============ BLOG ============ */
.blog { padding: 140px 0; border-bottom: 1px solid var(--border); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, border-color .3s ease;
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.blog-thumb { aspect-ratio: 16/10; position: relative; }
.blog-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 14px);
}
.blog-thumb-1 { background: linear-gradient(135deg, #1c2b12, #0a0a0a 70%); }
.blog-thumb-2 { background: linear-gradient(135deg, #12232b, #0a0a0a 70%); }
.blog-thumb-3 { background: linear-gradient(135deg, #241c12, #0a0a0a 70%); }
.blog-thumb-4 { background: linear-gradient(135deg, #221226, #0a0a0a 70%); }
.blog-thumb-5 { background: linear-gradient(135deg, #12261f, #0a0a0a 70%); }
.blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,255,92,0.08);
  border: 1px solid rgba(200,255,92,0.25);
  padding: 5px 12px;
  border-radius: 100px;
}
.blog-body h3 { font-size: 18px; line-height: 1.35; font-weight: 700; }
.blog-body p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; flex: 1; }
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-faint);
}
.blog-read { color: var(--text); font-weight: 600; }
.blog-card:hover .blog-read { color: var(--accent); }

/* ============ CONTACT ============ */
.contact { padding: 140px 0; border-bottom: 1px solid var(--border); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 20px; }
.contact-info p { color: var(--text-dim); font-size: 17px; margin-bottom: 34px; max-width: 380px; }

.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s ease, color .25s ease;
  color: var(--text-dim);
  font-size: 13px;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }

.contact-email { margin-top: 30px; font-size: 15px; }
.contact-email a { color: var(--accent); }

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s ease;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 13px; color: var(--text-faint); margin-top: 10px; }
.form-success { display: none; color: var(--accent); font-size: 14px; margin-top: 14px; }

/* ============ FOOTER ============ */
.site-footer { padding: 100px 0 40px; }
.footer-headline {
  font-size: clamp(30px, 4.6vw, 54px);
  max-width: 780px;
  margin-bottom: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 50px;
}

.footer-brand {
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--surface);
  -webkit-text-stroke: 1px var(--border);
  margin-top: 60px;
  line-height: 1;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-dim); font-size: 15px; transition: color .2s ease; }
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-faint);
}

/* ============ WORK PAGE ============ */
.page-hero {
  padding: calc(var(--nav-h) + 90px) 0 80px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); text-transform: uppercase; }
.page-hero p { color: var(--text-dim); margin-top: 22px; max-width: 520px; font-size: 17px; }

/* ============ CATEGORY CARDS (Work page) ============ */
.categories { padding: 40px 0 20px; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.category-card {
  display: block;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--surface);
}
.category-card:hover .service-icon { background: var(--accent); border-color: var(--accent); }
.category-card:hover .service-icon svg * { stroke: #0a0a0a; }
.category-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.category-count { font-size: 13.5px; color: var(--text-dim); }

.work-subhead {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  margin-bottom: 10px;
  padding-top: 30px;
}
.work-empty {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
}
.work-empty p { color: var(--text-dim); font-size: 16px; }
.work-empty a { color: var(--accent); font-weight: 600; }

.work-list { padding: 20px 0 60px; }
.work-item {
  display: grid;
  grid-template-columns: 90px 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.work-list .work-item:last-child { border-bottom: 1px solid var(--border); }
.work-item .w-index { color: var(--text-faint); font-size: 14px; font-weight: 600; }
.work-item .w-name { font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; }
.work-item .w-name span { display: block; font-size: 14px; color: var(--text-dim); font-weight: 500; margin-top: 6px; }
.work-item .w-tag {
  font-size: 13px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  width: fit-content;
}
.work-item .w-thumb {
  width: 100px; height: 70px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.work-item .w-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 340px; margin: 0 auto 40px; }
  .bio-photo { width: 100%; max-width: 340px; margin: 0 auto; }
  .project-card { flex: 0 0 220px; width: 220px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work-item { grid-template-columns: 50px 1fr; row-gap: 14px; }
  .work-item .w-tag, .work-item .w-thumb { grid-column: 2; }
  .category-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .container { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Video modal ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  padding: 40px;
}
.video-modal.open { opacity: 1; pointer-events: auto; }
.video-modal-inner {
  width: min(420px, 90vw);
  aspect-ratio: 9/16;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.video-modal-inner iframe { width: 100%; height: 100%; }
.video-placeholder-note {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  padding: 30px;
}
.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Mobile nav open state ---------- */
.nav-links.open {
  display: flex;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  flex-direction: column;
  background: var(--bg);
  padding: 30px 32px;
  border-bottom: 1px solid var(--border);
  gap: 22px;
}
