/* ============================================================
   MGR Civil Hub — Static site stylesheet
   Recreates the Chakra UI design tokens from the original React app
   ============================================================ */

:root {
  /* Brand (from theme.ts) */
  --brand-50: #fff4ee;
  --brand-100: #ffe6d5;
  --brand-200: #ffc9aa;
  --brand-300: #ffa374;
  --brand-400: #ff703d;
  --brand-500: #e8571a;
  --brand-600: #d44010;
  --brand-700: #b0320e;
  --brand-800: #8d2a14;
  --brand-900: #752614;

  /* Gray scale */
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;

  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-900: #14532d;

  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  --yellow-400: #facc15;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --red-50: #fef2f2;
  --red-200: #fecaca;
  --red-600: #dc2626;

  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
}

* { box-sizing: border-box; }
html, body { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: white;
  font-size: 22px;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--brand-500); border-radius: 999px; }

.container {
  max-width: 80rem; /* 7xl */
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* ---------- Keyframes ---------- */
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.12); }
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

.reveal { opacity: 0; }
.reveal.in-view.up { animation: slideInUp .65s ease forwards; }
.reveal.in-view.left { animation: slideInLeft .65s ease forwards; }
.reveal.in-view.right { animation: slideInRight .65s ease forwards; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.topbar {
  background: var(--gray-900);
  padding: .5rem 2rem;
  display: none;
}
@media (min-width: 768px) { .topbar { display: block; } }
.topbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left { display: flex; gap: 1.5rem; }
.topbar-item { display: flex; align-items: center; gap: .5rem; color: var(--gray-400); font-size: .75rem; }
.topbar-item i { color: var(--brand-400); font-size: .7rem; }
.topbar-right { color: var(--gray-400); font-size: .75rem; }

.navbar {
  padding: 0 1rem;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  background: #fff;
}
@media (min-width: 768px) { .navbar { padding: 0 2rem; } }
.navbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: .75rem; }
.logo-mark {
  width: 2.5rem; height: 2.5rem;
  background: var(--brand-500);
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: 1.125rem; flex-shrink: 0;
  letter-spacing: -0.02em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-title { font-weight: 900; font-size: 1rem; color: var(--gray-900); letter-spacing: -0.01em; }
.logo-sub { font-size: .65rem; color: var(--brand-500); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: 2px;}

.nav-desktop { display: none; align-items: center; gap: .25rem; }
@media (min-width: 992px) { .nav-desktop { display: flex; } }

.nav-link {
  position: relative;
  padding: .5rem .75rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: .375rem;
  display: flex; align-items: center; gap: .25rem;
  background: transparent;
  border: none;
  transition: all .2s;
}
.nav-link:hover { color: var(--brand-500); background: var(--brand-50); }
.nav-link.active { color: var(--brand-500); }
.nav-link.active::after {
  content: ""; position: absolute; bottom: 0; left: .75rem; right: .75rem;
  height: 2px; background: var(--brand-500); border-radius: 999px;
}

.nav-item-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: #fff; border-radius: .75rem; box-shadow: var(--shadow-xl);
  min-width: 14rem; padding: .5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease;
  border-top: 3px solid var(--brand-500);
  z-index: 50;
}
.nav-item-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block; padding: .6rem 1rem; font-size: .875rem; color: var(--gray-700);
  font-weight: 500; transition: all .15s;
}
.nav-dropdown-menu a:hover { background: var(--brand-50); color: var(--brand-600); padding-left: 1.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; font-weight: 700; border: none;
  padding: .55rem 1.25rem; font-size: .875rem; transition: all .2s;
  white-space: nowrap;
}
.btn-lg { padding: .8rem 2rem; font-size: 1rem; }
.btn-sm { padding: .4rem 1.1rem; font-size: .8rem; }
.btn-brand { background: var(--brand-500); color: #fff; }
.btn-brand:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-brand-light:hover { background: var(--brand-400); }
.btn-green { background: var(--green-500); color: #fff; }
.btn-green:hover { background: var(--green-400); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-white { background: #fff; color: var(--brand-600); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--gray-700); }
.btn-outline-brand { background: transparent; border: 1px solid var(--brand-500); color: var(--brand-500); }
.btn-outline-brand:hover { background: var(--brand-50); }
.btn-outline-white { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.2); }
.btn-full { width: 100%; }
.btn:disabled { opacity: .7; cursor: not-allowed; }

.nav-cta { margin-left: .5rem; }

.mobile-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; background: transparent; border: none;
  color: var(--gray-700); font-size: 1.25rem; border-radius: .375rem;
}
.mobile-toggle:hover { background: var(--gray-100); }
@media (min-width: 992px) { .mobile-toggle { display: none; } }

.mobile-menu {
  display: none;
  background: #fff; border-top: 2px solid var(--brand-500); box-shadow: var(--shadow-xl);
  padding: 1rem;
}
.mobile-menu.open { display: block; }
@media (min-width: 992px) { .mobile-menu { display: none !important; } }
.mobile-menu a.nav-link { display: block; padding: .75rem; border-bottom: 1px solid var(--gray-100); border-radius: .375rem; }
.mobile-submenu { padding-left: 1rem; }
.mobile-submenu a { display: block; padding: .5rem .75rem; font-size: .875rem; color: var(--gray-600); }
.mobile-menu .btn { width: 100%; margin-top: .75rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (max-width: 767px) { .hero { min-height: 92vh; } }
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; filter: brightness(.38);
}
.hero-overlay {
  position: absolute; inset: 0;
  /* background: linear-gradient(to right, rgba(0,0,0,.8), rgba(0,0,0,.4)); */
}
.hero-content { position: relative; padding: 0 1.25rem; max-width: 80rem; margin: 0 auto; width: 100%; }
@media (min-width: 768px) { .hero-content { padding: 0 3rem; } }
@media (min-width: 1024px) { .hero-content { padding: 0 5rem; } }
.hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; max-width: 42rem; }

.badge {
  display: inline-block;
  background: var(--brand-500); color: #fff;
  padding: .3rem .85rem; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.badge-light { background: var(--brand-100); color: var(--brand-600); }

.hero-title {
  font-size: 2rem; font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -0.02em;
  margin: 0;
}
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-title .accent { color: var(--brand-400); }

.hero-desc { color: var(--gray-300); font-size: 1rem; max-width: 36rem; line-height: 1.7; }
@media (min-width: 768px) { .hero-desc { font-size: 1.125rem; } }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  animation: bounce 1.8s ease-in-out infinite;
}
.scroll-indicator .pill {
  width: 1.5rem; height: 2.5rem; border-radius: 999px; border: 2px solid rgba(255,255,255,.6);
  display: flex; align-items: flex-start; justify-content: center; padding-top: .35rem;
}
.scroll-indicator .dot { width: .35rem; height: .75rem; background: var(--brand-400); border-radius: 999px; animation: pulse 1.5s ease-in-out infinite; }

/* ============================================================
   SECTIONS / GENERIC
   ============================================================ */
.section { padding: 4rem 1rem; }
@media (min-width: 768px) { .section { padding: 6rem 2rem; } }
.section.bg-gray { background: var(--gray-50); }
.section.bg-white { background: #fff; }
.section.bg-dark { background: var(--gray-900); }
.section.bg-brand { background: var(--brand-500); }

.section-head { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-bottom: 3.5rem; text-align: center; }
.section-head.left { align-items: flex-start; text-align: left; }
.section-title { font-size: 1.5rem; font-weight: 900; color: var(--gray-900); margin: 0; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-title.lg { font-size: 1.5rem; }
@media (min-width: 768px) { .section-title.lg { font-size: 2.5rem; } }
.section-title .accent { color: var(--brand-500); }
.section-desc { color: var(--gray-500); max-width: 40rem; font-size: 1rem; }

/* Stats */
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); max-width: 80rem; margin: 0 auto; padding: 0 1.5rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-cell {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.5rem 0; text-align: center;
  border-right: 1px solid transparent;
}
@media (min-width: 768px) {
  .stat-cell:not(:last-child) { border-right: 1px solid rgba(255,255,255,.3); }
}
.stat-cell i { color: #fff; font-size: 1.5rem; }
.stat-value { font-size: 1.875rem; font-weight: 900; color: #fff; line-height: 1; }
@media (min-width: 768px) { .stat-value { font-size: 2.25rem; } }
.stat-label { color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 600; }

/* Cards grid */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100); transition: all .3s ease; height: 100%;
}
.card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); border-color: var(--brand-200); }

.card-img-wrap { position: relative; overflow: hidden; height: 12rem; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-img-wrap img { transform: scale(1.07); }
.card-icon-badge {
  position: absolute; top: .75rem; right: .75rem; background: var(--brand-500); border-radius: .75rem; padding: .6rem;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem;
}
.card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.card-body h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0; }
.card-body p { color: var(--gray-500); font-size: .875rem; line-height: 1.6; margin: 0; }
.card-learn { color: var(--brand-500); font-size: .875rem; font-weight: 600; display: flex; align-items: center; gap: .35rem; margin-top: .25rem; }

/* About strip */
.about-media { position: relative; }
.about-media img { border-radius: 1rem; width: 100%; height: 18rem; object-fit: cover; box-shadow: var(--shadow-xl); }
@media (min-width: 768px) { .about-media img { height: 24rem; } }
.about-badge {
  position: absolute; bottom: -1.25rem; right: -1rem; background: var(--brand-500); color: #fff; border-radius: 1rem;
  padding: 1.25rem; box-shadow: var(--shadow-lg); text-align: center; min-width: 8rem;
}
.about-badge .num { font-size: 1.875rem; font-weight: 900; line-height: 1; }
.about-badge .lbl { font-size: .7rem; font-weight: 600; margin-top: .25rem; }

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; width: 100%; }
.check-item { display: flex; align-items: flex-start; gap: .5rem; }
.check-dot {
  flex-shrink: 0; width: 1.25rem; height: 1.25rem; background: var(--brand-500); border-radius: 999px;
  display: flex; align-items: center; justify-content: center; margin-top: .1rem; color: #fff; font-size: .6rem;
}
.check-item span { font-size: .875rem; color: var(--gray-700); font-weight: 500; }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid.filtered { grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .gallery-grid.filtered { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid.filtered { grid-template-columns: repeat(4, 1fr); } }

.gallery-tile { position: relative; border-radius: 1rem; overflow: hidden; cursor: pointer; aspect-ratio: 1/1; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tile-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .3s;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; padding: 0 .75rem;
}
.gallery-tile:hover .gallery-tile-overlay { opacity: 1; }
.gallery-tile-overlay .badge { font-size: .7rem; }
.gallery-tile-overlay p { color: #fff; font-weight: 700; font-size: .875rem; margin: 0; }

.filter-pills { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter-pill {
  padding: .45rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .875rem;
  background: #fff; color: var(--gray-600); border: 1px solid var(--gray-200); transition: all .2s;
}
.filter-pill:hover { background: var(--brand-50); border-color: var(--brand-300); }
.filter-pill.active { background: var(--brand-500); color: #fff; border-color: var(--brand-500); }

.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 1rem; cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 90vw; object-fit: contain; border-radius: .75rem; box-shadow: var(--shadow-2xl); }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; background: transparent; border: none; color: #fff; font-size: 1.75rem;
  width: 2.5rem; height: 2.5rem; border-radius: .5rem;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ---------- Video gallery ---------- */
.video-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .video-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .video-gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.video-tile {
  position: relative; border-radius: 1rem; overflow: hidden; cursor: pointer;
  aspect-ratio: 16/10; background: var(--gray-900);
}
.video-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; opacity: .85; }
.video-tile:hover img { transform: scale(1.08); opacity: .55; }

.video-play-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: rgba(232, 87, 26, .92); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; box-shadow: var(--shadow-lg); transition: transform .25s ease, background .25s ease;
}
.video-tile:hover .video-play-icon { transform: translate(-50%, -50%) scale(1.12); background: var(--brand-500); }

.video-tile-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0));
  padding: .9rem .75rem .6rem; display: flex; flex-direction: column; gap: .35rem;
}
.video-tile-overlay .badge { font-size: .7rem; align-self: flex-start; }
.video-tile-overlay p { color: #fff; font-weight: 700; font-size: .875rem; margin: 0; }

.video-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.video-lightbox.open { display: flex; }
.video-lightbox-inner { width: 100%; max-width: 56rem; aspect-ratio: 16/9; position: relative; }
.video-lightbox-inner iframe { width: 100%; height: 100%; border: 0; border-radius: .75rem; box-shadow: var(--shadow-2xl); }
.video-lightbox-close {
  position: absolute; top: -3rem; right: 0; background: transparent; border: none; color: #fff; font-size: 1.75rem;
  width: 2.5rem; height: 2.5rem; border-radius: .5rem; cursor: pointer;
}
.video-lightbox-close:hover { background: rgba(255,255,255,.2); }

/* Mobile-only: shrink video tile overlay text so it doesn't crowd/overlap
   the thumbnail on small screens. Desktop sizes above are untouched. */
@media (max-width: 767px) {
  .video-tile-overlay .badge { font-size: .40rem; padding: .2rem .6rem; }
  .video-tile-overlay p { font-size: .5rem; line-height: 1.25; }
}

/* Testimonials */
.testimonial-card {
  background: var(--gray-50); border-radius: 1rem; padding: 1.75rem; border: 1px solid var(--gray-100);
  transition: all .3s; height: 100%; display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.stars { color: var(--yellow-400); display: flex; gap: .15rem; }
.testimonial-text { color: var(--gray-600); font-size: .875rem; line-height: 1.7; font-style: italic; }
.testimonial-author { display: flex; gap: .75rem; align-items: center; margin-top: auto; }
.avatar-circle {
  width: 2.5rem; height: 2.5rem; background: var(--brand-500); border-radius: 999px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .875rem; color: var(--gray-900); }
.author-loc { font-size: .75rem; color: var(--gray-500); }

/* CTA banner */
.cta-banner { position: relative; overflow: hidden; text-align: center; }
.cta-banner-bg { position: absolute; inset: 0; opacity: .06; background-size: cover; background-position: center; }
.cta-banner-content { position: relative; max-width: 56rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--gray-400); font-size: 1rem; max-width: 40rem; }
@media (min-width: 768px) { .cta-banner p { font-size: 1.125rem; } }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.cta-brand { text-align: center; }
.cta-brand h2 { color: #fff; margin: 0; }
.cta-brand p { color: rgba(255,255,255,.85); max-width: 36rem; margin: 0 auto; }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  position: relative; height: 15rem; display: flex; align-items: center; overflow: hidden; background: var(--gray-900);
}
@media (min-width: 768px) { .page-banner { height: 18rem; } }
.page-banner.tall { height: 20rem; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.38); }
.page-banner-content { position: relative; padding: 0 1.25rem; max-width: 80rem; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
@media (min-width: 768px) { .page-banner-content { padding: 0 3rem; } }
.breadcrumb { display: flex; gap: .5rem; font-size: .875rem; font-weight: 600; flex-wrap: wrap; }
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--brand-400); }
.breadcrumb span.sep { color: var(--gray-600); }
.breadcrumb span.current { color: var(--brand-400); }
.page-banner-content h1 { color: #fff; font-size: 2rem; font-weight: 900; margin: 0; }
@media (min-width: 768px) { .page-banner-content h1 { font-size: 3rem; } }
.page-banner-content .sub { color: var(--gray-400); font-size: 1rem; }
.page-banner-title-row { display: flex; align-items: center; gap: .75rem; }
.page-banner-icon { background: var(--brand-500); border-radius: .75rem; padding: .6rem; display: flex; color: #fff; font-size: 1.25rem; }

/* ============================================================
   ABOUT PAGE specifics
   ============================================================ */
.value-card {
  background: #fff; border-radius: 1rem; padding: 1.75rem; border: 1px solid var(--gray-100);
  transition: all .3s; height: 100%; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
}
.value-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand-200); transform: translateY(-4px); }
.value-icon { background: var(--brand-50); padding: .75rem; border-radius: .75rem; color: var(--brand-500); font-size: 1.5rem; }
.value-card h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.value-card p { margin: 0; color: var(--gray-500); font-size: .875rem; line-height: 1.6; }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 48rem; margin: 0 auto; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  background: var(--gray-50); border-radius: 1rem; padding: 2rem; border: 1px solid var(--gray-100);
  transition: all .3s; text-align: center; height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.team-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.team-avatar {
  width: 5rem; height: 5rem; background: var(--brand-500); border-radius: 999px; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 1.875rem; font-weight: 900;
}
.team-card h3 { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--gray-900); }
.team-card p { margin: 0; color: var(--gray-500); font-size: .875rem; line-height: 1.6; }

.timeline { display: flex; flex-direction: column; max-width: 48rem; margin: 0 auto; }
.timeline-row { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.5rem; }
.timeline-dot-col { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.timeline-dot { width: 1rem; height: 1rem; background: var(--brand-500); border-radius: 999px; margin-top: .25rem; }
.timeline-line { width: 2px; height: 3rem; background: var(--gray-700); }
.timeline-card {
  background: var(--gray-800); border-radius: .75rem; padding: 1rem; flex: 1; border: 1px solid var(--gray-700);
  transition: border-color .2s; display: flex; gap: .75rem; align-items: flex-start;
}
.timeline-card:hover { border-color: var(--brand-500); }
.timeline-year { background: var(--brand-500); color: #fff; padding: .2rem .5rem; border-radius: .375rem; font-size: .75rem; font-weight: 700; flex-shrink: 0; }
.timeline-card p { color: var(--gray-300); font-size: .875rem; margin: 0; }

/* ============================================================
   SERVICES LISTING
   ============================================================ */
.service-list-card .card-img-wrap { height: 13rem; }
.service-list-card .card-img-wrap::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); transition: background .3s;
}
.service-list-card:hover .card-img-wrap::after { background: rgba(0,0,0,.2); }
.service-list-card .card-icon-badge { left: .75rem; right: auto; }
.feat-dot { width: .375rem; height: .375rem; background: var(--brand-500); border-radius: 999px; flex-shrink: 0; }
.feat-line { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--gray-600); }

/* ============================================================
   SERVICE DETAIL
   ============================================================ */
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 2fr 1fr; } }
.detail-hero-img { border-radius: 1rem; width: 100%; height: 16rem; object-fit: cover; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .detail-hero-img { height: 24rem; } }
.detail-block { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.detail-block h2 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin: 0; }
.detail-block p { color: var(--gray-600); line-height: 1.7; margin: 0; }

.feature-list { display: grid; grid-template-columns: 1fr; gap: .75rem; width: 100%; }
@media (min-width: 768px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-item { display: flex; align-items: center; gap: .75rem; background: var(--gray-50); border-radius: .5rem; padding: .75rem; }
.feature-check { width: 1.5rem; height: 1.5rem; background: var(--brand-500); border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .7rem; flex-shrink: 0; }
.feature-item span { font-size: .875rem; color: var(--gray-700); font-weight: 500; }

.two-col-box { display: grid; grid-template-columns: 1fr; gap: 1.5rem; width: 100%; }
@media (min-width: 768px) { .two-col-box { grid-template-columns: 1fr 1fr; } }
.info-box { border-radius: .75rem; padding: 1.25rem; }
.info-box.brand { background: var(--brand-50); }
.info-box.gray { background: var(--gray-50); }
.info-box h3 { font-size: .875rem; font-weight: 700; margin: 0 0 .75rem; }
.info-box.brand h3 { color: var(--brand-700); }
.info-box.gray h3 { color: var(--gray-700); }
.info-box ul { display: flex; flex-direction: column; gap: .5rem; }
.info-box li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--gray-700); }
.dot-brand { width: .375rem; height: .375rem; background: var(--brand-500); border-radius: 999px; flex-shrink: 0; }
.dot-gray { width: .375rem; height: .375rem; background: var(--gray-400); border-radius: 999px; flex-shrink: 0; }

.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.quote-box { background: var(--gray-900); border-radius: 1rem; padding: 1.5rem; color: #fff; }
.quote-box h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 1rem; }
.quote-box p { color: var(--gray-400); font-size: .875rem; margin: 0 0 1.25rem; line-height: 1.6; }
.quote-box .btn { margin-bottom: .75rem; }

.related-box { background: var(--brand-50); border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--brand-100); }
.related-box h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0 0 1rem; }
.related-item {
  display: flex; align-items: center; gap: .75rem; padding: .75rem; background: #fff; border-radius: .75rem;
  border: 1px solid var(--gray-100); transition: all .2s; margin-bottom: .75rem;
}
.related-item:hover { box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.related-item i { background: var(--brand-500); color: #fff; padding: .5rem; border-radius: .5rem; font-size: .8rem; flex-shrink: 0;}
.related-item span { font-size: .875rem; font-weight: 600; color: var(--gray-800); }

.contact-info-box { background: #fff; border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--gray-100); }
.contact-info-box h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0 0 1rem; }
.contact-info-box p { font-size: .875rem; color: var(--gray-600); margin: .4rem 0; }
.contact-info-box strong { color: var(--gray-900); }

.related-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .related-services-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); transition: all .3s; }
.related-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: var(--brand-200); }
.related-card .card-img-wrap { height: 10rem; }
.related-card-body { display: flex; align-items: center; gap: .75rem; padding: 1rem; }
.related-card-body i { background: var(--brand-500); color: #fff; padding: .5rem; border-radius: .5rem; font-size: .8rem; flex-shrink: 0; }
.related-card-body h4 { font-size: .875rem; font-weight: 700; color: var(--gray-900); margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-strip { padding: 2.5rem 1rem; }
@media (min-width: 768px) { .contact-strip { padding: 2.5rem 2rem; } }
.contact-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 80rem; margin: 0 auto; }
@media (min-width: 768px) { .contact-info-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-info-card {
  background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border-radius: .75rem; padding: 1.25rem; text-align: center;
  border: 1px solid rgba(255,255,255,.3); transition: all .2s; display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.contact-info-card:hover { background: rgba(255,255,255,.25); transform: translateY(-3px); }
.contact-info-card .icon-circle { width: 2.5rem; height: 2.5rem; background: rgba(255,255,255,.3); border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; }
.contact-info-card strong { color: #fff; font-size: .875rem; }
.contact-info-card p { color: rgba(255,255,255,.8); font-size: .75rem; margin: 0; line-height: 1.4; }

.contact-main-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-main-grid { grid-template-columns: 3fr 2fr; } }

.contact-form-card { background: #fff; border-radius: 1rem; box-shadow: var(--shadow-lg); padding: 1.5rem; border: 1px solid var(--gray-100); }
@media (min-width: 768px) { .contact-form-card { padding: 2.5rem; } }
.form-head { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-bottom: 2rem; }
.form-head h2 { font-size: 1.5rem; font-weight: 900; color: var(--gray-900); margin: 0; }
.form-head p { color: var(--gray-500); font-size: .875rem; margin: 0; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .8rem; font-weight: 600; color: var(--gray-700); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .6rem 1rem; border-radius: .75rem; border: 1px solid var(--gray-200);
  font-size: .875rem; font-family: inherit; color: var(--gray-800); outline: none; transition: all .15s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--gray-400); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500);
}
.form-field select { color: var(--gray-400); background: #fff; }
.form-field select:valid:not([value=""]) { color: var(--gray-800); }
.form-error { margin-top: 1rem; padding: .75rem; background: var(--red-50); border-radius: .5rem; border: 1px solid var(--red-200); color: var(--red-600); font-size: .875rem; }
.form-submit-row { margin-top: 1.5rem; }

.form-success { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem 0; text-align: center; }
.form-success .check-circle {
  width: 4rem; height: 4rem; background: var(--green-500); border-radius: 999px; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 1.5rem;
}
.form-success h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin: 0; }
.form-success p { color: var(--gray-500); max-width: 24rem; margin: 0; }

.quick-connect { background: var(--gray-900); border-radius: 1rem; padding: 1.75rem; color: #fff; }
.quick-connect h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 1.25rem; }
.quick-connect-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem; background: rgba(255,255,255,.08); border-radius: .75rem;
  transition: all .2s; margin-bottom: 1rem;
}
.quick-connect-item:hover { background: rgba(255,255,255,.16); }
.quick-connect-item.whatsapp { background: rgba(20,83,45,.4); border: 1px solid #15803d; }
.quick-connect-item.whatsapp:hover { background: rgba(20,83,45,.6); }
.quick-connect-item .icon-circle { width: 2.5rem; height: 2.5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.quick-connect-item .icon-circle.brand { background: var(--brand-500); }
.quick-connect-item .icon-circle.green { background: var(--green-500); }
.quick-connect-item .icon-circle.blue { background: var(--blue-600); }
.quick-connect-item .lbl { color: var(--gray-400); font-size: .75rem; }
.quick-connect-item .val { color: #fff; font-weight: 700; font-size: .875rem; }

.map-card { background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.map-card-head { padding: 1.25rem; border-bottom: 1px solid var(--gray-100); }
.map-card-head h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0; }
.map-card-head p { font-size: .875rem; color: var(--gray-500); margin: .25rem 0 0; }
.map-card iframe { width: 100%; height: 15rem; border: 0; display: block; }

.workshop-box { background: var(--brand-50); border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--brand-100); text-align: center; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.workshop-box i { font-size: 1.75rem; color: var(--brand-500); }
.workshop-box h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0; }
.workshop-box p { font-size: .875rem; color: var(--gray-600); line-height: 1.6; margin: 0; }
.workshop-box .tag { font-size: .75rem; color: var(--brand-600); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--gray-900); color: #fff; }
.footer-main { padding: 4rem 1rem; max-width: 80rem; margin: 0 auto; }
@media (min-width: 768px) { .footer-main { padding: 4rem 2rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.footer-col p { color: var(--gray-400); font-size: .875rem; line-height: 1.7; margin: 0; }
.footer-brand-logo { display: flex; gap: .75rem; align-items: center; }
.footer-socials { display: flex; gap: .75rem; margin-top: .5rem; }
.footer-social {
  width: 2.25rem; height: 2.25rem; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all .2s;
}
.footer-social:hover { transform: translateY(-2px); }
.footer-social.wa { background: var(--green-600); }
.footer-social.wa:hover { background: var(--green-500); }
.footer-social.fb { background: var(--blue-700); }
.footer-social.fb:hover { background: var(--blue-600); }
.footer-social.ig { background: var(--pink-600); }
.footer-social.ig:hover { background: var(--pink-500); }

.footer-heading { font-weight: 700; font-size: 1rem; color: #fff; border-bottom: 2px solid var(--brand-500); padding-bottom: .5rem; width: 100%; margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { display: flex; align-items: center; gap: .5rem; color: var(--gray-400); font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: var(--brand-400); }
.footer-links a i { font-size: .7rem; }

.footer-contact { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact-item i { color: var(--brand-400); margin-top: .2rem; flex-shrink: 0; }
.footer-contact-item div { display: flex; flex-direction: column; }
.footer-contact-item a, .footer-contact-item span { color: var(--gray-400); font-size: .875rem; }
.footer-contact-item a:hover { color: var(--brand-400); }

.footer-bottom { border-top: 1px solid var(--gray-700); padding: 1.25rem 1rem; max-width: 80rem; margin: 0 auto; }
@media (min-width: 768px) { .footer-bottom { padding: 1.25rem 2rem; } }
.footer-bottom-inner { display: flex; flex-direction: column; gap: .5rem; align-items: center; justify-content: space-between; text-align: center; }
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; text-align: left; } }
.footer-bottom-inner p { color: var(--gray-500); font-size: .875rem; margin: 0; }

/* ============================================================
   FLOATING WIDGETS
   ============================================================ */
.floating-widgets {
  position: fixed; right: 1rem; bottom: 2rem; z-index: 900; display: flex; flex-direction: column; gap: .75rem; align-items: center;
}
@media (min-width: 768px) { .floating-widgets { right: 1.5rem; } }
.fw-call, .fw-whatsapp {
  border-radius: 999px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-xl); transition: all .25s; color: #fff;
}
.fw-call { width: 3.5rem; height: 3.5rem; background: var(--blue-600); animation: pulse 2.5s ease-in-out infinite; }
.fw-call:hover { transform: scale(1.1); background: var(--blue-500); }
.fw-whatsapp { width: 4rem; height: 4rem; background: var(--green-500); animation: pulse 2s ease-in-out infinite; }
.fw-whatsapp:hover { transform: scale(1.1); background: var(--green-400); }
.fw-whatsapp span { font-size: .65rem; font-weight: 700; margin-top: 2px; }
.fw-call i, .fw-whatsapp i { font-size: 1.25rem; }

/* ============================================================
   SERVICE CATEGORY TAGS (uPVC / Welding & Fabrication / Glass Works)
   ============================================================ */
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.tag-chip {
  background: var(--brand-50); color: var(--brand-600); font-size: .75rem; font-weight: 600;
  padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--brand-100);
}

/* ============================================================
   WORK PROCESS STEPS
   ============================================================ */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  position: relative; background: #fff; border: 1px solid var(--gray-100); border-radius: 1rem;
  padding: 2rem 1.5rem; text-align: center; height: 100%; transition: all .3s ease;
}
.process-step:hover { box-shadow: var(--shadow-lg); border-color: var(--brand-200); transform: translateY(-4px); }
.process-num {
  width: 3.25rem; height: 3.25rem; border-radius: 999px; background: var(--brand-500); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 900;
  margin: 0 auto 1.25rem;
}
.process-step h3 { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 700; color: var(--gray-900); }
.process-step p { margin: 0; color: var(--gray-500); font-size: .875rem; line-height: 1.6; }

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.area-grid { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.area-chip {
  display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--gray-100);
  padding: .65rem 1.25rem; border-radius: 999px; font-weight: 600; color: var(--gray-700); font-size: .9rem;
  box-shadow: var(--shadow-sm); transition: all .25s ease;
}
.area-chip i { color: var(--brand-500); }
.area-chip:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.area-note { text-align: center; color: var(--gray-500); font-size: .875rem; margin-top: 1.5rem; }

/* utility */
.text-center { text-align: center; }
.mt-16 { padding-top: 4rem; }
