/* ============================================
   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: 12px auto 0; 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: 100%; 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; align-items: stretch; }
    .we-two-col--reverse { flex-direction: row-reverse; }
    .we-two-col__img { max-width: 50%; flex-shrink: 0; }
    .we-two-col__img img { width: 100%; height: 100%; object-fit: cover; }
    .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; }

/* ============================================
   ABOUT PAGE
   ============================================ */

/* Values section */
.we-about-values {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7f7f4 0%, #edeadf 50%, #f7f7f4 100%);
}

.we-about-values__intro {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    max-width: 480px;
    margin: 0 auto 48px;
    line-height: 1.7;
    font-style: italic;
}

/* Values grid */
.we-values-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }

.we-values-card {
    padding: 36px 28px;
    text-align: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.we-values-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: #e8a020;
}

.we-values-card h3 { font-family: 'Satoshi', sans-serif; font-size: 1.05rem; font-weight: 700; color: #303231; margin-bottom: 10px; }
.we-values-card p { font-size: 0.9rem; color: #666; line-height: 1.7; }
.we-values-card__icon { width: 48px; height: 48px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: #e8a020; border-radius: 10px; font-size: 1.2rem; color: #303231; }
.we-values-card__icon svg { stroke: #303231; }

.we-values-card--white { background: #fff; }

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

.we-values-card--gold { background: #e8a020; }
.we-values-card--gold::before { background: #303231; }
.we-values-card--gold:hover { box-shadow: 0 12px 32px rgba(232,160,32,0.3); }
.we-values-card--gold h3 { color: #303231; }
.we-values-card--gold p { color: rgba(48,50,49,0.8); }
.we-values-card--gold .we-values-card__icon { background: #303231; color: #e8a020; }
.we-values-card--gold .we-values-card__icon svg { stroke: #e8a020; }

@media (min-width: 600px) { .we-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .we-values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .we-values-card { text-align: left; } .we-values-card__icon { margin: 0 0 20px; } }


/* Gallery */
.we-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 40px; }

.we-gallery__item {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.we-gallery__item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #e0e0dc;
    transition: transform 0.3s ease;
}

.we-gallery__item:hover img { transform: scale(1.05); }

.we-gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(48,50,49,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.we-gallery__item:hover .we-gallery__overlay { opacity: 1; }

@media (min-width: 600px) { .we-gallery { grid-template-columns: repeat(3, 1fr); } .we-gallery__item img { height: 220px; } }
@media (min-width: 992px) { .we-gallery { grid-template-columns: repeat(4, 1fr); } .we-gallery__item img { height: 240px; } }


/* Testimonial section */
.we-about-review {
    padding: 80px 0;
    background: linear-gradient(135deg, #303231 0%, #3d3f3e 40%, #303231 100%);
    position: relative;
    overflow: hidden;
}

.we-about-review::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #e8a020 50%, transparent 100%);
}

.we-about-review__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.we-about-review__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.we-about-review__stars { display: flex; gap: 4px; }

.we-about-review__text {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    font-style: italic;
    max-width: 600px;
}

.we-about-review__author {
    font-family: 'Satoshi', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #e8a020;
    letter-spacing: 0.02em;
}

.we-about-review__inner .we-review-pill { margin-top: 8px; }


/* Lightbox */
.we-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.we-lightbox--open {
    opacity: 1;
    visibility: visible;
}

.we-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.we-lightbox__close:hover { opacity: 1; }

.we-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
}

.we-gallery__item { cursor: pointer; }
