/* =========================================================
   CONCEPTO INK — SERVICE POPUP MODAL
   Clicking a service category card opens this instead of
   scrolling/tab-switching down the page.
========================================================= */

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
    background: rgba(4, 6, 8, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-panel {
    position: relative;
    width: min(760px, 100%);
    max-height: 84vh;
    overflow-y: auto;
    padding: 50px 45px 40px;
    background: linear-gradient(160deg, #1a1d1f, #0d1114 80%);
    border: 1px solid rgba(201, 162, 74, 0.4);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(.22,.68,0,1);
}

body.theme-beauty .service-modal-panel {
    border-color: rgba(216, 142, 163, 0.45);
}

.service-modal.active .service-modal-panel {
    transform: translateY(0) scale(1);
}

.service-modal-panel::-webkit-scrollbar { width: 6px; }
.service-modal-panel::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.service-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 162, 74, 0.5);
    background: rgba(8, 10, 12, 0.6);
    color: var(--accent-light);
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-modal-close:hover {
    background: var(--accent);
    color: var(--black);
    transform: rotate(90deg);
}

.service-modal-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-light);
}

.service-modal-panel h3 {
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 10px;
}

.service-modal-panel h3 span {
    color: var(--accent-light);
}

.service-modal-intro {
    color: rgba(245, 242, 234, 0.65);
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 56ch;
}

.service-modal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-modal-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-light);
}

.service-modal-group-title:first-child { margin-top: 0; }

.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 2px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.service-row:hover {
    border-left-color: var(--accent);
    background: rgba(255, 255, 255, 0.055);
    transform: translateX(4px);
}

.service-row-info h4 {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.service-row-info p {
    font-size: 12px;
    color: rgba(245, 242, 234, 0.55);
    max-width: 40ch;
}

.service-row-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.service-row-price {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--accent-light);
    white-space: nowrap;
}

.service-row-price small {
    font-family: var(--sans);
    font-size: 10px;
    color: rgba(245, 242, 234, 0.5);
}

.service-row-book {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--accent);
    color: var(--accent-light);
    background: transparent;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.service-row-book:hover {
    background: var(--accent);
    color: var(--black);
    transform: translateY(-2px);
}

body.service-modal-open { overflow: hidden; }

/* =========================================================
   TRIGGER CARDS — the clickable category cards that open
   the popup (replaces scroll-tab navigation)
========================================================= */

.service-trigger-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-trigger {
    position: relative;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(201, 162, 74, 0.28);
    text-align: left;
    cursor: pointer;
    color: inherit;
    font-family: var(--sans);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    overflow: hidden;
}

body.theme-beauty .service-trigger {
    border-color: rgba(216, 142, 163, 0.32);
}

.service-trigger:hover {
    transform: translateY(-8px);
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(201, 162, 74, 0.1);
}

body.theme-beauty .service-trigger:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(216, 142, 163, 0.14);
}

.service-trigger-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid var(--accent);
    color: var(--accent-light);
    font-size: 22px;
    transition: background 0.3s ease, color 0.3s ease;
}

.service-trigger:hover .service-trigger-icon {
    background: var(--accent);
    color: var(--black);
}

.service-trigger h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.service-trigger p {
    font-size: 13px;
    color: rgba(245, 242, 234, 0.6);
    line-height: 1.6;
    margin-bottom: 18px;
}

.service-trigger-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-light);
}

.service-trigger-cta i { transition: transform 0.3s ease; }
.service-trigger:hover .service-trigger-cta i { transform: translateX(5px); }

.service-trigger-from {
    position: absolute;
    top: 22px;
    right: 26px;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(245, 242, 234, 0.4);
    text-align: right;
}

.service-trigger-from strong {
    display: block;
    font-family: var(--serif);
    font-size: 18px;
    color: var(--accent-light);
}

@media (max-width: 900px) {
    .service-trigger-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .service-trigger-grid { grid-template-columns: 1fr; }

    .service-modal-panel { padding: 40px 22px 30px; }

    .service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .service-row-right { width: 100%; justify-content: space-between; }
}
