
/*
    * Carter Capner Law - Office Finder
    * Mobile-First Responsive Design
    * 
    * Breakpoints:
    * - Desktop: 1024px+
    * - Tablet: 768px - 1023px
    * - Mobile: 480px - 767px
    * - Small Mobile: < 480px
    * 
    * Mobile Features:
    * - Touch-optimized targets (min 44px)
    * - Smooth scrolling
    * - Safe area support (notch handling)
    * - Reduced motion support
    * - Performance optimizations
    */

.ccl-find--wrapper {
    --blue: #1d63ff;
    --blue-dark: #0846c1;
    --green: #10b981;
    --ink: #1e293b;
    --text: #475569;
    --gray: #64748b;
    --gray-light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --font: 'Inter', -apple-system, sans-serif;
    --font-display: 'Inter Tight', var(--font);
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.1);
}

.ccl-find--wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ccl-find--wrapper {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.ccl-find--wrapper h1,
.ccl-find--wrapper h2,
.ccl-find--wrapper h3 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
}

/* Safe area support for mobile devices */
@supports (padding: max(0px)) {
    .ccl-find--hero,
    .ccl-find--results,
    .ccl-find--directory {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    }
}

/* Focus states for accessibility */
.ccl-find--btn:focus-visible,
.ccl-find--input:focus-visible,
.ccl-find--office:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

/* Hero */
.ccl-find--hero {
    background: linear-gradient(135deg, #0846c1 0%, #1d63ff 100%);
    padding: 100px 24px 120px;
    position: relative;
    overflow: hidden;
}

.ccl-find--hero::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.ccl-find--hero-content {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.ccl-find--hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.ccl-find--hero-lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 48px;
    font-weight: 400;
}

/* Search Form - Redesigned */
.ccl-find--search-form {
    background: var(--white);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
}

.ccl-find--input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.ccl-find--input-icon {
    position: absolute;
    left: 24px;
    color: var(--gray);
    font-size: 1.25rem;
    pointer-events: none;
    z-index: 1;
}

.ccl-find--input {
    width: 100%;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0 24px 0 64px;
    font-size: 1.0625rem;
    font-family: var(--font);
    color: var(--ink);
    background: var(--gray-light);
    transition: all 0.2s;
    font-weight: 500;
    -webkit-appearance: none;
    appearance: none;
}

.ccl-find--input::placeholder {
    color: var(--gray);
    font-weight: 400;
    opacity: 0.8;
}

.ccl-find--input:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(29, 99, 255, 0.1);
}

.ccl-find--search-btn {
    height: 60px;
    padding: 0 40px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    -webkit-appearance: none;
    appearance: none;
}

.ccl-find--search-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 99, 255, 0.3);
}

.ccl-find--search-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(29, 99, 255, 0.3);
}

.ccl-find--search-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Loading */
.ccl-find--loading {
    display: none;
    padding: 80px 24px;
    text-align: center;
    min-height: 300px;
}

.ccl-find--loading.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ccl-find--spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--blue);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Results */
.ccl-find--results {
    display: none;
    padding: 64px 24px;
    background: var(--gray-light);
}

.ccl-find--results.active {
    display: block;
}

.ccl-find--container {
    max-width: 1200px;
    margin: 0 auto;
}

.ccl-find--results-header {
    text-align: center;
    margin-bottom: 48px;
}

.ccl-find--results h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.ccl-find--results-location {
    font-size: 1.125rem;
    color: var(--gray);
}

.ccl-find--layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
    align-items: start;
}

/* Office List */
.ccl-find--offices {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 750px;
    overflow-y: auto;
    padding-right: 12px;
}

.ccl-find--offices::-webkit-scrollbar {
    width: 6px;
}

.ccl-find--offices::-webkit-scrollbar-track {
    background: transparent;
}

.ccl-find--offices::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.ccl-find--office {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.ccl-find--office::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue);
    border-radius: var(--radius) var(--radius) 0 0;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.ccl-find--office:hover,
.ccl-find--office.active {
    border-color: var(--blue);
    box-shadow: var(--shadow);
}

.ccl-find--office:hover::before,
.ccl-find--office.active::before {
    transform: scaleX(1);
}

.ccl-find--office-top {
    display: flex;
    align-items: start;
    gap: 16px;
    margin-bottom: 16px;
}

.ccl-find--office-badge {
    width: 40px;
    height: 40px;
    background: var(--blue);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.ccl-find--office-info {
    flex: 1;
    min-width: 0;
}

.ccl-find--office-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--ink);
}

.ccl-find--office-address {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.5;
}

.ccl-find--office-distance {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--blue);
    white-space: nowrap;
}

.ccl-find--office-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ccl-find--btn {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    font-family: var(--font);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    line-height: 1.4;
    white-space: nowrap;
}

.ccl-find--btn-primary {
    background: var(--blue);
    color: var(--white);
}

.ccl-find--btn-primary:hover {
    background: var(--blue-dark);
}

.ccl-find--btn-outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.ccl-find--btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

/* Map Mockup */
.ccl-find--map-wrap {
    position: sticky;
    top: 24px;
}

.ccl-find--map-container {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 750px;
    box-shadow: var(--shadow);
    position: relative;
}

.ccl-find--map {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #e8f4ff 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

/* Map decorative elements */
.ccl-find--map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
    linear-gradient(90deg, rgba(29, 99, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(29, 99, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.ccl-find--map-legend {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 0.875rem;
    z-index: 10;
}

.ccl-find--map-legend-title {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.ccl-find--map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ccl-find--map-legend-item:last-child {
    margin-bottom: 0;
}

.ccl-find--map-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ccl-find--map-marker {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--blue);
    color: white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(29, 99, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 5;
}

.ccl-find--map-marker span {
    transform: rotate(45deg);
    font-size: 1rem;
}

.ccl-find--map-marker:hover {
    transform: rotate(-45deg) scale(1.15);
    z-index: 6;
}

.ccl-find--map-marker.user-location {
    background: var(--green);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transform: none;
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.ccl-find--map-marker.user-location span {
    display: none;
}

@keyframes pulse {
    0%, 100% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.2);
    }
    50% {
    box-shadow: 0 0 0 16px rgba(16, 185, 129, 0);
    }
}

.ccl-find--map-route {
    position: absolute;
    stroke: var(--blue);
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 8 4;
    opacity: 0.5;
    z-index: 1;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
    stroke-dashoffset: -100;
    }
}

/* Details Panel */
.ccl-find--details {
    display: none;
    margin-top: 28px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}

.ccl-find--details.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
    opacity: 0;
    transform: translateY(20px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

.ccl-find--details-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border);
}

.ccl-find--details-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.ccl-find--details-address {
    color: var(--gray);
    font-size: 1.0625rem;
}

.ccl-find--details-close {
    width: 44px;
    height: 44px;
    background: var(--gray-light);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray);
    transition: all 0.2s;
}

.ccl-find--details-close:hover {
    background: var(--border);
    color: var(--ink);
}

.ccl-find--details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 36px;
}

.ccl-find--detail-item {
    display: flex;
    gap: 16px;
    align-items: start;
}

.ccl-find--detail-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ccl-find--detail-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
    font-weight: 700;
    margin-bottom: 6px;
}

.ccl-find--detail-value {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
}

.ccl-find--detail-value a {
    color: var(--blue);
    text-decoration: none;
}

.ccl-find--detail-value a:hover {
    text-decoration: underline;
}

.ccl-find--details h4 {
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.ccl-find--hours {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.ccl-find--hour {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--gray-light);
    border-radius: 10px;
}

.ccl-find--hour-day {
    font-weight: 600;
    color: var(--ink);
}

.ccl-find--hour-time {
    color: var(--gray);
}

.ccl-find--details-note {
    padding: 18px 20px;
    background: var(--gray-light);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.ccl-find--details-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ccl-find--btn-large {
    padding: 18px 28px;
    font-size: 1.0625rem;
    border-radius: 12px;
}

.ccl-find--btn-secondary {
    background: var(--gray-light);
    color: var(--ink);
    border: 2px solid var(--border);
}

.ccl-find--btn-secondary:hover {
    border-color: var(--blue);
    background: var(--white);
}

/* Mobile Team */
.ccl-find--mobile {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    padding: 56px 40px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.ccl-find--mobile-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 1.75rem;
}

.ccl-find--mobile h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--white);
    margin-bottom: 16px;
}

.ccl-find--mobile p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 8px;
}

.ccl-find--mobile-location {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 28px 0;
}

.ccl-find--mobile-contact {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 20px 28px;
    border-radius: 12px;
    margin: 28px 0 36px;
}

.ccl-find--mobile-contact i {
    font-size: 1.5rem;
}

.ccl-find--mobile-phone {
    text-align: left;
}

.ccl-find--mobile-label {
    font-size: 0.8125rem;
    opacity: 0.85;
    display: block;
    margin-bottom: 4px;
}

.ccl-find--mobile-phone a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.ccl-find--mobile-btn {
    background: var(--white);
    color: var(--green);
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.ccl-find--mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Directory */
.ccl-find--directory {
    padding: 80px 24px;
    background: var(--white);
}

.ccl-find--directory-header {
    text-align: center;
    margin-bottom: 56px;
}

.ccl-find--directory h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.ccl-find--directory-lead {
    font-size: 1.125rem;
    color: var(--gray);
}

.ccl-find--directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.ccl-find--dir-item {
    background: var(--gray-light);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.2s;
}

.ccl-find--dir-item:hover {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: var(--shadow);
}

.ccl-find--dir-name {
    font-weight: 600;
    color: var(--ink);
    font-size: 1.0625rem;
}

.ccl-find--dir-phone {
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    white-space: nowrap;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .ccl-find--layout {
    grid-template-columns: 1fr;
    }
    
    .ccl-find--map-wrap {
    position: relative;
    top: 0;
    order: -1;
    }
    
    .ccl-find--map-container {
    height: 500px;
    }
    
    .ccl-find--offices {
    max-height: none;
    }
}

@media (max-width: 768px) {
    .ccl-find--hero {
    padding: 60px 20px 80px;
    }
    
    .ccl-find--hero-content {
    padding: 0 10px;
    }
    
    .ccl-find--hero h1 {
    font-size: 2rem;
    margin-bottom: 16px;
    }
    
    .ccl-find--hero-lead {
    font-size: 1.0625rem;
    margin-bottom: 36px;
    }
    
    .ccl-find--search-form {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    border-radius: 20px;
    max-width: 100%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    }
    
    .ccl-find--input-group {
    width: 100%;
    }
    
    .ccl-find--input {
    height: 62px;
    font-size: 1.0625rem;
    padding: 0 20px 0 60px;
    border-radius: 14px;
    }
    
    .ccl-find--input-icon {
    left: 20px;
    font-size: 1.375rem;
    }
    
    .ccl-find--search-btn {
    width: 100%;
    height: 58px;
    justify-content: center;
    font-size: 1.0625rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(29, 99, 255, 0.3);
    gap: 12px;
    font-weight: 800;
    }
    
    .ccl-find--search-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(29, 99, 255, 0.3);
    }
    
    /* Loading */
    .ccl-find--loading {
    padding: 60px 20px;
    min-height: 250px;
    }
    
    /* Results */
    .ccl-find--results {
    padding: 48px 20px;
    }
    
    .ccl-find--results-header {
    margin-bottom: 36px;
    }
    
    .ccl-find--results h2 {
    font-size: 1.75rem;
    margin-bottom: 10px;
    }
    
    .ccl-find--results-location {
    font-size: 1rem;
    }
    
    /* Map */
    .ccl-find--map-container {
    height: 400px;
    margin-bottom: 24px;
    }
    
    .ccl-find--map-legend {
    top: 12px;
    left: 12px;
    padding: 12px;
    font-size: 0.8125rem;
    }
    
    .ccl-find--map-marker {
    width: 36px;
    height: 36px;
    }
    
    .ccl-find--map-marker span {
    font-size: 0.9375rem;
    }
    
    /* Offices */
    .ccl-find--office {
    padding: 20px;
    }
    
    .ccl-find--office-top {
    gap: 12px;
    margin-bottom: 14px;
    }
    
    .ccl-find--office-badge {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    }
    
    .ccl-find--office-name {
    font-size: 1.125rem;
    }
    
    .ccl-find--office-address {
    font-size: 0.875rem;
    }
    
    .ccl-find--office-distance {
    font-size: 0.875rem;
    }
    
    .ccl-find--office-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    }
    
    .ccl-find--btn {
    padding: 14px 20px;
    font-size: 1rem;
    }
    
    /* Details Panel */
    .ccl-find--details {
    padding: 24px 20px;
    margin-top: 24px;
    }
    
    .ccl-find--details-header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    }
    
    .ccl-find--details-close {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    }
    
    .ccl-find--details-title {
    font-size: 1.5rem;
    }
    
    .ccl-find--details-address {
    font-size: 1rem;
    }
    
    .ccl-find--details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
    }
    
    .ccl-find--detail-item {
    gap: 12px;
    }
    
    .ccl-find--detail-icon {
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
    }
    
    .ccl-find--detail-value {
    font-size: 1rem;
    }
    
    .ccl-find--details h4 {
    font-size: 1.0625rem;
    margin-bottom: 16px;
    }
    
    .ccl-find--hours {
    gap: 8px;
    margin-bottom: 20px;
    }
    
    .ccl-find--hour {
    padding: 12px 16px;
    font-size: 0.9375rem;
    }
    
    .ccl-find--details-note {
    padding: 14px 16px;
    font-size: 0.875rem;
    margin-bottom: 24px;
    }
    
    .ccl-find--details-actions {
    grid-template-columns: 1fr;
    gap: 12px;
    }
    
    .ccl-find--btn-large {
    padding: 16px 24px;
    font-size: 1rem;
    }
    
    /* Mobile Team */
    .ccl-find--mobile {
    padding: 40px 24px;
    }
    
    .ccl-find--mobile-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
    margin-bottom: 24px;
    }
    
    .ccl-find--mobile h2 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    }
    
    .ccl-find--mobile p {
    font-size: 1rem;
    }
    
    .ccl-find--mobile-location {
    font-size: 1.25rem;
    margin: 20px 0;
    }
    
    .ccl-find--mobile-contact {
    padding: 16px 20px;
    gap: 12px;
    margin: 20px 0 28px;
    }
    
    .ccl-find--mobile-contact i {
    font-size: 1.25rem;
    }
    
    .ccl-find--mobile-phone a {
    font-size: 1.125rem;
    }
    
    .ccl-find--mobile-btn {
    padding: 16px 32px;
    font-size: 1rem;
    }
    
    /* Directory */
    .ccl-find--directory {
    padding: 60px 20px;
    }
    
    .ccl-find--directory-header {
    margin-bottom: 40px;
    }
    
    .ccl-find--directory h2 {
    font-size: 1.75rem;
    }
    
    .ccl-find--directory-lead {
    font-size: 1rem;
    }
    
    .ccl-find--directory-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    }
    
    .ccl-find--dir-item {
    padding: 18px 20px;
    gap: 16px;
    }
    
    .ccl-find--dir-name {
    font-size: 1rem;
    }
    
    .ccl-find--dir-phone {
    font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .ccl-find--hero {
    padding: 48px 16px 64px;
    }
    
    .ccl-find--hero-content {
    padding: 0 4px;
    }
    
    .ccl-find--hero h1 {
    font-size: 1.75rem;
    }
    
    .ccl-find--hero-lead {
    font-size: 1rem;
    margin-bottom: 32px;
    }
    
    .ccl-find--search-form {
    padding: 14px;
    gap: 12px;
    border-radius: 18px;
    max-width: 100%;
    box-shadow: 0 10px 36px rgba(0,0,0,0.18);
    }
    
    .ccl-find--input {
    height: 58px;
    font-size: 1rem;
    padding: 0 18px 0 44px;
    border-radius: 12px;
    }
    
    .ccl-find--input-icon {
    left: 18px;
    font-size: 1.25rem;
    }
    
    .ccl-find--search-btn {
    height: 56px;
    font-size: 1rem;
    padding: 0 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(29, 99, 255, 0.3);
    gap: 10px;
    font-weight: 800;
    }
    
    .ccl-find--search-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(29, 99, 255, 0.3);
    }
    
    /* Loading */
    .ccl-find--loading {
    padding: 48px 16px;
    min-height: 200px;
    }
    
    /* Results */
    .ccl-find--results {
    padding: 36px 16px;
    }
    
    .ccl-find--results h2 {
    font-size: 1.5rem;
    }
    
    /* Map */
    .ccl-find--map-container {
    height: 320px;
    margin-bottom: 20px;
    }
    
    .ccl-find--map-marker {
    width: 32px;
    height: 32px;
    }
    
    .ccl-find--map-marker span {
    font-size: 0.875rem;
    }
    
    /* Offices */
    .ccl-find--office {
    padding: 16px;
    }
    
    .ccl-find--office-badge {
    width: 32px;
    height: 32px;
    font-size: 0.9375rem;
    }
    
    .ccl-find--office-name {
    font-size: 1.0625rem;
    }
    
    .ccl-find--office-address,
    .ccl-find--office-distance {
    font-size: 0.8125rem;
    }
    
    .ccl-find--btn {
    padding: 12px 16px;
    font-size: 0.9375rem;
    }
    
    /* Details */
    .ccl-find--details {
    padding: 20px 16px;
    }
    
    .ccl-find--details-title {
    font-size: 1.375rem;
    }
    
    .ccl-find--details-address {
    font-size: 0.9375rem;
    }
    
    .ccl-find--details-grid {
    gap: 16px;
    margin-bottom: 24px;
    }
    
    .ccl-find--detail-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    }
    
    .ccl-find--detail-label {
    font-size: 0.75rem;
    }
    
    .ccl-find--detail-value {
    font-size: 0.9375rem;
    }
    
    .ccl-find--details h4 {
    font-size: 1rem;
    }
    
    .ccl-find--hour {
    padding: 10px 14px;
    font-size: 0.875rem;
    }
    
    .ccl-find--details-note {
    padding: 12px 14px;
    font-size: 0.8125rem;
    }
    
    .ccl-find--btn-large {
    padding: 14px 20px;
    font-size: 0.9375rem;
    }
    
    /* Mobile Team */
    .ccl-find--mobile {
    padding: 32px 20px;
    border-radius: 12px;
    }
    
    .ccl-find--mobile-icon {
    width: 56px;
    height: 56px;
    font-size: 1.375rem;
    margin-bottom: 20px;
    }
    
    .ccl-find--mobile h2 {
    font-size: 1.375rem;
    line-height: 1.2;
    }
    
    .ccl-find--mobile p {
    font-size: 0.9375rem;
    }
    
    .ccl-find--mobile-location {
    font-size: 1.125rem;
    }
    
    .ccl-find--mobile-contact {
    padding: 14px 18px;
    margin: 16px 0 24px;
    flex-direction: column;
    text-align: center;
    }
    
    .ccl-find--mobile-phone {
    text-align: center;
    }
    
    .ccl-find--mobile-label {
    font-size: 0.75rem;
    }
    
    .ccl-find--mobile-phone a {
    font-size: 1rem;
    }
    
    .ccl-find--mobile-btn {
    padding: 14px 28px;
    font-size: 0.9375rem;
    width: 100%;
    }
    
    /* Directory */
    .ccl-find--directory {
    padding: 48px 16px;
    }
    
    .ccl-find--directory h2 {
    font-size: 1.5rem;
    }
    
    .ccl-find--directory-lead {
    font-size: 0.9375rem;
    }
    
    .ccl-find--dir-item {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    }
    
    .ccl-find--dir-name {
    font-size: 0.9375rem;
    }
    
    .ccl-find--dir-phone {
    font-size: 1rem;
    font-weight: 800;
    }
}

/* Improved touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    .ccl-find--btn,
    .ccl-find--office,
    .ccl-find--map-marker,
    .ccl-find--details-close,
    .ccl-find--dir-item {
    -webkit-tap-highlight-color: rgba(29, 99, 255, 0.1);
    }
    
    .ccl-find--btn:active,
    .ccl-find--office:active {
    transform: scale(0.98);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    }
}

/* Optimize animations for performance */
.ccl-find--office,
.ccl-find--btn,
.ccl-find--map-marker {
    will-change: transform;
}

.ccl-find--office:not(:hover),
.ccl-find--btn:not(:hover),
.ccl-find--map-marker:not(:hover) {
    will-change: auto;
}
