:root {
    --dt-blue: #0b86c8;
    --dt-navy: #123f8f;
    --dt-sky: #41c9f4;
    --dt-sky-soft: #dcf7ff;
    --dt-green: #3c9738;
    --dt-gold: #f4a51c;
    --dt-orange: #f05a28;
    --dt-ink: #10245b;
    --dt-muted: #617089;
    --dt-line: #d7e4f2;
    --dt-paper: #edf5ff;
    --dt-soft: #f8fbff;
    --dt-white: #ffffff;
    --dt-shadow: 0 20px 52px rgba(21, 55, 131, 0.15);
    --dt-shadow-sm: 0 12px 30px rgba(21, 55, 131, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.denteeth-site {
    margin: 0;
    color: var(--dt-ink);
    background:
        radial-gradient(circle at 0 0, rgba(244, 165, 28, 0.18), transparent 25%),
        radial-gradient(circle at 100% 12%, rgba(60, 151, 56, 0.16), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, var(--dt-paper) 340px, #f8fbff 100%);
    font-family: "Work Sans", "Inter", Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0;
}

body.denteeth-site img {
    display: block;
    max-width: 100%;
}

body.denteeth-site a {
    color: inherit;
    text-decoration: none;
}

body.denteeth-site button,
body.denteeth-site input,
body.denteeth-site select,
body.denteeth-site textarea {
    font: inherit;
}

.dt-container {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.dt-header {
    position: sticky;
    top: 12px;
    z-index: 80;
    margin-top: 12px;
}

.dt-nav {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 20px;
    min-height: 82px;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(65, 201, 244, 0.98), rgba(11, 134, 200, 0.96) 48%, rgba(18, 63, 143, 0.96));
    box-shadow: 0 18px 44px rgba(11, 134, 200, 0.22);
    backdrop-filter: blur(16px);
}

.dt-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dt-brand img {
    width: 142px;
    height: auto;
    padding: 7px 10px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(18, 63, 143, 0.14);
}

.dt-brand span {
    display: none;
}

.dt-menu {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dt-menu a {
    padding: 11px 15px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.dt-menu a:hover,
.dt-menu a.active {
    color: #0d3d7a;
    background: rgba(255, 255, 255, 0.9);
}

.dt-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.dt-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 800;
}

.dt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--dt-blue), var(--dt-navy));
    box-shadow: 0 14px 30px rgba(11, 134, 200, 0.24);
    font-weight: 900;
    text-align: center;
}

.dt-button.secondary,
.dt-button.light {
    color: var(--dt-navy);
    background: linear-gradient(145deg, #ffffff, #edf6ff);
    border: 1px solid var(--dt-line);
    box-shadow: var(--dt-shadow-sm);
}

.dt-button.light {
    background: #ffffff;
}

.dt-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
    gap: 28px;
    min-height: 690px;
    margin-top: 14px;
    padding: 42px;
    overflow: hidden;
    color: #ffffff;
    border-radius: 8px;
    background: var(--dt-navy);
    box-shadow: var(--dt-shadow);
}

.dt-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.dt-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dt-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(21, 55, 131, 0.94) 0%, rgba(21, 55, 131, 0.76) 42%, rgba(21, 55, 131, 0.2) 100%),
        linear-gradient(180deg, rgba(11, 103, 173, 0.12), rgba(60, 151, 56, 0.22));
}

.dt-hero-copy,
.dt-hero-card {
    position: relative;
    z-index: 1;
}

.dt-hero-copy {
    align-self: center;
    max-width: 690px;
}

.dt-eyebrow {
    color: var(--dt-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.dt-hero h1 {
    margin: 14px 0 18px;
    color: #ffffff;
    font-family: "Inter", "Work Sans", Arial, sans-serif;
    font-size: 68px;
    font-weight: 900;
    line-height: 1;
}

.dt-hero-copy p {
    max-width: 570px;
    color: #dfeeff;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.75;
}

.dt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.dt-hero-card {
    align-self: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.dt-hero-card img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 8px;
    margin-bottom: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
}

.dt-hero-card span {
    color: #dbeaff;
    font-weight: 700;
}

.dt-hero-card strong {
    display: block;
    margin: 5px 0 8px;
    font-size: 25px;
    line-height: 1.2;
}

.dt-metrics {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-self: end;
}

.dt-metrics div,
.dt-card,
.dt-panel,
.dt-service-card,
.dt-team-card,
.dt-contact-card,
.dt-gallery-card {
    border: 1px solid var(--dt-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--dt-shadow-sm);
}

.dt-metrics div {
    min-height: 104px;
    padding: 20px;
    color: var(--dt-ink);
}

.dt-metrics strong {
    display: block;
    color: var(--dt-navy);
    font-size: 18px;
}

.dt-metrics span {
    color: var(--dt-muted);
    font-weight: 700;
}

.dt-section {
    padding: 56px 0;
}

.dt-section.compact {
    padding: 38px 0;
}

.dt-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.dt-section-head.center {
    display: block;
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.dt-section-head h2,
.dt-page-hero h1,
.dt-panel h2 {
    color: var(--dt-ink);
    font-family: "Inter", "Work Sans", Arial, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.05;
    margin: 8px 0 0;
}

.dt-section-head p {
    max-width: 620px;
    color: var(--dt-muted);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.75;
}

.dt-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dt-card {
    padding: 26px;
}

.dt-card i,
.dt-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--dt-sky), var(--dt-blue));
    box-shadow: 0 12px 26px rgba(11, 134, 200, 0.22);
    margin-bottom: 18px;
}

.dt-card h3,
.dt-service-card h3,
.dt-team-card h3,
.dt-contact-card h3 {
    margin: 0 0 10px;
    color: var(--dt-navy);
    font-family: "Inter", "Work Sans", Arial, sans-serif;
    font-size: 22px;
    font-weight: 900;
}

.dt-card p,
.dt-service-card p,
.dt-panel p,
.dt-team-card span,
.dt-contact-card span,
.dt-contact-card a {
    color: var(--dt-muted);
    font-weight: 600;
    line-height: 1.78;
}

.dt-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dt-service-card {
    overflow: hidden;
}

.dt-service-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.dt-service-card div {
    padding: 24px;
}

.dt-service-card small {
    color: var(--dt-gold);
    font-weight: 900;
}

.dt-about-band {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: center;
}

.dt-about-images {
    position: relative;
    min-height: 520px;
}

.dt-about-images img {
    position: absolute;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--dt-shadow);
}

.dt-about-images .main {
    inset: 0 auto auto 0;
    width: 78%;
    height: 420px;
}

.dt-about-images .small {
    right: 0;
    bottom: 0;
    width: 48%;
    height: 280px;
    border: 8px solid var(--dt-paper);
}

.dt-panel {
    padding: 34px;
}

.dt-about-text-panel {
    max-width: 980px;
    margin: 0 auto;
}

.dt-check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.dt-check-list li {
    display: flex;
    gap: 10px;
    color: var(--dt-ink);
    font-weight: 800;
}

.dt-check-list i {
    color: var(--dt-green);
    margin-top: 4px;
}

.dt-team-grid,
.dt-gallery-grid,
.dt-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dt-team-card {
    overflow: hidden;
    text-align: center;
}

.dt-team-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.dt-team-card div {
    padding: 18px;
}

.dt-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dt-gallery-card {
    overflow: hidden;
}

.dt-gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.dt-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    color: #ffffff;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--dt-blue), var(--dt-navy));
    box-shadow: var(--dt-shadow);
}

.dt-cta h2 {
    max-width: 720px;
    margin: 6px 0 0;
    color: #ffffff;
    font-size: 40px;
    font-weight: 900;
}

.dt-page-hero {
    margin-top: 14px;
    padding: 72px 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #eaf5ff);
    box-shadow: var(--dt-shadow-sm);
}

.dt-page-hero p {
    max-width: 720px;
    color: var(--dt-muted);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.75;
}

.dt-contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dt-contact-card {
    padding: 22px;
}

.dt-contact-main,
.dt-booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 22px;
}

.dt-form {
    display: grid;
    gap: 16px;
}

.dt-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dt-form label {
    display: grid;
    gap: 8px;
    color: var(--dt-navy);
    font-weight: 900;
}

.dt-form .full {
    grid-column: 1 / -1;
}

.dt-form input,
.dt-form select,
.dt-form textarea {
    width: 100%;
    border: 1px solid var(--dt-line);
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--dt-ink);
    background: #ffffff;
    outline: 0;
}

.dt-form input:focus,
.dt-form select:focus,
.dt-form textarea:focus {
    border-color: var(--dt-blue);
    box-shadow: 0 0 0 4px rgba(11, 103, 173, 0.12);
}

.dt-captcha {
    align-items: center;
    grid-template-columns: minmax(180px, auto) minmax(160px, 1fr);
    padding: 14px;
    border: 1px solid var(--dt-line);
    border-radius: 8px;
    background: var(--dt-sky-soft);
}

.dt-captcha input {
    background: #ffffff;
}

.dt-map iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 8px;
}

.dt-footer {
    margin-top: 48px;
    padding: 36px 0;
    color: #dfeeff;
    background: var(--dt-navy);
}

.dt-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.9fr 0.9fr;
    gap: 24px;
}

.dt-footer img {
    width: 150px;
    margin-bottom: 14px;
}

.dt-footer h3 {
    color: #ffffff;
    margin: 0 0 12px;
}

.dt-footer a,
.dt-footer span,
.dt-footer p {
    display: block;
    color: #dfeeff;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .dt-nav {
        grid-template-columns: auto 1fr auto;
    }

    .dt-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .dt-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        padding: 12px;
        border: 1px solid var(--dt-line);
        border-radius: 8px;
        background: linear-gradient(135deg, #41c9f4, #0b86c8);
        box-shadow: var(--dt-shadow-sm);
    }

    .dt-menu.is-open {
        display: flex;
    }

    .dt-phone {
        display: none;
    }
}

@media (max-width: 920px) {
    .dt-hero,
    .dt-about-band,
    .dt-contact-main,
    .dt-booking-grid {
        grid-template-columns: 1fr;
    }

    .dt-hero h1 {
        font-size: 50px;
    }

    .dt-hero-card img {
        height: 360px;
    }

    .dt-metrics,
    .dt-feature-grid,
    .dt-services-grid,
    .dt-team-grid,
    .dt-contact-grid,
    .dt-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dt-container {
        width: min(100% - 20px, 1240px);
    }

    .dt-nav {
        gap: 10px;
    }

    .dt-brand img {
        width: 118px;
    }

    .dt-nav > .dt-button {
        display: none;
    }

    .dt-hero,
    .dt-page-hero,
    .dt-panel,
    .dt-cta {
        padding: 22px;
    }

    .dt-hero {
        min-height: auto;
    }

    .dt-hero h1 {
        font-size: 38px;
        line-height: 1;
    }

    .dt-hero-card img {
        height: 300px;
    }

    .dt-section-head,
    .dt-cta {
        display: block;
    }

    .dt-section-head h2,
    .dt-page-hero h1,
    .dt-panel h2,
    .dt-cta h2 {
        font-size: 32px;
    }

    .dt-metrics,
    .dt-feature-grid,
    .dt-services-grid,
    .dt-team-grid,
    .dt-gallery-grid,
    .dt-contact-grid,
    .dt-footer-grid,
    .dt-form-grid,
    .dt-check-list {
        grid-template-columns: 1fr;
    }

    .dt-about-images {
        min-height: auto;
    }

    .dt-about-images img,
    .dt-about-images .main,
    .dt-about-images .small {
        position: static;
        width: 100%;
        height: 260px;
        border: 0;
        margin-bottom: 12px;
    }
}

/* ===== Cases Page Styles ===== */

.dt-cases-metrics {
    margin-bottom: 0;
}

.dt-cases-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    border: 1px solid var(--dt-line);
    border-radius: 8px;
    background: var(--dt-white);
    box-shadow: var(--dt-shadow-sm);
}

.dt-cases-filter a {
    padding: 10px 18px;
    border-radius: 8px;
    color: var(--dt-muted);
    font-weight: 800;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dt-cases-filter a:hover {
    color: var(--dt-navy);
    background: var(--dt-paper);
}

.dt-cases-filter a.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--dt-blue), var(--dt-navy));
    box-shadow: 0 8px 20px rgba(11, 134, 200, 0.22);
}

.dt-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dt-case-card {
    border: 1px solid var(--dt-line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--dt-white);
    box-shadow: var(--dt-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dt-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dt-shadow);
}

.dt-case-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--dt-ink);
}

.dt-case-images figure {
    margin: 0;
    position: relative;
    overflow: hidden;
}

.dt-case-images figure img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.dt-case-card:hover .dt-case-images figure img {
    transform: scale(1.05);
}

.dt-case-images figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
    letter-spacing: 0.1em;
}

.dt-case-before figcaption {
    text-align: left;
}

.dt-case-after figcaption {
    text-align: right;
}

.dt-case-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--dt-gold), var(--dt-orange));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.dt-case-info {
    padding: 20px;
}

.dt-case-info .dt-eyebrow {
    font-size: 12px;
    margin-bottom: 6px;
}

.dt-case-info h3 {
    margin: 6px 0 8px;
    color: var(--dt-navy);
    font-family: "Inter", "Work Sans", Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.dt-case-info p {
    color: var(--dt-muted);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dt-empty {
    text-align: center;
    padding: 60px 20px;
}

.dt-empty i {
    font-size: 48px;
    color: var(--dt-line);
    margin-bottom: 16px;
}

.dt-empty h2 {
    color: var(--dt-ink);
    font-family: "Inter", "Work Sans", Arial, sans-serif;
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 10px;
}

.dt-empty p {
    color: var(--dt-muted);
    font-weight: 600;
    margin: 0 0 20px;
}

.dt-pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.dt-pagination nav {
    display: flex;
    gap: 4px;
}

.dt-pagination a,
.dt-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--dt-line);
    border-radius: 8px;
    color: var(--dt-muted);
    font-weight: 700;
    font-size: 14px;
    background: var(--dt-white);
}

.dt-pagination a:hover {
    border-color: var(--dt-blue);
    color: var(--dt-blue);
}

.dt-pagination span[aria-current="page"] {
    color: #ffffff;
    background: linear-gradient(135deg, var(--dt-blue), var(--dt-navy));
    border-color: transparent;
}

.dt-cases-grid.featured {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 920px) {
    .dt-cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dt-cases-grid.featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dt-cases-grid,
    .dt-cases-grid.featured {
        grid-template-columns: 1fr;
    }
    .dt-cases-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .dt-cases-filter a {
        white-space: nowrap;
    }
}
