/* =============================================================
   NC Designs and Construction - Main stylesheet
   ============================================================= */
:root {
  --nc-blue: #0b4fa3;
  --nc-blue-dark: #073a7a;
  --nc-blue-light: #1673d1;
  --nc-accent: #5fb0ff;
  --nc-ink: #0d1b2c;
  --nc-body: #4a5b70;
  --nc-muted: #7b8aa0;
  --nc-bg: #f4f8fe;
  --nc-border: #e2e9f4;
  --nc-green: #25d366;
  --nc-green-dark: #1caa52;
  --nc-radius: 16px;
  --nc-shadow-sm: 0 4px 16px rgba(11, 79, 163, .07);
  --nc-shadow: 0 14px 40px rgba(11, 40, 90, .12);
  --bs-primary: #0b4fa3;
  --bs-primary-rgb: 11, 79, 163;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--nc-body);
  background: #fff;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; height: auto; }

html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 100px; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--nc-ink);
  font-weight: 700;
  line-height: 1.25;
}

a { color: var(--nc-blue); text-decoration: none; }
a:hover { color: var(--nc-blue-dark); }

.row { margin-left: 0; margin-right: 0; }
.row { margin-left: -15px; margin-right: -15px; }
.row > * { padding-left: 15px; padding-right: 15px; }

.container, .container-fluid {
  max-width: 1140px;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: visible;
}

.icon { vertical-align: middle; }
.icon-xs { width: 15px; height: 15px; vertical-align: -2px; }
.icon-sm { width: 18px; height: 18px; vertical-align: -4px; flex: 0 0 auto; }

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 600; }
.btn-lg { padding: .75rem 1.6rem; font-size: 1.02rem; }
.btn-primary { background: var(--nc-blue); border-color: var(--nc-blue); }
.btn-primary:hover, .btn-primary:focus { background: var(--nc-blue-dark); border-color: var(--nc-blue-dark); }
.btn-whatsapp { background: var(--nc-green); border-color: var(--nc-green); color: #05301a; }
.btn-whatsapp:hover, .btn-whatsapp:focus { background: var(--nc-green-dark); border-color: var(--nc-green-dark); color: #fff; }
.btn-outline-dark { color: var(--nc-ink); border-color: #cdd8e6; }
.btn-outline-dark:hover { background: var(--nc-ink); border-color: var(--nc-ink); }
.btn-light { color: var(--nc-blue-dark); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: #fff; color: var(--nc-blue); padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; }
.topbar {
  background: linear-gradient(90deg, var(--nc-blue-dark), var(--nc-blue));
  color: #d6e6fb; font-size: .84rem; padding: 8px 0;
}
.topbar a { color: #eaf3ff; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-info span, .topbar-contact a { margin-left: 18px; }
.topbar-info span:first-child, .topbar-contact a:first-child { margin-left: 0; }

.main-nav {
  background: #fff; padding: 10px 0;
  box-shadow: 0 2px 18px rgba(9, 39, 82, .08);
  transition: padding .25s ease;
}
.main-nav.scrolled { padding: 4px 0; }
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--nc-blue-light), var(--nc-blue-dark));
  color: #fff; font-weight: 800; letter-spacing: .5px; font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(11, 79, 163, .3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { color: var(--nc-ink); font-size: 1.22rem; font-weight: 800; }
.brand-text small { color: var(--nc-muted); font-size: .78rem; letter-spacing: 2.4px; text-transform: uppercase; }
.main-nav .nav-link { color: var(--nc-ink); font-weight: 600; padding: .6rem .95rem; border-radius: 8px; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--nc-blue); background: rgba(11, 79, 163, .07); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-carousel .carousel-item { transition: opacity .6s ease-in-out; }
.hero-slide {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: 620px; padding: 60px 0 90px;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-color: #073a7a; transform: scale(1); transform-origin: center;
  will-change: transform; backface-visibility: hidden;
}
.hero-bg.grad-0 { background: linear-gradient(135deg, #073a7a 0%, #0b4fa3 55%, #1673d1 100%); }
.hero-bg.grad-1 { background: linear-gradient(135deg, #062f63 0%, #0d5cb8 60%, #2f8ae8 100%); }
.hero-bg.grad-2 { background: linear-gradient(135deg, #0a4287 0%, #1370c9 45%, #073a7a 100%); }
.hero-carousel .carousel-item.active .hero-bg { animation: kenburns 7.5s ease-out forwards; }
.hero-carousel .carousel-item:nth-child(even).active .hero-bg { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.16); } }
@keyframes kenburns-alt { from { transform: scale(1.16); } to { transform: scale(1.02); } }
.hero-slide.has-image .hero-overlay { background: linear-gradient(90deg, rgba(6, 32, 66, .92) 0%, rgba(7, 58, 122, .78) 55%, rgba(11, 79, 163, .45) 100%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 32, 66, .55) 0%, rgba(6, 32, 66, .15) 100%); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero-row { position: relative; z-index: 2; }
.hero-content { color: #fff; max-width: 620px; }
.hero-badge {
  display: inline-block; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
  color: #fff; padding: 6px 16px; border-radius: 30px; font-size: .8rem; letter-spacing: 1.6px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 18px;
}
.hero-content h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; margin-bottom: 18px; text-wrap: balance; }
.hero-lead { color: #dfeafb; font-size: 1.12rem; margin-bottom: 30px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-light { background: #fff; border-color: #fff; color: var(--nc-blue-dark); }
.hero-actions .btn-light:hover { background: var(--nc-accent); border-color: var(--nc-accent); color: #04213f; }

.hero-quickcard {
  background: #fff; border-radius: var(--nc-radius); padding: 28px; box-shadow: var(--nc-shadow);
  border-top: 5px solid var(--nc-blue);
}
.hero-quickcard h3 { font-size: 1.3rem; margin-bottom: 6px; }
.hero-quickcard > p { color: var(--nc-muted); font-size: .93rem; margin-bottom: 18px; }
.quick-points { list-style: none; margin: 16px 0 0; padding: 0; font-size: .9rem; color: var(--nc-body); }
.quick-points li { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.quick-points .icon { color: var(--nc-green-dark); }

.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next {
  width: 56px; height: 56px; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .16);
  border-radius: 50%; opacity: .8; margin: 0 18px;
}
.hero-carousel .carousel-control-prev:hover, .hero-carousel .carousel-control-next:hover { background: rgba(255, 255, 255, .3); opacity: 1; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 34px; height: 5px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .4); }
.hero-dots button.active { background: #fff; }

/* ---------- Trust strip ---------- */
.trust-strip { position: relative; z-index: 6; margin-top: -46px; }
.trust-item {
  background: #fff; border-radius: 14px; padding: 20px; box-shadow: var(--nc-shadow-sm);
  display: flex; gap: 14px; align-items: flex-start; height: 100%; border: 1px solid var(--nc-border);
}
.trust-item .icon { color: var(--nc-blue); }
.trust-item strong { display: block; color: var(--nc-ink); font-size: .98rem; }
.trust-item span { font-size: .84rem; color: var(--nc-muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--nc-bg); }
.section-dark { background: linear-gradient(135deg, #062f63, #0b4fa3 60%, #0f5fb0); color: #d9e6f8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head.on-dark p, .section-dark .section-head p { color: #cfe1f8; }
.section-head p { color: var(--nc-muted); font-size: 1.02rem; margin-bottom: 0; }
.eyebrow {
  display: inline-block; color: var(--nc-blue-light); background: rgba(22, 115, 209, .1);
  padding: 5px 14px; border-radius: 30px; font-size: .76rem; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--nc-accent); background: rgba(255, 255, 255, .12); }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin-bottom: 12px; }
.lead-para { font-size: 1.06rem; color: var(--nc-body); }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card {
  background: #fff; border: 1px solid var(--nc-border); border-radius: 14px; padding: 20px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--nc-shadow-sm);
}
.stat-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(11, 79, 163, .09); color: var(--nc-blue); flex: 0 0 auto; }
.stat-value { display: block; font-size: 1.75rem; font-weight: 800; color: var(--nc-blue); line-height: 1; }
.stat-label { font-size: .84rem; color: var(--nc-muted); }
.coverage-note {
  margin-top: 16px; display: flex; gap: 12px; align-items: center;
  background: rgba(11, 79, 163, .06); border: 1px dashed rgba(11, 79, 163, .3);
  border-radius: 12px; padding: 16px; color: var(--nc-blue-dark); font-size: .92rem;
}
.mini-feature { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--nc-ink); font-weight: 500; }
.mini-feature .icon { color: var(--nc-green-dark); }
.about-visual {
  position: relative; border-radius: var(--nc-radius); overflow: hidden; min-height: 320px;
  background: linear-gradient(140deg, #073a7a, #1673d1 70%, #5fb0ff); display: grid; place-items: center;
  box-shadow: var(--nc-shadow);
}
.about-visual::after {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-visual-inner { position: relative; text-align: center; color: #fff; display: grid; gap: 8px; justify-items: center; padding: 40px; }
.about-visual-inner strong { font-size: 1.35rem; }
.about-visual-inner span { color: #cfe4ff; font-size: .92rem; }
.about-visual.has-image { background: #06264d; }
.about-visual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-visual.has-image::before {
  content: ""; position: absolute; inset: 0; background: rgba(6, 28, 58, .48); z-index: 0;
}
.about-visual-inner.on-image { z-index: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.about-visual-inner.on-image span { color: #eaf3ff; }

/* ---------- Cards ---------- */
.service-card {
  background: #fff; border: 1px solid var(--nc-border); border-radius: var(--nc-radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--nc-shadow); }
.service-media {
  aspect-ratio: 8 / 5; position: relative; background-size: cover; background-position: center;
  background-color: var(--nc-blue-dark);
}
.service-media.no-image { background: linear-gradient(135deg, #0b4fa3, #1673d1 60%, #4aa2ff); }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,32,66,0) 40%, rgba(6,32,66,.35)); }
.service-icon {
  position: absolute; bottom: -24px; left: 22px; z-index: 2;
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: var(--nc-blue); box-shadow: var(--nc-shadow-sm);
}
.service-body { padding: 38px 18px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-body h3 { font-size: 1.06rem; margin: 0; line-height: 1.3; }
.service-body p { margin: 0; font-size: .9rem; color: var(--nc-body); flex: 1; }
.service-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 6px; }
.service-actions .btn { width: 100%; padding: 8px 10px; }

.service-detail {
  background: #fff; border: 1px solid var(--nc-border); border-radius: var(--nc-radius);
  padding: 28px; box-shadow: var(--nc-shadow-sm); scroll-margin-top: 120px;
}
.service-detail-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.service-detail-head h2 { font-size: 1.4rem; margin: 0; }
.service-detail-icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--nc-blue), var(--nc-blue-light)); color: #fff;
}
.service-index { font-size: .76rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--nc-muted); font-weight: 700; }
.service-detail-media { aspect-ratio: 8 / 5; border-radius: 12px; background-size: cover; background-position: center; background-color: var(--nc-blue-dark); margin-bottom: 16px; }
.service-summary { font-weight: 600; color: var(--nc-ink); }
.service-text { font-size: .95rem; }
.service-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

.process-card {
  position: relative; background: #fff; border: 1px solid var(--nc-border); border-radius: var(--nc-radius);
  padding: 64px 22px 26px; height: 100%; text-align: center; box-shadow: var(--nc-shadow-sm);
}
.process-num { position: absolute; top: 14px; right: 20px; font-size: 2.4rem; font-weight: 800; color: rgba(11, 79, 163, .1); }
.process-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: rgba(11, 79, 163, .08); color: var(--nc-blue); }
.process-card h3 { font-size: 1.1rem; }
.process-card p { font-size: .92rem; margin: 0; }

.reason-card {
  background: #fff; border: 1px solid var(--nc-border); border-radius: var(--nc-radius);
  padding: 30px 24px; height: 100%; box-shadow: var(--nc-shadow-sm); transition: transform .3s;
}
.reason-card:hover { transform: translateY(-5px); box-shadow: var(--nc-shadow); }
.reason-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--nc-blue), var(--nc-blue-light)); color: #fff; margin-bottom: 16px; }
.reason-card h3 { font-size: 1.08rem; }
.reason-card p { font-size: .92rem; margin: 0; }

.mv-card { background: #fff; border: 1px solid var(--nc-border); border-radius: var(--nc-radius); padding: 32px; box-shadow: var(--nc-shadow-sm); }
.mv-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(11, 79, 163, .08); color: var(--nc-blue); margin-bottom: 16px; }

/* ---------- Portfolio ---------- */
.portfolio-card { display: block; background: #fff; border-radius: var(--nc-radius); overflow: hidden; box-shadow: var(--nc-shadow-sm); height: 100%; color: var(--nc-ink); transition: transform .3s, box-shadow .3s; border: 1px solid rgba(226, 233, 244, .8); }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--nc-shadow); color: var(--nc-ink); }
.portfolio-media { position: relative; aspect-ratio: 3 / 2; background-size: cover; background-position: center; background-color: #0a3f83; }
.portfolio-media.no-image { background: linear-gradient(140deg, #073a7a, #1673d1 65%, #4aa2ff); }
.portfolio-media.no-image::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 34px 34px;
}
.portfolio-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255, 255, 255, .94);
  color: var(--nc-blue-dark); font-size: .74rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 30px;
}
.portfolio-hover {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: rgba(7, 58, 122, .55); opacity: 0; transition: opacity .3s;
}
.portfolio-card:hover .portfolio-hover { opacity: 1; }
.portfolio-body { padding: 20px; }
.portfolio-body h2, .portfolio-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.portfolio-meta { font-size: .85rem; color: var(--nc-muted); margin-bottom: 8px; }
.portfolio-summary { font-size: .9rem; margin: 0; }
.section-dark .portfolio-card { background: #fff; }
.section-dark .portfolio-card h2, .section-dark .portfolio-card h3 { color: var(--nc-ink); }
.section-dark .portfolio-card .portfolio-meta { color: var(--nc-muted); }
.section-dark .portfolio-card .portfolio-summary { color: var(--nc-body); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  border: 1px solid var(--nc-border); background: #fff; color: var(--nc-body);
  padding: 9px 20px; border-radius: 30px; font-weight: 600; font-size: .9rem; transition: all .2s;
}
.filter-btn:hover { border-color: var(--nc-blue); color: var(--nc-blue); }
.filter-btn.active { background: var(--nc-blue); border-color: var(--nc-blue); color: #fff; }

.project-media { aspect-ratio: 3 / 2; border-radius: var(--nc-radius); background-size: cover; background-position: center; background-color: #0a3f83; box-shadow: var(--nc-shadow); }
.project-media.no-image { background: linear-gradient(140deg, #073a7a, #1673d1 65%, #4aa2ff); display: grid; place-items: center; }
.project-media.no-image::after { content: "Project Image"; color: rgba(255,255,255,.7); letter-spacing: 3px; text-transform: uppercase; font-size: .8rem; }
.project-facts { background: var(--nc-bg); border: 1px solid var(--nc-border); border-radius: var(--nc-radius); padding: 28px; }
.project-facts h2 { font-size: 1.15rem; margin-bottom: 16px; }
.project-facts ul { list-style: none; padding: 0; margin: 0; }
.project-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--nc-border); font-size: .93rem; }
.project-facts li:last-child { border-bottom: 0; }
.project-facts li span { color: var(--nc-muted); display: flex; align-items: center; gap: 8px; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid var(--nc-border); border-radius: var(--nc-radius); padding: 28px; margin: 0; height: 100%; box-shadow: var(--nc-shadow-sm); }
.testimonial > .icon { color: var(--nc-accent); }
.testimonial blockquote { font-size: .96rem; color: var(--nc-body); margin: 12px 0 18px; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption strong { display: block; color: var(--nc-ink); font-size: .95rem; }
.testimonial figcaption small { color: var(--nc-muted); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--nc-blue), var(--nc-blue-light)); color: #fff; font-weight: 700; }
.stars { margin-top: 12px; color: #f5a623; display: flex; gap: 3px; }
.reviews-rating .stars { margin-top: 0; }
.reviews-head .btn { white-space: nowrap; }

/* ---------- Page hero / banners ---------- */
.page-hero {
  background: linear-gradient(135deg, #062f63, #0b4fa3 55%, #1673d1);
  color: #cfdff7; padding: 76px 0 60px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .28;
  background-image: radial-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px); background-size: 24px 24px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: #cfe1f8; font-size: 1.05rem; margin: 0; max-width: 720px; }
.page-hero .hero-badge { margin-bottom: 14px; }
.breadcrumb { margin-bottom: 16px; }
.breadcrumb a { color: #bcd6f7; }
.breadcrumb-item.active { color: #eaf3ff; }
.breadcrumb-item + .breadcrumb-item::before { color: #8fb6e6; }

/* ---------- Contact ---------- */
.contact-card {
  display: block; background: #fff; border: 1px solid var(--nc-border); border-radius: var(--nc-radius);
  padding: 26px; height: 100%; color: inherit; box-shadow: var(--nc-shadow-sm); transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--nc-shadow); color: inherit; }
.contact-card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(11, 79, 163, .08); color: var(--nc-blue); margin-bottom: 14px; }
.contact-card h2 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { font-size: .92rem; }
.contact-card small { color: var(--nc-muted); }
.break-word { word-break: break-word; }
.whatsapp-card { border-color: rgba(37, 211, 102, .5); }
.whatsapp-card .contact-card-icon { background: rgba(37, 211, 102, .12); color: var(--nc-green-dark); }
.contact-form-wrap { background: #fff; border: 1px solid var(--nc-border); border-radius: var(--nc-radius); padding: 32px; box-shadow: var(--nc-shadow-sm); }
.form-control, .form-select { border-radius: 10px; padding: .68rem .9rem; border-color: #d5dfec; }
.form-control:focus, .form-select:focus { border-color: var(--nc-blue-light); box-shadow: 0 0 0 .2rem rgba(22, 115, 209, .15); }
.form-label { font-weight: 600; color: var(--nc-ink); font-size: .9rem; }
.map-card { background: #fff; border: 1px solid var(--nc-border); border-radius: var(--nc-radius); padding: 22px; box-shadow: var(--nc-shadow-sm); }
.map-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.map-card-head .icon { color: var(--nc-blue); }
.map-card-head small { color: var(--nc-muted); }
.map-visual {
  position: relative; height: 220px; border-radius: 12px; margin-bottom: 16px; overflow: hidden;
  background: linear-gradient(140deg, #073a7a, #1673d1 60%, #4aa2ff); display: grid; place-items: center;
}
.map-visual::after {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 30px 30px;
}
.map-pin { color: #fff; position: relative; z-index: 2; animation: bounce 2s infinite; }
.map-label { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #eaf3ff; font-size: .85rem; font-weight: 600; z-index: 2; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.info-box { background: var(--nc-bg); border: 1px solid var(--nc-border); border-radius: 14px; padding: 20px; }
.info-box h3 { font-size: 1rem; }
.region-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.region-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #eaf3ff; padding: 8px 16px; border-radius: 30px; font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--nc-blue-dark), var(--nc-blue) 60%, var(--nc-blue-light)); color: #dceafc; padding: 54px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.cta-band p { color: #cfe1f8; }

/* ---------- Footer ---------- */
.site-footer { background: #061f42; color: #9fb6d6; font-size: .93rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #7f9cc4; }
.site-footer p { color: #9fb6d6; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--nc-accent); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9fb6d6; }
.footer-links a:hover { color: #fff; padding-left: 4px; transition: padding .2s; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact a { color: #9fb6d6; }
.footer-contact a:hover { color: #fff; }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, .08); color: #cfe1f8; font-weight: 700; font-size: .85rem;
}
.social-links a:hover { background: var(--nc-blue-light); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .85rem; }

/* ---------- Floating widgets ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--nc-green); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { background: var(--nc-green-dark); color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.back-to-top {
  position: fixed; right: 26px; bottom: 158px; z-index: 1039; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--nc-blue); color: #fff; font-size: 1.2rem; opacity: 0; visibility: hidden;
  transition: all .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--nc-blue-dark); }

/* ---------- Public chat widget ---------- */
.chat-widget { position: fixed; right: 22px; bottom: 92px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; }
.chat-fab {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 52px; border: 0; border-radius: 26px;
  background: var(--nc-blue); color: #fff; font-weight: 600; box-shadow: 0 10px 26px rgba(30, 64, 175, .4);
  transition: background .2s, transform .2s;
}
.chat-fab:hover { background: var(--nc-blue-dark); color: #fff; transform: translateY(-2px); }
.chat-fab-label { font-size: .95rem; }
.chat-panel {
  position: absolute; bottom: 64px; right: 0; width: 340px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(15, 23, 42, .22); overflow: hidden;
  animation: chatIn .22s ease;
}
@keyframes chatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.chat-panel-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(120deg, var(--nc-blue), var(--nc-blue-dark)); color: #fff;
}
.chat-panel-head small { display: block; opacity: .85; font-size: .74rem; }
.chat-panel-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff;
  display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}
.chat-close { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; opacity: .8; padding: 0 2px; }
.chat-close:hover { opacity: 1; }
.chat-form, .chat-success { padding: 16px; }
.chat-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.chat-widget .form-label { font-size: .82rem; margin-bottom: 4px; }
.chat-widget .form-control { font-size: .92rem; }

/* ---------- Modal / forms feedback ---------- */
.modal-content { border: 0; border-radius: var(--nc-radius); overflow: hidden; box-shadow: var(--nc-shadow); }
.success-check { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: rgba(37, 211, 102, .14); color: var(--nc-green-dark); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-carousel .carousel-item.active .hero-bg { animation: none; }
}

/* ---------- 404 ---------- */
.not-found-section { padding: 110px 0; }
.error-code { font-size: clamp(4.5rem, 14vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--nc-blue-light), var(--nc-blue-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-slide { min-height: 520px; padding: 50px 0 80px; }
  .hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { display: none; }
  .section { padding: 64px 0; }
  .main-nav .navbar-collapse { background: #fff; padding: 12px 4px 4px; }
  .main-nav .btn-whatsapp { width: 100%; margin-top: 8px; }
  .trust-strip { margin-top: -30px; }
}
@media (max-width: 575.98px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-slide { min-height: 480px; }
  .section { padding: 52px 0; }
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .chat-widget { right: 14px; bottom: 80px; }
  .chat-fab { width: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .chat-fab-label { display: none; }
  .chat-panel { width: calc(100vw - 28px); right: -2px; }
  .back-to-top { right: 18px; bottom: 144px; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Project gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px;
}
.gallery-item {
  border: 0; padding: 0; background: none; cursor: pointer; display: flex; flex-direction: column;
  gap: 8px; text-align: left;
}
.gallery-thumb {
  display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: 12px;
  background-size: cover; background-position: center; background-color: #0a3f83;
  box-shadow: var(--nc-shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item:hover .gallery-thumb, .gallery-item:focus-visible .gallery-thumb {
  transform: translateY(-4px); box-shadow: var(--nc-shadow);
}
.gallery-caption { font-size: .82rem; color: var(--nc-body); }

/* ---------- Lightbox ---------- */
.lightbox-modal .modal-content {
  background: rgba(6, 22, 42, .96); border: 0; border-radius: 14px; overflow: hidden;
}
.lightbox-close {
  position: absolute; top: 8px; right: 14px; z-index: 5; border: 0; background: none;
  color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; }
.lightbox-image { width: 100%; max-height: 78vh; object-fit: contain; display: block; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .18); color: #fff; font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, .32); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-caption {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 12px 18px; color: #d9e6f8; font-size: .9rem;
}
.lightbox-counter { color: #9fc2ee; font-variant-numeric: tabular-nums; }

/* ---------- Portfolio slider (home) ---------- */
.portfolio-slider { position: relative; }
.slider-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 8px 2px 22px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-slide { flex: 0 0 auto; width: calc((100% - 72px) / 4); scroll-snap-align: start; display: flex; }
.slider-slide > * { width: 100%; }
@media (max-width: 1199.98px) { .slider-slide { width: calc((100% - 48px) / 3); } }
@media (max-width: 991.98px) { .slider-slide { width: calc((100% - 24px) / 2); } }

.slider-nav {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s;
}
.slider-nav:hover:not(:disabled) { background: rgba(255, 255, 255, .34); }
.slider-nav:disabled { opacity: .3; cursor: default; }
.slider-prev { left: -6px; }
.slider-next { right: -6px; }
@media (max-width: 767.98px) {
  .slider-slide { width: 85%; }
  .slider-nav { display: none; }
}

/* ---------- Popup messages from the admin ---------- */
.nc-msg-popup {
  position: fixed; left: 18px; bottom: 18px; z-index: 1080;
  width: min(340px, calc(100vw - 36px));
  background: #fff; border-radius: 14px; border: 1px solid var(--nc-border);
  box-shadow: 0 18px 44px rgba(13, 27, 44, .22);
  padding: 16px; animation: ncPopupIn .28s ease;
}
@keyframes ncPopupIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.nc-msg-popup-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--nc-ink); }
.nc-msg-popup-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--nc-blue); color: #fff;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700; flex: 0 0 auto;
}
.nc-msg-popup-close {
  margin-left: auto; border: 0; background: transparent; color: var(--nc-muted);
  font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 4px;
}
.nc-msg-popup-close:hover { color: var(--nc-ink); }
.nc-msg-popup-body { color: var(--nc-body); font-size: .92rem; margin: 0 0 12px; white-space: pre-wrap; }
.nc-msg-popup-thread { max-height: 220px; overflow-y: auto; margin-bottom: 10px; }
.nc-msg-bubble {
  max-width: 88%; padding: 7px 11px; border-radius: 12px; margin-bottom: 6px;
  font-size: .86rem; background: #f1f3f5; border: 1px solid var(--nc-border);
}
.nc-msg-bubble p { margin: 0; white-space: pre-wrap; color: var(--nc-ink); }
.nc-msg-bubble small { display: block; margin-top: 3px; color: var(--nc-muted); font-size: .68rem; }
.nc-msg-bubble.from-admin { background: #e8f1ff; border-color: #cfe0fb; }
.nc-msg-popup-thread .nc-msg-bubble.from-visitor { margin-left: auto; background: var(--nc-blue); border-color: var(--nc-blue); }
.nc-msg-popup-thread .nc-msg-bubble.from-visitor p,
.nc-msg-popup-thread .nc-msg-bubble.from-visitor small { color: #fff; }
@media (max-width: 575.98px) {
  .nc-msg-popup { left: 12px; right: 12px; bottom: 86px; width: auto; }
}

/* ---------- Chat widget conversation thread ---------- */
.chat-conv { display: flex; flex-direction: column; gap: 10px; }
.chat-thread { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 2px; }
.chat-thread p.text-muted { padding: 8px 10px; }
.chat-bubble { max-width: 85%; padding: 8px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.4; }
.chat-bubble p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.chat-bubble small { display: block; font-size: .68rem; opacity: .6; margin-top: 3px; }
.chat-bubble.from-visitor { align-self: flex-end; background: #1673d1; color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.from-admin { align-self: flex-start; background: #eef2f6; color: #1c2733; border-bottom-left-radius: 4px; }
.chat-conv-bar { display: flex; gap: 8px; align-items: flex-end; }
.chat-conv-bar .form-control { resize: none; }
.chat-conv-bar .btn { flex-shrink: 0; }
.chat-identity .form-control { font-size: .9rem; }
