:root {
    --dk-yellow: #ffbd3f;
    --dk-yellow-dark: #e99b05;
    --dk-dark: #171717;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button {
    border: 0;
    padding: 0;
    background: transparent;
}

.dk-logo {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    line-height: 1;
    text-decoration: none;
}

.dk-logo img {
    width: 46px !important;
    height: 46px;
    object-fit: contain;
    flex: 0 0 auto;
}

.dk-logo__text {
    display: flex;
    flex-direction: column;
    color: #fff;
    white-space: nowrap;
}

.dk-logo__text strong {
    color: #fff;
    font-size: 20px;
    line-height: 21px;
    letter-spacing: .2px;
}

.dk-logo__text small {
    color: var(--dk-yellow);
    font-size: 8px;
    line-height: 10px;
    font-weight: 800;
    letter-spacing: .5px;
}

.header__area-menubar-center-menu ul li.current-menu-item > a {
    color: var(--primary-color-1) !important;
}

.header__area-menubar-center-menu ul li {
    margin: 0 14px;
}

.header__area-menubar-right-sidebar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-quote-mobile {
    display: none;
}

.header-quote-desktop .build_button {
    white-space: nowrap;
}

.sidebar-quote {
    width: 100%;
    justify-content: space-between;
}

/* Hero: title width is constrained at every viewport. */
.banner__two,
.banner__two-area,
.banner__two-content {
    overflow: hidden;
}

.banner__two-content {
    width: min(100%, 1320px);
}

.banner__two-content h2,
.banner__two-content h1 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
}

.banner__two-content h1.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: clamp(72px, 8vw, 142px);
    line-height: .92;
    letter-spacing: .01em;
    margin-bottom: 42px;
}

.banner__two-content h1.hero-title .hero-line {
    display: block;
    max-width: 100%;
}

.banner__two-content h2 {
    font-size: clamp(48px, 4.8vw, 78px);
    line-height: 1.08;
}

.banner__two-slide-area-thumb-item h6 {
    max-width: none;
}

.banner__two-slide-area-thumb-item {
    min-height: 118px;
}

/* Service grids */
.service-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.services__one-item {
    min-height: 250px;
}

.services__one-item > i {
    font-size: 54px;
    margin-bottom: 28px;
    display: inline-block;
}

.service-detail-copy p + p {
    margin-top: 18px;
}

.service-detail-list {
    padding: 0;
    margin: 30px 0 0;
}

.service-detail-list li {
    list-style: none;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.service-detail-list li i {
    color: var(--primary-color-1);
    margin-top: 6px;
}

/* Blog intentionally has no hard-coded demo content. */
.empty-state {
    border: 1px solid var(--border-color-2);
    padding: 70px 30px;
    text-align: center;
    background: var(--bg-white);
}

.empty-state i {
    font-size: 56px;
    color: var(--primary-color-1);
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
}

/* Footer */
.site-footer .dk-logo {
    margin-bottom: 28px;
}

.footer-links ul {
    padding: 0;
    margin: 20px 0 0;
}

.footer-links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact-list a {
    color: var(--color-6);
    transition: .3s;
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: var(--primary-color-1);
}

.footer-contact-list {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.footer-contact-list a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-list i {
    color: var(--primary-color-1);
    font-size: 22px;
}

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.floating-whatsapp:hover {
    color: #fff;
    transform: translateY(-2px);
}

.floating-whatsapp i {
    font-size: 24px;
}

/* Contact */
.whatsapp-form .form-control,
.whatsapp-form .form-select {
    height: 58px;
    border-radius: 0;
    border: 1px solid var(--border-color-2);
    padding: 0 18px;
}

.whatsapp-form textarea.form-control {
    height: 140px;
    padding-top: 16px;
}

.gallery__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 1299px) {
    .header__area-menubar-center-menu ul li {
        margin: 0 8px;
    }

    .header__area-menubar-center-menu ul li a {
        font-size: 14px;
    }

    .header-quote-desktop .build_button {
        padding-left: 24px;
    }
}

@media (max-width: 1199px) {
    .header__area-menubar-center,
    .header__area-menubar-right-sidebar,
    .header-quote-desktop {
        display: none;
    }

    .header-quote-mobile {
        display: block;
    }

    .header-quote-mobile a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        padding: 0 18px;
        border-radius: 999px;
        background: var(--primary-color-1);
        color: var(--color-1);
        font-size: 14px;
        font-weight: 800;
        white-space: nowrap;
    }

    .header__area-menubar-right-responsive-menu {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .header__area {
        padding: 14px 0;
    }

    .custom_container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dk-logo {
        gap: 6px;
    }

    .dk-logo img {
        width: 38px !important;
        height: 38px;
    }

    .dk-logo__text strong {
        font-size: 17px;
        line-height: 18px;
    }

    .dk-logo__text small {
        font-size: 7px;
    }

    .header__area-menubar-right {
        gap: 8px;
    }

    .header-quote-mobile a {
        height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }

    .header__area-menubar-right-responsive-menu i {
        font-size: 28px;
    }

    .banner__two-area {
        min-height: 620px;
        padding: 0;
    }

    .banner__two-content {
        padding: 142px 0 150px;
        width: 100%;
    }

    .banner__two-content .subtitle {
        font-size: 13px;
        line-height: 20px;
        padding: 6px 15px;
        margin-bottom: 18px;
    }

    .banner__two-content h2 {
        font-size: clamp(29px, 8vw, 40px);
        line-height: 1.1;
        margin-bottom: 8px;
        max-width: 330px;
    }

    .banner__two-content h1.hero-title {
        font-size: clamp(50px, 15vw, 72px);
        line-height: .9;
        letter-spacing: -.02em;
        margin-bottom: 32px;
        width: 100%;
    }

    .banner__two-content h1.hero-title .hero-line {
        width: 100%;
    }

    .banner__two-content .build_button {
        min-height: 58px;
        padding-left: 26px;
    }

    .banner__two-slide {
        margin-top: -92px;
        padding: 0 12px;
    }

    .banner__two-slide .container {
        padding: 0;
    }

    .banner__two-slide-area-thumb-item {
        min-height: 108px;
        padding: 22px 22px;
        gap: 18px;
    }

    .banner__two-slide-area-thumb-item img {
        width: 58px;
        min-width: 58px;
        height: 58px;
    }

    .banner__two-slide-area-thumb-item h6 {
        font-size: 17px;
        line-height: 25px;
        overflow-wrap: anywhere;
    }

    .section-padding,
    .section-padding-two,
    .section-padding-three {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .breadcrumb__area {
        padding-top: 170px;
        padding-bottom: 90px;
    }

    .breadcrumb__area-content h2 {
        font-size: clamp(42px, 13vw, 62px);
        line-height: 1;
        overflow-wrap: anywhere;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        min-height: 50px;
        padding: 0 16px;
    }

    .footer__one-cta-title h2 {
        font-size: 34px;
        line-height: 44px;
    }
}

@media (max-width: 465px) {
    .header-quote-mobile a {
        padding: 0 11px;
    }

    .banner__two-area {
        min-height: 590px;
    }

    .banner__two-content {
        padding-top: 125px;
        padding-bottom: 145px;
    }

    .banner__two-content h2 {
        max-width: 290px;
        font-size: clamp(27px, 7.7vw, 34px);
    }

    .banner__two-content h1.hero-title {
        font-size: clamp(46px, 14.2vw, 64px);
    }

    .banner__two-slide-area-thumb-item h6 {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 359px) {
    .dk-logo__text {
        display: none;
    }

    .header-quote-mobile a {
        font-size: 11px;
        padding: 0 10px;
    }

    .banner__two-content h1.hero-title {
        font-size: 44px;
    }
}

@media (max-width: 1199px) {
    .menu__bar-popup,
    .menu__bar-popup-overlay {
        display: block;
    }
}

/* Header telephone + WhatsApp action group */
.header-contact-stack {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-phone-desktop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    white-space: nowrap;
}

.header-phone-desktop > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: var(--primary-color-1);
}

.header-phone-desktop span {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
}

.header-phone-desktop small {
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.header-contact-stack > .header-quote-desktop {
    white-space: nowrap;
}

.header-phone-mobile {
    display: none;
}

@media (max-width: 1399px) {
    .header-phone-desktop span {
        font-size: 13px;
    }

    .header-contact-stack {
        gap: 10px;
    }

    .header-contact-stack > .header-quote-desktop {
        padding-left: 20px;
    }
}

@media (max-width: 1199px) {
    .header-contact-stack {
        display: none;
    }

    .header-phone-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 58px;
        height: 40px;
        padding: 0 11px;
        border: 1px solid rgba(255, 255, 255, .5);
        border-radius: 999px;
        color: #fff;
        font-size: 12px;
        font-weight: 800;
    }

    .header-phone-mobile:hover {
        color: var(--primary-color-1);
    }
}

@media (max-width: 767px) {
    .banner__two-content {
        padding-left: 2px;
        padding-right: 10px;
    }

    .banner__two-content h1.hero-title {
        width: 100%;
        max-width: calc(100vw - 44px);
        font-size: clamp(39px, 12.6vw, 58px);
        line-height: .94;
        letter-spacing: -.045em;
    }

    .banner__two-content h1.hero-title .hero-line {
        width: auto;
        max-width: 100%;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .header-phone-mobile span {
        display: none;
    }

    .header-phone-mobile {
        min-width: 38px;
        width: 38px;
        padding: 0;
    }

    .banner__two-content h1.hero-title {
        max-width: calc(100vw - 36px);
        font-size: clamp(37px, 12vw, 50px);
    }
}

@media (max-width: 340px) {
    .banner__two-content h1.hero-title {
        font-size: 36px;
    }
}

/* Mobile header keeps the actual phone number visible. */
@media (max-width: 1199px) {
    .header-phone-mobile {
        width: auto;
        min-width: 0;
        padding: 0 10px;
        font-size: 11px;
    }

    .header-phone-mobile span {
        display: inline;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .header-phone-mobile {
        width: auto;
        min-width: 0;
        padding: 0 8px;
        font-size: 10px;
    }

    .header-phone-mobile span {
        display: inline;
    }
}

@media (max-width: 340px) {
    .header-phone-mobile {
        width: 38px;
        min-width: 38px;
        padding: 0;
    }

    .header-phone-mobile span {
        display: none;
    }
}


/* Header contrast fix: keep contact elements crisp over all hero images. */
.site-header .header__area-menubar-center-menu > ul > li > a {
    color: #ffffff !important;
    opacity: 1 !important;
}

.site-header .header__area-menubar-center-menu > ul > li.current-menu-item > a,
.site-header .header__area-menubar-center-menu > ul > li:hover > a {
    color: var(--dk-yellow) !important;
}

.site-header .header-phone-desktop,
.site-header .header-phone-desktop span,
.site-header .header-phone-desktop small,
.site-header .header-phone-desktop i {
    opacity: 1 !important;
}

.site-header .header-phone-desktop,
.site-header .header-phone-desktop span {
    color: #ffffff !important;
}

.site-header .header-phone-desktop small {
    color: rgba(255, 255, 255, .9) !important;
}

.site-header .header-phone-desktop > i {
    color: var(--dk-yellow) !important;
    border-color: rgba(255, 255, 255, .55) !important;
}

.site-header .header-phone-desktop:hover,
.site-header .header-phone-desktop:hover span,
.site-header .header-phone-desktop:hover small {
    color: var(--dk-yellow) !important;
}

.site-header .header-phone-mobile {
    display: none !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

.site-header .header-quote-desktop,
.site-header .header-quote-desktop:hover,
.site-header .header-quote-desktop i,
.site-header .header-quote-desktop:hover i {
    color: #171717 !important;
    opacity: 1 !important;
}

.site-header .header__area-menubar-right-sidebar,
.site-header .header__area-menubar-right-sidebar-icon,
.site-header .header__area-menubar-right-sidebar-icon i {
    opacity: 1 !important;
}

@media (max-width: 1199px) {
    .site-header .header-phone-mobile {
        display: inline-flex !important;
    }
}

@media (max-width: 340px) {
    .site-header .header-phone-mobile span {
        display: none !important;
    }
}

/* ========================================================================
   D&K live release repairs — logo, real photos and stable responsive grids
   ======================================================================== */
.dk-logo {
    display: inline-flex !important;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.dk-logo img {
    display: block;
    width: 148px !important;
    height: auto !important;
    max-height: 78px;
    object-fit: contain;
    flex: 0 0 auto;
}

.dk-logo--full img {
    width: 205px !important;
    max-height: none;
}

.site-header .header__area-menubar-left-logo,
.site-header .header__area-menubar-left-logo a {
    line-height: 0;
}

.header__area-menubar-right-sidebar-popup-logo .dk-logo--full img {
    width: 220px !important;
}

.site-footer .dk-logo--full {
    margin-bottom: 28px;
}

.site-footer .dk-logo--full img {
    width: 225px !important;
}

/* The old sticky stack was built for horizontal demo images. Real portrait
   operation photos made the homepage several screens too tall. */
.dk-service-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dk-service-showcase__item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--color-1);
}

.dk-service-showcase__item::after {
    position: absolute;
    content: "";
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .04) 30%, rgba(0, 0, 0, .84) 100%);
    pointer-events: none;
}

.dk-service-showcase__item img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.dk-service-showcase__item .portfolio__two-item-content {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    z-index: 2;
    width: auto;
    padding: 28px;
    transform: none;
    text-align: left;
    opacity: 1;
    visibility: visible;
}

.dk-service-showcase__item .portfolio__two-item-content span {
    display: block;
    color: var(--primary-color-1);
    font-size: 14px;
    line-height: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.dk-service-showcase__item .portfolio__two-item-content h4 {
    max-width: calc(100% - 60px);
    margin: 5px 0 0;
    color: #fff;
    font-size: 23px;
    line-height: 30px;
}

.dk-service-showcase__item .portfolio__two-item-content > a:last-child {
    position: absolute;
    right: 24px;
    bottom: 24px;
}

.dk-service-showcase__item .portfolio__two-item-content > a i {
    width: 46px;
    height: 46px;
    font-size: 22px;
}

.dk-service-showcase__item:hover img {
    filter: brightness(.78);
    transform: scale(1.035);
}

/* Services listing: uniform cards prevent portrait photos and missing-image
   placeholders from breaking the three-column structure. */
.three__columns .portfolio__three-item {
    height: 430px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--color-1);
}

.three__columns .portfolio__three-item > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.three__columns .portfolio__three-item::after {
    position: absolute;
    content: "";
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .72) 100%);
    pointer-events: none;
}

.three__columns .portfolio__three-item-content {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 0 24px 24px;
    padding: 0 24px 25px;
}

.three__columns .portfolio__three-item:hover .portfolio__three-item-content {
    transform: translateY(-8px);
}

/* Real D&K photos replace the purchased-theme measurement placeholders. */
.faq__area-image img {
    display: block;
    width: 100%;
    transform: none;
}

.certification-right img,
.about__five-image img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.certification-right img {
    min-height: 420px;
}

@media (max-width: 991px) {
    .dk-service-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dk-service-showcase__item img {
        height: 330px;
    }

    .three__columns .portfolio__three-item {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .site-header .dk-logo img,
    .menu__bar-popup-top .dk-logo img {
        width: 112px !important;
        max-height: 60px;
    }

    .dk-service-showcase {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dk-service-showcase__item img {
        height: 330px;
    }

    .dk-service-showcase__item .portfolio__two-item-content {
        padding: 24px;
    }

    .three__columns .portfolio__three-item {
        height: 380px;
    }

    .certification-right img {
        min-height: 0;
        height: auto;
    }
}

@media (max-width: 420px) {
    .site-header .dk-logo img,
    .menu__bar-popup-top .dk-logo img {
        width: 96px !important;
    }

    .dk-service-showcase__item img {
        height: 310px;
    }

    .dk-service-showcase__item .portfolio__two-item-content h4 {
        font-size: 21px;
        line-height: 28px;
    }
}

.dk-logo img {
    max-width: none !important;
}

@media (max-width: 1499px) and (min-width: 1200px) {
    .site-header .dk-logo img {
        width: 136px !important;
    }

    .header__area-menubar-center-menu ul li {
        margin-left: 7px;
        margin-right: 7px;
    }

    .header__area-menubar-center-menu ul li a {
        font-size: 14px;
    }

    .header-contact-stack {
        gap: 10px;
    }

    .header-phone-desktop span {
        font-size: 13px;
    }

    .header-quote-desktop {
        padding-left: 22px;
    }
}

/* Dynamic service cards: all content and images come from the services table. */
.dk-services-image-section .slider-area {
    position: relative;
}

.dk-service-image-card {
    position: relative;
    height: 390px;
    overflow: hidden;
    border-radius: 12px;
    background: #202020;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
}

.dk-service-image-card__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.dk-service-image-card__link > img,
.dk-service-image-card__placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .55s ease, filter .55s ease;
}

.dk-service-image-card__placeholder {
    background:
        radial-gradient(circle at 75% 20%, rgba(255, 189, 63, .26), transparent 34%),
        linear-gradient(145deg, #292929, #121212);
}

.dk-service-image-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .08) 16%, rgba(0, 0, 0, .36) 48%, rgba(0, 0, 0, .92) 100%);
}

.dk-service-image-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 28px;
}

.dk-service-image-card__icon {
    position: absolute;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    color: #171717;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
}

.dk-service-image-card__icon i {
    font-size: 27px;
    color: var(--dk-yellow-dark);
}

.dk-service-image-card__title {
    display: block;
    max-width: 240px;
    margin-bottom: 20px;
    font-size: 27px;
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
}

.dk-service-image-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.dk-service-image-card__more i {
    color: var(--dk-yellow);
}

.dk-service-image-card:hover .dk-service-image-card__link > img {
    transform: scale(1.055);
    filter: brightness(.82);
}

.dk-service-image-card:hover .dk-service-image-card__more {
    color: var(--dk-yellow);
}

.dk-service-page-placeholder,
.service-detail-image-placeholder,
.dk-service-showcase-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 70% 18%, rgba(255, 189, 63, .26), transparent 36%),
        linear-gradient(145deg, #2a2a2a, #111);
}

.dk-service-page-placeholder i,
.service-detail-image-placeholder i,
.dk-service-showcase-placeholder i {
    color: var(--dk-yellow);
    font-size: 64px;
}

.service-detail-image-placeholder {
    min-height: 520px;
    border-radius: 10px;
}

.dk-service-showcase-placeholder {
    min-height: 350px;
}

@media (max-width: 1199px) {
    .dk-service-image-card {
        height: 360px;
    }

    .dk-service-image-card__content {
        padding: 24px;
    }

    .dk-service-image-card__icon {
        top: 20px;
        left: 20px;
    }
}

@media (max-width: 767px) {
    .dk-service-image-card {
        height: 390px;
    }

    .dk-service-image-card__title {
        max-width: 100%;
        font-size: 25px;
    }

    .service-detail-image-placeholder {
        min-height: 360px;
    }
}
