/* ============================================================
   BADONGA — Home page styles (index.html)
   ============================================================ */

/* ---------- Branches dropdown (desktop nav) ---------- */
.branches-item { position: relative; }
.branches-item > button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.branches-item .chev { transition: transform 0.2s; }
.branches-item.open .chev { transform: rotate(180deg); }
.branches-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.75rem;
  width: 16rem;
  background: var(--gray-900);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  z-index: 50;
}
.branches-item.open .branches-dropdown { display: block; }
.bd-head { padding: 0.5rem 1rem; border-bottom: 1px solid var(--gray-800); }
.bd-head p {
  color: var(--yellow-400);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.bd-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  transition: background 0.2s;
}
.bd-item:hover { background: rgba(250, 204, 21, 0.1); }
.bd-item-border { border-top: 1px solid var(--gray-800); }
.bd-avatar {
  width: 2rem; height: 2rem;
  background: var(--yellow-400);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.bd-name { color: #fff; font-size: 0.875rem; font-weight: 600; transition: color 0.2s; }
.bd-item:hover .bd-name { color: var(--yellow-400); }
.bd-loc { color: var(--gray-500); font-size: 0.75rem; }

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a0a 50%, #0a0a0a 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  transition: background-image 0.7s, opacity 0.7s;
}
.hero-tint {
  position: absolute;
  inset: 0;
  transition: background 0.7s;
}
.hero-tint.tint-0 { background: linear-gradient(to bottom right, rgba(113, 63, 18, 0.10), rgba(202, 138, 4, 0.05)); }
.hero-tint.tint-1 { background: linear-gradient(to bottom right, rgba(113, 63, 18, 0.20), rgba(202, 138, 4, 0.05)); }
.hero-tint.tint-2 { background: linear-gradient(to bottom right, rgba(31, 41, 55, 0.30), rgba(55, 65, 81, 0.10)); }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 40%, rgba(0, 0, 0, 0.8));
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 0;
  width: 100%;
}
.hero-content.slide-in { animation: heroSlideIn 0.6s ease-out forwards; }
.hero-content.slide-out {
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.3s, transform 0.3s;
}

/* Slide 1 — welcome */
.slide-welcome {
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: 5rem 0;
}
.slide-welcome .badge-pill { margin-bottom: 2rem; }
.slide-welcome h1 {
  font-size: 3.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.slide-welcome h1 .hl { color: var(--yellow-400); }
.slide-welcome .welcome-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.welcome-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.welcome-stats .ws { text-align: center; }
.welcome-stats .ws-val { font-size: 2.25rem; font-weight: 800; color: var(--yellow-400); }
.welcome-stats .ws-label { color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; margin-top: 0.25rem; }
.welcome-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .welcome-btns { flex-direction: row; }
}
@media (min-width: 768px) {
  .slide-welcome h1 { font-size: 6rem; }
  .slide-welcome .welcome-desc { font-size: 1.25rem; }
}

/* Slides 2 & 3 — branch */
.slide-branch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .slide-branch { grid-template-columns: repeat(2, 1fr); }
}
.slide-branch .sb-brand {
  color: var(--yellow-400);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.slide-branch .badge-pill { margin-bottom: 1.5rem; }
.slide-branch h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.slide-branch h1 .hl { color: var(--yellow-400); }
.slide-branch .sb-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.sb-features { margin-bottom: 2rem; }
.sb-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.sb-check {
  width: 1rem; height: 1rem;
  background: var(--yellow-400);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sb-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .sb-btns { flex-direction: row; }
}
.sb-btns .btn-yellow, .sb-btns .btn-outline-yellow { padding: 1rem 1.75rem; }
.sb-logo { display: flex; justify-content: center; }
.sb-logo img {
  height: 12rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}
@media (min-width: 768px) {
  .slide-branch h1 { font-size: 4.5rem; }
  .slide-branch .sb-desc { font-size: 1.125rem; }
  .sb-logo img { height: 16rem; }
}

/* Dots / arrows / scroll cue */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.75rem;
  z-index: 20;
}
@media (min-width: 768px) { .hero-dots { right: 2.5rem; } }
.hero-dots button {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
  padding: 0;
}
.hero-dots button:hover { background: rgba(255, 255, 255, 0.6); }
.hero-dots button.active { background: var(--yellow-400); width: 2rem; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3rem;
  height: 3rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  transition: all 0.2s;
}
.hero-arrow:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: var(--yellow-400);
  color: var(--yellow-400);
}
.hero-arrow.left { left: 1rem; }
.hero-arrow.right { right: 1rem; }
.hero-scroll {
  position: absolute;
  bottom: 6rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  z-index: 20;
}
@media (min-width: 768px) { .hero-scroll { right: 3rem; } }
.hero-scroll span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

/* ---------- About section ---------- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .about-intro-grid { grid-template-columns: repeat(2, 1fr); }
}
.about-cards { height: 100%; }
.about-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.about-card:last-child { margin-bottom: 0; }
.about-card p { color: var(--gray-700); line-height: 1.7; }
.about-photo, .contact-photo {
  position: relative;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.about-photo img, .contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1) 50%, transparent);
}
.img-shade.heavy { background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.2) 50%, transparent); }
.photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
}
.photo-caption p { color: #fff; font-weight: 600; letter-spacing: 0.02em; font-size: 0.95rem; }
.photo-caption .pc-title { font-size: 1.125rem; }
.photo-caption .pc-sub { color: var(--gray-200); font-size: 0.875rem; margin-top: 0.25rem; font-weight: 400; }

.about-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) {
  .about-detail-grid { grid-template-columns: repeat(2, 1fr); }
}
.loc-block { margin-bottom: 2rem; }
.loc-heading {
  color: var(--gray-900);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
}
.loc-heading .dash { width: 1.5rem; height: 2px; background: var(--yellow-400); display: inline-block; }
.loc-list { display: flex; flex-direction: column; gap: 0.75rem; }
.loc-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  text-align: left;
  transition: all 0.2s;
}
.loc-item:hover { border-color: var(--yellow-300); background: var(--yellow-50); }
.loc-item.active { background: var(--yellow-50); border-color: var(--yellow-300); }
.loc-item .li-num {
  color: var(--yellow-500);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 0.125rem;
  min-width: 2rem;
}
.loc-item .li-addr { font-weight: 700; color: var(--gray-900); font-size: 0.875rem; }
.loc-item .li-region {
  color: var(--yellow-600);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.loc-item .li-state {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.loc-map-wrap { margin-top: 1rem; }
.loc-map-wrap .map-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--yellow-200);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.loc-map-wrap iframe { width: 100%; height: 280px; }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.mini-stat {
  text-align: center;
  padding: 1rem;
  background: var(--yellow-50);
  border: 1px solid var(--yellow-100);
  border-radius: var(--radius-xl);
}
.mini-stat .ms-val { font-size: 1.875rem; font-weight: 800; color: var(--yellow-500); margin-bottom: 0.25rem; }
.mini-stat .ms-label { font-size: 0.875rem; color: var(--gray-600); font-weight: 500; }

.why-title { font-size: 1.5rem; color: var(--gray-900); margin-bottom: 1.5rem; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.why-card {
  background: linear-gradient(to bottom right, var(--yellow-400), var(--yellow-500));
  border-radius: var(--radius-xl);
  padding: 1rem;
  color: #000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.why-icon { color: rgba(0, 0, 0, 0.5); font-size: 1.25rem; display: block; margin-bottom: 0.5rem; }
.why-name { font-weight: 700; font-size: 0.875rem; margin-bottom: 0.25rem; }
.why-desc { color: rgba(0, 0, 0, 0.7); font-size: 0.75rem; line-height: 1.6; }

/* ---------- Branches section ---------- */
.branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
}
.branch-card {
  position: relative;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all 0.5s;
  height: 100%;
}
.branch-card:hover {
  border-color: rgba(250, 204, 21, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(250, 204, 21, 0.1);
}
.branch-card-top {
  height: 12rem;
  background: linear-gradient(to bottom right, rgba(250, 204, 21, 0.2), rgba(202, 138, 4, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.branch-card-top img {
  height: 8rem;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 10;
}
.bc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.5), transparent);
}
.branch-card-body { padding: 2rem; }
.bc-badge {
  display: inline-block;
  background: rgba(250, 204, 21, 0.1);
  color: var(--yellow-400);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.branch-card-body h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.branch-card:hover h3 { color: var(--yellow-400); }
.bc-desc { color: var(--gray-400); line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.875rem; }
.bc-list { margin-bottom: 2rem; }
.bc-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.bc-list .arrow { color: var(--yellow-400); }
.bc-btn {
  display: block;
  width: 100%;
  background: var(--yellow-400);
  color: #000;
  font-weight: 700;
  padding: 0.75rem 0;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: background 0.2s;
}
.bc-btn:hover { background: var(--yellow-300); }

/* ---------- Vision / quote ---------- */
.vm-home { margin-bottom: 4rem; }
.quote-band {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
}
.quote-band .hl { color: var(--yellow-500); }
@media (min-width: 768px) {
  .quote-band blockquote { font-size: 2.25rem; }
}
.vm-img-yellow { border-color: var(--yellow-200); }

/* ---------- Locations section (dark) ---------- */
.loc-hint { color: var(--gray-400); margin-top: 1rem; font-size: 0.875rem; }
.loc-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .loc-cards { grid-template-columns: repeat(3, 1fr); }
}
.loc-card {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--gray-800);
  background: var(--gray-900);
  color: #fff;
  transition: all 0.3s;
}
.loc-card:hover { border-color: rgba(250, 204, 21, 0.5); }
.loc-card.active {
  background: var(--yellow-400);
  border-color: var(--yellow-400);
  color: #000;
}
.loc-card .lc-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.loc-card .lc-num { font-size: 1.875rem; font-weight: 800; color: var(--yellow-500); }
.loc-card.active .lc-num { color: rgba(0, 0, 0, 0.3); }
.loc-card .lc-name { font-weight: 700; font-size: 1rem; color: #fff; }
.loc-card.active .lc-name { color: #000; }
.loc-card .lc-region { font-size: 0.75rem; color: var(--gray-400); }
.loc-card.active .lc-region { color: rgba(0, 0, 0, 0.6); }
.loc-card .lc-addr { font-size: 0.875rem; margin-bottom: 0.75rem; color: var(--gray-400); }
.loc-card.active .lc-addr { color: rgba(0, 0, 0, 0.7); }
.loc-card .lc-state {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow-400);
}
.loc-card.active .lc-state { color: rgba(0, 0, 0, 0.6); }

.map-panel {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 25px 50px -12px rgba(250, 204, 21, 0.1);
  animation: fadeInUp 0.7s ease-out forwards;
}
.map-panel-head {
  background: var(--gray-900);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-800);
}
.map-panel-head .mp-name { color: var(--yellow-400); font-weight: 700; font-size: 0.875rem; }
.map-panel-head .mp-addr { color: var(--gray-400); font-size: 0.75rem; }
.map-panel-head .mp-close {
  color: var(--gray-400);
  font-size: 1.25rem;
  font-weight: 700;
  transition: color 0.2s;
}
.map-panel-head .mp-close:hover { color: #fff; }
.map-panel iframe { width: 100%; height: 420px; }

/* ---------- Clients ---------- */
.clients-title { font-size: 1.875rem; }
@media (min-width: 768px) { .clients-title { font-size: 2.25rem; } }
.clients-sub {
  color: var(--gray-500);
  margin-top: 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
}

/* ---------- Contact CTA ---------- */
.contact-sub { margin-top: 1.5rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
.contact-card {
  height: 100%;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  transition: border-color 0.2s;
  
}
.contact-card:hover { border-color: rgba(250, 204, 21, 0.4); }
.contact-card h3 { font-size: 1.5rem; color: #fff; margin-bottom: 1.5rem; }
.contact-ways { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.way { display: flex; align-items: flex-start; gap: 0.75rem; }
.way-icon { color: var(--yellow-400); margin-top: 0.25rem; font-weight: 700; }
.way-label {
  color: var(--gray-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.way-link, .way-text { color: #fff; }
.way-link { transition: color 0.2s; }
.way-link:hover { color: var(--yellow-400); }
.contact-btn { display: inline-flex; padding: 0.75rem 1.75rem; }
.contact-photo {
  min-height: 460px;
  border: 1px solid var(--gray-800);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.contact-photo .photo-caption { padding: 1.5rem; }
.contact-photo img {
  object-fit: contain;
  width: 100%;
  height: fit-content;
}

/* ---------- Home footer ---------- */
.home-footer { background: #000; color: #fff; padding: 4rem 0; }
.hf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .hf-grid { grid-template-columns: repeat(4, 1fr); }
}
.hf-brand {
  color: var(--yellow-400);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}
.hf-tagline { color: var(--gray-400); font-size: 0.875rem; line-height: 1.7; }
.hf-heading {
  color: var(--yellow-400);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  font-family: var(--font-sans);
}
.hf-links li, .hf-plain li { margin-bottom: 0.5rem; }
.hf-links a { color: var(--gray-400); font-size: 0.875rem; transition: color 0.2s; }
.hf-links a:hover { color: var(--yellow-400); }
.hf-plain li { color: var(--gray-400); font-size: 0.875rem; }
.hf-social { display: flex; gap: 1rem; }
.hf-social a {
  width: 2.5rem; height: 2.5rem;
  background: var(--gray-800);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s;
}
.hf-social a:hover { background: var(--yellow-400); color: #000; }
.hf-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .hf-bottom { flex-direction: row; text-align: left; }
}
.hf-bottom p { color: var(--gray-500); font-size: 0.875rem; }
.hf-bottom .hf-motto { color: var(--gray-600); font-size: 0.75rem; }

/* ============================================================
   Project Gallery (added under the Contact Us section)
   ============================================================ */
.gallery-row { margin-top: 3.5rem; }
.gallery-row:first-of-type { margin-top: 0; }
.gallery-row-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.gallery-row-eyebrow {
  color: var(--yellow-600);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.gallery-row-title { font-size: 1.5rem; color: var(--gray-900); }

/* Track wrap re-uses the clients marquee fade edges */
.gallery-marquee-wrap { position: relative; overflow: hidden; padding: 0.5rem 0; }

.gallery-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: galleryMarquee 32s linear infinite;
}
.gallery-track-reverse { animation-name: galleryMarqueeReverse; animation-duration: 36s; }
.gallery-track:hover { animation-play-state: paused; }

/* Left-to-right motion for both rows (reverse row runs the same
   direction, just offset/timed differently for visual variety) */
@keyframes galleryMarquee {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes galleryMarqueeReverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.gallery-card {
  position: relative;
  flex: 0 0 220px;
  height: 120px;
  margin: 0 0.6rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-card:hover img { transform: scale(1.08); }

.gallery-card-base {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  transition: opacity 0.3s ease;
}
.gallery-card-base p {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.gallery-card:hover .gallery-card-base { opacity: 0; }

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.05));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }
.gallery-card-tag {
  align-self: flex-start;
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: var(--yellow-400);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
}
.gallery-card-overlay .go-title { color: #fff; font-weight: 700; font-size: 1rem; }
.gallery-card-overlay .go-desc { color: var(--gray-200); font-size: 0.8rem; margin-top: 0.25rem; line-height: 1.4; }
.gallery-card-overlay .go-cta {
  margin-top: 0.6rem;
  color: var(--yellow-400);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .gallery-card { flex: 0 0 380px; height: 260px; }
}

/* ---------- Gallery lightbox ---------- */
.gallery-modal-panel {
  max-width: 56rem;
  background: var(--gray-950);
  border-color: var(--gray-800);
  overflow: hidden;
}
.gallery-modal-media { position: relative; width: 100%; max-height: 70vh; background: #000; }
.gallery-modal-media img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  margin: 0 auto;
}
.gallery-modal-caption { padding: 1.5rem; }
.gallery-modal-tag {
  display: inline-block;
  color: var(--yellow-400);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.gallery-modal-caption .pc-title { color: #fff; font-size: 1.15rem; font-weight: 700; }
.gallery-modal-caption .pc-sub { color: var(--gray-400); font-size: 0.9rem; margin-top: 0.4rem; }
.gallery-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
}
.gallery-modal-close:hover { background: var(--yellow-400); color: #000; }
