
/* ===== Base Styles ===== */
body {
    font-family: 'Open Sans', 'OpenSansFallback', sans-serif;
    color: var(--text-body);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'MontserratFallback', sans-serif;
}

.divider-custom {
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 1.5rem;
}

.divider-light {
    background-color: var(--color-text-primary);
}

/* ===== Buttons ===== */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: clamp(620px, 75svh, 820px);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* .hero-overlay and .hero-inner: single source in public.css */

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

.hero-title {
    color: var(--color-text-primary);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-form-card {
    background: var(--bg-main);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 100%;
}

.hero-form-title {
    color: var(--text-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 400px) {
    .hero-form-row {
        grid-template-columns: 1fr;
    }
}

.hero-form-submit {
    width: 100%;
    margin-top: 0.25rem;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 991px) {
    .hero-right {
        align-items: stretch;
    }
}

/* Hero quick quote (garage) + recovery: dark glass card on hero overlay */
.hero-section .hero-quick-quote-card,
.hero-section .hero-recovery-quote-card {
    background: rgba(26, 26, 26, 0.88);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    min-width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-section .hero-quick-quote-card .hero-form-title,
.hero-section .hero-recovery-quote-card .hero-form-title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    color: var(--color-text-primary, #fff);
}

.hero-section .hero-quick-quote-form,
.hero-section .hero-recovery-quote-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-section .hero-quick-quote-form .hero-form-row,
.hero-section .hero-recovery-quote-form .hero-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.hero-section .hero-quick-quote-field {
    margin: 0;
}

.hero-section .hero-quick-quote-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 480px) {
    .hero-section .hero-quick-quote-form .hero-form-row {
        grid-template-columns: 1fr;
    }
}

.hero-section .hero-quick-quote-form select,
.hero-section .hero-quick-quote-form .form-select,
.hero-section .hero-recovery-quote-form select,
.hero-section .hero-recovery-quote-form .form-select {
    width: 100%;
    padding: 0.5rem 0.6rem;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: rgba(26, 26, 26, 0.95);
    color: #fff;
    color: var(--color-text-primary, #fff);
}

.hero-section .hero-quick-quote-form select option,
.hero-section .hero-quick-quote-form .form-select option,
.hero-section .hero-recovery-quote-form select option,
.hero-section .hero-recovery-quote-form .form-select option {
    background: #1a1a1a;
    color: #fff;
}

.hero-section .hero-quick-quote-card .hero-form-submit,
.hero-section .hero-recovery-quote-card .hero-form-submit {
    margin-top: 0.25rem;
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--accent, var(--primary));
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.hero-section .hero-quick-quote-result,
.hero-section .hero-recovery-quote-result {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section .hero-quick-quote-price,
.hero-section .hero-recovery-quote-price {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    color: var(--color-text-primary, #fff);
}

.hero-section .hero-quick-quote-time,
.hero-section .hero-recovery-quote-time {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.95);
}

.hero-section .hero-quick-quote-result .hero-form-submit,
.hero-section .hero-quick-quote-result .hero-quick-quote-book,
.hero-section .hero-recovery-quote-result .hero-form-submit {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.hero-slogan {
    color: var(--primary);
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: right;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 991px) {
    .hero-slogan {
        text-align: center;
    }
}

.min-vh-75 {
    min-height: 75vh;
}

/* ===== Service Cards ===== */
.service-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md) !important;
}

/* Service card title link (Bold-style: title is href, button is separate) */
.service-card-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.service-card-title-link:hover {
    color: var(--primary);
}

/* Missing photo on home / listing Bootstrap cards (ResponsiveImageHelper .img-placeholder) */
.card.hover-card > .img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    aspect-ratio: 16 / 9;
    min-height: 0;
    background: var(--service-card-img-placeholder-bg, #eef2f6);
    color: color-mix(in srgb, var(--primary, #ea4704) 75%, var(--text-muted, #6c757d));
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.07));
}

.card.hover-card > .img-placeholder .img-placeholder-icon {
    display: block;
    flex-shrink: 0;
}

.card.hover-card > .img-placeholder.service-img {
    object-fit: unset;
}

/* Topbar specific styles */
.bg-secondary.text-white {
    color: white !important;
}

.bg-secondary.text-white small {
    color: white !important;
}

.bg-secondary.text-white a {
    color: white !important;
}

/* Why Choose Us - modern cards */
.why-choose-section {
    position: relative;
}

.why-choose-section .why-choose-title {
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.why-choose-section .why-choose-divider {
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 0 auto 1rem;
}

.why-choose-subtitle {
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.why-choose-item {
    height: 100%;
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background-color: var(--bg-main);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-choose-item:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--primary) 24%, transparent);
    box-shadow: var(--shadow-md);
}

.why-choose-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    color: var(--primary);
    background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 8%, transparent), color-mix(in srgb, var(--primary) 14%, transparent));
}

.why-choose-icon-svg {
    width: 1.9rem;
    height: 1.9rem;
}

.why-choose-heading {
    color: var(--text-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.why-choose-desc {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Testimonials ===== */
.testimonial-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.testimonial-item {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-main);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.testimonial-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.testimonial-carousel .owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    border-radius: 50%;
}

.testimonial-carousel .owl-dot.active span {
    background-color: var(--primary);
}

/* ===== Modern Testimonials (home secondary section) ===== */
.testimonial-layout-modern {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-main) 100%);
}

.testimonial-layout-modern__card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-main);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-layout-modern__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.testimonial-layout-modern__quote-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary);
    margin-bottom: 1rem;
}

.testimonial-layout-modern__message {
    margin: 0 0 1rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

.testimonial-layout-modern__meta {
    margin-top: auto;
}

.testimonial-layout-modern__rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-layout-modern__star-wrap {
    position: relative;
    display: inline-flex;
    width: 16px;
    height: 16px;
}

.testimonial-layout-modern__star-base,
.testimonial-layout-modern__star-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: inline-flex;
    align-items: center;
}

.testimonial-layout-modern__star-base {
    width: 100%;
    color: var(--text-muted);
}

.testimonial-layout-modern__star-fill {
    overflow: hidden;
    color: var(--warning);
    white-space: nowrap;
}

.testimonial-layout-modern__star {
    width: 16px;
    height: 16px;
}

.testimonial-layout-modern__author {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.9rem;
}

.testimonial-layout-modern__name {
    font-family: 'Montserrat', 'MontserratFallback', sans-serif;
    font-weight: 700;
    color: var(--text-heading);
}

.testimonial-layout-modern__label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== Home Contact Modern ===== */
.home-contact-modern {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-main) 100%);
}

.home-contact-modern__info {
    background: linear-gradient(160deg, #2b2e4a 0%, #20233b 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
}

.home-contact-modern__info-title {
    color: #fff !important;
    margin: 0 0 0.75rem;
    font-size: 1.3rem;
}

.home-contact-modern__info-text {
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1.25rem;
}

.home-contact-modern__feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.home-contact-modern__feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.home-contact-modern__feature-item strong {
    display: block;
    color: #fff;
    margin-bottom: 0.15rem;
}

.home-contact-modern__feature-item p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.home-contact-modern__feature-item p.home-contact-modern__reply-timing {
    color: rgba(255, 255, 255, 0.92);
}

.home-contact-modern__feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 6px 14px color-mix(in srgb, var(--primary) 35%, transparent);
}

.home-contact-modern__feature-icon svg {
    display: block;
    width: 1.125em;
    height: 1.125em;
    flex-shrink: 0;
}

.home-contact-modern__form-wrap {
    height: 100%;
}

.home-contact-modern__form {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.home-contact-modern__textarea {
    resize: vertical;
    min-height: 140px;
}

.home-contact-modern__honeypot {
    display: none;
}

@media (max-width: 991px) {
    .home-contact-modern__info {
        margin-bottom: 0.5rem;
    }
}

/* ===== Gallery ===== */
/* Gallery grid: 2 per row on desktop, 1 per row on mobile */
.gallery-row .col-md-6,
.gallery-row .col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
}
@media (max-width: 767px) {
  .gallery-row .col-md-6,
  .gallery-row .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.gallery-img {
    height: 250px;
    object-fit: cover;
}

.gallery-card {
    overflow: hidden;
    border: none;
    border-radius: 8px;
}

.gallery-card .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .card-img-overlay {
    opacity: 1;
}

.gallery-card img {
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

/* ===== Gallery Page ===== */
.gallery-modal-img {
    max-height: 70vh;
    object-fit: contain;
}

.gallery-navigation button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--color-text-primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.gallery-navigation .prev {
    left: 10px;
}

.gallery-navigation .next {
    right: 10px;
}

.form-section {
    background-color: var(--light);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--primary) 25%, transparent);
}

/* ===== Contact Page ===== */
.contact-info-section {
    background-color: var(--bg-light);
}

.contact-info-heading {
    min-height: 28px;
}

.contact-info-heading .contact-info-icon {
    flex-shrink: 0;
    vertical-align: middle;
}

.contact-info-icon {
    display: block;
    color: var(--primary);
}

.contact-info-item {
    padding: 20px;
    border-radius: 8px;
    background-color: var(--bg-main);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
}

.cta-magic{
    background-color: var(--primary-hover) !important;
}
.contact-icon {
    width: 60px;
    height: 60px;
    background-color: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }
    
    .contact-info-item {
        margin-bottom: 20px;
    }
}

/* ===== Additional Helper Classes ===== */
.bg-light-gray {
    background-color: var(--bg-light);
}

.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.fw-medium {
    font-weight: 500;
}

.rounded-xl {
    border-radius: 1rem !important;
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}



  
/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-in-out;
}

/* ===== Utilities ===== */
.section-padding {
    padding: 5rem 0;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== Service Detail Actions ===== */
.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-detail-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
}

.service-contact-btn {
    border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
    background: linear-gradient(180deg, var(--bg-main) 0%, color-mix(in srgb, var(--primary) 8%, var(--surface-dark-soft)) 100%);
    color: color-mix(in srgb, var(--primary) 80%, black);
    box-shadow: 0 6px 14px color-mix(in srgb, var(--primary) 8%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.service-contact-btn:hover,
.service-contact-btn:focus-visible {
    border-color: color-mix(in srgb, var(--primary) 55%, transparent);
    color: color-mix(in srgb, var(--primary) 65%, black);
    background: linear-gradient(180deg, var(--bg-main) 0%, color-mix(in srgb, var(--primary) 12%, var(--surface-dark-soft)) 100%);
    box-shadow: 0 10px 20px color-mix(in srgb, var(--primary) 16%, transparent);
    transform: translateY(-1px);
}

.service-contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px color-mix(in srgb, var(--primary) 12%, transparent);
}

.service-contact-btn-icon {
    width: 18px;
    height: 18px;
    color: currentColor;
}

.service-contact-btn-icon,
.service-contact-btn-icon * {
    fill: currentColor;
    stroke: currentColor;
}

@media (max-width: 575px) {
    .service-detail-actions {
        flex-direction: column;
    }

    .service-detail-actions .btn {
        width: 100%;
    }
}

/* ===== Service Details ===== */
.service-sidebar-title {
    margin: 0 0 1rem;
    font-size: clamp(1.2rem, 0.9vw, 1.4rem);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}

.service-details-list {
    margin: 0;
    padding: 0 0 0 0.45rem;
    list-style: none;
}

.service-details-list .service-details-item,
.service-details-list .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
    gap: 0.75rem;
    background: transparent;
}

.service-details-list .service-details-item:last-child,
.service-details-list .list-group-item:last-child {
    border-bottom: 0;
}

.service-details-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    line-height: 1.35;
    font-size: clamp(0.9rem, 0.35vw, 1rem);
    color: var(--text-body);
}

.service-details-item > :last-child,
.service-details-list .list-group-item > :last-child {
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

.service-details-label .svg {
    flex-shrink: 0;
}

.service-details-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.service-details-icon,
.service-details-icon * {
    fill: currentColor;
    stroke: currentColor;
}

.service-details-icon-muted {
    color: var(--text-muted);
}

.service-details-icon-danger {
    color: var(--danger);
}

.service-details-icon-primary,
.service-details-icon-price {
    color: var(--primary);
}

.service-details-label-primary {
    color: var(--primary);
}

.service-details-label-muted {
    color: var(--text-muted);
}

.service-details-label-danger {
    color: var(--danger);
}

.service-details-value {
    font-weight: 700;
    font-size: clamp(1rem, 0.45vw, 1.15rem);
    color: var(--text-heading);
}

.service-details-value-success {
    color: var(--success);
}

.service-details-value-danger {
    color: var(--danger);
}

.service-details-value-warranty {
    color: var(--text-heading);
}

.service-details-original-price {
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: currentColor;
    font-size: clamp(0.95rem, 0.4vw, 1.08rem);
}

/* Compatibility with older utility-class markup */
.service-details-list .text-primary {
    color: var(--text-primary);
}

.service-details-list .text-success {
    color: var(--success);
}

.service-details-list .text-danger {
    color: var(--danger);
}

.service-details-list .fw-bold,
.service-details-list .fw-semibold {
    font-weight: 700;
    font-size: clamp(1rem, 0.45vw, 1.15rem);
}

/* ===== Other Services (Service View) ===== */
.other-services-list {
    margin: 0;
    padding: 0 0 0 0.45rem;
    list-style: none;
}

.other-services-list .other-services-item,
.other-services-list .list-group-item {
    list-style: none;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.other-services-list .other-services-item:last-child,
.other-services-list .list-group-item:last-child {
    border-bottom: 0;
}

.other-service-link,
.other-services-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0;
    color: var(--text-heading);
    text-decoration: none !important;
    line-height: 1.35;
    font-size: clamp(1.6rem, 1.45vw, 1.85rem);
    font-weight: 500;
}

.other-service-link:hover,
.other-services-list a:hover {
    color: var(--primary);
    text-decoration: none !important;
}

.other-service-title {
    color: var(--text-heading);
}

.other-services-list .text-dark {
    color: inherit;
}

.other-service-arrow {
    color: var(--primary);
    flex-shrink: 0;
}

.other-services-list .text-primary {
    color: var(--text-primary);
    flex-shrink: 0;
}

.other-services-widget {
    margin: 0;
    padding: 1.25rem 1.25rem 1.15rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #ededed;
    box-shadow: 0 4px 22px rgba(15, 23, 42, 0.08);
}

.other-services-widget__title {
    margin: 0 0 1rem;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: #1a202c;
    text-align: left;
}

.other-services-widget .other-services-cards,
.other-services-widget__cards.other-services-cards {
    display: grid;
    gap: 0.85rem;
}

.other-services-cards {
    display: grid;
    gap: 0.85rem;
}

.other-service-card {
    border: 1px solid #ededed;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.other-service-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.other-service-card-link {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 0 0.94rem;
    align-items: stretch;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
}

.other-service-card-link:focus-visible {
    outline: 2px solid var(--primary, #ea4704);
    outline-offset: 2px;
    border-radius: 12px;
}

.other-service-card-image-wrap {
    overflow: hidden;
    background: #f7fafc;
    border-radius: 11px 0 0 11px;
    align-self: stretch;
    min-height: 108px;
}

.other-service-card-image {
    width: 100%;
    height: 100%;
    min-height: 108px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.other-service-card:hover .other-service-card-image {
    transform: scale(1.04);
}

.other-service-card-content {
    padding: 0.75rem 0.9rem 0.75rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.35rem;
    min-height: 108px;
}

.other-service-card-title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a202c;
}

.other-service-card-desc {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #718096;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.other-service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.other-service-card-price-slot {
    min-width: 0;
    flex: 1 1 auto;
}

.other-service-card-price {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.62rem;
    border-radius: 999px;
    background: #e8f5e9;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.other-service-card-price--quote {
    background: #edf2f7;
    color: #475569;
    font-weight: 600;
}

.other-service-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-transform: none;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--primary, #ea4704) 12%, #fff);
    border: 1px solid var(--primary, #ea4704);
    color: var(--primary, #ea4704);
}

.other-service-card .other-service-arrow {
    color: currentColor;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.other-service-card:hover .other-service-arrow {
    transform: translateX(2px);
}

@media (max-width: 767px) {
    .other-service-card-link {
        grid-template-columns: 92px 1fr;
    }

    .other-service-card-image,
    .other-service-card-image-wrap {
        min-height: 100px;
    }

    .other-service-card-content {
        padding-right: 0.65rem;
        min-height: 100px;
    }
}

.blog-article-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: clamp(1.1rem, 2vw, 1.75rem);
    box-shadow: var(--shadow-sm);
}

.blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.15rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.blog-meta-row > span {
    display: inline-flex;
    align-items: center;
}

.blog-post-content {
    color: var(--text-body);
    line-height: 1.75;
    font-size: 1.03rem;
}

.blog-post-content p:last-child {
    margin-bottom: 0;
}

.blog-inline-related {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-comments-wrap {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    padding: clamp(1.05rem, 2vw, 1.5rem);
}

.blog-sidebar-sticky {
    position: sticky;
    top: 104px;
}

@media (max-width: 991.98px) {
    .blog-sidebar-sticky {
        position: static;
    }
}
