/* =========================================================
 *  empresa.css — Single mch_empresa landing page
 *  Prefix: mch-emp-   |   BEM naming
 *  Breakpoints: 1024px, 768px, 480px
 * ========================================================= */

/* ── Reset & wrap — force full-width past Astra's box/separate layout ── */
.mch-emp-wrap {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

body.mch-empresa #page {
    max-width: 100% !important;
    width: 100% !important;
}

body.mch-empresa .site-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.mch-empresa .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

body.mch-empresa .ast-separate-container #primary {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

body.mch-empresa #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.mch-empresa .ast-separate-container .site-main {
    padding: 0 !important;
}

/* ========================================
 *  1. HERO
 * ======================================== */
.mch-emp-hero {
    position: relative;
    color: #fff;
    padding: 0;
}

.mch-emp-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 24px 32px;
}

/* Breadcrumb */
.mch-emp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    opacity: 0.85;
}

.mch-emp-breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.mch-emp-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.mch-emp-breadcrumb__sep {
    font-size: 9px;
    opacity: 0.6;
}

.mch-emp-breadcrumb__current {
    opacity: 0.7;
}

/* Hero main: avatar + info */
.mch-emp-hero__main {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Avatar */
.mch-emp-hero__avatar {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    background: #f7f8fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.35);
}

.mch-emp-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.mch-emp-hero__avatar--initials {
    background: rgba(255,255,255,0.15);
}

.mch-emp-hero__initials {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

/* Info */
.mch-emp-hero__info {
    flex: 1;
    min-width: 0;
}

.mch-emp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.mch-emp-hero__badge--top {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.mch-emp-hero__badge--premium {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.mch-emp-hero__badge--basic {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.mch-emp-hero__title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.2;
    color: #fff;
}

.mch-emp-hero__address {
    font-size: 14px;
    margin: 0 0 10px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mch-emp-hero__address i {
    font-size: 12px;
    opacity: 0.8;
}

/* Tags */
.mch-emp-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.mch-emp-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Reviews */
.mch-emp-hero__reviews {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.mch-emp-stars {
    display: inline-flex;
    gap: 1px;
    color: #fbbf24;
    font-size: 14px;
}

.mch-emp-hero__rating {
    font-weight: 700;
    font-size: 15px;
}

.mch-emp-hero__review-count {
    opacity: 0.7;
    font-size: 13px;
}

/* RRSS */
.mch-emp-hero__rrss {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.mch-emp-hero__rrss a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 13px;
    color: #fff;
    transition: opacity 0.2s;
}

.mch-emp-hero__rrss a:hover {
    opacity: 0.8;
}

.mch-emp-hero__rrss a:has(.fa-facebook)   { background: #1877F2; }
.mch-emp-hero__rrss a:has(.fa-instagram)  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.mch-emp-hero__rrss a:has(.fa-x-twitter)  { background: #000; }
.mch-emp-hero__rrss a:has(.fa-linkedin)   { background: #0A66C2; }
.mch-emp-hero__rrss a:has(.fa-youtube)    { background: #FF0000; }
.mch-emp-hero__rrss a:has(.fa-tiktok)     { background: #000; }

/* CTAs */
.mch-emp-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.mch-emp-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
    line-height: 1.3;
}

.mch-emp-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.mch-emp-cta--phone {
    background: #fff;
    color: #111 !important;
}

.mch-emp-cta--phone:hover {
    background: #f0f0f0;
    color: #111 !important;
}

.mch-emp-cta--phone.mch-emp-cta--revealed {
    background: #22c55e;
    color: #fff !important;
}

.mch-emp-cta--phone.mch-emp-cta--revealed:hover {
    background: #16a34a;
    color: #fff !important;
}

.mch-emp-cta--whatsapp {
    background: #25d366;
    color: #fff !important;
}

.mch-emp-cta--whatsapp:hover {
    background: #1fb855;
    color: #fff !important;
}

.mch-emp-cta--email {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.35);
}

.mch-emp-cta--email:hover {
    background: rgba(255,255,255,0.3);
    color: #fff !important;
}

.mch-emp-cta--web {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.35);
}

.mch-emp-cta--web:hover {
    background: rgba(255,255,255,0.3);
    color: #fff !important;
}

/* Updated date in hero */
.mch-emp-hero__updated {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

.mch-emp-hero__updated i {
    font-size: 11px;
    margin-right: 2px;
}

/* ========================================
 *  2. CONTENT — 2 columns
 * ======================================== */
.mch-emp-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 48px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: start;
}

/* ── SIDEBAR ── */
.mch-emp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 24px;
}

.mch-emp-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}

.mch-emp-card__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111827;
}

.mch-emp-card__title i {
    color: var(--ast-global-color-0, #3b82f6);
    font-size: 14px;
}

/* Quick info */
.mch-emp-quickinfo {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mch-emp-quickinfo li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.mch-emp-quickinfo li:last-child {
    border-bottom: none;
}

.mch-emp-quickinfo li i {
    color: #6b7280;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.mch-emp-quickinfo li a {
    color: var(--ast-global-color-0, #3b82f6);
    text-decoration: none;
    word-break: break-all;
}

.mch-emp-quickinfo li a:hover {
    text-decoration: underline;
}

/* Hours */
.mch-emp-hours {
    width: 100%;
    border-collapse: collapse;
}

.mch-emp-hours tr {
    border-bottom: none;
}

.mch-emp-hours tr:nth-child(even) td {
    background: #f8fafc;
}

.mch-emp-hours tr:nth-child(odd) td {
    background: #f1f5f9;
}

.mch-emp-hours tr:first-child td:first-child { border-radius: 6px 0 0 0; }
.mch-emp-hours tr:first-child td:last-child  { border-radius: 0 6px 0 0; }
.mch-emp-hours tr:last-child td:first-child  { border-radius: 0 0 0 6px; }
.mch-emp-hours tr:last-child td:last-child   { border-radius: 0 0 6px 0; }

.mch-emp-hours,
.mch-emp-hours tr,
.mch-emp-hours td,
.mch-emp-hours th {
    border: none !important;
    border-color: transparent !important;
    border-spacing: 0;
}

.mch-emp-hours td {
    padding: 9px 12px;
    font-size: 13px;
    color: #374151;
}

.mch-emp-hours__day {
    font-weight: 600;
    width: 45%;
    color: #1e293b;
}

.mch-emp-hours__day i {
    margin-right: 4px;
    color: var(--ast-global-color-0, #3b82f6);
    font-size: 11px;
}

.mch-emp-hours__time {
    text-align: right;
    color: #475569;
    font-weight: 500;
}

/* Map */
.mch-emp-map {
    border-radius: 8px;
    overflow: hidden;
}

.mch-emp-map__iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
}

/* Claim card */
.mch-emp-card--claim {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border-color: #93c5fd;
}

.mch-emp-card--claim p {
    font-size: 13px;
    color: #4b5563;
    margin: 0 0 12px;
}

.mch-emp-cta--claim {
    display: flex;
    width: 100%;
    justify-content: center;
    background: var(--ast-global-color-0, #3b82f6);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}


/* ── MAIN ── */
.mch-emp-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.mch-emp-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

.mch-emp-section h2 i {
    color: var(--ast-global-color-0, #3b82f6);
    font-size: 18px;
}

/* Description */
.mch-emp-description {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.mch-emp-description p {
    margin: 0 0 12px;
}

/* Services */
.mch-emp-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mch-emp-service {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #0369a1;
}

.mch-emp-service i {
    color: #22c55e;
    font-size: 11px;
}

/* Listings — Featured in */
.mch-emp-listings {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mch-emp-listing-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    text-decoration: none;
    color: #1d2327;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mch-emp-listing-card:hover {
    border-color: #0284c7;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.mch-emp-listing-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #0284c7;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.mch-emp-listing-card__title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.mch-emp-listing-card__arrow {
    color: #0284c7;
    font-size: 13px;
    flex-shrink: 0;
}

/* Reviews */
.mch-emp-reviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mch-emp-review {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
}

.mch-emp-review__score {
    margin-bottom: 8px;
}

.mch-emp-review__text {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    margin: 0 0 8px;
    font-style: italic;
}

.mch-emp-review__author {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

/* FAQs */
.mch-emp-faqs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mch-emp-faq {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.mch-emp-faq summary {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    transition: background 0.2s;
}

.mch-emp-faq summary::-webkit-details-marker {
    display: none;
}

.mch-emp-faq summary::before {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: #6b7280;
    transition: transform 0.2s;
}

.mch-emp-faq[open] summary::before {
    transform: rotate(180deg);
}

.mch-emp-faq summary:hover {
    background: #f3f4f6;
}

.mch-emp-faq p {
    padding: 12px 18px 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

/* Real seal banner */
.mch-emp-seal {
    margin: 28px 0 16px;
}

.mch-emp-seal a {
    display: block;
}

.mch-emp-seal img {
    max-width: 100%;
    height: auto;
    border: 1px solid #d4c49a;
    border-radius: 8px;
}

/* Recommended seal (FA fallback) */
.mch-emp-recommended {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: 12px;
}

.mch-emp-recommended__badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.mch-emp-recommended__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mch-emp-recommended__text strong {
    font-size: 15px;
    color: #92400e;
}

.mch-emp-recommended__text span {
    font-size: 13px;
    color: #a16207;
}

/* ========================================
 *  RESPONSIVE
 * ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .mch-emp-content {
        grid-template-columns: 1fr;
    }

    .mch-emp-sidebar {
        position: static;
        order: -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .mch-emp-card--claim {
        grid-column: span 2;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mch-emp-hero__inner {
        padding: 20px 16px 24px;
    }

    .mch-emp-hero__main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mch-emp-hero__avatar {
        width: 200px;
        height: 200px;
        border-radius: 20px;
    }

    .mch-emp-hero__avatar img {
        padding: 10px;
    }

    .mch-emp-hero__initials {
        font-size: 64px;
    }

    .mch-emp-hero__title {
        font-size: 22px;
    }

    .mch-emp-hero__address {
        justify-content: center;
    }

    .mch-emp-hero__tags {
        justify-content: center;
    }

    .mch-emp-hero__reviews {
        justify-content: center;
    }

    .mch-emp-hero__rrss {
        justify-content: center;
    }

    .mch-emp-hero__ctas {
        flex-direction: column;
    }

    .mch-emp-cta {
        width: 100%;
        justify-content: center;
    }

    .mch-emp-content {
        padding: 20px 16px 36px;
        gap: 24px;
    }

    .mch-emp-sidebar {
        grid-template-columns: 1fr;
    }

    .mch-emp-card--claim {
        grid-column: span 1;
    }

    .mch-emp-breadcrumb {
        justify-content: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .mch-emp-hero__title {
        font-size: 20px;
    }

    .mch-emp-section h2 {
        font-size: 17px;
    }

    .mch-emp-card {
        padding: 16px;
    }

    .mch-emp-recommended {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}
