/*
 * Electromed Solutions — Pages Stylesheet
 * Add to style.css or enqueue as pages.css
 * ============================================================
 */

/* ============================================================
   PAGE HERO (shared across all inner pages)
============================================================ */
.em-page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.em-page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.em-page-hero-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--em-primary-dark), var(--em-primary-light));
}
.em-page-hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.em-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(4, 45, 99, 0.70) 0%, rgba(6, 57, 125, 0.52) 55%, rgba(6, 57, 125, 0.15) 100%);
}
.em-page-hero .em-container {
    position: relative;
    z-index: 1;
    padding-bottom: 48px;
    padding-top: 48px;
}
.em-page-hero-content { max-width: 680px; }

.em-page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.em-page-breadcrumb a { color: rgba(255,255,255,0.65); }
.em-page-breadcrumb a:hover { color: white; }
.em-page-breadcrumb i { font-size: 0.65rem; }
.em-page-breadcrumb span { color: var(--em-accent-light); font-weight: 500; }

.em-page-hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    line-height: 1.15;
}
.em-page-hero-content h1 span { color: var(--em-accent-light); }
.em-page-hero-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 540px;
}


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

/* Team Banner */
.em-team-banner { position: relative; overflow: hidden; max-height: 340px; }
.em-team-banner-img-wrap { position: relative; }
.em-team-banner-img-wrap img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    filter: brightness(0.75);
}
.em-team-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 28px 40px;
    background: linear-gradient(to top, rgba(6,57,125,0.5), transparent);
}
.em-team-banner-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(6,57,125,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}
.em-team-banner-tag i { color: var(--em-accent-light); }

/* About Intro */
.em-about-intro { padding: 80px 0; }
.em-about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 64px;
    align-items: flex-start;
}
.em-about-lead {
    font-size: 1rem;
    font-weight: 600;
    color: var(--em-primary);
    margin-bottom: 20px;
    border-left: 3px solid var(--em-accent);
    padding-left: 14px;
}
.em-about-body p {
    font-size: 0.9rem;
    color: var(--em-text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

/* Founder Card */
.em-founder-card {
    background: var(--em-off-white);
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius-xl);
    overflow: hidden;
    box-shadow: var(--em-shadow-md);
    position: sticky;
    top: 100px;
}
.em-founder-img-wrap {
    position: relative;
    aspect-ratio: 3/3.5;
    overflow: hidden;
}
.em-founder-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.em-founder-card:hover .em-founder-img-wrap img { transform: scale(1.04); }
.em-founder-badge {
    position: absolute;
    bottom: 16px; right: 16px;
    width: 40px; height: 40px;
    background: var(--em-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}
.em-founder-info {
    padding: 20px 20px 8px;
    text-align: center;
}
.em-founder-info strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--em-text);
}
.em-founder-info span {
    font-size: 0.78rem;
    color: var(--em-text-muted);
}
.em-founder-quote {
    margin: 0;
    padding: 14px 20px 20px;
    font-size: 0.82rem;
    color: var(--em-text-muted);
    font-style: italic;
    line-height: 1.6;
    text-align: center;
    border-top: 1px solid var(--em-border);
}

/* Vision & Mission */
.em-vision-mission { display: flex; flex-direction: column; }

.em-vm-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 360px;
    overflow: hidden;
}
.em-mission-panel { direction: ltr; }
.em-mission-panel > .em-vm-content { order: 1; }
.em-mission-panel > .em-vm-image { order: 2; }

.em-vm-image {
    position: relative;
    overflow: hidden;
}
.em-vm-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.em-vm-panel:hover .em-vm-image img { transform: scale(1.04); }
.em-vm-overlay {
    position: absolute;
    inset: 0;
}
.em-vision-overlay  { background: linear-gradient(to right, rgba(6,57,125,0.2), transparent); }
.em-mission-overlay { background: linear-gradient(to left, rgba(232,80,10,0.15), transparent); }

.em-vm-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 56px;
    gap: 16px;
}
.em-vision-panel .em-vm-content  { background: var(--em-primary); }
.em-mission-panel .em-vm-content { background: var(--em-accent); }

.em-vm-icon {
    width: 52px; height: 52px;
    border-radius: var(--em-radius-md);
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: white;
}
.em-vm-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}
.em-vm-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
}

/* Businesses */
.em-businesses { padding: 80px 0; background: var(--em-off-white); }
.em-businesses-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: flex-start;
}
.em-businesses-intro .em-section-title { margin-bottom: 10px; }
.em-businesses-intro p { font-size: 0.9rem; color: var(--em-text-muted); line-height: 1.7; }
.em-businesses-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.em-biz-card {
    background: white;
    border-radius: var(--em-radius-lg);
    overflow: hidden;
    box-shadow: var(--em-shadow-sm);
    border: 1px solid var(--em-border);
    transition: var(--em-transition);
}
.em-biz-card:hover { box-shadow: var(--em-shadow-lg); transform: translateY(-5px); }
.em-biz-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.em-biz-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.em-biz-card:hover .em-biz-img-wrap img { transform: scale(1.06); }
.em-biz-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,57,125,0.8), rgba(6,57,125,0.1));
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.em-biz-img-overlay i { color: white; font-size: 1.5rem; opacity: 0.85; }
.em-biz-info { padding: 20px; }
.em-biz-info h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.em-biz-info p { font-size: 0.82rem; color: var(--em-text-muted); line-height: 1.65; margin-bottom: 12px; }
.em-biz-link {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.8rem; font-weight: 600; color: var(--em-primary);
}
.em-biz-link i { font-size: 0.7rem; transition: transform 0.2s; }
.em-biz-link:hover { color: var(--em-accent); }
.em-biz-link:hover i { transform: translateX(3px); }

/* Timeline */
.em-milestones { padding: 80px 0; background: white; }
.em-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.em-timeline-line {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--em-primary), var(--em-accent));
    transform: translateX(-50%);
}
.em-timeline-item {
    position: relative;
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.em-tl-left .em-timeline-content  { grid-column: 1; text-align: right; }
.em-tl-left .em-timeline-dot      { grid-column: 2; }
.em-tl-left::after                 { grid-column: 3; content: ''; }

.em-tl-right .em-timeline-content { grid-column: 3; text-align: left; }
.em-tl-right .em-timeline-dot     { grid-column: 2; }
.em-tl-right::before               { grid-column: 1; content: ''; }

.em-timeline-content {
    background: var(--em-off-white);
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius-lg);
    padding: 20px 24px;
    transition: var(--em-transition);
}
.em-timeline-item:hover .em-timeline-content {
    box-shadow: var(--em-shadow-md);
    border-color: rgba(6,57,125,0.2);
}
.em-timeline-year {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--em-primary);
    margin-bottom: 4px;
}
.em-timeline-content h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--em-text);
    margin-bottom: 6px;
}
.em-timeline-content p {
    font-size: 0.82rem;
    color: var(--em-text-muted);
    line-height: 1.6;
}
.em-timeline-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--em-white);
    border: 3px solid var(--em-primary);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    transition: var(--em-transition);
}
.em-timeline-dot-inner {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--em-accent);
    transform: scale(0);
    transition: transform 0.3s;
}
.em-timeline-item:hover .em-timeline-dot-inner { transform: scale(1); }

/* Team Gallery */
.em-team-section { padding: 0; }
.em-team-gallery-wrap {
    display: grid;
    grid-template-columns: 1fr 420px;
}
.em-team-gallery-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 0;
}
.em-team-photo { overflow: hidden; }
.em-team-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.85);
}
.em-team-photo:hover img { transform: scale(1.05); filter: brightness(1); }
.em-team-gallery-text {
    background: var(--em-primary);
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.em-team-gallery-text .em-section-badge {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: rgba(255,255,255,0.25);
}
.em-team-gallery-text .em-section-title { color: white; }
.em-team-gallery-text .em-section-title span { color: var(--em-accent-light); }
.em-team-gallery-text p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.75; }

/* About Stats Strip */
.em-about-stats-strip {
    padding: 48px 0;
    background: var(--em-off-white);
    border-top: 1px solid var(--em-border);
}
.em-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}
.em-about-stat {
    padding: 24px;
    border-right: 1px solid var(--em-border);
}
.em-about-stat:last-child { border-right: none; }
.em-astat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--em-primary);
    line-height: 1;
    margin-bottom: 6px;
}
.em-astat-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--em-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Join CTA */
.em-join-cta {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}
.em-join-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.em-join-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.em-join-cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(4,45,99,0.9), rgba(6,57,125,0.75));
}
.em-join-cta .em-container { position: relative; z-index: 1; }
.em-join-cta-content { max-width: 560px; margin: 0 auto; }
.em-join-cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}
.em-join-cta-content h2 span { color: var(--em-accent-light); }
.em-join-cta-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    line-height: 1.7;
}


/* ============================================================
   PRODUCTS ARCHIVE PAGE
============================================================ */
.em-products-archive { padding: 64px 0; }

.em-products-filter-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--em-border);
    flex-wrap: wrap;
}
.em-products-archive-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--em-text);
    margin-bottom: 4px;
}
.em-products-filter-bar p { font-size: 0.88rem; color: var(--em-text-muted); }

.em-products-search {
    position: relative;
    flex-shrink: 0;
}
.em-products-search i {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--em-mid-gray);
    font-size: 0.85rem;
    pointer-events: none;
}
.em-products-search input {
    border: 1.5px solid var(--em-border);
    border-radius: 50px;
    padding: 10px 18px 10px 38px;
    font-family: var(--em-font);
    font-size: 0.875rem;
    color: var(--em-text);
    width: 260px;
    outline: none;
    transition: border-color 0.3s;
}
.em-products-search input:focus { border-color: var(--em-primary); }

/* Product Category Cards Grid */
.em-product-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.em-product-cat-card {
    border-radius: var(--em-radius-lg);
    overflow: hidden;
    box-shadow: var(--em-shadow-sm);
    border: 1px solid var(--em-border);
    background: white;
    transition: var(--em-transition);
}
.em-product-cat-card:hover {
    box-shadow: var(--em-shadow-lg);
    transform: translateY(-5px);
}
.em-product-cat-link { display: block; text-decoration: none; }

.em-product-cat-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--em-light-gray);
}
.em-product-cat-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.em-product-cat-card:hover .em-product-cat-img-wrap img { transform: scale(1.07); }

.em-product-cat-no-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    color: var(--em-primary);
    opacity: 0.3;
}

.em-product-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,57,125,0.9) 0%, rgba(6,57,125,0.1) 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
.em-product-cat-card:hover .em-product-cat-overlay { opacity: 1; }
.em-product-cat-overlay-inner {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--em-accent);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 0.85rem;
    margin-left: auto;
}

.em-product-cat-meta {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--em-border);
}
.em-product-cat-icon-badge {
    width: 36px; height: 36px;
    border-radius: var(--em-radius-sm);
    background: rgba(6,57,125,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--em-primary);
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: var(--em-transition);
}
.em-product-cat-card:hover .em-product-cat-icon-badge {
    background: var(--em-primary);
    color: white;
}
.em-product-cat-meta h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--em-text);
    flex: 1;
    line-height: 1.3;
}
.em-product-count {
    font-size: 0.72rem;
    background: var(--em-light-gray);
    color: var(--em-text-muted);
    padding: 3px 10px;
    border-radius: 50px;
    white-space: nowrap;
    font-weight: 500;
}

/* No Results */
.em-no-results {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px;
    color: var(--em-text-muted);
    text-align: center;
    gap: 12px;
}
.em-no-results i { font-size: 2.5rem; opacity: 0.3; }

/* Products CTA Strip */
.em-products-cta-strip {
    background: var(--em-off-white);
    border-top: 1px solid var(--em-border);
    padding: 40px 0;
    margin-top: 64px;
}
.em-products-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.em-products-cta-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.em-cta-big-icon { font-size: 2rem; color: var(--em-primary); flex-shrink: 0; margin-top: 2px; }
.em-products-cta-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.em-products-cta-text p {
    font-size: 0.875rem;
    color: var(--em-text-muted);
    max-width: 540px;
    line-height: 1.6;
}


/* ============================================================
   SINGLE PRODUCT CATEGORY PAGE
============================================================ */
.em-product-items-section { padding: 64px 0; }
.em-product-items-section .em-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: flex-start;
}

/* Sub-cat filter tabs */
.em-sub-cat-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    grid-column: 1 / -1;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--em-border);
}
.em-sub-cat-tab {
    padding: 7px 18px;
    border-radius: 50px;
    border: 1.5px solid var(--em-border);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--em-text-muted);
    cursor: pointer;
    background: white;
    transition: var(--em-transition);
}
.em-sub-cat-tab:hover,
.em-sub-cat-tab.active {
    background: var(--em-primary);
    border-color: var(--em-primary);
    color: white;
}

/* Product Items List */
.em-product-items-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.em-product-item {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--em-border);
}
.em-product-item:last-child { border-bottom: none; }

.em-product-item-image {
    border-radius: var(--em-radius-lg);
    overflow: hidden;
    background: var(--em-off-white);
    aspect-ratio: 4/3;
    border: 1px solid var(--em-border);
}
.em-product-item-image img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}
.em-product-item:hover .em-product-item-image img { transform: scale(1.04); }
.em-product-item-no-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--em-mid-gray);
}

.em-product-item-badge { margin-bottom: 8px; }
.em-product-brand-tag {
    display: inline-block;
    background: rgba(6,57,125,0.08);
    color: var(--em-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(6,57,125,0.15);
}
.em-product-item-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--em-text);
    margin-bottom: 6px;
    line-height: 1.25;
}
.em-product-item-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--em-accent);
    margin-bottom: 14px;
}
.em-product-item-desc p {
    font-size: 0.875rem;
    color: var(--em-text-muted);
    line-height: 1.8;
    margin-bottom: 10px;
}
.em-product-item-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.em-btn-outline-primary {
    background: transparent;
    color: var(--em-primary);
    border: 2px solid var(--em-primary);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--em-transition);
}
.em-btn-outline-primary:hover {
    background: var(--em-primary);
    color: white;
    transform: translateY(-2px);
}

/* Sidebar */
.em-product-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.em-sidebar-widget {
    background: white;
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius-lg);
    overflow: hidden;
    box-shadow: var(--em-shadow-sm);
}
.em-sidebar-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    background: var(--em-primary);
    padding: 14px 18px;
    margin: 0;
}
.em-sidebar-cat-list { padding: 8px; }
.em-sidebar-cat-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: 0.85rem;
    color: var(--em-text-muted);
    border-radius: var(--em-radius-sm);
    transition: var(--em-transition);
    font-weight: 500;
}
.em-sidebar-cat-list li a i:first-child {
    color: var(--em-primary);
    font-size: 0.75rem;
    width: 14px;
}
.em-cat-arrow { margin-left: auto; font-size: 0.65rem !important; opacity: 0.4; }
.em-sidebar-cat-list li a:hover {
    background: var(--em-off-white);
    color: var(--em-primary);
    padding-left: 16px;
}
.em-cat-active a {
    background: rgba(6,57,125,0.06) !important;
    color: var(--em-primary) !important;
    font-weight: 700 !important;
}
.em-cat-active .em-cat-arrow { opacity: 1; }

.em-sidebar-enquiry {
    background: linear-gradient(135deg, var(--em-primary), var(--em-primary-light));
    border: none;
    padding: 28px 20px;
    text-align: center;
}
.em-sidebar-enquiry-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: white;
    margin: 0 auto 14px;
}
.em-sidebar-enquiry h3 { color: white; font-size: 1rem; margin-bottom: 8px; }
.em-sidebar-enquiry p { color: rgba(255,255,255,0.8); font-size: 0.8rem; line-height: 1.6; margin-bottom: 16px; }

.em-sidebar-catalogue { padding: 24px 20px; text-align: center; }
.em-sidebar-catalogue i { font-size: 2rem; color: #e74c3c; margin-bottom: 10px; display: block; }
.em-sidebar-catalogue h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.em-sidebar-catalogue p { font-size: 0.8rem; color: var(--em-text-muted); margin-bottom: 14px; }


/* ============================================================
   CONTACT PAGE
============================================================ */

/* Quick Contact Strips */
.em-contact-quick-strips {
    background: var(--em-off-white);
    border-bottom: 1px solid var(--em-border);
    padding: 0;
}
.em-contact-strips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.em-contact-strip-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    border-right: 1px solid var(--em-border);
    transition: background 0.2s;
}
.em-contact-strip-card:last-child { border-right: none; }
.em-contact-strip-card:hover { background: white; }
.em-contact-strip-icon {
    width: 48px; height: 48px;
    border-radius: var(--em-radius-md);
    background: rgba(6,57,125,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--em-primary);
    flex-shrink: 0;
}
.em-accent-strip { background: rgba(232,80,10,0.08); color: var(--em-accent); }
.em-green-strip  { background: rgba(22,163,74,0.08); color: #16a34a; }
.em-contact-strip-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--em-text-muted);
    margin-bottom: 3px;
}
.em-contact-strip-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--em-text);
}
a.em-contact-strip-value:hover { color: var(--em-primary); }

/* Contact Main Grid */
.em-contact-main { padding: 72px 0; }
.em-contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: flex-start;
}

/* Contact Form */
.em-contact-form-header { margin-bottom: 32px; }
.em-contact-form { display: flex; flex-direction: column; gap: 0; }

.em-form-row { display: flex; gap: 16px; }
.em-form-row-2 > * { flex: 1; }
.em-form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.em-form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--em-text);
}
.em-form-group label span { color: var(--em-accent); }
.em-form-group input,
.em-form-group select,
.em-form-group textarea {
    border: 1.5px solid var(--em-border);
    border-radius: var(--em-radius-md);
    padding: 12px 16px;
    font-family: var(--em-font);
    font-size: 0.875rem;
    color: var(--em-text);
    background: white;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    width: 100%;
}
.em-form-group input:focus,
.em-form-group select:focus,
.em-form-group textarea:focus {
    border-color: var(--em-primary);
    box-shadow: 0 0 0 3px rgba(6,57,125,0.08);
}
.em-form-group input::placeholder,
.em-form-group textarea::placeholder { color: var(--em-mid-gray); }
.em-form-group textarea { resize: vertical; min-height: 130px; }
.em-form-group select { appearance: none; cursor: pointer; }

.em-form-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.em-btn-submit { min-width: 180px; justify-content: center; }
.em-form-note {
    font-size: 0.78rem;
    color: var(--em-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.em-form-note i { color: var(--em-primary); }

.em-form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--em-radius-md);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
}
.em-form-message i { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.em-form-message strong { display: block; font-weight: 700; }
.em-form-message span { font-size: 0.82rem; }

.em-form-success { background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.2); color: #15803d; }
.em-form-success i { color: #16a34a; }
.em-form-error   { background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.2); color: #b91c1c; }
.em-form-error i { color: #dc2626; }

/* Office Cards */
.em-contact-offices {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.em-contact-offices-header { margin-bottom: 8px; }

.em-office-card {
    background: var(--em-off-white);
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius-lg);
    padding: 20px;
    transition: var(--em-transition);
}
.em-office-card:hover {
    box-shadow: var(--em-shadow-md);
    border-color: rgba(6,57,125,0.2);
}
.em-office-primary {
    background: white;
    border-color: rgba(6,57,125,0.2);
    box-shadow: var(--em-shadow-sm);
}
.em-office-primary-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--em-primary);
    background: rgba(6,57,125,0.08);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}
.em-office-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--em-text);
    margin-bottom: 10px;
}
.em-office-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.em-office-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--em-text-muted);
    line-height: 1.5;
}
.em-office-details i {
    color: var(--em-accent);
    flex-shrink: 0;
    margin-top: 2px;
    width: 14px;
    font-size: 0.78rem;
}
.em-office-details a { color: var(--em-text-muted); }
.em-office-details a:hover { color: var(--em-primary); }

/* Google Map */
.em-contact-map {
    border-top: 1px solid var(--em-border);
}
.em-contact-map iframe,
.em-map-placeholder iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
    filter: saturate(0.8) contrast(1.05);
}


/* ============================================================
   ADMIN META TABLE STYLING
============================================================ */
.em-meta-table th {
    width: 200px;
    vertical-align: top;
    padding-top: 12px;
}
.em-meta-table td { padding: 8px 0; }


/* ============================================================
   RESPONSIVE — PAGES
============================================================ */
@media (max-width: 1100px) {
    .em-about-intro-grid          { grid-template-columns: 1fr; }
    .em-about-intro-founder       { max-width: 360px; }
    .em-founder-card              { position: static; }
    .em-businesses-grid           { grid-template-columns: 1fr; gap: 32px; }
    .em-businesses-cards          { grid-template-columns: repeat(2, 1fr); }
    .em-team-gallery-wrap         { grid-template-columns: 1fr; }
    .em-team-gallery-text         { padding: 40px 36px; }
    .em-product-items-section .em-container { grid-template-columns: 1fr; }
    .em-product-sidebar           { position: static; }
    .em-contact-main-grid         { grid-template-columns: 1fr; }
    .em-contact-offices           { position: static; }
}

@media (max-width: 900px) {
    .em-vm-panel                  { grid-template-columns: 1fr; }
    .em-vm-image                  { height: 280px; }
    .em-mission-panel > .em-vm-content { order: -1; }
    .em-vm-content                { padding: 40px 36px; }
    .em-product-cats-grid         { grid-template-columns: repeat(2, 1fr); }
    .em-product-item              { grid-template-columns: 1fr; }
    .em-product-item-image        { max-width: 360px; }
    .em-about-stats-grid          { grid-template-columns: repeat(2, 1fr); }
    .em-about-stat                { border-right: none; border-bottom: 1px solid var(--em-border); }
    .em-contact-strips-grid       { grid-template-columns: 1fr; }
    .em-contact-strip-card        { border-right: none; border-bottom: 1px solid var(--em-border); }
    .em-timeline-line             { display: none; }
    .em-timeline-item             { grid-template-columns: 1fr; gap: 0; }
    .em-timeline-dot              { display: none; }
    .em-tl-left .em-timeline-content,
    .em-tl-right .em-timeline-content { grid-column: 1; text-align: left; }
    .em-businesses-cards          { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .em-page-hero                 { min-height: 260px; }
    .em-product-cats-grid         { grid-template-columns: 1fr; }
    .em-form-row                  { flex-direction: column; }
    .em-products-filter-bar       { flex-direction: column; align-items: flex-start; }
    .em-products-search input     { width: 100%; }
    .em-team-gallery-photos       { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 150px); }
}