/* updated 2026-05-05 */
/*
Theme Name: HolDeinePlakette Theme
Theme URI: https://holdeineplakette.de
Author: HolDeinePlakette
Author URI: https://holdeineplakette.de
Description: Professionelles WordPress-Theme f?r KFZ-Pr?fstellen mit Buchungssystem, Standortverwaltung und Bewertungen.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: holdeineplakette
Tags: one-column, custom-colors, custom-menu, featured-images, theme-options, translation-ready
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ============================================
   CSS Variables / Design Tokens
   ============================================ */
:root {
    --hdp-primary: #EF4444;
    --hdp-primary-dark: #DC2626;
    --hdp-secondary: #FACC15;
    --hdp-dark: #111827;
    --hdp-gray-900: #1F2937;
    --hdp-gray-700: #374151;
    --hdp-gray-600: #4B5563;
    --hdp-gray-500: #6B7280;
    --hdp-gray-400: #9CA3AF;
    --hdp-gray-300: #D1D5DB;
    --hdp-gray-200: #E5E7EB;
    --hdp-gray-100: #F3F4F6;
    --hdp-gray-50: #F9FAFB;
    --hdp-white: #FFFFFF;
    --hdp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hdp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --hdp-radius: 0.5rem;
    --hdp-radius-lg: 1rem;
    --hdp-radius-full: 9999px;

    /* Premium Tokens */
    --hdp-glass-bg: rgba(255, 255, 255, 0.6);
    --hdp-glass-border: rgba(255, 255, 255, 0.8);
    --hdp-glass-blur: 20px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--hdp-gray-700);
    background-color: var(--hdp-white);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--hdp-gray-900);
}

p {
    margin: 0 0 1rem;
}

/* ============================================
   Utility Classes
   ============================================ */
.hdp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hdp-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hdp-container {
        padding: 0 2rem;
    }
}

.hdp-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .hdp-section {
        padding: 6rem 0;
    }
}

.hdp-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.hdp-section-subtitle {
    color: var(--hdp-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.hdp-section-title,
h2#fristen-fuer-die-hauptuntersuchung {
    font-size: 40px !important;
    font-weight: 800;
    color: var(--hdp-dark);
}

@media (max-width: 767px) {
    .hdp-section-title {
        font-size: 28px !important;
    }
}

h2.hdp-reviews-title {
    font-size: 40px !important;
}



/* ============================================
   Buttons
   ============================================ */
.hdp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hdp-btn-primary {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: var(--hdp-white);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

.hdp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.hdp-btn-primary:disabled,
.hdp-btn-primary[disabled] {
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.65;
    transform: none !important;
}

.hdp-btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   Header
   ============================================ */
.hdp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.hdp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.hdp-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hdp-logo img {
    height: 50px;
    width: auto;
}

.hdp-nav {
    display: none;
}

@media (min-width: 1024px) {
    .hdp-nav {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
}

.hdp-nav-link {
    font-weight: 600;
    color: var(--hdp-gray-700);
    font-size: 0.9375rem;
}

.hdp-nav-link:hover {
    color: var(--hdp-primary);
}

.hdp-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .hdp-mobile-toggle {
        display: none;
    }
}


/* ============================================
   Hero Section
   ============================================ */
.hdp-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 40px;
    overflow: hidden;
    background-color: #F9FAFB;
}

.hdp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hdp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hdp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    z-index: 1;
}

.hdp-hero-overlay-red {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
    z-index: 2;
}

.hdp-hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    /* Premium Compact Width */
    margin: 0 auto;
    /* Center the wrapper */
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    /* Increased Gap */
}

@media (min-width: 1024px) {
    .hdp-hero-content-wrapper {
        flex-direction: row;
        align-items: stretch;
    }
}

.hdp-hero-content {
    width: 100%;
    color: white;
}

@media (min-width: 1024px) {
    .hdp-hero-content {
        flex: 1;
    }
}

.hdp-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 20;
}

.hdp-rating-stars {
    display: flex;
    gap: 2px;
    color: #FBBF24;
}

.hdp-rating-value {
    font-weight: 800;
    color: var(--hdp-dark);
}

.hdp-rating-count {
    color: var(--hdp-gray-500);
    font-size: 0.8125rem;
}

.hdp-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hdp-hero-title {
        font-size: 3.5rem;
    }
}

.hdp-hero-title-highlight {
    color: var(--hdp-secondary);
}

.hdp-hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hdp-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hdp-hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hdp-hero-feature-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.hdp-hero-feature-icon svg {
    width: 16px;
    height: 16px;
}

.hdp-hero-feature-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hdp-hero-feature-title {
    font-size: 0.8rem;
    font-weight: 700;
}

.hdp-hero-feature-subtitle {
    font-size: 0.7rem;
    opacity: 0.9;
}

.hdp-hero-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hdp-hero-availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.hdp-hero-availability-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   Locations Section
   ============================================ */
.hdp-locations {
    background-color: #F3F4F6;
    /* Light Gray Background */
    color: var(--hdp-gray-700);
    /* Dark Text */
}

/* Map container matching hero slider */
.hdp-locations .hdp-container {
    max-width: 1280px;
    padding: 0 1rem;
}

.hdp-locations .hdp-section-title {
    color: var(--hdp-dark);
    font-size: 1.75rem;
    /* Smaller font size */
    white-space: nowrap;
    /* Force one line */
    margin-bottom: 0.5rem;
}

.hdp-locations .hdp-section-subtitle {
    color: var(--hdp-primary);
    /* Primary color for subtitle in light mode */
    margin-bottom: 0.5rem;
}

.hdp-locations-grid {
    position: relative;
    height: 550px;
    /* Reduced height */
    width: 100%;
    /* max-width removed to fill container (1280px) */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    /* Softer shadow */
}

.hdp-locations-map-wrapper {
    width: 100%;
    height: 100%;
}

.hdp-locations-map {
    width: 100%;
    height: 100%;
}

.hdp-locations-list {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 320px;
    max-height: calc(100% - 3rem);
    background: #FFFFFF;
    /* Pure white for contrast against light gray */
    border-radius: 16px;
    padding: 1rem;
    z-index: 900;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hdp-location-region {
    margin-bottom: 0.5rem;
    /* Reduced margin */
}

.hdp-location-region-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    /* Compact header */
    background: #F9FAFB;
    /* Very light gray */
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--hdp-gray-900);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.hdp-location-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    /* Compact padding */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
    border: 1px solid transparent;
}

.hdp-location-item:hover {
    background: #F3F4F6;
}

/* Support both class names just in case */
.hdp-location-item.active,
.hdp-location-item.hdp-location-item-active {
    background: #FEF2F2;
    /* Light red background */
    border-color: #FECACA;
}

.hdp-location-item.active .hdp-location-name,
.hdp-location-item.hdp-location-item-active .hdp-location-name {
    color: var(--hdp-primary);
}

.hdp-location-icon {
    color: var(--hdp-gray-400);
    flex-shrink: 0;
}

.hdp-location-item.active .hdp-location-icon,
.hdp-location-item.hdp-location-item-active .hdp-location-icon {
    color: var(--hdp-primary);
}

.hdp-location-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    color: var(--hdp-gray-800);
}

/* Location Details Panel */
.hdp-location-details-panel {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 280px;
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    z-index: 910;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .hdp-location-details-panel {
        top: auto;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

.hdp-location-details-close {
    display: none !important;
}

/* ============================================
   Process Section
   ============================================ */
.hdp-process-steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.hdp-process-step {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hdp-process-step {
        grid-template-columns: 1fr 1fr;
    }

    .hdp-process-step:nth-child(even) .hdp-process-step-content {
        order: 2;
    }
}

.hdp-process-step-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--hdp-gray-100);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.hdp-process-step-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hdp-process-step-description {
    font-size: 1.125rem;
    color: var(--hdp-gray-600);
    margin-bottom: 1rem;
}

.hdp-process-step-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--hdp-primary);
}

.hdp-process-step-image {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hdp-process-step-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ============================================
   FAQ Section
   ============================================ */
.hdp-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.hdp-faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid var(--hdp-gray-100);
    overflow: hidden;
}

.hdp-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: left;
}

.hdp-faq-answer {
    padding: 0 2rem 1.5rem;
    display: none;
    color: var(--hdp-gray-600);
}

.hdp-faq-item.active .hdp-faq-answer {
    display: block;
}

.hdp-faq-item.active .hdp-faq-question {
    color: var(--hdp-primary);
}

.hdp-faq-item.active svg {
    transform: rotate(180deg);
    color: var(--hdp-primary);
}

/* ============================================
   Footer (Premium)
   ============================================ */
.hdp-footer {
    background-color: #0F172A;
    color: #94A3B8;
    padding: 6rem 0 2rem;
    position: relative;
}

.hdp-footer-grid {
    display: grid;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .hdp-footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.hdp-footer-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.hdp-footer-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--hdp-primary);
}

.hdp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hdp-footer-links li {
    margin-bottom: 1rem;
}

.hdp-footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.hdp-footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hdp-footer-social a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hdp-footer-social a:hover {
    background: var(--hdp-primary);
    transform: translateY(-5px);
}

.hdp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sticky Phone */
/* ============================================
   Pricing Section Refinements
   ============================================ */
#preise {
    background-color: #FFFFFF;
}

#preise .hdp-section-title {
    font-size: 2rem;
}

@media (min-width: 768px) {
    #preise .hdp-section-title {
        font-size: 2.5rem;
    }
}

/* Popular Card Styling */
.hdp-pricing-card-popular {
    background-color: var(--hdp-dark);
    color: white;
    border: 1px solid var(--hdp-dark);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hdp-pricing-card-popular .hdp-pricing-title,
.hdp-pricing-card-popular .hdp-pricing-price,
.hdp-pricing-card-popular .hdp-pricing-vat,
.hdp-pricing-card-popular .hdp-pricing-feature-text {
    color: white;
}

.hdp-pricing-card-popular .hdp-pricing-currency {
    color: rgba(255, 255, 255, 0.8);
}

.hdp-pricing-card-popular .hdp-pricing-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.hdp-pricing-card-popular .hdp-pricing-feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #22C55E;
    /* Keep checkmark green or make white? Reference has green checks on white card. On dark card, green is fine. */
}

/* Ensure button stands out */
.hdp-pricing-card-popular .hdp-btn-primary {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* ============================================
   Modal / Popup Styles
   ============================================ */
.hdp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.hdp-modal-overlay.active {
    display: flex;
}

.hdp-modal {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hdp-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--hdp-gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hdp-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hdp-gray-900);
}

.hdp-modal-close {
    background: none;
    border: none;
    color: var(--hdp-gray-400);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hdp-modal-close:hover {
    background: var(--hdp-gray-100);
    color: var(--hdp-gray-900);
}

.hdp-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.hdp-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--hdp-gray-100);
    background: var(--hdp-gray-50);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

/* Form Styles inside Modal */
.hdp-form-group {
    margin-bottom: 1.25rem;
}

.hdp-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--hdp-gray-700);
    font-size: 0.9rem;
}

.hdp-form-input,
.hdp-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--hdp-gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.hdp-form-input:focus,
.hdp-form-select:focus {
    outline: none;
    border-color: var(--hdp-primary);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.hdp-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.hdp-form-checkbox input {
    margin-top: 0.25rem;
}

.hdp-form-checkbox span {
    font-size: 0.9rem;
    color: var(--hdp-gray-600);
}

/* Service Modal Specifics */
#service-modal .hdp-modal {
    max-width: 800px;
}

#service-modal-description img {
    border-radius: 12px;
    margin-bottom: 1.5rem;
}


/* ============================================
   Sticky Phone Icon
   ============================================ */
.hdp-sticky-phone {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: var(--hdp-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    transition: all 0.3s ease;
}

.hdp-sticky-phone:hover {
    transform: scale(1.1);
    background: var(--hdp-primary-dark);
    color: white;
}

@media (max-width: 768px) {
    .hdp-sticky-phone {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}


/* ============================================
   Process Section Refinements
   ============================================ */
#ablauf {
    background-color: #F3F4F6;
}


/* ============================================
   FAQ Section Refinements
   ============================================ */
#faq {
    background-color: #F3F4F6;
}


/* ============================================
   Single Service Page Refinements
   ============================================ */
.service-page-wrapper {
    padding-top: 140px;
}

/* Compact Header Button */
.hdp-header-cta .hdp-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .service-page-wrapper {
        padding-top: 100px;
    }
}

/* ============================================
   Mobile Responsiveness Overrides
   ============================================ */
@media (max-width: 767px) {

    /* Hero Section */
    .hdp-hero {
        padding-top: 80px;
        min-height: auto;
    }

    .hdp-hero-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .hdp-hero-title {
        font-size: 1.75rem;
    }

    .hdp-hero-subtitle {
        font-size: 1rem;
    }

    .hdp-hero-features {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .hdp-feature-item {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 0.75rem !important;
    }

    .hdp-feature-icon {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }

    .hdp-feature-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    .hdp-feature-item span {
        font-size: 0.8125rem !important;
        text-align: left !important;
        line-height: 1.2 !important;
    }

    /* Locations Section */
    .hdp-locations-grid {
        display: flex;
        flex-direction: column;
        height: auto;
        border-radius: 16px;
    }

    .hdp-locations-list {
        position: static;
        width: 100%;
        max-height: 400px;
        border-radius: 16px 16px 0 0;
        top: 0;
        left: 0;
        box-shadow: none;
        border: none;
        border-bottom: 1px solid var(--hdp-gray-100);
    }

    .hdp-locations-map-wrapper {
        height: 450px;
        position: relative;
    }

    .hdp-location-details-panel {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        border-radius: 24px 24px 0 0;
        z-index: 1001;
        margin: 0;
        max-height: 80%;
        overflow-y: auto;
    }

    .hdp-location-details-content {
        padding: 1.25rem !important;
    }

    /* Process Section */
    .hdp-process-step {
        gap: 1.5rem;
    }

    .hdp-process-step-number {
        font-size: 3rem;
    }

    .hdp-process-step-title {
        font-size: 1.5rem;
    }

    .hdp-process-step-image img {
        height: 250px;
    }

    /* Footer */
    .hdp-footer {
        padding: 4rem 0 2rem;
    }

    .hdp-footer-grid {
        gap: 2rem;
    }

    .hdp-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hdp-btn {
        width: 100%;
    }

    .hdp-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}
.hdp-btn-primary:disabled { opacity: 0.7; cursor: not-allowed; pointer-events: none; }

/* 
 * Primary button styles for disabled state
 */
.hdp-btn-primary:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
