/*
Theme Name: ECOFLOOR
Theme URI: https://ecofloor.vn
Author: Dichvuhost
Description: Theme giao diện cho công ty thi công sơn Epoxy và sàn công nghiệp ECOFLOOR.
Version: 1.0
Text Domain: ecofloor
*/

/* --- Reset & Variables --- */
:root {
    --primary-blue: #004d99;
    --primary-green: #4CAF50;
    --text-color: #333333;
    --text-gray: #666666;
    --bg-light: #f9f9fa;
    --bg-blue-light: #f0f7ff;
    --border-color: #e5e5e5;
    --font-main: 'Inter', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
a:hover {
    color: var(--primary-green);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}
ul {
    list-style: none;
}

/* --- Utilities --- */
.section-padding { padding: 60px 0; }
.text-center { text-align: center; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.bg-light { background-color: var(--bg-light); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.btn-primary { background-color: var(--primary-green); color: #fff; }
.btn-primary:hover { background-color: #45a049; color: #fff; }
.btn-outline { background-color: transparent; border: 2px solid var(--primary-blue); color: var(--primary-blue); }
.btn-outline:hover { background-color: var(--primary-blue); color: #fff; }

/* --- Header --- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
}
body.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.header-top {
    min-height: 94px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(720px, 1.6fr);
    align-items: center;
    gap: 24px;
}
.site-branding {
    display: flex;
    justify-content: flex-start;
}
.site-branding .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.site-branding img {
    width: auto;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}
.text-logo {
    line-height: 1.1;
}
.site-title {
    color: var(--primary-blue);
    font-size: 30px;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0;
}
.site-title span {
    color: var(--primary-green);
}
.site-description {
    color: var(--text-gray);
    font-size: 11px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0;
}
.header-hotline {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-green);
    flex-shrink: 0;
}
.header-hotline span {
    display: block;
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.1;
    text-transform: none;
}
.header-hotline a {
    display: block;
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
}
.header-hotline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}
.header-search {
    display: flex;
    flex: 1;
    max-width: 350px;
    height: 42px;
    border: 1px solid var(--primary-green);
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}
.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 14px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 13px;
}
.header-search button {
    width: 48px;
    border: 0;
    background: var(--primary-green);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.header-quote {
    height: 42px;
    padding: 0 22px;
    text-transform: uppercase;
    white-space: nowrap;
}
.header-nav-wrap {
    background: var(--primary-blue);
}
.header-nav-container {
    min-height: 48px;
    display: flex;
    align-items: center;
}
.main-navigation {
    width: 100%;
}
.main-navigation ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-navigation li {
    position: relative;
}
.main-navigation a { display: flex; align-items: center; min-height: 48px; padding: 0 15px; font-weight: 700; color: #fff; text-transform: uppercase; font-size: 13px; text-decoration: none; border-bottom: 0; transition: all 0.3s; }
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a { background: rgba(255,255,255,0.12); color: #fff; }
.main-navigation .menu-item-has-children > a { display: flex; align-items: center; gap: 4px; }
.main-navigation .menu-item-has-children > a::after {
    content: ""; display: inline-block; width: 6px; height: 6px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); margin-top: -3px;
}
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    z-index: 1000;
}
.main-navigation li:hover > .sub-menu {
    display: block;
}
.main-navigation .sub-menu a {
    min-height: auto;
    padding: 12px 16px;
    color: var(--text-color);
    justify-content: flex-start;
}
.main-navigation .sub-menu a:hover {
    color: var(--primary-green);
    background: #f7fbff;
}
.header-contact { display: flex; align-items: center; gap: 20px; }
.hotline-box { display: flex; align-items: center; gap: 10px; }
.hotline-text { display: flex; flex-direction: column; line-height: 1.2; }
.hotline-text .label { font-size: 12px; color: var(--text-gray); }
.hotline-text .number { font-weight: bold; color: var(--primary-blue); font-size: 16px; }
.menu-toggle { display: none; }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; opacity: 0.8;
}
.hero-container { position: relative; z-index: 1; }
.hero-title { font-size: 42px; color: var(--primary-blue); margin-bottom: 15px; line-height: 1.2; text-transform: uppercase; }
.hero-subtitle { font-size: 20px; color: var(--text-gray); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 15px; margin-bottom: 60px; }

/* Feature Bar */
.feature-bar {
    display: flex; background: #fff; border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 15px 30px;
    justify-content: space-between; margin-top: -30px; position: absolute;
    bottom: -50px; left: 15px; right: 15px; z-index: 2;
}
.feature-item { display: flex; align-items: center; gap: 10px; }
.feature-item .text { display: flex; flex-direction: column; font-size: 13px; }
.feature-item strong { color: var(--primary-blue); }
.feature-item span { color: var(--text-gray); }

/* --- Sections Common --- */
.section-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px; border-bottom: 2px solid var(--primary-blue); padding-bottom: 10px;
}
.section-title { font-size: 20px; color: var(--primary-blue); display: flex; align-items: center; gap: 10px; margin: 0; }
.view-all { color: var(--primary-green); font-weight: 600; }

/* Service Card */
.service-card {
    background: #fff; border-radius: 8px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-5px); }
.service-card .img-box { height: 180px; background: #eee; }
.service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-title { font-size: 15px; text-align: center; padding: 15px; color: var(--primary-blue); }

/* Why Choose Us */
.why-choose-us .stats-box {
    display: flex; 
    background: #f7fbff; 
    border-radius: 12px;
    padding: 25px 15px; 
    align-items: center;
    justify-content: space-between; 
    border: 1px solid #e1ecf8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.stat-title-col {
    position: relative;
    padding: 10px 25px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 20%;
}
.stat-title-col h2 { 
    color: var(--primary-blue); 
    font-size: 20px; 
    line-height: 1.4; 
    font-weight: 800;
    margin: 0;
}
.leaf-accent {
    display: block;
    filter: drop-shadow(0 3px 5px rgba(76, 175, 80, 0.18));
}
.stat-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 15px; 
    padding: 10px 20px;
    border-left: 1px solid #dce8f5;
    flex: 1;
}
.stat-icon { flex-shrink: 0; }
.stat-text { display: flex; flex-direction: column; }
.stat-val { 
    font-size: 22px; 
    color: var(--primary-blue); 
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 3px;
}
.stat-label { 
    font-size: 11px; 
    color: var(--primary-blue); 
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}
.stat-desc { 
    font-size: 11px; 
    color: #666; 
    line-height: 1.5; 
    margin: 0;
}

/* Projects */
.project-card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); }
.project-card .img-box { height: 200px; background: #eee; }
.project-card img { width: 100%; height: 100%; object-fit: cover; }
.project-info { padding: 15px; }
.project-title { font-size: 16px; color: var(--primary-blue); margin-bottom: 5px; }
.project-desc { font-size: 14px; color: var(--text-gray); }

/* Process Timeline */
.process-timeline { display: flex; justify-content: space-between; position: relative; padding-top: 30px; gap: 15px; }
.process-step { text-align: center; flex: 1; position: relative; z-index: 1; display: flex; flex-direction: column; }

.step-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 45px 15px 20px; height: 100%; margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.step-icon {
    width: 60px; height: 60px; background: #fff; border: 1px solid var(--primary-blue);
    border-radius: 50%; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary-blue); z-index: 2;
}
.step-icon svg {
    width: 30px;
    height: 30px;
    display: block;
}

/* Alternate colors for steps */
.process-step:nth-child(even) .step-icon { border-color: var(--primary-green); color: var(--primary-green); }
.process-step:nth-child(odd) .step-icon { border-color: var(--primary-blue); color: var(--primary-blue); }

.process-step h4 { font-size: 14px; color: var(--primary-blue); margin-bottom: 10px; text-transform: uppercase; font-weight: 700; }
.process-step p { font-size: 13px; color: #444444; line-height: 1.5; }

/* Feedback Box (Testimonial & FAQ) */
.feedback-box {
    display: flex;
    background: #f7fbff;
    border-radius: 12px;
    border: 1px solid #e1ecf8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.feedback-col { flex: 1; padding: 40px; }
.faq-col { border-left: 1px solid #dce8f5; }
.box-title {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Testimonial */
.testimonial-item { display: none; position: relative; }
.testimonial-item.is-active,
.testimonial-item:first-of-type { display: block; }
.testimonials-col.has-slider .testimonial-item:first-of-type:not(.is-active) { display: none; }
.quote-icon {
    position: absolute; top: 0; left: 0; opacity: 0.8;
}
.quote-text {
    font-size: 14px; color: #555; line-height: 1.6;
    padding-left: 45px; margin-bottom: 20px;
}
.author { display: flex; align-items: center; padding-left: 45px; margin-bottom: 30px; }
.author-info strong {
    display: block; color: var(--primary-blue); font-size: 15px; margin-bottom: 2px;
}
.author-info span { font-size: 13px; color: #777; }
.slider-dots { display: flex; justify-content: center; gap: 8px; }
.slider-dots .dot {
    width: 8px; height: 8px; border-radius: 50%; background: #ccc; cursor: pointer;
}
.slider-dots .dot.active { background: var(--primary-blue); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: #fff;
    border: 1px solid #e1ecf8;
    border-radius: 6px;
    overflow: hidden;
}
.faq-title {
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-title .toggle-icon {
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}
.faq-content {
    display: none;
    padding: 0 20px 15px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
.faq-item.active .faq-content { display: block; }
.faq-item.active .toggle-icon { transform: rotate(45deg); }

/* Footer */
.site-footer { padding-top: 0; padding-bottom: 30px; background: transparent; }
.footer-col h3 { font-size: 11px; margin-bottom: 8px; opacity: 0.8; text-transform: uppercase; }
.footer-col p { font-size: 11px; margin: 0; line-height: 1.5; opacity: 0.9; }
.footer-col a {
    color: #fff;
}
.footer-logo {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 62px;
    background: #fff;
    border-radius: 50%;
    padding: 7px;
    overflow: hidden;
}
.footer-logo-img {
    width: auto;
    height: auto;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}
.social-links a { transition: opacity 0.3s ease; }
.social-links a:hover { opacity: 0.8; }
.footer-bottom { padding: 15px 0 0 0; text-align: center; }
.footer-cert-col {
    min-width: 210px;
}
.footer-cert-col h3 {
    margin-bottom: 12px !important;
    letter-spacing: 0;
}
.cert-logos {
    display: flex;
    align-items: center;
    gap: 18px;
}
.cert-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    line-height: 1;
}
.cert-logo svg {
    display: block;
    overflow: visible;
}
.cert-logo-iso svg {
    width: 58px;
    height: 34px;
}
.cert-logo-quatest svg {
    width: 62px;
    height: 34px;
}
.cert-logo-jotun svg {
    width: 70px;
    height: 28px;
}
.cert-mark-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: 0.9;
}
.cert-iso-text {
    fill: currentColor;
    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -1px;
}
.cert-small-text,
.cert-quatest-text {
    fill: currentColor;
    font-family: Arial, sans-serif;
    font-size: 7px;
    font-weight: 800;
}
.cert-quatest-symbol {
    fill: currentColor;
    font-family: Arial, sans-serif;
    font-size: 29px;
    font-weight: 900;
}
.cert-quatest-tail {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
}
.cert-quatest-text {
    font-size: 8px;
    letter-spacing: -0.2px;
}
.cert-logo-jotun rect {
    fill: #ffb600;
}
.cert-logo-jotun circle {
    fill: #fff;
}
.cert-logo-jotun path {
    fill: #1f5da8;
}
.cert-logo-jotun text {
    fill: #003b79;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0;
}

/* WPForms inside homepage CTA */
.cta-form .wpforms-container {
    margin: 0 !important;
}
.cta-form .wpforms-form {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
}
.cta-form .wpforms-field {
    padding: 0 !important;
    margin: 0 !important;
}
.cta-form .wpforms-field-container {
    display: contents !important;
}
.cta-form .wpforms-field.eco-cta-field-name {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
}
.cta-form .wpforms-field.eco-cta-field-phone {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
}
.cta-form .wpforms-field.eco-cta-field-email {
    grid-column: 3 / 4 !important;
    grid-row: 1 !important;
}
.cta-form .wpforms-field.eco-cta-field-message,
.cta-form .wpforms-field-textarea {
    grid-column: 1 / span 2 !important;
    grid-row: 2 !important;
}
.cta-form .wpforms-field.eco-cta-field-hidden {
    display: none !important;
}
.cta-form .wpforms-submit-container {
    display: block !important;
    grid-column: 3 / 4 !important;
    grid-row: 2 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.cta-form .wpforms-field input,
.cta-form .wpforms-field textarea,
.cta-form .wpforms-field select {
    width: 100% !important;
    max-width: none !important;
    height: 58px !important;
    min-height: 58px !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-family: inherit;
    font-size: 15px !important;
}
.cta-form .wpforms-field textarea {
    resize: none;
}
.cta-form .wpforms-submit {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    background: #4cae4c !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}
.cta-form .wpforms-error,
.cta-form .wpforms-field-sublabel {
    color: #fff !important;
}
.cta-form .wpforms-field-label {
    display: none !important;
}
.cta-form label.wpforms-field-label,
.cta-form .wpforms-container .wpforms-field-label,
.cta-form div.wpforms-container-full .wpforms-form .wpforms-field-label,
.cta-form div.wpforms-container-full .wpforms-form .wpforms-field-sublabel,
.cta-form .wpforms-container-full .wpforms-form label {
    display: none !important;
}
.cta-form .wpforms-required-label {
    display: none !important;
}
.cta-form .wpforms-field-row,
.cta-form .wpforms-field-row-block {
    max-width: none !important;
}
.cta-form .wpforms-field-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}
.cta-form .wpforms-field-row-block {
    width: 100% !important;
    padding: 0 !important;
}
.cta-form .wpforms-field-row-block + .wpforms-field-row-block {
    display: none !important;
}
.cta-form .wpforms-container-full,
.cta-form div.wpforms-container-full,
.cta-form div.wpforms-container-full .wpforms-form,
.cta-form div.wpforms-container-full .wpforms-form .wpforms-field {
    margin: 0 !important;
}
.cta-form .wpforms-field ::placeholder {
    color: #777;
    opacity: 1;
}

/* Floating Contact */
.floating-contact {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    pointer-events: none;
}
.floating-contact a {
    pointer-events: auto;
}
.floating-zalo {
    width: 50px;
    height: 50px;
    border: 4px solid #43b6d8;
    border-radius: 50%;
    background: #fff;
    color: #2292bd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.floating-zalo:hover {
    color: #0d78a0;
    transform: translateY(-2px);
}
.floating-phone {
    min-width: 245px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #df3b28;
    color: #fff;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.floating-phone:hover {
    background: #c83121;
    color: #fff;
    transform: translateY(-2px);
}

/* Single Post Layout & Sidebar */
.single-layout { display: grid; grid-template-columns: 7fr 3fr; gap: 30px; }
.sidebar-area .widget { background: #fff; border-radius: 8px; border: 1px solid #eaeaea; margin-bottom: 25px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.widget-title { font-size: 14px; font-weight: 800; color: var(--primary-blue); padding: 15px 20px; border-bottom: 1px solid #eaeaea; margin: 0; text-transform: uppercase; }

/* Widget: Tư vấn nhanh */
.widget-tu-van { background: var(--primary-blue) !important; color: #fff; border: none !important; }
.tu-van-header { display: flex; align-items: center; gap: 15px; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.tu-van-title h3 { font-size: 14px; margin: 0 0 5px 0; font-weight: 700; color: #fff; }
.tu-van-title p { font-size: 11px; margin: 0; opacity: 0.8; line-height: 1.4; }
.tu-van-phone { display: flex; align-items: center; gap: 10px; padding: 15px 20px; background: rgba(0,0,0,0.1); justify-content: center; }
.tu-van-phone .phone-number { color: #fff; font-size: 24px; font-weight: 800; text-decoration: none; }
.tu-van-form { padding: 20px; }
.tu-van-form .form-control { width: 100%; padding: 10px; margin-bottom: 10px; border-radius: 4px; border: none; font-size: 13px; font-family: inherit; }
.tu-van-form .btn-submit { width: 100%; background: var(--primary-green); color: #fff; border: none; padding: 12px; border-radius: 4px; font-weight: 700; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; transition: 0.3s; }
.tu-van-form .btn-submit:hover { opacity: 0.9; }
.tu-van-form .wpforms-container,
.tu-van-form div.wpforms-container-full {
    margin: 0 !important;
}
.tu-van-form .wpforms-form {
    margin: 0 !important;
}
.tu-van-form .wpforms-field {
    margin: 0 0 10px !important;
    padding: 0 !important;
}
.tu-van-form .wpforms-field-label,
.tu-van-form .wpforms-field-sublabel,
.tu-van-form .wpforms-required-label {
    display: none !important;
}
.tu-van-form .wpforms-field input,
.tu-van-form .wpforms-field textarea,
.tu-van-form .wpforms-field select {
    width: 100% !important;
    max-width: none !important;
    min-height: 43px !important;
    padding: 10px 12px !important;
    border: none !important;
    border-radius: 4px !important;
    color: #333 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}
.tu-van-form .wpforms-field textarea {
    min-height: 80px !important;
    resize: vertical;
}
.tu-van-form .wpforms-submit-container {
    margin: 0 !important;
    padding: 0 !important;
}
.tu-van-form .wpforms-submit {
    width: 100% !important;
    min-height: 48px !important;
    background: var(--primary-green) !important;
    border: none !important;
    border-radius: 4px !important;
    color: #fff !important;
    cursor: pointer;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}
.tu-van-form .wpforms-field ::placeholder {
    color: #777;
    opacity: 1;
}
.privacy-note { font-size: 10px; text-align: center; margin-top: 10px; opacity: 0.7; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* Widget: Dịch vụ nổi bật */
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li { padding: 12px 20px; border-bottom: 1px solid #eaeaea; display: flex; align-items: center; gap: 10px; }
.service-list li:last-child { border-bottom: none; }
.service-list li .check-icon { width: 18px; height: 18px; background: var(--primary-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-list li a { color: #555; text-decoration: none; font-size: 13px; font-weight: 500; transition: 0.2s; }
.service-list li a:hover { color: var(--primary-blue); }

/* Widget: Công trình & Tin tức */
.related-project-item, .news-item { display: flex; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #eaeaea; align-items: center; }
.related-project-item:last-of-type, .news-item:last-of-type { border-bottom: none; }
.rel-img { width: 80px; height: 60px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.rel-img img { width: 100%; height: 100%; object-fit: cover; }
.rel-info h4, .news-info h4 { margin: 0 0 5px 0; font-size: 13px; font-weight: 600; line-height: 1.4; }
.rel-info h4 a, .news-info h4 a { color: var(--primary-blue); text-decoration: none; }
.rel-info h4 a:hover, .news-info h4 a:hover { color: var(--primary-green); }
.rel-area, .news-date { font-size: 11px; color: #888; }
.news-icon { width: 40px; height: 40px; background: #f7fbff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.news-thumb {
    width: 70px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f7fbff;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.view-all-link { display: block; text-align: center; padding: 12px; font-size: 12px; font-weight: 700; color: var(--primary-blue); text-decoration: none; background: #f9f9f9; border-top: 1px solid #eaeaea; }
.view-all-link:hover { color: var(--primary-green); background: #f1f1f1; }

/* Widget: Cam kết */
.commit-item { display: flex; gap: 15px; padding: 15px 20px; border-bottom: 1px dashed #eaeaea; }
.commit-item:last-child { border-bottom: none; }
.commit-icon { width: 45px; height: 45px; background: #e1f1fb; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.commit-info h4 { margin: 0 0 5px 0; font-size: 13px; font-weight: 700; color: var(--primary-blue); }
.commit-info p { margin: 0; font-size: 11px; color: #666; line-height: 1.4; }

/* Post content styling */
.entry-content h2, .entry-content h3 { color: var(--primary-blue); font-weight: 700; margin-top: 30px; margin-bottom: 15px; }
.entry-content h2 { font-size: 18px; border-bottom: 1px solid #eaeaea; padding-bottom: 10px; }
.entry-content p { font-size: 14px; line-height: 1.7; color: #444; margin-bottom: 15px; }
.entry-content ul { padding-left: 20px; font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 20px; }
.entry-content ul li { margin-bottom: 5px; color: var(--primary-green); }
.entry-content ul li span { color: #444; }

/* Custom blocks for Post Content (Steps & Gallery) */
.post-steps-grid { display: flex; gap: 15px; align-items: stretch; margin-bottom: 30px; margin-top: 20px; }
.post-step-item { flex: 1; background: #fff; border: 1px solid #e1ecf8; border-radius: 8px; padding: 25px 20px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.03); position: relative; }
.post-step-item .step-num { width: 32px; height: 32px; background: var(--primary-blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 15px auto; font-size: 14px; }
.post-step-item h4 { color: var(--primary-blue); font-size: 13px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.post-step-item p { font-size: 12px; line-height: 1.5; color: #555; margin: 0; }
.step-arrow { display: flex; align-items: center; justify-content: center; color: var(--primary-blue); font-size: 24px; font-weight: 300; }

.post-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; margin-bottom: 30px; }
.post-gallery-grid img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; border: 1px solid #eaeaea; }

/* Related cards hover */
.related-card:hover img { transform: scale(1.05); }
.related-card { transition: box-shadow 0.3s; }
.related-card:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important; }

/* Category Archive */
.archive-main {
    background: #f7fbff;
}
.archive-hero {
    background: linear-gradient(135deg, #f7fbff 0%, #ffffff 55%, #edf8ef 100%);
    border-bottom: 1px solid #e1ecf8;
    padding: 28px 0 18px;
}
.archive-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667085;
    font-size: 13px;
    margin-bottom: 0;
}
.archive-breadcrumb a {
    color: var(--primary-blue);
    font-weight: 600;
}
.archive-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}
.archive-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.archive-hero h1 {
    color: var(--primary-blue);
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.archive-description {
    color: #475467;
    font-size: 15px;
    max-width: 760px;
}
.archive-description p {
    margin: 0;
}
.archive-hero-btn {
    flex-shrink: 0;
}
.archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
}
.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 12px;
    margin-bottom: 24px;
}
.archive-toolbar h2 {
    color: var(--primary-blue);
    font-size: 20px;
    margin: 0;
    text-transform: uppercase;
}
.archive-toolbar span {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
}
.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.archive-card {
    background: #fff;
    border: 1px solid #e1ecf8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.archive-card-thumb {
    display: block;
    height: 230px;
    background: #e1ecf8;
    overflow: hidden;
}
.archive-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.archive-card:hover .archive-card-thumb img {
    transform: scale(1.04);
}
.archive-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}
.archive-card-body {
    padding: 18px 20px 20px;
}
.archive-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #667085;
    font-size: 12px;
    margin-bottom: 10px;
}
.archive-card h3 {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 10px;
}
.archive-card h3 a {
    color: var(--primary-blue);
}
.archive-card p {
    color: #475467;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px;
}
.archive-read-more {
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}
.archive-sidebar {
    position: sticky;
    top: 105px;
}
.archive-sidebox {
    background: #fff;
    border: 1px solid #e1ecf8;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.04);
    padding: 22px;
    margin-bottom: 22px;
}
.archive-sidebox h3 {
    color: var(--primary-blue);
    font-size: 16px;
    margin: 0 0 14px;
    text-transform: uppercase;
}
.archive-quote-box {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}
.archive-quote-box span {
    color: #b7f2bd;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.archive-quote-box h3 {
    color: #fff;
    font-size: 20px;
    margin-top: 8px;
}
.archive-quote-box p {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 18px;
}
.archive-category-list {
    margin: 0;
    padding: 0;
}
.archive-category-list li {
    border-bottom: 1px solid #edf2f7;
    font-size: 14px;
}
.archive-category-list li:last-child {
    border-bottom: none;
}
.archive-category-list a {
    display: flex;
    padding: 11px 0;
    color: #475467;
    font-weight: 600;
}
.archive-category-list .current-cat > a,
.archive-category-list a:hover {
    color: var(--primary-green);
}
.archive-pagination {
    margin-top: 32px;
}
.archive-pagination .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.archive-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce8f5;
    border-radius: 6px;
    background: #fff;
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 700;
    padding: 0 12px;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}
.archive-empty {
    background: #fff;
    border: 1px solid #e1ecf8;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}
.archive-empty h2 {
    color: var(--primary-blue);
    margin-bottom: 8px;
}

/* Static Pages */
.page-main {
    background: #f7fbff;
}
.page-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 65%, #edf8ef 100%);
    border-bottom: 1px solid #e1ecf8;
    padding: 18px 0;
}
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667085;
    font-size: 13px;
    margin-bottom: 0;
}
.page-breadcrumb a {
    color: var(--primary-blue);
    font-weight: 700;
}
.page-title-wrap {
    max-width: 820px;
}
.page-kicker {
    color: var(--primary-green);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.page-title-wrap h1 {
    color: var(--primary-blue);
    font-size: 38px;
    line-height: 1.2;
    margin: 0;
}
.page-content-section.section-padding {
    padding-top: 34px;
}
.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
}
.page-article {
    background: #fff;
    border: 1px solid #e1ecf8;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.04);
    overflow: hidden;
}
.page-featured-image img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
}
.page-entry-content {
    padding: 34px 38px;
}
.page-entry-content > *:first-child {
    margin-top: 0;
}
.page-entry-content p {
    font-size: 16px;
    line-height: 1.85;
    color: #344054;
}
.page-entry-content h2,
.page-entry-content h3 {
    color: var(--primary-blue);
    line-height: 1.35;
    margin-top: 28px;
}
.page-entry-content h2 {
    font-size: 26px;
    border-bottom: 2px solid #e1ecf8;
}
.page-entry-content h3 {
    font-size: 20px;
}
.page-entry-content strong {
    color: #1d2939;
}
.page-entry-content ul {
    list-style: none;
    padding-left: 0;
    margin: 18px 0 24px;
}
.page-entry-content ul li {
    position: relative;
    color: #344054;
    padding-left: 30px;
    margin-bottom: 11px;
    font-size: 15px;
    line-height: 1.65;
}
.page-entry-content ul li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-green);
}
.page-entry-content ul li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 11px;
    width: 6px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}
.page-sidebar {
    position: sticky;
    top: 105px;
}
.page-sidebox {
    background: #fff;
    border: 1px solid #e1ecf8;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.04);
    padding: 24px;
    margin-bottom: 22px;
}
.page-sidebox h2 {
    color: var(--primary-blue);
    font-size: 19px;
    line-height: 1.35;
    margin: 0 0 12px;
}
.page-sidebox p {
    color: #475467;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}
.page-contact-box {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}
.page-contact-box span {
    color: #b7f2bd;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.page-contact-box h2,
.page-contact-box p {
    color: #fff;
}
.page-phone {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}
.page-service-box ul {
    margin: 0;
    padding: 0;
}
.page-service-box li {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #edf2f7;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 0;
}
.page-service-box li:last-child {
    border-bottom: 0;
}
.page-service-box .check-icon {
    width: 18px;
    height: 18px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.page-service-box a {
    color: #475467;
}
.page-service-box a:hover {
    color: var(--primary-blue);
}

/* Responsive Single */
@media (max-width: 991px) {
    .single-layout { grid-template-columns: 1fr; }
    .archive-layout { grid-template-columns: 1fr; }
    .archive-sidebar { position: static; }
    .archive-hero-content { align-items: flex-start; flex-direction: column; }
    .page-layout { grid-template-columns: 1fr; }
    .page-sidebar { position: static; }
    .header-top {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-top: 16px;
        padding-bottom: 16px;
        text-align: center;
    }
    .header-hotline {
        justify-content: center;
        order: 2;
    }
    .site-branding {
        order: 1;
        justify-content: center;
    }
    .header-actions {
        justify-content: center;
        order: 3;
        width: 100%;
        flex-wrap: wrap;
    }
    .header-search {
        max-width: 420px;
    }
    .main-navigation a {
        padding: 0 14px;
        font-size: 12px;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-columns { flex-wrap: wrap !important; }
    .footer-col { flex: 1 1 45% !important; margin-bottom: 20px; }
    .footer-cert-col { min-width: 0; }
    .why-choose-us .stats-box { flex-direction: column; text-align: center; gap: 20px; }
    .process-timeline { flex-direction: column; gap: 30px; }
    .process-timeline::before { display: none; }
    
    /* CTA Box */
    .cta-box { flex-direction: column !important; padding: 25px !important; }
    .cta-info { border-right: none !important; padding-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 20px; width: 100%; }
    .post-cta-banner { flex-direction: column !important; text-align: center; gap: 15px; }
    .post-cta-banner > div { justify-content: center; flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-4, .grid-3 { grid-template-columns: 1fr; }
    .footer-columns { flex-direction: column !important; }
    .footer-col { flex: 1 1 100% !important; }
    .cert-logos { gap: 16px; }
    .floating-contact {
        left: 8px;
        right: 8px;
        bottom: 10px;
        gap: 8px;
    }
    .floating-zalo {
        width: 50px;
        height: 50px;
        border-width: 4px;
        font-size: 16px;
        margin-left: 10px;
    }
    .floating-phone {
        width: min(100%, 490px);
        min-width: 0;
        height: 50px;
        font-size: 16px;
        padding: 9px 14px;
        border-radius: 8px;
    }
    .header-hotline,
    .header-search {
        display: none;
    }
    .header-actions {
        justify-content: center;
    }
    .main-navigation ul {
        display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; width: 100%; background: var(--primary-blue); padding: 10px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .main-navigation ul.toggled { display: flex; }
    .header-nav-wrap {
        position: relative;
    }
    .header-nav-container {
        justify-content: flex-end;
    }
    .menu-toggle { display: block; background: none; border: none; font-size: 24px; cursor: pointer; padding: 10px 0; }
    .menu-toggle .bar { display: block; width: 25px; height: 3px; background: #fff; margin: 5px 0; }
    .main-navigation a {
        width: 100%;
        justify-content: center;
        min-height: 42px;
    }
    .main-navigation .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: rgba(255,255,255,0.08);
    }
    .main-navigation li:hover > .sub-menu {
        display: block;
    }
    .main-navigation .sub-menu a {
        color: #fff;
        justify-content: center;
    }
    .hero-title { font-size: 28px !important; }
    .hero-subtitle { font-size: 18px !important; line-height: 1.4; }
    .hero-desc { font-size: 14px !important; }
    .hero-actions { flex-direction: column; width: 100%; gap: 10px; margin-bottom: 30px !important; }
    .hero-actions .btn { width: 100%; }
    .hero-swiper .swiper-slide { background-color: #fff; }
    .hero-wave-svg { display: none; }
    .hero-bg { opacity: 0.15 !important; }
    .feature-bar { flex-direction: column; position: static; margin-top: 30px; gap: 15px; }
    .cta-form form > div { grid-template-columns: 1fr !important; }
    .cta-form .wpforms-form {
        grid-template-columns: 1fr !important;
    }
    .cta-form .wpforms-field-container {
        grid-template-columns: 1fr !important;
    }
    .cta-form .wpforms-field.eco-cta-field-name,
    .cta-form .wpforms-field.eco-cta-field-phone,
    .cta-form .wpforms-field.eco-cta-field-email,
    .cta-form .wpforms-field.eco-cta-field-message,
    .cta-form .wpforms-field-textarea,
    .cta-form .wpforms-submit-container {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    .hero-content { max-width: 100% !important; padding: 20px 0 !important; background: rgba(255,255,255,0.85); padding: 20px; border-radius: 12px; }
    .hero-features { flex-direction: column; gap: 10px !important; }
    .partners-grid { justify-content: center !important; }
    
    /* Feedback & FAQ */
    .feedback-box { flex-direction: column; }
    .feedback-col { padding: 20px !important; }
    .faq-col { border-left: none; border-top: 1px solid #dce8f5; }
    .archive-hero h1 { font-size: 28px; }
    .archive-grid { grid-template-columns: 1fr; }
    .archive-card-thumb { height: 210px; }
    .archive-toolbar { align-items: flex-start; flex-direction: column; }
    .page-title-wrap h1 { font-size: 30px; }
    .page-entry-content { padding: 24px 20px; }
    .page-entry-content p { font-size: 15px; }
}
