/* ================================================================
   Hi-Operator — PC Styles
   ================================================================ */


/* ========== Product Card (unified for home + shop) ========== */
.ho-pcard {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #eee;
    position: relative;
    transition: box-shadow .25s ease, transform .25s ease;
}

.ho-pcard:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.ho-pcard.is-hidden,
.ho-pcard.ho-hidden { display: none; }

/* --- Thumb --- */
.ho-pcard-thumb {
    display: block;
    overflow: hidden;
    position: relative;
    background: #fff;
    text-decoration: none;
    padding: 12px 12px 0;
}

.ho-pcard-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 6px;
}

.ho-pcard-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
}

.ho-pcard-placeholder i { font-size: 42px; color: #ccc; opacity: .5; }

/* --- Discount Badge (top-left) --- */
.ho-pcard-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #45b26b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 3;
    line-height: 1.3;
}

/* --- Price Tag (overlay banner at bottom of image, visible on hover) --- */
.ho-pcard-price-tag {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: var(--ho-secondary);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 5px 30px;
    border-radius: 6px 6px 0 0;
    white-space: nowrap;
    z-index: 4;
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
}

.ho-pcard:hover .ho-pcard-price-tag {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* --- Action Buttons (top-right of card, hidden by default) --- */
.ho-pcard-btns {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity .3s ease, transform .3s ease;
}

.ho-pcard:hover .ho-pcard-btns {
    opacity: 1;
    transform: translateX(0);
}

.ho-pcard-cart-btn,
.ho-pcard-wish-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.14);
}

.ho-pcard-cart-btn {
    background: var(--ho-secondary);
}

.ho-pcard-wish-btn {
    background: #fff;
    color: #ccc;
}

.ho-pcard-wish-btn.is-active {
    background: #fff;
    color: #e53e3e;
}

/* --- Card Body (fixed height → card size never changes) --- */
.ho-pcard-body {
    height: 56px;
    padding: 0 14px 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    overflow: hidden;
}

.ho-pcard:hover .ho-pcard-body {
    justify-content: center;
    padding-bottom: 0;
}

/* Default: price left + name right in a row */
.ho-pcard-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    width: 100%;
}

.ho-pcard-price-current {
    font-size: 15px;
    font-weight: 800;
    color: var(--ho-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity .3s ease, font-size .3s ease;
}

/* Hover: hide inline price (shown as banner on image instead) */
.ho-pcard:hover .ho-pcard-price-current {
    display: none;
}

.ho-pcard-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.ho-pcard-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: right;
}

/* Hover: name centered */
.ho-pcard:hover .ho-pcard-row {
    justify-content: center;
}

.ho-pcard:hover .ho-pcard-title,
.ho-pcard:hover .ho-pcard-title a {
    text-align: center;
}

.ho-pcard:hover .ho-pcard-title {
    flex: none;
    width: 100%;
}

/* --- Star Rating (invisible by default, fades in on hover) --- */
.ho-pcard-rating {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 4px;
    opacity: 0;
    transition: opacity .3s ease;
}

.ho-pcard:hover .ho-pcard-rating {
    opacity: 1;
}

.ho-pcard-rating i { font-size: 14px; color: #D1D5DB; }
.ho-pcard-rating i.filled { color: #F59E0B; }

/* ----- Advantages ----- */
.ho-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ho-advantage-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--ho-bg-white);
    border-radius: var(--ho-radius-lg);
    box-shadow: var(--ho-shadow-sm);
    transition: var(--ho-transition);
}

.ho-advantage-item:hover {
    box-shadow: var(--ho-shadow-lg);
    transform: translateY(-4px);
}

.ho-adv-icon {
    font-size: 40px;
    color: var(--ho-secondary);
    margin-bottom: 20px;
}

.ho-advantage-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--ho-text);
}

.ho-advantage-item p {
    font-size: 14px;
    color: var(--ho-text-light);
    line-height: 1.6;
}

/* ----- Partners ----- */
.ho-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

a.ho-partner-item {
    text-decoration: none;
}

.ho-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--ho-bg);
    border-radius: var(--ho-radius-md);
    transition: var(--ho-transition);
    min-height: 90px;
}

.ho-partner-item:hover {
    background: var(--ho-bg-white);
    box-shadow: var(--ho-shadow-sm);
}

.ho-partner-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .6;
    transition: all .3s ease;
}

.ho-partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.ho-partner-placeholder {
    font-size: 16px;
    font-weight: 600;
    color: var(--ho-text-muted);
}

.ho-partners-marquee {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.ho-partners-marquee-row {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ho-partners-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.ho-partners-marquee-track .ho-partner-item {
    flex-shrink: 0;
    width: 200px;
}


/* ----- About Page ----- */
.ho-mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ho-mvv-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--ho-bg);
    border-radius: var(--ho-radius-lg);
    transition: var(--ho-transition);
}

.ho-mvv-card:hover {
    background: var(--ho-bg-white);
    box-shadow: var(--ho-shadow-md);
}

.ho-mvv-card .ho-icon {
    margin: 0 auto 20px;
    width: auto;
    height: auto;
    background: none;
    font-size: 40px;
}

.ho-mvv-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.ho-mvv-card p {
    font-size: 15px;
    color: var(--ho-text-light);
    line-height: 1.7;
}

/* Timeline */
.ho-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.ho-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--ho-border);
    transform: translateX(-50%);
}

.ho-timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.ho-timeline-left {
    left: 0;
    text-align: right;
    padding-right: 50px;
}

.ho-timeline-right {
    left: 50%;
    padding-left: 50px;
}

.ho-timeline-dot {
    position: absolute;
    top: 28px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ho-secondary);
    border: 3px solid var(--ho-bg);
    box-shadow: 0 0 0 3px var(--ho-secondary);
}

.ho-timeline-left .ho-timeline-dot {
    right: -8px;
}

.ho-timeline-right .ho-timeline-dot {
    left: -8px;
}

.ho-timeline-year {
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
    color: var(--ho-secondary);
    margin-bottom: 6px;
}

.ho-timeline-content p {
    font-size: 15px;
    color: var(--ho-text-light);
    line-height: 1.6;
}

/* Certifications */
.ho-certs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.ho-cert-item {
    text-align: center;
    height: 128px;
    background: var(--ho-bg);
    border-radius: var(--ho-radius-md);
    border: 1px solid transparent;
    transition: var(--ho-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.ho-cert-item:hover {
    background: var(--ho-bg-white);
    border-color: var(--ho-secondary, #E53E3E);
    box-shadow: var(--ho-shadow-sm);
}

.ho-cert-visual {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    padding: 14px;
}

.ho-cert-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ho-cert-visual i {
    font-size: 36px;
    color: var(--ho-accent);
}

.ho-cert-item span {
    display: block;
    width: 100%;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ho-text);
    line-height: 1.3;
}

/* Team */
.ho-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ho-team-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--ho-bg-white);
    border-radius: var(--ho-radius-lg);
    box-shadow: var(--ho-shadow-sm);
    transition: var(--ho-transition);
}

.ho-team-card:hover {
    box-shadow: var(--ho-shadow-md);
    transform: translateY(-4px);
}

.ho-team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
}

.ho-team-avatar svg {
    width: 100%;
    height: 100%;
}

.ho-team-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.ho-team-card p {
    font-size: 14px;
    color: var(--ho-text-light);
}

/* ----- Fixed header offset for inner pages ----- */
.ho-page-header {
    padding-top: 132px;
}


/* ----- Solutions Page ----- */
.ho-sol-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ho-sol-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s ease;
    cursor: default;
}

.ho-sol-card::before {
    content: attr(data-index);
    position: absolute;
    right: -6px;
    bottom: -14px;
    font-size: 96px;
    font-weight: 900;
    color: rgba(0, 0, 0, .025);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -4px;
}

.ho-sol-card:hover {
    border-color: rgba(229, 62, 62, .25);
    box-shadow: 0 8px 32px rgba(229, 62, 62, .08), 0 2px 8px rgba(0, 0, 0, .04);
    transform: translateY(-3px);
}

.ho-sol-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #E53E3E, #f87171);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(229, 62, 62, .2);
    transition: transform .3s ease;
}

.ho-sol-card:hover .ho-sol-icon-wrap {
    transform: scale(1.08);
}

.ho-sol-body {
    flex: 1;
    min-width: 0;
}

.ho-sol-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #E53E3E;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.ho-sol-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
    line-height: 1.3;
}

.ho-sol-body p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.ho-sol-arrow {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #d1d5db;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    opacity: 0;
}

.ho-sol-card:hover .ho-sol-arrow {
    opacity: 1;
    background: #E53E3E;
    color: #fff;
    right: 20px;
}

/* Process Steps */
.ho-process-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    position: relative;
}

.ho-process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.ho-process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ho-secondary);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ho-process-step h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.ho-process-step p {
    font-size: 14px;
    color: var(--ho-text-light);
    line-height: 1.6;
}

.ho-process-arrow {
    position: absolute;
    right: -20px;
    top: 16px;
    color: var(--ho-text-muted);
}

/* Testimonials */
.ho-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ho-testimonial-card {
    padding: 36px;
    background: var(--ho-bg);
    border-radius: var(--ho-radius-lg);
    position: relative;
}

.ho-testimonial-quote {
    margin-bottom: 16px;
}

.ho-testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ho-text);
    font-style: italic;
    margin-bottom: 20px;
}

.ho-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ho-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.ho-testimonial-avatar svg {
    width: 100%;
    height: 100%;
}

.ho-testimonial-author span {
    font-size: 14px;
    font-weight: 600;
    color: var(--ho-text-light);
}

/* ----- Contact Page ----- */
.ho-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.ho-contact-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--ho-bg);
    border-radius: var(--ho-radius-md);
    margin-bottom: 16px;
}

.ho-contact-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--ho-text);
}

.ho-contact-card p {
    font-size: 14px;
    color: var(--ho-text-light);
    line-height: 1.5;
}

.ho-map-placeholder {
    border-radius: var(--ho-radius-md);
    overflow: hidden;
}

.ho-map-placeholder svg {
    width: 100%;
    height: auto;
}

.ho-contact-form-wrapper {
    padding: 36px;
    background: var(--ho-bg-white);
    border-radius: var(--ho-radius-lg);
    box-shadow: var(--ho-shadow-md);
}

.ho-contact-form-wrapper h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.ho-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ----- FAQ Page ----- */
.ho-faq-search {
    position: relative;
    margin-bottom: 24px;
}

.ho-faq-search .ho-input {
    font-size: 16px;
    padding: 14px 16px;
}

.ho-faq-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.ho-faq-tab {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--ho-radius-full);
    border: 1px solid var(--ho-border);
    background: var(--ho-bg-white);
    color: var(--ho-text-light);
    transition: var(--ho-transition-fast);
}

.ho-faq-tab:hover {
    border-color: var(--ho-secondary);
    color: var(--ho-secondary);
}

.ho-faq-tab.active {
    background: var(--ho-secondary);
    border-color: var(--ho-secondary);
    color: #fff;
}

.ho-faq-item {
    border: 1px solid var(--ho-border);
    border-radius: var(--ho-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--ho-bg-white);
    transition: var(--ho-transition-fast);
}

.ho-faq-item.ho-faq-hidden {
    display: none;
}

.ho-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    color: var(--ho-text);
    transition: var(--ho-transition-fast);
}

.ho-faq-question:hover {
    color: var(--ho-secondary);
}

.ho-faq-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.ho-faq-item.open .ho-faq-chevron {
    transform: rotate(180deg);
}

.ho-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ho-faq-item.open .ho-faq-answer {
    max-height: 500px;
}

.ho-faq-answer p {
    padding: 0 20px 18px;
    font-size: 15px;
    color: var(--ho-text-light);
    line-height: 1.7;
}

.ho-faq-no-results {
    text-align: center;
    padding: 40px;
    color: var(--ho-text-muted);
}


