/* AJJ Bright Future Construction Supply Corp. - public website styles.
   ONE stylesheet for every page. Theme: red (primary) + blue (secondary) from the company logo. */
:root {
  --red-700: #a60d14;
  --red-600: #c8101a;
  --red-500: #e8141c;
  --red-100: #fde8e9;
  --blue-900: #141a5c;
  --blue-800: #1f2478;
  --blue-700: #2b2f94;
  --blue-500: #004baa;
  --blue-100: #e6ecf8;
  --blue-50: #f2f5fc;
  --ink: #1a202c;
  --gray-700: #3d4451;
  --gray-600: #4a5568;
  --gray-400: #a0aec0;
  --gray-200: #e2e8f0;
  --gray-100: #f5f7fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 26, 92, 0.10);
  --shadow-lg: 0 22px 50px rgba(20, 26, 92, 0.18);
  --font-head: 'League Spartan', 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--blue-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.accent { color: var(--red-500); }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-500); margin-bottom: 0.7rem; }
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 3px; background: var(--red-500); vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.eyebrow.light { color: #ffd0d2; }
.eyebrow.light::before { background: var(--red-500); }
.empty { color: var(--gray-600); font-style: italic; }
.mt { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; padding: 0.8rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red-500); color: #fff; box-shadow: 0 8px 20px rgba(232, 20, 28, 0.28); }
.btn-primary:hover { background: var(--red-600); color: #fff; }
.btn-secondary { background: var(--blue-700); color: #fff; }
.btn-secondary:hover { background: var(--blue-800); color: #fff; }
.btn-outline { background: transparent; color: var(--blue-700); border-color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: #fff; }
.btn-outline-white { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.75); backdrop-filter: blur(4px); }
.btn-outline-white:hover { background: #fff; color: var(--blue-900); }
.btn-white { background: #fff; color: var(--red-600); }
.btn-white:hover { background: var(--blue-900); color: #fff; }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }

/* ---------- Top bar + navigation ---------- */
.topbar { background: var(--red-500); color: #fff; font-size: 0.82rem; font-weight: 500; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #ffe0e1; }
.topbar-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-tag { font-style: italic; opacity: 0.95; }
.social-fb { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.18); justify-content: center; }
.social-fb:hover { background: #fff; color: var(--red-500) !important; }
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-200); box-shadow: 0 4px 20px rgba(20, 26, 92, 0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.brand-logo { height: 56px; width: auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-weight: 600; font-size: 0.9rem; color: var(--blue-900); text-transform: uppercase; letter-spacing: 0.04em; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--red-500); border-radius: 2px; transition: width .2s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--red-600); }
.nav-links .nav-cta a { text-transform: none; letter-spacing: 0; color: #fff; }
.nav-links .nav-cta a::after { display: none; }
.nav-login { color: var(--gray-600) !important; font-size: 0.8rem !important; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--blue-900); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); }
.hero-home { min-height: min(88vh, 760px); display: flex; align-items: center; }
.hero-small { padding: 4.5rem 0 4rem; }
.video-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.video-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(20, 26, 92, 0.88) 0%, rgba(43, 47, 148, 0.72) 55%, rgba(232, 20, 28, 0.35) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 4rem 0; max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero .lead { font-size: 1.1rem; line-height: 1.75; color: rgba(255,255,255,0.9); max-width: 720px; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.breadcrumb a { color: #fff; }
.breadcrumb span { margin: 0 6px; opacity: 0.6; }
.hero-tags { position: relative; z-index: 2; background: rgba(255,255,255,0.1); border-top: 1px solid rgba(255,255,255,0.2); }
.hero-tags ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1rem; justify-content: center; }
.hero-tags li { padding: 0.9rem 1rem; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.92rem; display: flex; align-items: center; gap: 1rem; }
.hero-tags li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red-500); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section.alt { background: var(--gray-100); }
.section.blue { background: var(--blue-50); }
.section.dark { position: relative; color: #fff; background: var(--blue-900); overflow: hidden; }
.section.dark::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 26, 92, 0.9), rgba(20, 26, 92, 0.82)); }
.section.dark > .container { position: relative; z-index: 2; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: #ffb3b6; }
.section.dark p { color: rgba(255,255,255,0.88); }
.section-head { max-width: 780px; margin-bottom: 2.8rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.9rem; }
.section-head p, .section-intro { color: var(--gray-600); font-size: 1.02rem; }
.section-intro p + p { margin-top: 0.9rem; }
.section-foot { text-align: center; margin-top: 2.5rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 2rem 1.7rem; box-shadow: var(--shadow); border-top: 4px solid var(--red-500); transition: transform .2s, box-shadow .2s; position: relative; }
.card:nth-child(3n+2) { border-top-color: var(--blue-700); }
.card:nth-child(3n+3) { border-top-color: var(--blue-500); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon { width: 58px; height: 58px; border-radius: 14px; background: var(--red-100); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 1.2rem; }
.card:nth-child(3n+2) .card-icon { background: var(--blue-100); }
.card:nth-child(3n+3) .card-icon { background: var(--blue-50); }
.card h3 { margin-bottom: 0.5rem; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.03em; }
.card p { color: var(--gray-600); font-size: 0.95rem; }
.section.dark .card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-top: 4px solid var(--red-500); backdrop-filter: blur(6px); }
.section.dark .card p { color: rgba(255,255,255,0.8); }
.section.dark .card-icon { background: rgba(255,255,255,0.12); }

/* ---------- Split feature (text + photo) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.split.reverse > .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 3 / 4; }
.split-badge { position: absolute; left: -18px; bottom: 28px; background: var(--red-500); color: #fff; border-radius: 12px; padding: 1rem 1.3rem; box-shadow: var(--shadow-lg); }
.split-badge strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.split-badge span { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.split-text h2 { margin-bottom: 1rem; }
.split-text p { color: var(--gray-600); margin-bottom: 1rem; }
.split-text .btn { margin-top: 0.6rem; }
.split-text ul { margin: 0 0 1rem 1.2rem; color: var(--gray-600); }

/* ---------- Pillars (Innovation / Future) ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pillar { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); border-left: 6px solid var(--red-500); }
.pillar + .pillar { border-left-color: var(--blue-700); }
.pillar h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.pillar p { color: var(--gray-600); }

/* ---------- Vision / Mission / Values ---------- */
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vmv-card { background: #fff; border-radius: var(--radius); padding: 2.2rem 1.8rem; box-shadow: var(--shadow); text-align: center; }
.vmv-card img { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 1.1rem; }
.vmv-card h3 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red-600); margin-bottom: 0.7rem; }
.vmv-card p { color: var(--gray-600); font-size: 0.97rem; }
.vmv-card ul { list-style: none; text-align: left; }
.vmv-card li { padding: 0.55rem 0; border-top: 1px solid var(--gray-200); color: var(--gray-600); font-size: 0.95rem; }
.vmv-card li strong { color: var(--blue-900); }
.photo-band { height: 360px; background-size: cover; background-position: center; position: relative; }
.photo-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(232,20,28,0.45), rgba(20,26,92,0.45)); }

/* ---------- Team ---------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.team-grid > .member { width: 255px; }

.member { text-align: center; background: #fff; border-radius: var(--radius); padding: 1.5rem 1rem 1.2rem; box-shadow: var(--shadow); transition: transform .2s; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.member:hover { transform: translateY(-5px); }
.member-photo { width: 118px; height: 118px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; border: 4px solid var(--red-500); box-shadow: 0 0 0 5px var(--red-100); background: var(--blue-50); display: flex; align-items: center; justify-content: center; }
.member:nth-child(even) .member-photo { border-color: var(--blue-700); box-shadow: 0 0 0 5px var(--blue-100); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member-initial { font-family: var(--font-head); font-size: 3rem; color: var(--blue-700); font-weight: 800; }
.member h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.member-role { color: var(--red-600); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.4; }
.member-bio { color: var(--gray-600); font-size: 0.9rem; margin-top: 0.6rem; }

/* ---------- Projects ---------- */
.proj-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; align-items: stretch; }
.proj { display: flex; gap: 1.1rem; background: #fff; border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); border-left: 5px solid var(--red-500); align-items: flex-start; }
.proj:nth-child(even) { border-left-color: var(--blue-700); }
.proj-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--gray-200); line-height: 1; min-width: 2.2rem; }
.proj h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.proj-loc { color: var(--red-600); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 5px; }
.proj p { color: var(--gray-600); font-size: 0.93rem; margin-top: 0.3rem; }
.proj .btn { margin-top: 0.7rem; }
.proj-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; margin-bottom: 0.8rem; }
.portfolio-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pgroup { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 1.8rem; backdrop-filter: blur(6px); }
.pgroup h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; color: #ffb3b6; margin-bottom: 1rem; padding-bottom: 0.8rem; border-bottom: 2px solid var(--red-500); }
.pgroup ul { list-style: none; }
.pgroup li { padding: 0.5rem 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.93rem; }
.pgroup li strong { display: block; color: #fff; }
.pgroup li span { color: rgba(255,255,255,0.7); font-size: 0.83rem; }
.pgroup li em { display: block; color: rgba(255,255,255,0.75); font-size: 0.85rem; font-style: normal; }
.disclaimer { margin-top: 2rem; padding: 1rem 1.3rem; border-radius: 10px; background: rgba(255,255,255,0.08); border-left: 4px solid var(--red-500); font-size: 0.88rem; color: rgba(255,255,255,0.85); }
.embed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-top: 2rem; }
.embed { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Accreditations / badges ---------- */
.badges { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.badges li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: 12px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.badge-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--red-100); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.badges li:nth-child(even) .badge-icon { background: var(--blue-100); }
.badges strong { display: block; color: var(--blue-900); font-family: var(--font-head); font-size: 1.05rem; }
.badges span { color: var(--gray-600); font-size: 0.92rem; }
.section.dark .badges li { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); }
.section.dark .badges strong { color: #fff; }
.section.dark .badges span { color: rgba(255,255,255,0.8); }
.section.dark .badge-icon { background: rgba(255,255,255,0.14); }

/* ---------- Logos (clients / partners) ---------- */
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.logo-tile { width: 190px; background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 1.4rem 1rem 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; min-height: 168px; transition: transform .2s, box-shadow .2s, border-color .2s; color: var(--gray-600); }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red-500); }
.logo-tile img { max-height: 70px; width: auto; max-width: 150px; object-fit: contain; }
.logo-caption { font-size: 0.78rem; font-weight: 600; text-align: center; color: var(--gray-600); line-height: 1.3; }
.logo-name { font-family: var(--font-head); font-weight: 700; color: var(--blue-900); text-align: center; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.2rem 3rem; align-items: center; }
.logo-strip img { max-height: 64px; width: auto; max-width: 160px; filter: grayscale(0.2); opacity: 0.9; transition: opacity .2s, filter .2s; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.4rem 1rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--red-500); line-height: 1; }
.stat span { font-size: 0.85rem; color: var(--gray-600); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(100deg, var(--red-600), var(--red-500) 60%, #ff5a60); color: #fff; padding: 3.5rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 640px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: stretch; }
.contact-grid > * { min-width: 0; }
.office-cards { display: grid; gap: 1.2rem; }
.office { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.7rem; box-shadow: var(--shadow); border-left: 5px solid var(--red-500); display: flex; gap: 1rem; }
.office + .office { border-left-color: var(--blue-700); }
.office-icon { font-size: 1.8rem; flex: none; }
.office h3 { margin-bottom: 0.3rem; }
.office p { color: var(--gray-600); font-size: 0.95rem; }
.office strong { display: block; margin-top: 0.5rem; color: var(--blue-900); }
.office a { font-size: 0.92rem; }
.form-card { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-lg); }
.form-card h2 { margin-bottom: 0.5rem; }
.form-card > p { color: var(--gray-600); margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--blue-900); }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; margin-top: 6px; padding: 0.8rem 0.95rem; border: 1px solid var(--gray-200); border-radius: 10px; font: inherit; color: var(--ink); background: var(--gray-100); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red-500); background: #fff; box-shadow: 0 0 0 4px rgba(232, 20, 28, 0.14); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg { border-radius: 10px; padding: 0.9rem 1.1rem; margin-bottom: 1.2rem; font-size: 0.93rem; }
.form-msg.ok { background: #e3f6ea; color: #136b3a; border: 1px solid #bfe8cd; }
.form-msg.err { background: var(--red-100); color: var(--red-700); border: 1px solid #f5bfc2; }
.form-msg ul { margin-left: 1.2rem; }
.map-card { display: flex; }
.map-wrap { flex: 1; min-height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: rgba(255,255,255,0.82); padding-top: 4rem; border-top: 6px solid var(--red-500); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h4 { color: #fff; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer ul { list-style: none; }
.footer li { padding: 0.25rem 0; }
.footer a { color: rgba(255,255,255,0.82); }
.footer a:hover { color: #ffb3b6; }
.footer p { font-size: 0.93rem; }
.footer-logo { background: #fff; padding: 10px 14px; border-radius: 10px; max-width: 260px; margin-bottom: 1.1rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.footer-tag { font-style: italic; color: #ffb3b6; margin-top: 0.6rem; }
.footer-bottom { background: rgba(0,0,0,0.25); font-size: 0.8rem; padding: 1rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards, .cards.four, .vmv, .portfolio-groups { grid-template-columns: repeat(2, 1fr); }
  .team-grid > .member { width: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse > .split-media { order: 0; }
  .split-badge { left: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .topbar-mail, .topbar-tag { display: none; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 0.6rem 4%; box-shadow: var(--shadow-lg); border-top: 1px solid var(--gray-200); }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--gray-100); }
  .nav-links a { display: block; padding: 0.9rem 0; }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { padding: 0.8rem 0; border: 0; }
  .nav-links .nav-cta a { display: inline-flex; }
  .brand-logo { height: 44px; }
  .hero-home { min-height: 0; }
  .hero-inner { padding: 3.5rem 0; }
  .section { padding: 3.5rem 0; }
  .cards, .cards.four, .vmv, .portfolio-groups, .proj-list, .badges, .pillars, .embed-grid, .form-grid, .stats { grid-template-columns: 1fr; }
  .team-grid { gap: 0.9rem; }
  .team-grid > .member { width: calc(50% - 0.45rem); }
  .member { aspect-ratio: auto; padding: 1.2rem 0.6rem 1rem; }
  .member-photo { width: 96px; height: 96px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-tags li { padding: 0.6rem 0.5rem; font-size: 0.8rem; }
  .logo-tile { flex: 1 1 140px; width: auto; }
  .photo-band { height: 220px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- header: blue CTA + blue Facebook badge ---------- */
.topbar .social-fb { background: var(--blue-700); color: #fff; width: 28px; height: 28px; }
.topbar .social-fb:hover { background: var(--blue-500); color: #fff !important; }
.nav-links .nav-cta a.btn { padding: 0.75rem 1.5rem; font-size: 0.95rem; white-space: nowrap; background: var(--blue-700); color: #fff; box-shadow: 0 8px 20px rgba(43, 47, 148, 0.28); }
.nav-links .nav-cta a.btn:hover { background: var(--red-500); color: #fff; }
.nav-links .nav-cta a.btn::after { display: none; }

/* ---------- project photo galleries ---------- */
.proj-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.proj-body .btn { margin-top: auto; align-self: flex-start; }
.proj-body p { margin-bottom: 0.9rem; }
.pgal { margin-bottom: 0.9rem; }
.pgal button { display: block; width: 100%; border: 0; padding: 0; background: var(--gray-100); cursor: pointer; border-radius: 10px; overflow: hidden; position: relative; }
.pgal-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .25s; }
.pgal-main:hover img { transform: scale(1.03); }
.pgal-count { position: absolute; right: 10px; bottom: 10px; background: rgba(20, 26, 92, 0.82); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pgal-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.pgal-thumbs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.pgal-thumbs button:hover img { opacity: 0.85; }
.pgal-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 26, 92, 0.6); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.member-vcf { margin-top: 0.9rem; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(10, 12, 40, 0.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lb-img { width: min(92vw, 149vh); max-width: 92vw; max-height: 84vh; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); image-rendering: auto; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 2rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.lb-close:hover, .lb-nav:hover { background: var(--red-500); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.85); font-size: 0.9rem; }
@media (max-width: 760px) { .lb-nav { width: 40px; height: 40px; font-size: 1.5rem; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }

/* ---------- reveal-on-scroll + hero entrance animations (js/main.js adds .rv / .in) ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.rv.rv-left { transform: translateX(-40px); }
.rv.rv-right { transform: translateX(40px); }
.rv.rv-zoom { transform: scale(.92); }
.rv.in { opacity: 1; transform: none; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: heroIn .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > :nth-child(1) { animation-delay: .1s; }
.hero-inner > :nth-child(2) { animation-delay: .22s; }
.hero-inner > :nth-child(3) { animation-delay: .36s; }
.hero-inner > :nth-child(4) { animation-delay: .5s; }
.hero-inner > :nth-child(5) { animation-delay: .64s; }
.hero-tags li { animation: heroIn .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .7s; }
.hero-tags li:nth-child(2) { animation-delay: .82s; }
.hero-tags li:nth-child(3) { animation-delay: .94s; }
html.no-io .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv.rv-left, .rv.rv-right, .rv.rv-zoom { opacity: 1; transform: none; transition: none; }
  .hero-inner > *, .hero-tags li { animation: none; }
}
