/**
 * Doors Starter - City Hub + Why Choose Us
 * Per content plan sections 4.7, 7.1, 7.5
 */

/* ==========================================================================
   City Hub - Hero
   ========================================================================== */
.ds-city-hero {
    position: relative;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.ds-city-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.ds-city-hero-h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
    color: #fff;
}

.ds-city-hero-intro {
    font-size: 1.1rem;
    line-height: 1.65;
}

.ds-city-hero-intro p {
    margin: 0 0 12px;
}

@media (max-width: 768px) {
    .ds-city-hero { padding: 50px 15px; }
    .ds-city-hero-h1 { font-size: 2rem; }
    .ds-city-hero-intro { font-size: 1rem; }
}

/* ==========================================================================
   City Hub - Section Title
   ========================================================================== */
.ds-city-section-title {
    font-size: 2rem !important;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 30px;
    text-align: center;
    color: var(--e-global-color-secondary, #0F192E);
}

/* ==========================================================================
   City Hub - Categories Grid (3 main cards per content plan 7.5)
   ========================================================================== */
.ds-city-categories {
    margin: 50px 0;
}

.ds-city-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 900px) {
    .ds-city-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ds-city-cat-grid { grid-template-columns: 1fr; }
}

.ds-city-cat-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.ds-city-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,.1);
    border-color: var(--e-global-color-primary, #0073aa);
}

.ds-city-cat-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.ds-city-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.ds-city-cat-card:hover .ds-city-cat-image img { transform: scale(1.05); }

.ds-city-cat-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ds-city-cat-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #222;
}

.ds-city-cat-desc {
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px;
    flex: 1;
}

.ds-city-cat-cta {
    color: var(--e-global-color-primary, #0073aa);
    font-weight: 600;
    margin-top: auto;
}

/* ==========================================================================
   City Hub - Neighborhoods
   ========================================================================== */
.ds-city-neighborhoods {
    margin: 50px 0;
}

.ds-city-neighborhood-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.ds-city-neighborhood-item {
    background: #f7f9fc;
    padding: 15px 18px;
    border-radius: 8px;
    border-right: 3px solid var(--e-global-color-primary, #0073aa);
}

.ds-neighborhood-name {
    display: block;
    color: #222;
    margin-bottom: 4px;
}

.ds-neighborhood-note {
    display: block;
    color: #666;
    font-size: .9rem;
}

/* ==========================================================================
   City Hub - Drive Time
   ========================================================================== */
.ds-city-drive-time {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f0f4ff;
    border-radius: 30px;
    margin: 20px 0;
    color: var(--e-global-color-primary, #0073aa);
    font-weight: 500;
}

.ds-city-drive-time .dashicons {
    font-size: 1.4rem;
    width: 1.4rem;
    height: 1.4rem;
}

.ds-drive-text small { color: #666; font-weight: 400; }

/* ==========================================================================
   City Hub - Unique Content
   ========================================================================== */
.ds-city-unique-content {
    margin: 50px 0;
    line-height: 1.7;
}

.ds-city-content-body {
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.ds-city-content-body p { margin: 0 0 15px; }

.ds-city-content-body h2,
.ds-city-content-body h3 {
    margin: 30px 0 15px;
    font-weight: 700;
    color: #222;
}

.ds-city-content-body h2 { font-size: 1.5rem; }
.ds-city-content-body h3 { font-size: 1.25rem; }

/* ==========================================================================
   City Hub - Map
   ========================================================================== */
.ds-city-map {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.ds-city-map iframe {
    display: block;
    width: 100%;
    border: 0;
}

/* ==========================================================================
   City Hub - Local Reviews
   ========================================================================== */
.ds-city-reviews {
    margin: 50px 0;
}

.ds-city-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.ds-city-review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 22px;
}

.ds-review-rating {
    color: #ffb400;
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.ds-review-text {
    margin: 0 0 12px;
    padding: 0;
    border: none;
    color: #333;
    font-size: .95rem;
    line-height: 1.55;
    font-style: italic;
}

.ds-review-author {
    color: #666;
    font-size: .9rem;
    font-style: normal;
    font-weight: 600;
}

/* ==========================================================================
   City Hub - Product×City Links
   ========================================================================== */
.ds-city-px-links {
    margin: 40px 0;
}

.ds-city-px-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.ds-city-px-item {
    margin: 0;
}

.ds-city-px-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f7f9fc;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background .2s, color .2s;
}

.ds-city-px-link:hover {
    background: var(--e-global-color-primary, #0073aa);
    color: #fff;
}

/* ==========================================================================
   City Hub - CTA
   ========================================================================== */
.ds-city-cta {
    margin: 50px 0;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--e-global-color-primary, #0073aa), var(--e-global-color-secondary, #0F192E));
    border-radius: 12px;
    color: #fff;
    text-align: center;
}

.ds-city-cta-inner { max-width: 650px; margin: 0 auto; }

.ds-city-cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}

.ds-city-cta-text { font-size: 1.05rem; opacity: .95; margin: 0 0 20px; }

.ds-city-cta-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255,255,255,.2);
    border-radius: 20px;
    font-size: .9rem;
    margin-bottom: 15px;
}

.ds-city-cta-status .ds-cta-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}

.ds-city-cta-status.is-open .ds-cta-dot { background: #4caf50; }
.ds-city-cta-status.is-closed .ds-cta-dot { background: #ef5350; }

.ds-city-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.ds-city-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s;
}

.ds-city-cta-btn.ds-cta-phone {
    background: #fff;
    color: var(--e-global-color-primary, #0073aa);
}

.ds-city-cta-btn.ds-cta-whatsapp {
    background: #25d366;
    color: #fff;
}

.ds-city-cta-btn:hover { transform: scale(1.05); }

/* ==========================================================================
   Why Choose Us (per content plan 7.1)
   ========================================================================== */
.ds-why-choose-us {
    margin: 50px 0;
}

.ds-why-title {
    font-size: 2rem !important;
    font-weight: 700;
    text-align: center;
    margin: 0 0 35px;
    line-height: 1.3;
}

.ds-why-grid {
    display: grid;
    gap: 25px;
}

.ds-why-cols-1 { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
.ds-why-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ds-why-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
    .ds-why-cols-2,
    .ds-why-cols-3 { grid-template-columns: 1fr; }
}

.ds-why-item {
    text-align: center;
    padding: 25px 20px;
    background: #f7f9fc;
    border-radius: 10px;
    transition: transform .25s, box-shadow .25s;
}

.ds-why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
}

.ds-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    background: var(--e-global-color-primary, #0073aa);
    color: #fff;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
}

.ds-why-icon::before {
    line-height: 60px;
    width: 60px;
    height: 60px;
    font-size: 28px;
}

.ds-why-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #222;
}

.ds-why-item-text {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: .95rem;
}
