/* ==========================================================================
   Devine Tiles — Services Page Styles
   Page-specific styles for page-services.php
   ========================================================================== */

/* ===== INTRO CONTENT ===== */
.dt-intro-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dt-gray);
    max-width: 900px;
}
.dt-intro-content p { margin: 0 0 20px; }
.dt-intro-content p:last-child { margin-bottom: 0; }

/* ===== SERVICE CARDS WITH IMAGES ===== */
.dt-svc-img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.dt-svc-img-card {
    background: var(--dt-white);
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius-lg);
    overflow: hidden;
    transition: all .4s ease;
    display: flex;
    flex-direction: column;
}
.dt-svc-img-card:hover {
    border-color: var(--dt-primary);
    box-shadow: var(--dt-shadow-hover);
    transform: translateY(-5px);
}
.dt-svc-img-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.dt-svc-img-card__body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.dt-svc-img-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--dt-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background .3s ease;
}
.dt-svc-img-card:hover .dt-svc-img-card__icon { background: var(--dt-primary); }
.dt-svc-img-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--dt-primary);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .3s ease;
}
.dt-svc-img-card:hover .dt-svc-img-card__icon svg { stroke: var(--dt-white); }
.dt-svc-img-card__title {
    font-family: var(--dt-font-heading);
    font-size: 21px;
    font-weight: 600;
    color: var(--dt-black);
    margin: 0 0 10px;
}
.dt-svc-img-card__desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--dt-gray);
    margin: 0 0 20px;
    flex-grow: 1;
}
.dt-svc-img-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dt-primary);
    color: var(--dt-white);
    font-family: var(--dt-font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .3s ease;
    align-self: flex-start;
    border: 2px solid var(--dt-primary);
}
.dt-svc-img-card__cta:hover {
    background: var(--dt-primary-dark);
    border-color: var(--dt-primary-dark);
    color: var(--dt-white);
    transform: translateX(3px);
}
.dt-svc-img-card__cta svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform .3s ease;
}
.dt-svc-img-card__cta:hover svg { transform: translateX(3px); }

/* ===== PROCESS TABLE ===== */
.dt-process-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
}
.dt-section-header--center + .dt-process-table { margin: 0 auto; }
.dt-process-table tr {
    border-bottom: 1px solid var(--dt-border);
    transition: background .3s ease;
}
.dt-process-table tr:last-child { border-bottom: none; }
.dt-process-table tr:hover { background: var(--dt-primary-light); }
.dt-process-table td { padding: 20px 24px; vertical-align: middle; }
.dt-process-table__step {
    font-family: var(--dt-font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--dt-primary);
    width: 48px;
    text-align: center;
}
.dt-process-table__title {
    font-family: var(--dt-font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--dt-black);
    width: 260px;
}
.dt-process-table__desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--dt-gray);
}

/* ===== WHY CHOOSE — CHECKLIST ===== */
.dt-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.dt-why-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--dt-white);
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius);
    transition: all .3s ease;
}
.dt-why-item:hover {
    border-color: var(--dt-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
    transform: translateY(-2px);
}
.dt-why-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dt-why-item__icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--dt-white);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dt-why-item__text {
    font-size: 15px;
    font-weight: 600;
    color: var(--dt-black);
}

/* ===== SUPPLY SECTION — TWO COLUMN ===== */
.dt-supply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.dt-supply-content {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--dt-gray);
}
.dt-supply-content p { margin: 0 0 20px; }
.dt-supply-content p:last-child { margin-bottom: 0; }
.dt-supply-visual {
    background: var(--dt-cream);
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius-lg);
    padding: 48px 40px;
    text-align: center;
}
.dt-supply-visual__title {
    font-family: var(--dt-font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--dt-black);
    margin: 0 0 12px;
}
.dt-supply-visual__title span { color: var(--dt-primary); }
.dt-supply-visual__desc {
    font-size: 14.5px;
    color: var(--dt-gray);
    margin: 0 0 28px;
    line-height: 1.65;
}
.dt-supply-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.dt-supply-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--dt-white);
    border: 1px solid var(--dt-border);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dt-dark);
    transition: all .3s ease;
}
.dt-supply-tag:hover {
    border-color: var(--dt-primary);
    color: var(--dt-primary);
    background: var(--dt-primary-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .dt-svc-img-grid { grid-template-columns: repeat(2, 1fr); }
    .dt-supply-grid { grid-template-columns: 1fr; gap: 40px; }
    .dt-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .dt-svc-img-grid { grid-template-columns: 1fr; gap: 20px; }
    .dt-why-grid { grid-template-columns: 1fr; gap: 12px; }
    .dt-process-table__title { width: auto; }
    .dt-process-table td { padding: 14px 16px; }
}
@media (max-width: 480px) {
    .dt-svc-img-card__image { height: 180px; }
}
