@font-face { font-family:'CFS Reference'; src:url('assets/cfs-regular.ttf') format('truetype'); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:'CFS Reference'; src:url('assets/cfs-bold.ttf') format('truetype'); font-style:normal; font-weight:600 900; font-display:swap; }
/* Civil Foremen Services: every class is scoped with the cfs- prefix.
   Desktop proportions follow the supplied 1920 x 5067 Figma PDF canvas. */
.cfs-page { margin:0; background:#fff; color:#515249; font-family:'CFS Reference','Segoe UI',Arial,sans-serif; -webkit-font-smoothing:antialiased; }
.cfs-page *, .cfs-page *::before, .cfs-page *::after { box-sizing:border-box; }
.cfs-page a { color:inherit; }
.cfs-page a:focus-visible, .cfs-page summary:focus-visible { outline:2px solid #a38c28; outline-offset:5px; }
.cfs-container { width:70%; margin-inline:auto; }


.cfs-hero-image { width:100%; height:100%; display:block; object-fit:cover; }

.cfs-contact-bar { background:#515249; color:white; }
.cfs-contact-inner { width:63%; min-height:3.333333vw; margin-inline:auto; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.cfs-contact-link { display:inline-flex; align-items:center; gap:.62vw; text-decoration:none; font-size:.9375vw; line-height:1.5; white-space:nowrap; }
.cfs-contact-link:hover { text-decoration:underline; text-underline-offset:4px; }
.cfs-contact-icon { width:1.05vw; height:1.05vw; fill:currentColor; flex-shrink:0; }
.cfs-main { display:flow-root; }
.cfs-title-section { display:grid; grid-template-columns:52.6% 43.9%; gap:3.5%; min-height:20.989583vw; padding-top:5.208333vw; }
.cfs-page-title { font-size:3vw; line-height:1.16; font-weight:700; letter-spacing:-.09vw; color:#979797; margin:0; }
.cfs-title-light { font-weight:400; color:#a9a8a8; }
.cfs-title-copy { min-width:0; }
.cfs-paragraph { font-size:14px; line-height:1.75; font-weight:400; margin:0 0 .78125vw; letter-spacing:0; }
.cfs-button { display:inline-flex; justify-content:center; align-items:center; gap:.5vw; padding:.65vw 1.6vw; min-width:9.270833vw; min-height:2.447917vw; border-radius:.625vw; color:white!important; background:#a38c28; text-decoration:none; font-size:.833333vw; line-height:1.2; font-weight:600; cursor:pointer; border:0; }
.cfs-button:hover { background:#8d7822; }
.cfs-introduction { display:grid; grid-template-columns:45.11278% 1fr; gap:2.604167vw; align-items:start; margin-bottom:5.15625vw; margin-top: 80px; }
.cfs-team-photo { display:block; width:100%; height:28.333333vw; object-fit:cover; }
.cfs-intro-copy { min-width:0; padding-top:1.666667vw; }
.cfs-intro-heading, .cfs-section-heading { margin:0 0 1.302083vw; font-size:2.1875vw; line-height:1.33; font-weight:700; letter-spacing:0; }
.cfs-intro-heading { color:#979797; margin-bottom:1.354167vw; }
.cfs-heading-light { color:#a9a8a8; }
.cfs-services { min-height:50.989583vw; padding-top:5.260417vw; padding-bottom:5.208333vw; background:#a38c28; color:#fff; }
.cfs-services-inner, .cfs-faq-inner { width:70.74468%; }
.cfs-services-description { margin-bottom:1.5625vw; }
.cfs-service-grid { display:grid; grid-template-columns:repeat(5, 1fr); gap:.78125vw; list-style:none; padding:0; margin:0; }
.cfs-service-card { min-height:9.21875vw; background:#97832d; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.625vw; padding:.5vw .15vw; text-align:center; }
.cfs-service-card-light { background:#fff; color:#a38c28; }
.cfs-service-card-dark { background:#505249; }
.cfs-service-icon { display:block; width:3.666667vw; height:3.666667vw; object-fit:contain; }
.cfs-service-card-light .cfs-service-name { color: #a38c28;}
.cfs-service-name { margin:0; font-weight:700; font-size:.9375vw; line-height:1.3; white-space:nowrap;    color: white; }
.cfs-information { background:#f4f4f4; min-height:30.208333vw; padding:6.770833vw 0 5.208333vw; text-align:center; }
.cfs-information-inner { width:50%; margin-inline:auto; }
.cfs-muted-heading { color:#979797; margin-bottom:1.875vw; }
.cfs-information .cfs-paragraph { margin-bottom:.625vw; }
.cfs-blogs { padding:5.208333vw 0; min-height:44.427083vw; }
.cfs-blog-intro { margin-bottom:1.5625vw; color:#6c6c6c; }
.cfs-blog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.041667vw; }
.cfs-blog-card { min-width:0; }
.cfs-blog-image { display:block; width:100%; height:15.625vw; object-fit:cover; }
.cfs-blog-title { font-size:1.25vw; line-height:1.3; margin:1.25vw 0 .78125vw; font-weight:700; letter-spacing:0; }
.cfs-blog-excerpt { line-height:1.5; margin-bottom:1.041667vw; }
.cfs-blog-details { position:relative; }
.cfs-read-more { list-style:none; min-width:8.645833vw; }
.cfs-read-more::-webkit-details-marker { display:none; }
.cfs-read-plus { font-size:1.15vw; font-weight:400; }
.cfs-blog-expanded { background:#f4f4f4; padding:1vw; margin-top:1vw; }

/* =====================================
   BLOG SECTION - EQUAL HEIGHT CARDS
===================================== */

.cfs-blogs .cfs-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 30px;
    align-items: stretch;
}

/* Individual blog card */
.cfs-blogs .cfs-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

/* Blog image */
.cfs-blogs .cfs-blog-card > a:first-child {
    display: block;
    width: 100%;
    overflow: hidden;
}

.cfs-blogs .cfs-blog-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.43 / 1;
    height: auto;
    object-fit: cover;
}

/* Blog title */
.cfs-blogs .cfs-blog-title {
    min-height: 2.6em;
    line-height: 1.3;
    margin-top: 25px;
    margin-bottom: 12px;
}

/* Blog description */
.cfs-blogs .cfs-blog-excerpt {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Read More button */
.cfs-blogs .cfs-read-more {
    margin-top: auto;
    align-self: flex-start;
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 991px) {
    .cfs-blogs .cfs-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 600px) {
    .cfs-blogs .cfs-blog-grid {
        grid-template-columns: 1fr;
    }

    .cfs-blogs .cfs-blog-title {
        min-height: unset;
    }
}

.cfs-faq { min-height:33.072917vw; background:#f2f2f2; padding:5.208333vw 0; }
.cfs-faq-inner { display:grid; grid-template-columns:1fr 60.36%; gap:5.208333vw; }
.cfs-faq-copy .cfs-section-heading { margin-bottom:.625vw; }
.cfs-faq-copy .cfs-paragraph { color:#6c6c6c; }
.cfs-faq-list { display:grid; align-content:start; gap:.833333vw; }
.cfs-faq-item { background:#fff; padding:.9375vw 1.041667vw; }
.cfs-faq-question { display:flex; align-items:center; justify-content:space-between; gap:1vw; list-style:none; cursor:pointer; font-size:1.041667vw; line-height:1.3; }
.cfs-faq-question::-webkit-details-marker { display:none; }
.cfs-faq-question::after { content:'+'; font-size:1.25vw; font-weight:300; }
.cfs-faq-item[open] .cfs-faq-question::after { content:'\2212'; }
.cfs-faq-answer { color:#6c6c6c; margin:.625vw 0 0; font-size:.833333vw; line-height:1.25; }
@media (max-width:767px) {
 .cfs-container { width:88%; }
 .cfs-panel { margin-inline:10px; }
 .cfs-hero { height:90vw; min-height:190px; }
 .cfs-hero-image { object-position:center; }
 .cfs-menu { top:20px; left:6%; }
 .cfs-menu-line { margin-bottom:7px; }
 .cfs-hotline { top:16px; right:6%; gap:5px; }
 .cfs-hotline-number { font-size:30px; }
 .cfs-hotline-caption { font-size:8px; letter-spacing:2px; }
 .cfs-contact-inner { width:92%; min-height:50px; padding-block:12px; flex-wrap:wrap; justify-content:center; gap:10px 20px; }
 .cfs-contact-link { font-size:12px; gap:6px; }
 .cfs-contact-icon { width:14px; height:14px; }
 .cfs-title-section { padding:42px 0; grid-template-columns:1fr; gap:24px; min-height:0; }
 .cfs-page-title { font-size:clamp(40px,9vw,64px); letter-spacing:-1px; }
 .cfs-paragraph { font-size:14px; line-height:1.75; letter-spacing:0; margin-bottom:16px; }
 .cfs-button { font-size:14px; min-height:43px; min-width:145px; padding:12px 24px; border-radius:10px; gap:10px; }
 .cfs-introduction { grid-template-columns:1fr; gap:28px; margin-bottom:45px; }
 .cfs-team-photo { height:auto; }
 .cfs-intro-copy { padding-top:0; }
 .cfs-intro-heading, .cfs-section-heading { font-size:clamp(25px,5vw,34px); line-height:1.3; letter-spacing:-.4px; margin-bottom:20px; }
 .cfs-desktop-break { display:none; }
 .cfs-services { padding:42px 0; min-height:0; }
 .cfs-services-inner, .cfs-faq-inner { width:88%; }
 .cfs-services-description { margin-bottom:24px; }
 .cfs-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .cfs-service-card, .cfs-service-card-last-row { grid-column:auto; min-height:145px; gap:10px; padding:16px 6px; }
 .cfs-service-icon { width:58px; height:58px; }
 .cfs-service-name { font-size:13px; white-space:normal; }
 .cfs-information { min-height:0; padding:45px 0; }
 .cfs-information-inner { width:88%; }
 .cfs-information .cfs-paragraph { margin-bottom:16px; }
 .cfs-blogs { padding:45px 0; min-height:0; }
 .cfs-blog-intro { margin-bottom:24px; }
 .cfs-blog-grid { grid-template-columns:1fr; gap:32px; }
 .cfs-blog-image { height:auto; aspect-ratio:1.43; }
 .cfs-blog-title { font-size:22px; margin:18px 0 12px; }
 .cfs-blog-excerpt { margin-bottom:18px; }
 .cfs-read-plus { font-size:20px; }
 .cfs-blog-expanded { padding:16px; margin-top:14px; }
 .cfs-faq { padding:45px 0; min-height:0; }
 .cfs-faq-inner { grid-template-columns:1fr; gap:24px; }
 .cfs-faq-copy .cfs-section-heading { margin-bottom:16px; }
 .cfs-faq-list { gap:12px; }
 .cfs-faq-item { padding:16px; }
 .cfs-faq-question { font-size:16px; gap:12px; }
 .cfs-faq-question::after { font-size:22px; }
 .cfs-faq-answer { font-size:14px; line-height:1.5; margin:12px 0 0; }
}
