/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    background: #f5f5f5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #ff7302; text-decoration: none; transition: color .2s ease; }
a:hover { color: #ffa902; }
h1, h2, h3, h4, h5, h6 { font-family: 'Roboto', sans-serif; color: #2c3e50; margin: 0 0 .6em; line-height: 1.25; }
h1 { font-size: 36px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 22px; }
h4 { font-size: 18px; font-weight: 700; color: #34495e; }
p { margin: 0 0 1em; }

/* ===== Layout ===== */
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* ===== Header ===== */
.header-top { background: #fff; padding: 18px 0; border-bottom: 1px solid #eee; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { max-height: 80px; width: auto; }
.login-icon {
    width: 38px; height: 38px; border-radius: 50%;
    background: #34495e; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.login-icon:hover { background: #ff7302; color: #fff; }

/* ===== Navigation ===== */
.navigation { background: #34495e; }
.navbar { display: flex; align-items: stretch; }
.nav-toggle {
    display: none; background: none; border: 0; color: #fff;
    font-size: 22px; padding: 14px 18px; cursor: pointer;
}
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; }
.nav-menu li a {
    display: block; padding: 16px 22px; color: #fff;
    font-weight: 600; text-transform: uppercase; font-size: 13px;
    letter-spacing: .4px;
}
.nav-menu li a:hover, .nav-menu li.active a { background: #ff7302; color: #fff; }

/* ===== Hero (home) ===== */
.hero {
    position: relative;
    min-height: 360px;
    padding: 50px 0;
    background-size: cover;
    background-position: center;
    background-color: #2c3e50;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20,30,48,.85) 0%, rgba(20,30,48,.55) 55%, rgba(20,30,48,.25) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content {
    color: #fff;
    max-width: 640px;
}
.hero-eyebrow {
    display: inline-block;
    color: #ff7302;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.hero-title {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}
.hero-sub {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255,255,255,.85);
    margin: 0 0 24px;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff7302;
    color: #fff;
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background .2s ease, transform .2s ease;
}
.hero-cta:hover { background: #ffa902; color: #fff; transform: translateY(-1px); }
.hero-cta.secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
}
.hero-cta.secondary:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Stats strip ===== */
.stats-strip {
    background: #fff;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.stat { text-align: center; padding: 0 6px; border-right: 1px solid #eee; }
.stat:last-child { border-right: 0; }
.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1;
}
.stat-label {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7785;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Section headings on home ===== */
.section-heading { text-align: center; margin: 60px 0 32px; }
.section-heading .eyebrow {
    color: #ff7302;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.section-heading h2 {
    margin: 8px 0 0;
    font-size: 30px;
    color: #2c3e50;
}
.section-heading p {
    max-width: 620px;
    margin: 14px auto 0;
    color: #6b7785;
}

/* ===== Service preview cards (home) ===== */
.preview-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.preview-card {
    position: relative;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.preview-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.preview-card .preview-img { height: 180px; overflow: hidden; }
.preview-card .preview-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.preview-card:hover .preview-img img { transform: scale(1.05); }
.preview-card .preview-body { padding: 22px; }
.preview-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #2c3e50;
}
.preview-card p { color: #6b7785; font-size: 14px; margin: 0 0 14px; }
.preview-card .preview-link {
    color: #ff7302;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.preview-card .preview-link::after { content: " \2192"; }

/* ===== About section (home) ===== */
.about-home {
    background: #fff;
    border-radius: 6px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    margin-bottom: 60px;
    border-left: 4px solid #ff7302;
}
.about-home h2 { margin-top: 0; color: #2c3e50; }
.about-home p { color: #4a5765; line-height: 1.7; }

/* ===== Page header ===== */
.page-header {
    position: relative;
    height: 220px;
    background: #34495e url('../images/home.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    margin-bottom: 30px;
}
.page-header::before {
    content: ""; position: absolute; inset: 0;
    background: rgba(0,0,0,.45);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; margin: 0; font-size: 38px; }
.breadcrumb {
    list-style: none; padding: 0; margin: 8px 0 0;
    display: flex; gap: 6px; font-size: 14px;
}
.breadcrumb li::after { content: "/"; margin-left: 6px; opacity: .6; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li a { color: #ff7302; }
.breadcrumb li.active { color: #fff; }

/* ===== Content blocks ===== */
.page-content {
    background: #fff;
    border-radius: 4px;
    padding: 36px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    margin-bottom: 30px;
}
.page-content h4 { margin-top: 1.4em; }
.page-content h4:first-child { margin-top: 0; }

/* ===== Services grid ===== */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.service-card img {
    width: 100%; height: 185px; object-fit: cover;
}
.service-card .card-body { padding: 20px; }
.service-card h4 { margin: 0 0 12px; color: #34495e; }
.service-card p { color: #666; font-size: 14px; }

/* ===== Tab box (home page about) ===== */
.tab-box {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    margin: 40px 0;
    overflow: hidden;
}
.tab-header {
    background: #34495e;
    color: #fff;
    padding: 16px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: .4px;
    border-left: 4px solid #ff7302;
}
.tab-body { padding: 30px; }

/* ===== Contact ===== */
.contact-block { margin-bottom: 26px; }
.contact-block h4 {
    border-left: 3px solid #ff7302;
    padding-left: 10px;
    margin-bottom: 10px;
}
.contact-block a { color: #34495e; font-weight: 500; }
.contact-block a:hover { color: #ff7302; }
.map-wrap { margin-top: 24px; }
.map-wrap iframe {
    width: 100%; height: 420px; border: 0; display: block;
    border-radius: 4px;
}

/* ===== Project list ===== */
.project-list h4 {
    border-left: 3px solid #ff7302;
    padding-left: 10px;
    margin-top: 1.5em;
}
.project-list p { margin-top: 4px; color: #555; }
.project-intro-note {
    background: #fff7ef;
    border: 1px solid #ffe0c2;
    border-left: 4px solid #ff7302;
    padding: 14px 18px;
    border-radius: 4px;
    margin: 0 0 22px;
    color: #4a3520;
    font-size: 14px;
}
.project-intro-note a { font-weight: 600; }
.projects-cta {
    margin-top: 36px;
    padding: 28px;
    background: #2c3e50;
    border-radius: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.projects-cta h3 { color: #fff; margin: 0 0 6px; font-size: 20px; }
.projects-cta p { color: rgba(255,255,255,.8); margin: 0; font-size: 14px; }
.projects-cta .hero-cta { white-space: nowrap; flex-shrink: 0; }

/* ===== About checks ===== */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding: 4px 0 4px 26px; position: relative; }
.check-list li::before {
    content: "\2713";
    position: absolute; left: 0; top: 3px;
    color: #ff7302; font-weight: 800;
}

/* ===== Service detail page ===== */
.service-section { margin: 24px 0; }
.service-section h4 {
    border-left: 3px solid #ff7302;
    padding-left: 10px;
    margin-top: 1.5em;
    margin-bottom: 16px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}
.gallery a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: transform .25s ease, box-shadow .25s ease;
}
.gallery a:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.10); }
.gallery .project-image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #eee;
    overflow: hidden;
}
.gallery .project-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gallery a:hover .project-image img { transform: scale(1.05); }
.gallery .project-image::after {
    content: "\1F50D";
    position: absolute;
    top: 10px; right: 10px;
    width: 32px; height: 32px;
    background: rgba(255,115,2,.95);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity .2s ease;
}
.gallery a:hover .project-image::after { opacity: 1; }
.gallery .caption {
    display: block;
    background: #fff;
    color: #2c3e50;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    border-top: 2px solid #ff7302;
    line-height: 1.3;
}
.gallery .caption small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #6b7785;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Projects intro on service page */
.projects-heading {
    margin: 40px 0 6px;
    font-size: 22px;
    color: #2c3e50;
    border-left: 3px solid #ff7302;
    padding-left: 10px;
}
.projects-intro {
    color: #6b7785;
    margin: 0 0 26px;
}

/* "Other services" list at bottom */
.other-services {
    margin-top: 50px;
    padding: 28px;
    background: #f7f8fa;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}
.other-services h3 {
    margin: 0 0 18px;
    font-size: 20px;
    color: #2c3e50;
}
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px 18px;
}
.services-list li {
    padding: 8px 0 8px 26px;
    position: relative;
    color: #2c3e50;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
}
.services-list li:last-child { border-bottom: 0; }
.services-list li::before {
    content: "\2713";
    position: absolute; left: 0; top: 8px;
    color: #ff7302;
    font-weight: 800;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 2000;
    align-items: center; justify-content: center;
    padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 40px rgba(0,0,0,.6);
}
.lightbox-close {
    position: absolute; top: 16px; right: 22px;
    background: transparent; border: 0;
    color: #fff; font-size: 36px; cursor: pointer;
    line-height: 1;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    color: #fff; border: 0;
    width: 50px; height: 50px;
    font-size: 26px; cursor: pointer;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-caption {
    position: absolute; bottom: 24px; left: 0; right: 0;
    text-align: center; color: #fff; font-size: 14px;
    padding: 0 60px;
}

@media (max-width: 600px) {
    .lightbox-nav { width: 40px; height: 40px; font-size: 20px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* ===== Service card readmore button ===== */
.readmore-btn {
    display: inline-block;
    margin-top: 12px;
    background: #ff7302;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.readmore-btn:hover { background: #ffa902; color: #fff !important; }

/* ===== Footer ===== */
footer {
    background: #2c3e50;
    color: #aab7c4;
    padding: 26px 0;
    font-size: 13px;
    margin-top: 40px;
}
footer a { color: #ff7302; }

/* ===== Off-canvas menu (mobile) ===== */
.offcanvas-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5); z-index: 999;
}
.offcanvas-menu {
    position: fixed; top: 0; left: -280px;
    width: 280px; height: 100%;
    background: #2c3e50; color: #fff;
    z-index: 1000;
    transition: left .3s ease;
    overflow-y: auto;
}
.offcanvas-menu.open { left: 0; }
.offcanvas-overlay.open { display: block; }
.offcanvas-menu h2 {
    padding: 24px 22px 12px;
    color: #fff; margin: 0; font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.offcanvas-menu ul { list-style: none; margin: 0; padding: 0; }
.offcanvas-menu li a {
    display: block; padding: 14px 22px; color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.offcanvas-menu li a:hover { background: #ff7302; }
.offcanvas-close {
    position: absolute; top: 12px; right: 16px;
    background: transparent; color: #fff; border: 0;
    font-size: 28px; cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu { display: none; }
    .hero { min-height: 320px; padding: 36px 0; }
    .hero-title { font-size: 28px; }
    .hero-sub { font-size: 15px; margin-bottom: 18px; }
    .hero-actions { gap: 10px; }
    .hero-cta { padding: 11px 18px; font-size: 13px; }
    .hero::before {
        background: linear-gradient(180deg, rgba(20,30,48,.45) 0%, rgba(20,30,48,.75) 100%);
    }
    .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 18px; gap: 10px; }
    .stat { border-right: 0; border-bottom: 1px solid #eee; padding: 10px 0; }
    .stat:nth-last-child(-n+2) { border-bottom: 0; }
    .stat-value { font-size: 26px; }
    .about-home { padding: 24px; }
    .section-heading { margin: 40px 0 24px; }
    .page-header { height: 170px; }
    .page-header h1 { font-size: 28px; }
    .page-content { padding: 22px; }
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    .logo img { max-height: 56px; }
}
