/* Custom styles for elektromotors.uz (plain PHP version) */
:root {
    --primary-color: #ed1c24;
    --primary-dark: #c81118;
    --secondary-color: #1a1a1a;
    --accent: #ffa726;
    --text: #333;
    --text-muted: #666;
    --border: #e5e5e5;
    --bg-light: #f7f8fa;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Roboto', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-color); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--secondary-color);
    line-height: 1.25;
    margin-top: 0;
    font-weight: 700;
}

/* Container / grid */
.dt-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.dt-row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.dt-row.dt-g-4 > [class*="dt-col-"] { padding: 15px; }
.dt-row.dt-g-5 > [class*="dt-col-"] { padding: 20px; }
[class*="dt-col-"] { padding: 0 15px; flex: 0 0 100%; max-width: 100%; }
.dt-col-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
    .dt-col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .dt-col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
    .dt-col-lg-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
    .dt-col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .dt-col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
    .dt-col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
    .dt-col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .dt-col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
    .dt-col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
    .dt-col-lg-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
    .dt-col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}
.dt-text-center { text-align: center; }
.dt-py-default { padding: 80px 0; }
.dt-my-auto { margin-top: auto; margin-bottom: auto; }
.dt_bg_light { background: var(--bg-light); }
.dt-align-items-center { align-items: center; }

/* Display utilities */
.dt-d-none { display: none !important; }
@media (min-width: 992px) {
    .dt-d-lg-block { display: block !important; }
    .dt-d-lg-none { display: none !important; }
    .dt-d-none.dt-d-lg-block { display: block !important; }
}

/* Buttons */
.dt-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}
.dt-btn i { margin-right: 8px; }
.btn--primary, .dt-btn.btn--primary {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
}
.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff !important;
}
.btn--outline {
    background: transparent;
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color);
}
.btn--outline:hover {
    background: var(--secondary-color);
    color: #fff !important;
}
.btn--lg { padding: 16px 36px; font-size: 17px; }

/* Skip link */
.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link:focus { background: #fff; padding: 8px; clip: auto; height: auto; width: auto; left: 10px; top: 10px; z-index: 100000; }

/* Header */
.dt_header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.dt_header-topbar { background: var(--secondary-color); color: #fff; padding: 8px 0; font-size: 13px; }
.dt_header-topbar .topbar-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }
.dt_header-topbar .topbar-list a { color: #fff; }
.dt_header-topbar .topbar-list i { margin-right: 6px; color: var(--primary-color); }
.dt_navbar-wrapper { padding: 14px 0; }
.site--logo a { font-size: 24px; font-weight: 800; color: var(--secondary-color); }
.site--logo a strong { color: var(--primary-color); }
.dt_navbar-menu { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dt_navbar-nav .menu, .dt_navbar-list-right { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.dt_navbar-nav .menu { gap: 4px; }
.dt_navbar-nav .menu > li { position: relative; }
.dt_navbar-nav .menu > li > a {
    display: block;
    padding: 12px 16px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
}
.dt_navbar-nav .menu > li.current-menu-item > a,
.dt_navbar-nav .menu > li:hover > a { color: var(--primary-color); }
.menu-item-has-children > a::after {
    content: " ▾"; font-size: 11px; opacity: .6;
}
.sub-menu {
    position: absolute;
    top: 100%; left: 0;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 320px;
    max-height: 70vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s;
    z-index: 200;
}
.menu-item-has-children:hover > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu li a {
    display: block;
    padding: 8px 18px;
    color: var(--text);
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}
.sub-menu li:last-child a { border-bottom: 0; }
.sub-menu li a:hover { background: var(--bg-light); color: var(--primary-color); }
.dt_navbar-list-right { gap: 12px; }

/* Mobile nav */
.dt_mobilenav { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 0; }
.dt_mobilenav-menu { display: flex; align-items: center; justify-content: space-between; }
.dt_mobilenav-toggles { display: flex; gap: 10px; align-items: center; }
.hamburger { background: transparent; border: 0; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--secondary-color); margin: 4px 0; transition: .25s; }
.dt_mobilenav-mainmenu-content {
    display: none;
    background: #fff;
    padding: 20px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
    max-height: 70vh;
    overflow-y: auto;
}
.dt_mobilenav-mainmenu-content.is-open { display: block; }
.dt_mobilenav-mainmenu-content .menu { list-style: none; margin: 0 0 20px; padding: 0; }
.dt_mobilenav-mainmenu-content .menu li a { display: block; padding: 10px 0; color: var(--secondary-color); border-bottom: 1px solid #f0f0f0; font-weight: 600; }
.dt_mobilenav-mainmenu-content .menu-services .menu-heading { padding: 12px 0 6px; font-weight: 700; color: var(--primary-color); text-transform: uppercase; font-size: 13px; }

/* Page title section */
.dt_pagetitle {
    padding: 80px 0 60px;
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: #fff;
    position: relative;
}
.dt_pagetitle::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,.85), rgba(237,28,36,.65));
}
.dt_pagetitle .dt_pagetitle_content { position: relative; z-index: 2; }
.dt_pagetitle h1 { color: #fff; font-size: 40px; margin: 0 0 12px; }
.dt_breadcrumb ul { list-style: none; padding: 0; margin: 0; display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.dt_breadcrumb li { color: rgba(255,255,255,.85); }
.dt_breadcrumb li::after { content: "›"; margin-left: 10px; opacity: .6; }
.dt_breadcrumb li:last-child::after { content: ""; }
.dt_breadcrumb a { color: #fff; }
.dt_breadcrumb a:hover { color: var(--accent); }

/* Hero (home page) */
.dt_hero { padding: 80px 0; background: linear-gradient(135deg, #fff 0%, var(--bg-light) 100%); }
.dt_hero .subtitle { color: var(--primary-color); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.dt_hero h1 { font-size: 44px; margin: 12px 0 18px; line-height: 1.15; }
.dt_hero p { font-size: 17px; color: var(--text-muted); margin: 0 0 28px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image img { border-radius: 12px; box-shadow: 0 24px 40px rgba(0,0,0,.12); }

/* Section title */
.section-title { margin-bottom: 50px; }
.section-title .subtitle { color: var(--primary-color); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; display: block; margin-bottom: 8px; }
.section-title h2 { font-size: 36px; margin: 0; }

/* Feature cards */
.feature-card { background: #fff; padding: 32px 24px; border-radius: 12px; border: 1px solid var(--border); height: 100%; transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.feature-card .icon { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, var(--primary-color), #ff5e63); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.feature-card h4 { font-size: 19px; margin: 0 0 8px; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* Service cards */
.service-card { display: block; background: #fff; padding: 28px 24px; border-radius: 12px; border: 1px solid var(--border); height: 100%; color: var(--text); transition: all .25s; }
.service-card:hover { border-color: var(--primary-color); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(237,28,36,.08); color: var(--text); }
.service-card .icon { width: 50px; height: 50px; border-radius: 10px; background: var(--bg-light); color: var(--primary-color); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; transition: .25s; }
.service-card:hover .icon { background: var(--primary-color); color: #fff; }
.service-card h4 { font-size: 17px; margin: 0 0 10px; line-height: 1.3; }
.service-card .link { color: var(--primary-color); font-weight: 600; font-size: 14px; }
.service-card .link i { margin-left: 4px; transition: transform .2s; }
.service-card:hover .link i { transform: translateX(4px); }

/* CTA section */
.dt_cta .cta-box {
    background: linear-gradient(135deg, var(--secondary-color), #2a2a2a);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.dt_cta .cta-box::before {
    content: "";
    position: absolute;
    inset: -50% -10% auto auto;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(237,28,36,.4), transparent 70%);
    pointer-events: none;
}
.dt_cta h2 { color: #fff; font-size: 32px; margin: 0 0 14px; position: relative; }
.dt_cta p { color: rgba(255,255,255,.85); font-size: 17px; margin: 0 0 26px; position: relative; }
.dt_cta .dt-btn { position: relative; }

/* Page article (inner pages) */
.page-article { background: #fff; padding: 50px 0 30px; }
.page-article .entry-content { font-size: 16px; line-height: 1.75; color: var(--text); }
.page-article .entry-content p { margin: 0 0 18px; }
.page-article .entry-content h2 { font-size: 28px; margin: 36px 0 14px; }
.page-article .entry-content h3 { font-size: 22px; margin: 30px 0 12px; }
.page-article .entry-content h4 { font-size: 19px; margin: 26px 0 10px; }
.page-article .entry-content ul, .page-article .entry-content ol { margin: 0 0 18px; padding-left: 22px; }
.page-article .entry-content li { margin-bottom: 6px; }
.page-article .entry-content a { color: var(--primary-color); text-decoration: underline; }
.page-article .entry-content img { border-radius: 10px; margin: 16px 0; }
.page-article .entry-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.page-article .entry-content table td, .page-article .entry-content table th { border: 1px solid var(--border); padding: 10px; }

.page-cta {
    margin-top: 50px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 14px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}
.page-cta h3 { font-size: 22px; margin: 0 0 8px; }
.page-cta p { color: var(--text-muted); margin: 0 0 20px; }
.page-cta .dt-btn { margin: 4px; }

/* Footer */
.dt_footer { background: var(--secondary-color); color: rgba(255,255,255,.75); padding: 60px 0 0; margin-top: 40px; }
.dt_footer .widget-title { color: #fff; font-size: 18px; margin: 0 0 22px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-color); display: inline-block; }
.dt_footer p { color: rgba(255,255,255,.75); margin: 0 0 16px; line-height: 1.7; }
.dt_footer ul { list-style: none; margin: 0; padding: 0; }
.dt_footer .footer-menu li { margin-bottom: 8px; }
.dt_footer .footer-menu a { color: rgba(255,255,255,.7); font-size: 14.5px; transition: color .2s; }
.dt_footer .footer-menu a:hover { color: #fff; padding-left: 4px; }
.dt_footer .contact-list li { margin-bottom: 12px; padding-left: 26px; position: relative; font-size: 14.5px; }
.dt_footer .contact-list i { position: absolute; left: 0; top: 5px; color: var(--primary-color); }
.dt_footer .contact-list a { color: rgba(255,255,255,.85); }
.dt_footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding: 20px 0; }
.dt_footer-bottom p { font-size: 13px; margin: 0; color: rgba(255,255,255,.6); }

/* Top scroller */
.dt-top-scroller {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .25s;
    z-index: 99;
    box-shadow: 0 6px 18px rgba(237,28,36,.35);
}
.dt-top-scroller.is-visible { opacity: 1; visibility: visible; }
.dt-top-scroller:hover { background: var(--primary-dark); }

/* Responsive tweaks */
@media (max-width: 991px) {
    .dt_hero h1 { font-size: 32px; }
    .dt_hero { padding: 50px 0; }
    .dt_pagetitle { padding: 50px 0 40px; }
    .dt_pagetitle h1 { font-size: 28px; }
    .section-title h2 { font-size: 28px; }
    .dt-py-default { padding: 50px 0; }
    .dt_cta h2 { font-size: 24px; }
    .dt_cta .cta-box { padding: 36px 22px; }
    .dt_footer { padding: 40px 0 0; }
    .dt_header-topbar .topbar-list { justify-content: flex-start; gap: 14px; }
}

/* WordPress block compatibility */
.entry-content .wp-block-image img { border-radius: 8px; }
.entry-content blockquote { border-left: 4px solid var(--primary-color); margin: 18px 0; padding: 12px 22px; background: var(--bg-light); font-style: italic; }

/* ==========================================
   HOME PAGE — improved layout with images
   ========================================== */

/* Hero with image background */
.hm-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 80px 0;
}
.hm-hero__bg, .hm-hero__overlay {
    position: absolute; inset: 0; z-index: 0;
}
.hm-hero__bg {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    will-change: transform;
}
.hm-hero__overlay {
    background: linear-gradient(120deg, rgba(15,15,20,.92) 0%, rgba(26,26,26,.78) 45%, rgba(237,28,36,.55) 100%);
}
.hm-hero .dt-container { position: relative; z-index: 2; }
.hm-hero__content { max-width: 720px; }
.hm-hero .subtitle {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(237,28,36,.18);
    border: 1px solid rgba(237,28,36,.45);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
}
.hm-hero h1 {
    font-size: 56px;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 22px;
    font-weight: 800;
}
.hm-hero p {
    font-size: 18px;
    color: rgba(255,255,255,.9);
    max-width: 640px;
    margin: 0 0 32px;
    line-height: 1.6;
}
.hm-hero .hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Ghost / white buttons */
.btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,.45);
}
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--white {
    background: #fff;
    color: var(--secondary-color) !important;
    border-color: #fff;
}
.btn--white:hover { background: rgba(255,255,255,.9); }

/* Stats bar */
.hm-stats {
    background: var(--secondary-color);
    padding: 36px 0;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}
@media (max-width: 991px) { .hm-stats { margin-top: 0; } }
.stat-card {
    text-align: center;
    color: #fff;
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,.08);
}
.stat-card:last-child { border-right: 0; }
@media (max-width: 991px) { .stat-card { border-right: 0; padding: 18px 10px; } }
.stat-card .num {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.stat-card .lbl {
    font-size: 14px;
    color: rgba(255,255,255,.78);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* About section */
.hm-about__img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,.12);
}
.hm-about__img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
@media (max-width: 991px) { .hm-about__img img { height: 320px; } }
.hm-about__badge {
    position: absolute;
    bottom: 22px;
    left: 22px;
    background: var(--primary-color);
    color: #fff;
    padding: 22px 26px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 18px 30px rgba(237,28,36,.35);
}
.hm-about__badge .num { font-size: 42px; font-weight: 800; line-height: 1; }
.hm-about__badge .txt { font-size: 14px; line-height: 1.2; opacity: .95; }
.hm-about .subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.2px;
    display: block;
    margin-bottom: 10px;
}
.hm-about h2 { font-size: 38px; margin: 0 0 18px; }
.hm-about p { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin: 0 0 22px; }
.hm-about__list { list-style: none; padding: 0; margin: 0 0 28px; }
.hm-about__list li {
    padding: 8px 0;
    color: var(--text);
    font-size: 15.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hm-about__list i { color: var(--primary-color); font-size: 18px; flex-shrink: 0; }

/* Featured service cards (with images) */
.hm-service-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    height: 100%;
    color: var(--text);
    transition: all .3s;
    box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.hm-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(237,28,36,.15);
    color: var(--text);
    border-color: transparent;
}
.hm-service-card__img {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
}
.hm-service-card__img::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5));
}
.hm-service-card__icon {
    position: absolute;
    bottom: -24px;
    right: 22px;
    width: 50px; height: 50px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 12px 24px rgba(237,28,36,.4);
    z-index: 2;
}
.hm-service-card__body { padding: 36px 24px 26px; }
.hm-service-card__body h4 { font-size: 19px; margin: 0 0 14px; line-height: 1.35; min-height: 50px; }
.hm-service-card__body .link { color: var(--primary-color); font-weight: 600; font-size: 14px; }
.hm-service-card__body .link i { margin-left: 4px; transition: transform .2s; }
.hm-service-card:hover .hm-service-card__body .link i { transform: translateX(4px); }

.hm-services__subhead {
    text-align: center;
    font-size: 22px;
    color: var(--secondary-color);
    margin: 70px 0 30px;
    position: relative;
}
.hm-services__subhead::before, .hm-services__subhead::after {
    content: "";
    display: inline-block;
    width: 40px; height: 2px;
    background: var(--primary-color);
    vertical-align: middle;
    margin: 0 18px;
}

/* Process steps */
.step-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 14px;
    text-align: center;
    height: 100%;
    border: 1px solid var(--border);
    transition: .25s;
    position: relative;
}
.step-card:hover { border-color: var(--primary-color); transform: translateY(-3px); }
.step-num {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #ff5e63);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 12px 24px rgba(237,28,36,.25);
}
.step-card h4 { font-size: 18px; margin: 0 0 10px; }
.step-card p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* Bottom CTA with image */
.hm-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    color: #fff;
}
.hm-cta__bg, .hm-cta__overlay { position: absolute; inset: 0; z-index: 0; }
.hm-cta__bg { background-size: cover; background-position: center; }
.hm-cta__overlay { background: linear-gradient(135deg, rgba(15,15,20,.9), rgba(237,28,36,.7)); }
.hm-cta .dt-container { position: relative; z-index: 2; }
.hm-cta h2 { color: #fff; font-size: 38px; margin: 0 0 16px; }
.hm-cta p { font-size: 18px; color: rgba(255,255,255,.92); margin: 0 0 30px; }

/* Responsive home */
@media (max-width: 991px) {
    .hm-hero { min-height: 480px; padding: 50px 0; }
    .hm-hero h1 { font-size: 36px; }
    .hm-hero p { font-size: 16px; }
    .hm-about h2 { font-size: 28px; }
    .hm-cta { padding: 60px 0; }
    .hm-cta h2 { font-size: 26px; }
    .hm-services__subhead { margin: 50px 0 24px; font-size: 19px; }
    .hm-services__subhead::before, .hm-services__subhead::after { width: 24px; margin: 0 10px; }
}
@media (max-width: 575px) {
    .hm-hero h1 { font-size: 28px; }
    .stat-card .num { font-size: 32px; }
}

/* ==========================================
   MOBILE DRAWER (overlay menu)
   ========================================== */
.btn--icon { padding: 10px 14px !important; }
.btn--block { display: block; width: 100%; text-align: center; margin-bottom: 10px; }
.btn--block:last-child { margin-bottom: 0; }

.mnav-drawer {
    position: fixed; inset: 0;
    z-index: 1000;
    pointer-events: none;
}
.mnav-drawer__backdrop {
    position: absolute; inset: 0;
    background: rgba(15,15,20,.55);
    opacity: 0;
    transition: opacity .25s;
}
.mnav-drawer__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 92%; max-width: 380px;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
}
.mnav-drawer.is-open { pointer-events: auto; }
.mnav-drawer.is-open .mnav-drawer__backdrop { opacity: 1; }
.mnav-drawer.is-open .mnav-drawer__panel { transform: translateX(0); }

.mnav-drawer__head {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}
.mnav-drawer__logo { font-size: 22px; font-weight: 800; color: var(--secondary-color); }
.mnav-drawer__logo strong { color: var(--primary-color); }
.mnav-drawer__close {
    background: var(--bg-light);
    border: 0;
    width: 38px; height: 38px;
    border-radius: 8px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: var(--secondary-color);
    transition: .2s;
}
.mnav-drawer__close:hover { background: var(--primary-color); color: #fff; }
.mnav-drawer__body { padding: 16px 0; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mnav-drawer__menu { list-style: none; margin: 0; padding: 0; }
.mnav-drawer__menu li a {
    display: block;
    padding: 14px 22px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #f3f3f3;
}
.mnav-drawer__menu li a:hover, .mnav-drawer__menu li.active a { color: var(--primary-color); background: var(--bg-light); }
.mnav-drawer__section { padding: 14px 22px 0; }
.mnav-drawer__section-title {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
    padding: 10px 0;
    margin-top: 4px;
    border-top: 2px solid var(--primary-color);
    display: inline-block;
}
.mnav-drawer__menu--sub li a { font-weight: 500; font-size: 14.5px; padding: 10px 0; border-bottom: 1px solid #f3f3f3; }
.mnav-drawer__foot {
    padding: 16px 20px 22px;
    border-top: 1px solid var(--border);
    background: #fff;
}

/* ==========================================
   STICKY MOBILE CALL BAR
   ========================================== */
.mobile-callbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 16px rgba(0,0,0,.06);
    display: flex;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-callbar__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}
.mobile-callbar__btn i { font-size: 18px; }
.mobile-callbar__btn:hover, .mobile-callbar__btn:active { color: var(--primary-color); }
.mobile-callbar__btn--primary {
    background: var(--primary-color);
    color: #fff !important;
}
.mobile-callbar__btn--primary:hover, .mobile-callbar__btn--primary:active { background: var(--primary-dark); color: #fff !important; }

/* Push body content above the callbar */
@media (max-width: 991px) {
    body { padding-bottom: 64px; }
}

/* ==========================================
   HEADER scroll effect
   ========================================== */
.dt_header.is-scrolled {
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.dt_header.is-scrolled .dt_navbar-wrapper { padding: 8px 0; transition: padding .25s; }

/* ==========================================
   INDUSTRIES section
   ========================================== */
.industry-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 16px;
    text-align: center;
    height: 100%;
    transition: .25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.industry-card i {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(237,28,36,.1), rgba(255,94,99,.1));
    color: var(--primary-color);
    font-size: 24px;
    transition: .25s;
}
.industry-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.3;
}
.industry-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(237,28,36,.1);
}
.industry-card:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}
.dt-row.dt-g-3 > [class*="dt-col-"] { padding: 12px; }

/* ==========================================
   REVIEW cards
   ========================================== */
.review-card {
    background: #fff;
    padding: 30px 26px;
    border-radius: 14px;
    border: 1px solid var(--border);
    height: 100%;
    transition: .25s;
    position: relative;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px rgba(0,0,0,.06); }
.review-card::before {
    content: "\201C";
    font-family: Georgia, serif;
    position: absolute;
    top: 10px; right: 22px;
    font-size: 80px;
    line-height: 1;
    color: rgba(237,28,36,.1);
    pointer-events: none;
}
.review-stars { color: #ffa726; margin-bottom: 14px; font-size: 14px; }
.review-stars i { margin-right: 2px; }
.review-card p { color: var(--text); font-size: 15.5px; line-height: 1.7; margin: 0 0 22px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-author .avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #ff5e63);
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    display: flex; align-items: center; justify-content: center;
}
.review-author strong { display: block; color: var(--secondary-color); font-size: 14.5px; }
.review-author span { font-size: 13px; color: var(--text-muted); }

/* ==========================================
   COMPREHENSIVE MOBILE / TABLET FIXES
   ========================================== */

/* Tablet */
@media (max-width: 991px) {
    .dt-py-default { padding: 50px 0; }
    .section-title { margin-bottom: 32px; }
    .section-title h2 { font-size: 26px; }
    .dt_header-topbar { display: none !important; }

    /* Hero on tablet */
    .hm-hero { min-height: 0; padding: 60px 0; }
    .hm-hero h1 { font-size: 36px; }
    .hm-hero p { font-size: 16px; margin-bottom: 24px; }
    .hm-hero .hero-buttons .dt-btn { font-size: 14px; padding: 12px 20px; }

    /* Stats — already 2x2 via dt-col-6 */
    .hm-stats { padding: 28px 0; margin-top: 0; }
    .stat-card .num { font-size: 30px; }
    .stat-card .lbl { font-size: 12px; }

    /* About */
    .hm-about__img img { height: 280px; }
    .hm-about__badge { padding: 14px 18px; bottom: 14px; left: 14px; }
    .hm-about__badge .num { font-size: 28px; }
    .hm-about__badge .txt { font-size: 12px; }
    .hm-about h2 { font-size: 26px; }

    /* Services */
    .hm-service-card__img { height: 180px; }
    .hm-service-card__body { padding: 30px 20px 22px; }
    .hm-service-card__body h4 { font-size: 17px; min-height: 0; }
    .hm-services__subhead { margin: 40px 0 22px; font-size: 18px; }
    .hm-services__subhead::before, .hm-services__subhead::after { width: 20px; margin: 0 8px; }

    /* Process / steps */
    .step-card { padding: 24px 18px; }
    .step-num { width: 50px; height: 50px; font-size: 18px; margin-bottom: 14px; }

    /* CTA */
    .hm-cta { padding: 50px 0; }
    .hm-cta h2 { font-size: 24px; }
    .hm-cta p { font-size: 15px; margin-bottom: 22px; }
    .hm-cta .hero-buttons { gap: 8px; }
    .hm-cta .dt-btn { padding: 12px 18px; font-size: 14px; }

    /* Reviews — already 2-col then 1-col via grid */
    .review-card { padding: 24px 22px; }

    /* Page articles (inner pages) */
    .dt_pagetitle { padding: 40px 0 30px; }
    .dt_pagetitle h1 { font-size: 24px; }
    .page-article { padding: 30px 0 20px; }
    .page-article .entry-content { font-size: 15px; }
    .page-cta { padding: 28px 22px; margin-top: 30px; }
    .page-cta h3 { font-size: 18px; }
    .page-cta .dt-btn { padding: 11px 18px; font-size: 14px; }

    /* Footer */
    .dt_footer { padding: 40px 0 0; }
    .dt_footer .widget-title { margin-bottom: 16px; font-size: 16px; }
    .dt_footer-bottom { margin-top: 24px; }

    /* Hide top scroller (we have callbar) */
    .dt-top-scroller { bottom: 76px; right: 14px; width: 40px; height: 40px; }
}

/* Phone */
@media (max-width: 575px) {
    .dt-container { padding: 0 14px; }
    .dt-py-default { padding: 40px 0; }
    .section-title { margin-bottom: 26px; }
    .section-title h2 { font-size: 22px; }
    .section-title .subtitle { font-size: 12px; }

    /* Hero on phone */
    .hm-hero { padding: 50px 0 40px; }
    .hm-hero h1 { font-size: 26px; line-height: 1.18; }
    .hm-hero h1 br { display: none; }
    .hm-hero p { font-size: 14.5px; line-height: 1.55; }
    .hm-hero .subtitle { font-size: 11px; padding: 5px 12px; margin-bottom: 14px; }
    .hm-hero .hero-buttons { flex-direction: column; align-items: stretch; }
    .hm-hero .hero-buttons .dt-btn { display: block; width: 100%; padding: 13px 16px; }

    /* Stats — 2x2 grid */
    .stat-card { padding: 14px 6px; }
    .stat-card .num { font-size: 26px; }
    .stat-card .lbl { font-size: 11px; line-height: 1.3; }

    /* Features grid 2x2 on small */
    .feature-card { padding: 22px 18px; }
    .feature-card .icon { width: 44px; height: 44px; font-size: 18px; margin-bottom: 14px; }
    .feature-card h4 { font-size: 16px; }
    .feature-card p { font-size: 13.5px; }

    /* About on phone */
    .hm-about__img img { height: 220px; }
    .hm-about__badge { padding: 12px 14px; gap: 10px; }
    .hm-about__badge .num { font-size: 24px; }
    .hm-about__badge .txt { font-size: 11px; }
    .hm-about h2 { font-size: 22px; }
    .hm-about p { font-size: 14.5px; }
    .hm-about__list li { font-size: 14px; padding: 6px 0; }
    .hm-about__list i { font-size: 16px; }

    /* Featured services - vertical stack */
    .hm-service-card__img { height: 160px; }

    /* Service cards */
    .service-card { padding: 22px 18px; }
    .service-card h4 { font-size: 15.5px; }

    /* Industries — 2 col on phone (already via dt-col-6) */
    .industry-card { padding: 20px 10px; }
    .industry-card i { width: 48px; height: 48px; font-size: 20px; }
    .industry-card span { font-size: 13px; }

    /* Reviews */
    .review-card { padding: 22px 18px; }
    .review-card p { font-size: 14.5px; }
    .review-card::before { font-size: 60px; top: 6px; right: 14px; }

    /* CTA bottom */
    .hm-cta { padding: 40px 0; }
    .hm-cta h2 { font-size: 20px; }
    .hm-cta p { font-size: 14px; margin-bottom: 18px; }
    .hm-cta .hero-buttons { flex-direction: column; }
    .hm-cta .hero-buttons .dt-btn { width: 100%; }

    /* Page article */
    .dt_pagetitle h1 { font-size: 20px; }
    .page-cta .dt-btn { display: block; margin: 6px 0; }

    /* Logo size */
    .site--logo a, .mnav-drawer__logo { font-size: 20px; }
    .mnav-drawer__head { padding: 14px 16px; }
    .mnav-drawer__menu li a { padding: 12px 18px; font-size: 15.5px; }
}

/* Tiny phones */
@media (max-width: 359px) {
    .stat-card .num { font-size: 22px; }
    .hm-hero h1 { font-size: 22px; }
}

/* Service card image as <img> not background — for SEO indexability */
.hm-service-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.hm-service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
}
.hm-service-card:hover .hm-service-card__img img { transform: scale(1.05); }
.hm-service-card__img::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.45));
    pointer-events: none;
    z-index: 1;
}
.hm-service-card__icon { z-index: 2; }
@media (max-width: 991px) { .hm-service-card__img { height: 180px; } }
@media (max-width: 575px) { .hm-service-card__img { height: 160px; } }
