/* ═══════════════════════════════════════════════════
   LOCATIONS-SOMERVILLE.CSS — Page-specific styles only
   Common styles (reset, vars, nav, footer, reveal,
   buttons, transitions) are in common.css
   ═══════════════════════════════════════════════════ */

/* ─── Hero ─── */
.hero {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-dark);
    position: relative;
    padding: 0 20px;
    margin-top: 60px;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-dark), transparent);
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: 6px;
    color: var(--text);
    margin-bottom: 12px;
}
.hero h1 span { color: var(--accent); }
.hero p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 550px;
    font-style: italic;
}
.hero .btn { margin-top: 24px; }

/* ─── Sections ─── */
section { padding: 90px 40px; max-width: 1100px; margin: 0 auto; }

/* ─── Intro ─── */
.intro { background: var(--bg-mid); }
.intro .inner { max-width: 1100px; margin: 0 auto; padding: 80px 40px; }
.intro p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ─── Section Title ─── */
.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 6px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text);
}
.section-title span { color: var(--accent); }

/* ─── Services Grid ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.service-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 40px 30px;
    text-align: center;
    transition: border-color 0.3s;
}
.service-card:hover { border-color: var(--accent-dark); box-shadow: 0 0 40px rgba(200,164,86,0.08); }
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: var(--accent);
}
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ─── Work Grid ─── */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.work-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border: 1px solid var(--border);
}
.work-item iframe { width: 100%; height: 100%; border: 0; }

/* ─── Rating Badge ─── */
.rating { text-align: center; padding: 60px 20px; background: var(--bg-mid); }
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 24px 40px;
    border: 1px solid var(--border);
    background: var(--bg-light);
}
.google-g { width: 28px; height: 28px; }
.rating-stars { color: var(--accent); font-size: 1.2rem; letter-spacing: 2px; }
.rating-text { font-family: var(--font-body); font-size: 0.95rem; color: var(--text-muted); }

/* ─── Nearby ─── */
.nearby { text-align: center; }
.nearby-label {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 20px;
}
.nearby-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}
.nearby-list span {
    padding: 8px 20px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ─── CTA Section ─── */
.cta-section { text-align: center; padding: 80px 20px; background: var(--bg-mid); }
.cta-section h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 8px;
}

/* ─── Responsive (content layout only) ─── */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    section { padding: 60px 20px; }
    .services-grid, .work-grid { grid-template-columns: 1fr; }
}
