/* ============================================================
   MJ3 BUILDERS INC. — Main Stylesheet
   Brand: White / Black / Red (#C8102E)
   Font: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --red:       #C8102E;
  --red-dark:  #9E0B23;
  --red-light: #f5e0e3;
  --black:     #0D0D0D;
  --gray-900:  #1A1A1A;
  --gray-700:  #333333;
  --gray-500:  #666666;
  --gray-300:  #CCCCCC;
  --gray-100:  #F5F5F5;
  --white:     #FFFFFF;
  --ff-display: 'Cormorant Garamond', serif;
  --ff-body:    'DM Sans', sans-serif;
  --max-w:     1200px;
  --radius:    4px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- UTILITY ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.red-line {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--red);
  margin-bottom: 20px;
}
.red-line.center { margin: 0 auto 20px; }

.tag {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
}
.section-title.center { text-align: center; }

.section-sub {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 580px;
  margin-top: 14px;
}
.section-sub.center { margin: 14px auto 0; text-align: center; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* ---- HEADER / NAV ---- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-300);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark span {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.logo-text { line-height: 1.2; }
.logo-text .company { font-size: 15px; font-weight: 600; color: var(--black); letter-spacing: 0.03em; }
.logo-text .tagline { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a.btn-nav {
  background: var(--red);
  color: var(--white);
  padding: 8px 18px;
}
.main-nav a.btn-nav:hover { background: var(--red-dark); color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 26px; height: 2px; background: var(--black); transition: all var(--transition); }

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-300);
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--red); }
.mobile-nav a.btn-nav { color: var(--red); font-weight: 600; border-bottom: none; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

/* hero video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 60%,
    rgba(200,16,46,0.18) 100%
  );
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.015) 60px,
    rgba(255,255,255,0.015) 61px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.4);
  color: #ff6b7a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 10px;
}
.hero h1 em { font-style: italic; color: var(--red); }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin: 20px 0 40px;
  line-height: 1.8;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 60px; }

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item .num {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.stat-item .num span { color: var(--red); }
.stat-item .lbl {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- INTRO ---- */
.intro-section {
  background: var(--white);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-img-wrap {
  position: relative;
}
.intro-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--gray-100);
}
.intro-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.intro-badge-block {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--red);
  color: var(--white);
  padding: 28px 32px;
  text-align: center;
}
.intro-badge-block .yr {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.intro-badge-block .yr-lbl {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}

.intro-features {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 7px;
}
.feature-item p { font-size: 14px; color: var(--gray-700); font-weight: 500; }

/* ---- SERVICES ---- */
.services-section { background: var(--gray-100); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  margin-top: 56px;
  background: var(--gray-300);
}

.service-card {
  background: var(--white);
  padding: 40px 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--gray-100); }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: var(--radius);
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.8; }

.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
}
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

.services-more-badge {
  background: var(--black);
  color: var(--white);
}
.services-more-badge h3 { color: var(--white); }
.services-more-badge p { color: rgba(255,255,255,0.55); }
.services-more-badge .service-icon { background: rgba(200,16,46,0.2); }
.services-more-badge .service-icon svg { stroke: #ff6b7a; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--black);
  padding: 80px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.cta-band h2 em { color: var(--red); font-style: italic; }
.cta-band p { color: rgba(255,255,255,0.55); margin-top: 8px; font-size: 15px; }

/* ---- SOCIAL SECTION ---- */
.social-section { background: var(--white); padding: 80px 0; border-top: 1px solid var(--gray-100); }
.social-section .section-title.center { margin-bottom: 8px; }
.social-icons-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 40px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  transition: all var(--transition);
  min-width: 130px;
  text-decoration: none;
  color: var(--black);
}
.social-link:hover {
  border-color: var(--red);
  background: var(--red-light);
  transform: translateY(-3px);
}
.social-link svg { width: 28px; height: 28px; }
.social-link span { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); }

/* ---- REVIEWS ---- */
.reviews-section { background: var(--gray-100); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.review-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  border-top: 3px solid var(--red);
  position: relative;
}
.review-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star { color: var(--red); font-size: 16px; }
.review-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-style: italic;
}
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 600; font-size: 14px; }
.reviewer-meta { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

.reviews-cta {
  text-align: center;
  margin-top: 48px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- MAPS SECTION ---- */
.maps-section { background: var(--white); padding: 80px 0 0; }
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
}
.map-embed iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}
.map-info {
  background: var(--black);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.map-info .tag { color: rgba(200,16,46,0.9); }
.map-info h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}
.map-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.map-detail svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px; }
.map-detail span { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.map-detail a { color: rgba(255,255,255,0.85); }
.map-detail a:hover { color: var(--red); }

/* ---- FINAL CTA ---- */
.final-cta {
  background: var(--red);
  padding: 100px 0;
  text-align: center;
}
.final-cta .tag { color: rgba(255,255,255,0.7); }
.final-cta h2 {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.final-cta p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 480px; margin: 0 auto 40px; }
.final-cta .btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  font-weight: 700;
}
.final-cta .btn-white:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo .logo-mark { background: var(--red); }
.footer-logo .company { color: var(--white); font-size: 15px; font-weight: 600; }
.footer-logo .tagline { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 13.5px; line-height: 1.8; max-width: 300px; margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--red); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-item svg { width: 15px; height: 15px; stroke: var(--red); fill: none; stroke-width: 2; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a, .footer-contact-item span { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.footer-contact-item a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom .lic { color: rgba(200,16,46,0.7); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--black);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero-image.jpg') center/cover no-repeat;
  opacity: 0.22;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .tag { color: rgba(200,16,46,0.9); }
.page-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 16px;
}
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 540px; }
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.page-breadcrumb a { color: rgba(200,16,46,0.8); transition: color var(--transition); }
.page-breadcrumb a:hover { color: var(--red); }
.page-breadcrumb span { color: rgba(255,255,255,0.25); }

/* ---- ABOUT PAGE ---- */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  background: var(--gray-300);
  margin-top: 56px;
}
.value-card {
  background: var(--white);
  padding: 40px 32px;
}
.value-num {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 12px;
}
.value-card h3 {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
}
.value-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

.team-quote {
  background: var(--black);
  padding: 80px 0;
}
.team-quote blockquote {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.team-quote cite {
  display: block;
  font-family: var(--ff-body);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 24px;
  text-align: center;
}

/* ---- SERVICES PAGE ---- */
.services-full-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  background: var(--gray-300);
  margin-bottom: 2px;
}
.services-full-card:nth-child(even) { direction: rtl; }
.services-full-card:nth-child(even) > * { direction: ltr; }
.sfc-img {
  background: var(--gray-100);
  min-height: 320px;
  overflow: hidden;
  position: relative;
}
.sfc-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.services-full-card:hover .sfc-img img { transform: scale(1.03); }
.sfc-body {
  background: var(--white);
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sfc-body h2 {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
}
.sfc-body p { font-size: 15px; color: var(--gray-500); line-height: 1.8; margin-bottom: 20px; }
.sfc-benefits { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.sfc-benefit {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--gray-700);
}
.sfc-benefit::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  flex-shrink: 0;
  border-radius: 50%;
}

/* ---- ADDITIONAL SERVICES GRID ---- */
.add-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
  background: var(--gray-300);
  margin-top: 56px;
}
.add-service-item {
  background: var(--white);
  padding: 32px 28px;
  transition: background var(--transition), box-shadow var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.add-service-item:hover { background: var(--red-light); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.add-service-item h4 { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 600; color: var(--black); margin-bottom: 6px; }
.add-service-item p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* image-backed trade service cards */
.add-service-img-item { padding: 0; overflow: hidden; }
.add-service-img-item:hover { background: var(--white); }
.add-service-thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.add-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}
.add-service-img-item:hover .add-service-thumb img { transform: scale(1.05); }
.add-service-body { padding: 24px 24px 28px; width: 100%; }
.add-service-item:not(.add-service-img-item) .add-service-body { padding: 0; }

/* ---- PROJECTS PAGE ---- */
.projects-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.filter-btn {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-family: var(--ff-body);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.project-img {
  aspect-ratio: 16/10;
  background: var(--gray-100);
  overflow: hidden;
  position: relative;
}
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-img img { transform: scale(1.04); }
.project-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 20px;
}
.project-cat {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius);
}
.project-body { padding: 28px; }
.project-body h3 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.project-body p { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }
.project-meta { display: flex; gap: 20px; font-size: 12px; color: var(--gray-500); font-weight: 500; letter-spacing: 0.05em; }

/* ---- QUOTE PAGE ---- */
.quote-page { background: var(--white); }
.quote-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  margin-top: 0;
}
.quote-sidebar {
  background: var(--black);
  padding: 56px 40px;
}
.quote-sidebar .tag { color: rgba(200,16,46,0.9); }
.quote-sidebar h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
}
.quote-service-list { display: flex; flex-direction: column; gap: 4px; }
.quote-service-main, .quote-service-add {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.quote-service-main { color: rgba(255,255,255,0.85); font-weight: 500; }
.quote-service-add { color: var(--red); font-size: 13px; }
.quote-divider { height: 1px; background: var(--red); margin: 20px 0; opacity: 0.5; }
.quote-sidebar-contact { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.quote-sidebar-contact p { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.1em; }
.quote-sidebar-contact a { font-size: 14px; color: var(--red); display: block; margin-bottom: 6px; }

.quote-form-area { background: var(--white); padding: 56px 52px; }

/* ---- FORM STYLES ---- */
.form-section-title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-section-title .num {
  background: var(--red);
  color: var(--white);
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 14.5px;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { min-height: 120px; resize: vertical; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 13.5px;
  color: var(--gray-700);
  font-weight: 500;
}
.check-item input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}
.check-item:has(input:checked) {
  border-color: var(--red);
  background: var(--red-light);
  color: var(--black);
}
.form-section-gap { margin-top: 36px; }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 13.5px;
  color: var(--gray-700);
  font-weight: 500;
}
.radio-item input[type="radio"] {
  accent-color: var(--red);
  cursor: pointer;
}
.radio-item:has(input:checked) {
  border-color: var(--red);
  background: var(--red-light);
  color: var(--black);
}

.file-upload-area {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition);
}
.file-upload-area:hover { border-color: var(--red); }
.file-upload-area p { font-size: 14px; color: var(--gray-500); margin-top: 8px; }
.file-upload-area .upload-icon { font-size: 28px; color: var(--gray-300); }

.form-submit-area {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.form-submit-area .note { font-size: 12.5px; color: var(--gray-500); max-width: 300px; }

/* ---- FORM FEEDBACK & SUCCESS PANEL ---- */
.form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.form-feedback--error {
  display: block;
  background: #fff1f2;
  border-left: 4px solid var(--red);
  color: #9b1c1c;
}
.form-feedback--success {
  display: block;
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  color: #15803d;
}
.field-error { border-color: var(--red) !important; }

.quote-success-panel {
  text-align: center;
  padding: 72px 40px;
}
.quote-success-icon {
  width: 72px;
  height: 72px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: #22c55e;
}
.quote-success-icon svg { width: 36px; height: 36px; }
.quote-success-panel h2 {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
}
.quote-success-panel p {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}
.quote-success-meta {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
}
.quote-success-actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info-block { margin-bottom: 32px; }
.contact-info-block h4 { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--black); }
.contact-info-block a { color: var(--red); font-size: 15px; }
.contact-info-block a:hover { text-decoration: underline; }
.contact-info-block span { font-size: 15px; color: var(--gray-700); }

/* ---- MANAGEMENT SYSTEM ---- */
.mgmt-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 76px);
  margin-top: 76px;
}
.mgmt-sidebar {
  background: var(--black);
  padding: 32px 0;
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow-y: auto;
}
.mgmt-sidebar-logo {
  padding: 0 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 20px;
}
.mgmt-sidebar-logo .company { font-size: 14px; font-weight: 600; color: var(--white); }
.mgmt-sidebar-logo .module { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-top: 2px; }
.sidebar-nav { padding: 0 12px; }
.sidebar-nav-group { margin-bottom: 28px; }
.sidebar-nav-group-label { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.25); padding: 0 12px; margin-bottom: 6px; }
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.55);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--ff-body);
}
.sidebar-nav-item svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.sidebar-nav-item:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.sidebar-nav-item.active { background: rgba(200,16,46,0.15); color: var(--white); }
.sidebar-nav-item.active svg { stroke: var(--red); }

.mgmt-main { background: var(--gray-100); }
.mgmt-panel { display: none; padding: 40px; }
.mgmt-panel.active { display: block; }

.mgmt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.mgmt-topbar h2 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--black);
}
.mgmt-topbar p { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

.mgmt-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.mgmt-stat {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
}
.mgmt-stat .s-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--black);
}
.mgmt-stat .s-lbl { font-size: 12px; color: var(--gray-500); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

.white-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}
.white-card-title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Doc Type Toggle */
.doc-type-toggle {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 4px;
  width: fit-content;
  margin-bottom: 32px;
}
.doc-type-btn {
  padding: 10px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-family: var(--ff-body);
  color: var(--gray-500);
}
.doc-type-btn.active {
  background: var(--red);
  color: var(--white);
}

/* Services table */
.services-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 14px;
}
.services-table th {
  background: var(--gray-100);
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-300);
}
.services-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.services-table td input {
  width: 100%;
  padding: 6px 10px;
  font-family: var(--ff-body);
  font-size: 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  outline: none;
}
.services-table td input:focus { border-color: var(--red); }
.services-table .col-remove {
  width: 40px;
}
.btn-remove-row {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-300);
  font-size: 18px;
  line-height: 1;
  transition: color var(--transition);
  padding: 0 4px;
}
.btn-remove-row:hover { color: var(--red); }

.totals-block {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}
.totals-inner {
  min-width: 280px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.totals-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--gray-700);
}
.totals-row.total-final {
  border-top: 2px solid var(--red);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
}

/* Signature pad */
.sig-pad-wrap { position: relative; border: 1.5px solid var(--gray-300); border-radius: var(--radius); background: var(--white); }
.sig-pad-wrap canvas { display: block; width: 100%; height: 160px; cursor: crosshair; }
.sig-actions { display: flex; gap: 8px; margin-top: 8px; }
.btn-sm {
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-family: var(--ff-body);
  transition: all var(--transition);
  color: var(--gray-700);
}
.btn-sm:hover { border-color: var(--red); color: var(--red); }
.btn-sm-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-sm-primary:hover { background: var(--red-dark); }

/* CRM styles */
.crm-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.crm-search-bar input {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.crm-search-bar input:focus { border-color: var(--red); }

.client-list { display: flex; flex-direction: column; gap: 4px; }
.client-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  cursor: pointer;
  transition: all var(--transition);
}
.client-row:hover { border-color: var(--red); background: var(--red-light); }
.client-info .name { font-weight: 600; font-size: 15px; color: var(--black); }
.client-info .meta { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.client-count { font-size: 12px; font-weight: 600; color: var(--white); background: var(--red); padding: 2px 10px; border-radius: 100px; }

.client-history-tabs { display: flex; gap: 4px; margin-bottom: 20px; }
.history-tab {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  cursor: pointer;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  transition: all var(--transition);
}
.history-tab.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* Duplicate modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 540px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}
.modal-box h3 { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 8px; color: var(--black); }
.modal-box p { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }
.duplicate-option {
  padding: 14px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all var(--transition);
}
.duplicate-option:hover { border-color: var(--red); background: var(--red-light); }
.duplicate-option .d-name { font-weight: 600; font-size: 15px; color: var(--black); }
.duplicate-option .d-meta { font-size: 13px; color: var(--gray-500); margin-top: 3px; }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

/* Invoice number display */
.invoice-num-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 24px;
}
.invoice-num-display .inv-label { font-family: var(--ff-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--black);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 3px solid #22c55e; }
.toast.error { border-left: 3px solid var(--red); }

/* ---- FEATURED PROJECTS (homepage) ---- */
.featured-projects-section { background: var(--white); }
.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 3px;
  margin-top: 56px;
}
.fp-item {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}
.fp-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  display: block;
}
.fp-item:hover img { transform: scale(1.06); }
.fp-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.fp-item:hover .fp-item-overlay { opacity: 1; }
.fp-item-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 4px 12px;
  border-radius: var(--radius);
}
.fp-item.fp-tall { grid-row: span 2; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .intro-grid { gap: 48px; }
  .mgmt-layout { grid-template-columns: 220px 1fr; }
  .services-full-card { grid-template-columns: 1fr; }
  .services-full-card:nth-child(even) { direction: ltr; }
  .sfc-img { min-height: 200px; }
}

/* Featured projects — tablet (must come before 768px) */
@media (max-width: 900px) {
  .featured-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .fp-item.fp-tall { grid-row: span 1; }
  .fp-item { height: 220px; }
}

/* ============================================================
   MOBILE — max-width: 768px
   ============================================================ */
@media (max-width: 768px) {

  /* --- Global & Container --- */
  .container { padding: 0 20px; }
  .section-pad { padding: 56px 0; }
  .section-pad-sm { padding: 36px 0; }
  .section-title { font-size: 1.8rem; line-height: 1.2; }
  .section-sub { font-size: 0.95rem; line-height: 1.75; }

  /* --- Navigation --- */
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .mobile-nav {
    padding: 8px 20px 28px;
    gap: 0;
  }
  .mobile-nav a {
    font-size: 13px;
    padding: 15px 4px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--gray-100);
    display: block;
  }
  .mobile-nav a:last-of-type { border-bottom: none; }
  .mobile-nav a.btn-nav {
    display: block;
    margin-top: 14px;
    background: var(--red);
    color: var(--white) !important;
    text-align: center;
    padding: 14px 20px;
    border-radius: var(--radius);
    border-bottom: none;
    font-weight: 600;
  }

  /* --- Hero Section --- */
  /*
   * Root fix: desktop uses align-items:center which vertically centers the
   * entire content block. On mobile the stacked content is too tall — its
   * midpoint falls below center, pushing the headline behind the fixed header
   * and the stats off the bottom of the screen.
   * Solution: switch to flex-start and use padding-top to clear the header.
   */
  .hero {
    min-height: 100svh;
    min-height: 100vh;
    align-items: flex-start;   /* override desktop center-align */
  }
  .hero-content {
    padding-top: 96px;         /* fixed header (76px) + 20px breathing room */
    padding-bottom: 48px;
    width: 100%;
  }

  .hero-badge {
    font-size: 10px;
    padding: 5px 12px;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.1;
    max-width: 100%;
    margin-bottom: 8px;
  }
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 100%;
    margin: 14px 0 28px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .stat-item .num { font-size: 1.9rem; }
  .stat-item .lbl { font-size: 10px; }
  .hero-scroll { display: none; }

  /* --- Intro / About (Homepage) --- */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .intro-img-wrap { padding-bottom: 48px; }
  .intro-img { aspect-ratio: 16/10; }
  .intro-badge-block {
    right: 0;
    bottom: 0;
    padding: 18px 22px;
  }
  .intro-badge-block .yr { font-size: 2rem; }
  .intro-badge-block .yr-lbl { font-size: 9px; }
  .intro-features {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }
  .intro-section .container > .intro-grid > div:last-child { padding-top: 8px; }

  /* --- Services Grid (Homepage) --- */
  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .service-card { padding: 32px 24px; }

  /* --- Services Page (Full-width cards) --- */
  .services-full-card {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .services-full-card:nth-child(even) { direction: ltr; }
  .sfc-img {
    min-height: 220px;
    position: relative;
  }
  .sfc-body {
    padding: 32px 24px 36px;
  }
  .sfc-body h2 { font-size: 1.6rem; margin-bottom: 12px; }
  .sfc-body p { font-size: 14px; }

  /* --- Additional / Trade Services --- */
  .add-services-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }
  .add-service-thumb { height: 120px; }
  .add-service-body { padding: 18px 16px 22px; }
  .add-service-item:not(.add-service-img-item) { padding: 24px 18px; }
  .add-service-item h4 { font-size: 1.05rem; }
  .add-service-item p { font-size: 12.5px; }

  /* --- CTA Band --- */
  .cta-band { padding: 56px 0; }
  .cta-band-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .cta-band h2 { font-size: 1.8rem; }
  .cta-band-inner > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .cta-band-inner .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Social Section --- */
  .social-section { padding: 56px 0; }
  .social-icons-row {
    gap: 10px;
    margin-top: 36px;
  }
  .social-link {
    flex: 1 0 calc(50% - 5px);
    min-width: 0;
    padding: 22px 16px;
  }
  .social-link svg { width: 24px; height: 24px; }

  /* --- Reviews --- */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
  }
  .review-card { padding: 28px 22px; }
  .review-text { font-size: 14px; }
  .reviews-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 36px;
  }
  .reviews-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Map Section --- */
  .maps-section { padding: 0; }
  .maps-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .map-embed iframe { height: 260px; }
  .map-info { padding: 36px 24px; }
  .map-info h3 { font-size: 1.5rem; margin-bottom: 20px; }

  /* --- Final CTA --- */
  .final-cta { padding: 72px 0; }
  .final-cta h2 { font-size: 2rem; }
  .final-cta p { font-size: 0.95rem; }
  .final-cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0 20px;
  }
  .final-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Footer --- */
  footer { padding: 52px 0 28px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer-brand p { max-width: 100%; font-size: 13px; }
  .footer-col h4 { margin-bottom: 14px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding-top: 24px;
  }

  /* --- Page Hero (inner pages) --- */
  .page-hero { padding: 108px 0 52px; }
  .page-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    max-width: 100%;
  }
  .page-hero p { font-size: 0.95rem; max-width: 100%; }
  .page-breadcrumb { font-size: 11px; margin-bottom: 16px; }

  /* --- About Page --- */
  .about-values {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }
  .value-card { padding: 32px 24px; }
  .value-num { font-size: 2.8rem; }
  .team-quote { padding: 56px 0; }
  .team-quote blockquote {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    line-height: 1.5;
  }
  .about-img-strip {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .about-img-strip img {
    height: 260px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  /* --- Projects Page --- */
  .projects-filter {
    gap: 8px;
    margin-top: 28px;
    margin-bottom: 4px;
  }
  .filter-btn { padding: 9px 16px; font-size: 11px; }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
  .project-body { padding: 22px 20px; }
  .project-body h3 { font-size: 1.15rem; }
  .project-meta { flex-wrap: wrap; gap: 8px 16px; }

  /* --- Featured Projects (Homepage) --- */
  .featured-projects-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 3px;
    margin-top: 36px;
  }
  .fp-item { height: 180px; }
  .fp-item.fp-tall { grid-row: span 1; }
  .fp-item-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%); }

  /* --- Quote Page --- */
  .quote-layout { grid-template-columns: 1fr; }
  .quote-form-area { order: 1; padding: 32px 20px; }
  .quote-sidebar { order: 2; padding: 36px 24px; }
  .checkbox-grid { grid-template-columns: 1fr 1fr; }
  .radio-group { gap: 8px; }
  .quote-success-panel { padding: 48px 24px; }
  .quote-success-panel h2 { font-size: 1.8rem; }

  /* --- Contact Page --- */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* --- Forms --- */
  .form-row { grid-template-columns: 1fr; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* --- Management System --- */
  .mgmt-layout { grid-template-columns: 1fr; }
  .mgmt-sidebar { position: relative; top: 0; height: auto; }
  .mgmt-panel { padding: 24px 16px; }
  .services-table { font-size: 12px; }
}

/* ============================================================
   MOBILE SMALL — max-width: 480px
   ============================================================ */
@media (max-width: 480px) {

  /* --- Global --- */
  .container { padding: 0 16px; }
  .section-pad { padding: 48px 0; }
  .section-title { font-size: 1.65rem; }

  /* --- Hero --- */
  .hero-content {
    padding-top: 92px;    /* header (76px) + 16px — slightly tighter on small phones */
    padding-bottom: 40px;
  }
  .hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.2rem); }
  .hero-sub { font-size: 0.9rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item .num { font-size: 1.8rem; }

  /* --- Services --- */
  .add-services-grid { grid-template-columns: 1fr; }
  .add-service-thumb { height: 140px; }

  /* --- Social --- */
  .social-icons-row { flex-direction: column; gap: 8px; }
  .social-link { flex: none; width: 100%; padding: 18px 20px; flex-direction: row; gap: 14px; justify-content: flex-start; }
  .social-link span { font-size: 12px; }

  /* --- Featured Projects --- */
  .featured-projects-grid { grid-template-columns: 1fr; }
  .fp-item { height: 200px; }

  /* --- Filters --- */
  .projects-filter { gap: 6px; }
  .filter-btn { padding: 8px 13px; font-size: 10.5px; }

  /* --- Forms --- */
  .checkbox-grid { grid-template-columns: 1fr; }
  .doc-type-toggle { width: 100%; }
  .doc-type-btn { flex: 1; }

  /* --- Final CTA --- */
  .final-cta-actions { padding: 0 8px; }

  /* --- Reviews --- */
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ---- HERO SCROLL indicator z-index ---- */
.hero-scroll { z-index: 3; }

/* ============================================================
   WELCOME POPUP
   ============================================================ */
.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
}

/* Shown state */
.welcome-overlay--in {
  opacity: 1;
  pointer-events: all;
  animation: wOverlayIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Dismiss state */
.welcome-overlay--out {
  animation: wOverlayOut 0.32s ease-in forwards;
}

@keyframes wOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes wOverlayOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Box */
.welcome-box {
  position: relative;
  background: #111111;
  border: 1px solid rgba(200, 16, 46, 0.25);
  border-radius: 16px;
  padding: 52px 48px 44px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04);
  animation: wBoxIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes wBoxIn {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* Close button */
.welcome-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}
.welcome-close:hover {
  background: rgba(200, 16, 46, 0.15);
  color: #fff;
  border-color: rgba(200, 16, 46, 0.4);
}

/* Logo row */
.welcome-logo-row {
  margin-bottom: 20px;
}
.welcome-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--red);
  border-radius: 10px;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.35);
}

/* Rule */
.welcome-rule {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 28px;
  opacity: 0.7;
}

/* Title */
.welcome-title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

/* Lead line */
.welcome-lead {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Body copy */
.welcome-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 36px;
}

/* CTA button */
.welcome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 40px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 20px;
  width: 100%;
  max-width: 280px;
}
.welcome-cta:hover {
  background: #a50d25;
  transform: translateY(-1px);
}
.welcome-cta:active {
  transform: translateY(0);
}

/* Footnote */
.welcome-footnote {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

/* Mobile */
@media (max-width: 480px) {
  .welcome-box {
    padding: 44px 24px 36px;
    border-radius: 12px;
  }
  .welcome-cta {
    max-width: 100%;
  }
}
