/* A2Z Bizz — Modern design system */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --brand-red: #dc2626;
    --brand-red-dark: #b91c1c;
    --ink: #0f172a;
    --ink-muted: #64748b;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #f1f5f9;
    --border: #e2e8f0;
    --border-light: rgba(226, 232, 240, 0.8);
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
    --radius-sm: 0.625rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    --header-h: 4.25rem;
    /* Legacy aliases */
    --zp-teal: var(--primary);
    --zp-teal-dark: var(--primary-dark);
    --zp-teal-light: var(--primary-light);
    --zp-orange: var(--accent);
    --zp-orange-dark: var(--accent-dark);
    --zp-red: var(--brand-red);
    --zp-red-dark: var(--brand-red-dark);
    --zp-navy: var(--ink);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    background: var(--surface-2);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(13, 148, 136, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(249, 115, 22, 0.05), transparent);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}

.site-header--home {
    border-bottom-color: transparent;
    box-shadow: none;
}

.site-logo,
.site-logo-footer {
    object-fit: contain;
}

.page-home #main-content {
    margin-top: 0;
}

/* ── Buttons ── */
.btn-primary,
.btn-zoompo-primary,
.btn-orange,
.btn-teal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--brand-red) 0%, #ef4444 100%);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover,
.btn-zoompo-primary:hover,
.btn-orange:hover {
    filter: brightness(1.05);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.32);
    transform: translateY(-1px);
}

.btn-teal {
    background: linear-gradient(135deg, var(--primary) 0%, #14b8a6 100%);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.btn-teal:hover {
    filter: brightness(1.05);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.32);
    transform: translateY(-1px);
}

.btn-secondary,
.btn-zoompo-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover,
.btn-zoompo-secondary:hover {
    background: var(--surface-3);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.country-select {
    min-height: 2.625rem;
    border-radius: var(--radius-full);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.country-select:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-xs);
}

/* ── Header search ── */
.header-search {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12), var(--shadow-sm);
}

.header-search-badge {
    background: linear-gradient(135deg, var(--primary) 0%, #14b8a6 100%);
}

.header-search-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #fb923c 100%);
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    transition: filter 0.15s ease;
}

.header-search-btn:hover {
    filter: brightness(1.05);
}

/* ── Hero ── */
.hero-zoompo {
    position: relative;
    overflow: hidden;
    min-height: 440px;
}

@media (min-width: 640px) {
    .hero-zoompo {
        min-height: 500px;
    }
}

@media (min-width: 1024px) {
    .hero-zoompo {
        min-height: 560px;
    }
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.4s ease-in-out, transform 10s ease-out;
}

.hero-zoompo-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.45) 40%, rgba(15, 23, 42, 0.65) 100%);
}

.hero-zoompo-inner {
    position: relative;
    z-index: 2;
}

.hero-zoompo-title {
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-search-fields {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
}

.hero-search-btn {
    background: linear-gradient(135deg, var(--brand-red) 0%, #ef4444 100%);
    min-width: 4.5rem;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.hero-search-btn:hover {
    filter: brightness(1.08);
    transform: scale(1.02);
}

.hero-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    z-index: 3;
    display: flex;
    transform: translateX(-50%);
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(255, 255, 255, 0.45);
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.hero-slider-dot.is-active {
    background: #fff;
    width: 1.5rem;
    border-radius: var(--radius-full);
}

.hero-pattern,
.cta-banner {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 40%, #115e59 100%);
    position: relative;
    overflow: hidden;
}

.hero-pattern::before,
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 45%);
    pointer-events: none;
}

/* ── Section headings ── */
.section-head {
    margin-bottom: 1.75rem;
}

.section-head-title,
.section-title-bar {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    border-left: none;
    padding-left: 0;
}

.section-head-desc {
    margin-top: 0.5rem;
    color: var(--ink-muted);
    max-width: 42rem;
}

.section-head-badge {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: var(--primary-light);
    border-radius: var(--radius-full);
}

/* ── Cards ── */
.modern-card,
.listing-card,
.service-card,
.review-card,
.retail-strip {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.modern-card:hover,
.listing-card:hover,
.service-card:hover,
.retail-strip:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.listing-card {
    padding: 1.25rem;
}

.listing-card-image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.listing-card-placeholder {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.listing-card-category {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: var(--primary-light);
    border-radius: var(--radius-full);
}

/* ── Category grid ── */
.category-mosaic {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .category-mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .category-mosaic {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .category-mosaic {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.category-tile {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    min-height: 6.5rem;
    padding: 1rem 0.75rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.category-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.category-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.category-tile:hover .category-icon-wrap {
    transform: scale(1.08);
}

.category-tile-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.35;
    color: var(--ink);
}

@media (min-width: 640px) {
    .category-tile-label {
        font-size: 0.75rem;
    }
}

.cat-bg-0 .category-icon-wrap { background: #dbeafe; color: #1d4ed8; }
.cat-bg-1 .category-icon-wrap { background: #fce7f3; color: #be185d; }
.cat-bg-2 .category-icon-wrap { background: #dcfce7; color: #15803d; }
.cat-bg-3 .category-icon-wrap { background: #ffedd5; color: #c2410c; }
.cat-bg-4 .category-icon-wrap { background: #f3e8ff; color: #7e22ce; }
.cat-bg-5 .category-icon-wrap { background: #ccfbf1; color: #0f766e; }
.cat-bg-6 .category-icon-wrap { background: #fef9c3; color: #a16207; }
.cat-bg-7 .category-icon-wrap { background: #f5f5f4; color: #57534e; }
.cat-bg-8 .category-icon-wrap { background: #e0e7ff; color: #4338ca; }
.cat-bg-9 .category-icon-wrap { background: #ecfccb; color: #4d7c0f; }

/* ── City pills ── */
.city-pill {
    border-radius: var(--radius-full);
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.city-pill:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
}

/* ── Service cards ── */
.service-card {
    overflow: hidden;
}

.service-card-head {
    background: linear-gradient(135deg, var(--primary) 0%, #14b8a6 100%);
    color: #fff;
    padding: 1.25rem 1.5rem;
}

.service-card-head.alt {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
}

.service-card-head.warm {
    background: linear-gradient(135deg, var(--accent) 0%, #fb923c 100%);
}

/* ── CTA panels ── */
.cta-panel {
    background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.cta-panel-teal {
    background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 1px solid #99f6e4;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

/* ── Reviews ── */
.review-card {
    padding: 1.25rem;
    border-left: 3px solid var(--accent);
}

.star-rating {
    color: #fbbf24;
}

/* ── Benefits ── */
.benefit-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.benefit-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

/* ── FAQ ── */
.faq-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--surface);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow-sm);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: var(--surface-2);
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--border-light);
    background: var(--surface-2);
}

.faq-item[open] .faq-chevron {
    transform: rotate(90deg);
}

.faq-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: var(--radius-full);
    background: var(--surface-3);
    color: var(--primary);
    font-size: 0.875rem;
}

/* ── Footer ── */
.footer-dark {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-dark a {
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-dark a:hover {
    color: #fff;
}

.footer-link-grid a {
    padding: 0.25rem 0;
}

/* ── Page shells ── */
.page-banner {
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
    padding: 1.75rem 0;
}

.page-panel {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    padding: 1.25rem 1.5rem;
}

/* ── Forms ── */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.form-input {
    width: 100%;
    margin-top: 0.375rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    font-size: 0.9375rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* ── Retail strip ── */
.retail-strip {
    padding: 1rem 1.25rem;
}

.retail-strip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
    color: var(--primary-dark);
    font-size: 1.125rem;
}

.retail-strip:hover .retail-strip-icon {
    transform: scale(1.05);
}

/* ── SEO content ── */
.city-seo-content h2 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.city-seo-content h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.city-seo-content p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--ink-muted);
}

.city-seo-content ul,
.city-seo-content ol {
    margin: 0.75rem 0 1rem 1.25rem;
}

.city-seo-content li {
    margin-bottom: 0.35rem;
    line-height: 1.6;
    color: var(--ink-muted);
}

.city-seo-content a.city-seo-link {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.city-seo-content a.city-seo-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.city-keyword-pill {
    border-radius: var(--radius-full);
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* ── Utilities ── */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-surface {
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-muted {
    background: var(--surface-2);
}

.alert-success {
    border-radius: var(--radius-lg);
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #065f46;
    padding: 0.875rem 1rem;
    box-shadow: var(--shadow-xs);
}
