/* ============================================
   SB Construction — Premium Stylesheet
   Edit colors, typography, and layout here.
   ============================================ */

:root {
  --navy: #0a1929;
  --navy-2: #122236;
  --navy-3: #1a2e44;
  --gold: #c9a961;
  --gold-2: #b8954c;
  --cream: #f7f3ec;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #eef1f5;
  --gray-200: #d9dee5;
  --gray-400: #8a94a3;
  --gray-600: #4a5568;
  --gray-800: #2d3748;
  --shadow-sm: 0 2px 6px rgba(10, 25, 41, 0.06);
  --shadow-md: 0 8px 28px rgba(10, 25, 41, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 25, 41, 0.18);
  --radius: 4px;
  --radius-lg: 10px;
  --transition: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  --container: 1200px;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}

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

/* ========== Top Bar ========== */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  padding: 8px 0;
  letter-spacing: 0.3px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: rgba(255, 255, 255, 0.78); }
.topbar a:hover { color: var(--gold); }
.topbar .tb-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-social a { margin-left: 14px; }

/* ========== Header / Navigation ========== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 56px; width: auto; }
.nav-brand .brand-text { line-height: 1.1; }
.nav-brand .brand-text .name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nav-brand .brand-text .tagline {
  font-size: 11px;
  color: var(--gray-600);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}
.nav-menu li a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-menu li a:hover::after,
.nav-menu li a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--gold-2); transform: translateY(-1px); }
.nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 25, 41, 0.86) 0%, rgba(10, 25, 41, 0.65) 60%, rgba(10, 25, 41, 0.4) 100%),
              url('../Images/IMG_2574.JPG') center/cover no-repeat;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 80px 0;
}
.hero .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5.4vw, 64px);
  margin-bottom: 22px;
  font-weight: 700;
}
.hero h1 .accent { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-2); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); color: var(--white); }

/* ========== Page Header (inner pages) ========== */
.page-header {
  background: linear-gradient(120deg, rgba(10, 25, 41, 0.92), rgba(10, 25, 41, 0.78)),
              url('../Images/IMG_2575.JPG') center/cover no-repeat;
  color: var(--white);
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(32px, 4.6vw, 52px);
  margin-bottom: 12px;
}
.page-header .breadcrumb {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  letter-spacing: 1px;
}
.page-header .breadcrumb a { color: var(--gold); }

/* ========== Section base ========== */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 16px;
}
.section-head p { color: var(--gray-600); font-size: 17px; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, 0.85); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.75); }

/* ========== Stats Strip ========== */
.stats {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ========== Services preview cards ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 0;
  background: var(--gold);
  transition: height var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { height: 100%; }
.service-card .icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  color: var(--gold-2);
  border-radius: var(--radius);
  margin-bottom: 22px;
  font-size: 28px;
}
.service-card h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p { color: var(--gray-600); font-size: 15.5px; }
.service-card .more {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
}

/* ========== About preview / split ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; height: 520px; object-fit: cover; }
.split-img .badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gold);
  color: var(--navy);
  padding: 18px 24px;
  border-radius: var(--radius);
  font-family: var(--font-serif);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.split-img .badge .num { font-size: 36px; font-weight: 700; line-height: 1; }
.split-img .badge .text { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }

.split-text .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.split-text h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 22px; }
.split-text p { color: var(--gray-600); margin-bottom: 18px; font-size: 16.5px; }
.split-text .feature-list { list-style: none; margin: 22px 0 32px; }
.split-text .feature-list li {
  padding-left: 28px;
  margin-bottom: 12px;
  position: relative;
  color: var(--gray-800);
  font-weight: 500;
}
.split-text .feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

/* ========== Vision / Mission cards ========== */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.vm-card {
  background: var(--white);
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  position: relative;
}
.vm-card .icon {
  width: 60px; height: 60px;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 24px;
}
.vm-card h3 { font-size: 24px; margin-bottom: 14px; }
.vm-card p { color: var(--gray-600); }

/* ========== Why Choose Us ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-card {
  text-align: center;
  padding: 32px 22px;
}
.why-card .num {
  font-family: var(--font-serif);
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0.9;
}
.why-card h4 { font-size: 19px; margin-bottom: 10px; color: var(--white); }
.why-card p { color: rgba(255, 255, 255, 0.7); font-size: 15px; }

/* ========== Service detail (services page) ========== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.service-detail h3 { font-size: 30px; margin-bottom: 16px; }
.service-detail .eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}
.service-detail p { color: var(--gray-600); margin-bottom: 16px; }
.service-detail ul { list-style: none; margin-top: 18px; }
.service-detail ul li {
  padding-left: 24px;
  margin-bottom: 10px;
  position: relative;
  color: var(--gray-800);
}
.service-detail ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 2px;
  background: var(--gold);
}

/* ========== Projects ========== */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card .img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.project-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-card .img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(10, 25, 41, 0.7) 100%);
}
.project-card .count-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 25, 41, 0.85);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}
.project-card .body {
  padding: 24px 26px;
}
.project-card .category {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
  margin-bottom: 8px;
}
.project-card h3 { font-size: 21px; margin-bottom: 8px; }
.project-card .meta { font-size: 14px; color: var(--gray-600); }
.project-card .meta span { margin-right: 14px; }

/* ========== Lightbox ========== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 41, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-content {
  max-width: 1100px;
  width: 100%;
  position: relative;
}
.lightbox-img-wrap {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.lightbox-img-wrap img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}
.lightbox-info {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.lightbox-info h4 { color: var(--white); font-size: 20px; }
.lightbox-info .counter { font-size: 14px; color: var(--gold); letter-spacing: 1px; }
.lightbox-close {
  position: absolute;
  top: -50px; right: 0;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: var(--gold); color: var(--navy); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}
.info-block {
  background: var(--navy);
  color: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
}
.info-block h3 { color: var(--white); font-size: 26px; margin-bottom: 8px; }
.info-block p.lead { color: rgba(255, 255, 255, 0.75); margin-bottom: 32px; }
.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.info-item .ic {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.info-item .text strong {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.info-item .text span,
.info-item .text a { color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.info-item .text a:hover { color: var(--gold); }

.info-block .socials { margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.info-block .socials a {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  margin-right: 8px;
  transition: all var(--transition);
}
.info-block .socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.contact-form {
  background: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}
.contact-form h3 { font-size: 26px; margin-bottom: 8px; }
.contact-form p.lead { color: var(--gray-600); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: var(--gray-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.map-wrap {
  margin-top: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ========== CTA Banner ========== */
.cta-banner {
  background: linear-gradient(120deg, rgba(10, 25, 41, 0.92), rgba(10, 25, 41, 0.78)),
              url('../Images/IMG_2577.JPG') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; font-size: 17px; }

/* ========== Footer ========== */
.footer {
  background: #060f1a;
  color: rgba(255, 255, 255, 0.65);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer h4 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 22px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--gold);
}
.footer p { font-size: 14.5px; line-height: 1.75; }
.footer .footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer .footer-brand img { height: 50px; }
.footer .footer-brand .name { font-family: var(--font-serif); font-size: 22px; color: var(--white); font-weight: 700; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255, 255, 255, 0.65); font-size: 14.5px; }
.footer ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer .contact-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px;
}
.footer .contact-list li::before { color: var(--gold); font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 13.5px;
  text-align: center;
}

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

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

/* Large tablet / small laptop */
@media (max-width: 1024px) {
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-img img { height: 380px; }
  .service-detail { grid-template-columns: 1fr; gap: 30px; }
  .service-detail.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Tablet (portrait) */
@media (max-width: 900px) {
  section { padding: 75px 0; }
  .hero { min-height: 70vh; }
  .hero-content { padding: 60px 0; }
  .page-header { padding: 90px 0 70px; }
  .topbar { font-size: 12.5px; }
  .topbar .container { gap: 6px; }
  .topbar .tb-info { gap: 14px; }
  .nav-brand img { height: 48px; }
  .nav-brand .brand-text .name { font-size: 19px; }
  .nav-brand .brand-text .tagline { font-size: 10px; letter-spacing: 1.5px; }
}

/* Mobile (landscape & large phones) */
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .container { padding: 0 18px; }

  .topbar { font-size: 12px; padding: 6px 0; }
  .topbar .container { justify-content: center; text-align: center; flex-direction: column; gap: 4px; }
  .topbar .tb-info { gap: 10px; justify-content: center; }
  .topbar .tb-social { display: none; }

  .menu-toggle { display: block; }
  .nav { position: relative; padding: 12px 0; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 18px;
    gap: 0;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav-menu.open { max-height: 500px; }
  .nav-menu li { width: 100%; }
  .nav-menu li a { display: block; padding: 12px 8px; }
  .nav-menu li a::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; }

  .hero { min-height: auto; }
  .hero-content { padding: 50px 0; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .hero-actions .btn { padding: 12px 22px; font-size: 13px; }

  .page-header { padding: 70px 0 55px; }
  .section-head { margin-bottom: 40px; }

  .services-grid, .projects-grid, .vm-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat-num { font-size: 38px; }
  .stat-label { font-size: 12px; letter-spacing: 1.5px; }

  .split-text h2, .section-head h2, .vm-card h3 { font-size: 26px; }
  .split-img img { height: 300px; }
  .split-img .badge { padding: 14px 18px; bottom: 16px; left: 16px; }
  .split-img .badge .num { font-size: 28px; }

  .service-card, .vm-card { padding: 32px 24px; }
  .service-detail h3 { font-size: 24px; }
  .service-detail img { height: 280px; }

  .project-filters { gap: 8px; overflow-x: auto; padding-bottom: 8px; flex-wrap: nowrap; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .project-filters::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; padding: 9px 18px; font-size: 12px; }
  .project-card .img-wrap { height: 220px; }

  .lightbox { padding: 16px; }
  .lightbox-close { top: -42px; font-size: 28px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 18px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-img-wrap img { max-height: 70vh; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .info-block, .contact-form { padding: 32px 24px; }
  .map-wrap iframe { height: 280px; }

  .cta-banner { padding: 60px 0; }
  .cta-banner h2 { font-size: 26px; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  section { padding: 50px 0; }

  .topbar .tb-info { font-size: 11.5px; }
  .nav-brand img { height: 42px; }
  .nav-brand .brand-text .name { font-size: 17px; }
  .nav-brand .brand-text .tagline { display: none; }

  .hero h1 { font-size: 28px; line-height: 1.25; }
  .hero p { font-size: 15px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 2.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }

  .page-header h1 { font-size: 28px; }
  .section-head h2, .split-text h2 { font-size: 22px; }
  .section-head p { font-size: 15px; }

  .stats-grid { grid-template-columns: 1fr; gap: 22px; }
  .stat-num { font-size: 36px; }

  .service-card .icon { width: 54px; height: 54px; font-size: 22px; }
  .service-card h3 { font-size: 19px; }

  .project-card .body { padding: 20px 20px; }
  .project-card h3 { font-size: 18px; }
  .project-card .meta { font-size: 13px; }
  .project-card .meta span { display: block; margin-bottom: 4px; }

  .info-block h3, .contact-form h3 { font-size: 22px; }
  .form-group input, .form-group select, .form-group textarea { padding: 11px 14px; font-size: 14.5px; }

  .footer { padding: 50px 0 0; }
  .cta-banner h2 { font-size: 22px; }
  .btn { padding: 12px 22px; font-size: 13px; }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero h1 { font-size: 25px; }
  .nav-brand .brand-text .name { font-size: 15px; }
  .topbar .tb-info span:first-child { display: block; }
}
