/* ============================================
   WEBSTER ELECTRICAL - INNER PAGES (SHARED)
   ============================================ */

@font-face {
    font-family: 'Satoshi';
    src: url('/fonts/satoshi/Satoshi-Regular.woff2') format('woff2'),
         url('/fonts/satoshi/Satoshi-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Satoshi', sans-serif; color: #303231; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }

/* Section Title */
.we-section-title { font-family: 'Satoshi', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; color: #303231; margin-bottom: 24px; }
.we-section-title--light { color: #fff; }
.we-section-title--center { text-align: center; }
.we-section-title--center .we-section-title__line { margin: 12px auto 0; }
.we-section-title__line { display: block; width: 48px; height: 3px; background: #e8a020; margin-top: 12px; border-radius: 2px; }

/* Buttons */
.we-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; font-family: 'Satoshi', sans-serif; font-size: 0.95rem; font-weight: 700; text-decoration: none; border-radius: 6px; border: none; transition: background 0.2s ease; cursor: pointer; }
.we-btn--primary { background: #e8a020; color: #303231; }
.we-btn--primary:hover { background: #d4911a; }
.we-btn--dark { background: #303231; color: #fff; }
.we-btn--dark:hover { background: #1a1b1a; }
.we-btn--book { background: #303231; color: #fff; }
.we-btn--book:hover { background: #1a1b1a; }

/* Contextual Links */
.we-link { color: #303231; text-decoration: underline; text-decoration-color: #e8a020; text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 500; transition: color 0.2s ease; }
.we-link:hover { color: #e8a020; }
.we-link--light { color: #fff; text-decoration-color: #e8a020; }
.we-link--light:hover { color: #e8a020; }

/* Utility */
.we-text--white { color: #fff !important; }

/* Inner Hero */
.we-inner-hero { background: linear-gradient(135deg, #303231 0%, #383a39 70%, #4a4330 100%); padding: 56px 24px; text-align: center; }
.we-inner-hero__inner { max-width: 1280px; margin: 0 auto; }
.we-inner-hero h1 { font-family: 'Satoshi', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; color: #fff; margin-bottom: 12px; }
.we-inner-hero__breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.we-inner-hero__breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s ease; }
.we-inner-hero__breadcrumb a:hover { color: #e8a020; }
.we-inner-hero__breadcrumb span { color: rgba(255,255,255,0.3); margin: 0 6px; }
.we-inner-hero__reviews { padding-top: 16px; }

/* Content Section */
.we-section { padding: 80px 0; }
.we-section--light { background: #f7f7f4; }
.we-section--dark { background: #303231; color: #fff; }
.we-section--dark .we-section-title { color: #fff; }
.we-section--dark p { color: rgba(255,255,255,0.75); }
.we-section__inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.we-section__inner--narrow { max-width: 800px; }

/* Two Column */
.we-two-col { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.we-two-col__img { width: 100%; max-width: 560px; border-radius: 10px; overflow: hidden; }
.we-two-col__img img { width: 100%; height: auto; display: block; background: #e0e0dc; }
.we-two-col__content { max-width: 600px; }
.we-two-col__content p { font-size: 1.05rem; color: #555; line-height: 1.75; margin-bottom: 20px; }
.we-two-col__content p:last-of-type { margin-bottom: 32px; }

@media (min-width: 768px) {
    .we-two-col { flex-direction: row; text-align: left; gap: 56px; }
    .we-two-col--reverse { flex-direction: row-reverse; }
    .we-two-col__img { max-width: 440px; flex-shrink: 0; }
    .we-two-col .we-section-title__line { margin-left: 0; }
}

.we-section--dark .we-two-col__content p { color: rgba(255,255,255,0.75); }

/* CTA Section */
.we-inner-cta { padding: 80px 0; background: #e8a020; text-align: center; }
.we-inner-cta__inner { max-width: 640px; margin: 0 auto; padding: 0 24px; }
.we-inner-cta .we-section-title { color: #303231; }
.we-inner-cta .we-section-title__line { background: #303231; margin: 12px auto 0; }
.we-inner-cta p { font-size: 1.05rem; color: rgba(48,50,49,0.8); margin-bottom: 32px; }
.we-inner-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.we-inner-cta__reviews { padding-top: 4px; }

/* ============================================
   SERVICES HUB PAGE
   ============================================ */

.we-svc-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.we-svc-hub-card {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.we-svc-hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.we-svc-hub-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: #e8a020;
    z-index: 1;
}

.we-svc-hub-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #e0e0dc;
}

.we-svc-hub-card__body {
    padding: 32px 28px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    text-align: center;
}

.we-svc-hub-card__body h3 {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #303231;
}

.we-svc-hub-card__body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.75;
    flex: 1;
}

.we-svc-hub-card__body .we-btn {
    align-self: center;
    margin-top: auto;
}

.we-svc-hub-card--light { background: #f7f7f4; }

.we-svc-hub-card--dark { background: #303231; }
.we-svc-hub-card--dark:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.we-svc-hub-card--dark .we-svc-hub-card__body h3 { color: #fff; }
.we-svc-hub-card--dark .we-svc-hub-card__body p { color: rgba(255,255,255,0.7); }

.we-svc-hub-card--gold { background: #e8a020; }
.we-svc-hub-card--gold::before { background: #303231; }
.we-svc-hub-card--gold:hover { box-shadow: 0 12px 32px rgba(232,160,32,0.3); }
.we-svc-hub-card--gold .we-svc-hub-card__body h3 { color: #303231; }
.we-svc-hub-card--gold .we-svc-hub-card__body p { color: rgba(48,50,49,0.8); }
.we-svc-hub-card--gold .we-btn--primary { background: #303231; color: #fff; }
.we-svc-hub-card--gold .we-btn--primary:hover { background: #1a1b1a; }

@media (min-width: 600px) {
    .we-svc-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .we-svc-hub-card__body { text-align: left; padding: 36px 32px 40px; }
    .we-svc-hub-card__body .we-btn { align-self: flex-start; }
}

@media (min-width: 992px) {
    .we-svc-hub-grid { grid-template-columns: repeat(3, 1fr); }
    .we-svc-hub-card__img { height: 220px; }
}
