/* ============================================
   POINTUS HOME PAGE
   ============================================ */

/* Break out of Astra container on home — full width + disable flex */
body.home .ast-container,
body.front-page .ast-container,
body.page.home .ast-container,
body.home .site-content .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

body.home #primary,
body.front-page #primary,
body.home .content-area,
body.front-page .content-area {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 1 1 100% !important;
}

body.home article,
body.front-page article,
body.home .entry-content,
body.front-page .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.home #secondary,
body.front-page #secondary {
    display: none !important;
}

body.home .site-content,
body.front-page .site-content {
    max-width: 100% !important;
    width: 100% !important;
}

.hp {
    font-family: var(--font-body);
    color: var(--color-body);
    background: var(--color-bg);
    overflow-x: clip;
}

.hp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Reveal */
.pp-js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.pp-js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Common elements */
.hp-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.hp-eyebrow-white { color: rgba(255, 255, 255, 0.8); }

.hp-section-head {
    margin-bottom: 56px;
    max-width: 720px;
}

.hp-section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    max-width: none;
    gap: 24px;
    flex-wrap: wrap;
}

.hp-section-title {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-heading);
    margin: 0 0 14px;
}

.hp-section-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-body);
    margin: 0;
    max-width: 600px;
}

.hp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.hp-link:hover {
    gap: 10px;
    color: var(--color-accent);
}

/* Buttons */
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border: none;
}

.hp-btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 103, 255, 0.25);
}
.hp-btn-primary:hover {
    background: #0052cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 103, 255, 0.32);
}

.hp-btn-ghost {
    background: transparent;
    color: var(--color-heading);
    border: 1.5px solid var(--color-border);
}
.hp-btn-ghost:hover {
    color: var(--color-heading);
    border-color: var(--color-heading);
    transform: translateY(-2px);
}

.hp-btn-white {
    background: #fff;
    color: var(--color-accent);
}
.hp-btn-white:hover {
    background: #f3f4f6;
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* ============================================
   HERO
   ============================================ */
.hp-hero {
    position: relative;
    padding: 64px 0 96px;
    overflow: hidden;
}

.hp-hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 103, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hp-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hp-hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-heading);
    margin: 0 0 24px;
}

.hp-accent { color: var(--color-accent); }

.hp-hero-lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-body);
    margin: 0 0 32px;
    max-width: 540px;
}

.hp-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hp-hero-meta {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.hp-hero-meta-item strong {
    display: block;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    color: var(--color-heading);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.hp-hero-meta-item span {
    font-size: 13px;
    color: var(--color-body);
}

/* Hero Visual */
.hp-hero-right {
    position: relative;
}

.hp-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 540px;
    margin-left: auto;
}

.hp-visual-orb {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-bg-soft) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    transform: scale(1.1);
    animation: hp-orb-float 8s ease-in-out infinite;
}

@keyframes hp-orb-float {
    0%, 100% { transform: scale(1.1) translate(0, 0); }
    50% { transform: scale(1.15) translate(-10px, 10px); }
}

.hp-visual-grid {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    padding: 36px;
}

.hp-visual-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-visual-card:hover {
    transform: translateY(-6px);
}

.hp-visual-card-1 { animation: hp-card-float 6s ease-in-out infinite; }
.hp-visual-card-2 { animation: hp-card-float 6s ease-in-out infinite 1.5s; }
.hp-visual-card-3 { animation: hp-card-float 6s ease-in-out infinite 3s; }
.hp-visual-card-4 { animation: hp-card-float 6s ease-in-out infinite 4.5s; }

@keyframes hp-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hp-visual-icon {
    width: 42px;
    height: 42px;
    background: var(--color-bg-soft);
    color: var(--color-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-visual-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading);
    margin-top: 12px;
}

.hp-visual-sub {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 2px;
}

/* ============================================
   MANUFACTURER STRIP
   ============================================ */
.hp-strip {
    padding: 32px 0;
    background: var(--color-bg-muted);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.hp-strip-label {
    text-align: center;
    font-size: 13px;
    color: var(--color-body);
    margin: 0 0 20px;
    letter-spacing: 0.02em;
}

.hp-strip-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.hp-strip-row {
    display: flex;
    gap: 56px;
    width: fit-content;
    animation: hp-strip-scroll 40s linear infinite;
    white-space: nowrap;
}

.hp-strip:hover .hp-strip-row {
    animation-play-state: paused;
}

@keyframes hp-strip-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.hp-strip-item {
    font-size: 22px;
    font-weight: 700;
    color: #9CA3AF;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.hp-strip-item:hover { color: var(--color-heading); }

/* ============================================
   FEATURED CATEGORIES (Bento)
   ============================================ */
.hp-cats {
    padding: 112px 0;
}

.hp-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hp-cat-card {
    position: relative;
    display: block;
    aspect-ratio: 1.1 / 1;
    padding: 32px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-cat-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-bg-soft) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hp-cat-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.hp-cat-card:hover::before {
    opacity: 1;
}

.hp-cat-large {
    grid-column: span 2;
    aspect-ratio: 2.3 / 1;
}

.hp-cat-large .hp-cat-name {
    font-size: 32px;
}

.hp-cat-body {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hp-cat-num {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.06em;
    margin-bottom: auto;
}

.hp-cat-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: -0.02em;
    margin: 16px 0 6px;
    line-height: 1.15;
}

.hp-cat-tag {
    font-size: 14px;
    color: var(--color-body);
    margin: 0 0 18px;
    line-height: 1.4;
}

.hp-cat-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-body);
}

.hp-cat-foot svg {
    color: var(--color-accent);
    transition: transform 0.25s ease;
}

.hp-cat-card:hover .hp-cat-foot svg {
    transform: translateX(4px);
}

/* ============================================
   VALUE PROPS
   ============================================ */
.hp-values {
    padding: 112px 0;
    background: var(--color-bg-muted);
}

.hp-value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hp-value-card {
    padding: 32px 28px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hp-value-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.hp-value-icon {
    width: 52px;
    height: 52px;
    background: var(--color-bg-soft);
    color: var(--color-accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.hp-value-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0 0 8px;
    line-height: 1.25;
}

.hp-value-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-body);
    margin: 0;
}

/* ============================================
   INDUSTRIES
   ============================================ */
.hp-industries {
    padding: 112px 0;
}

.hp-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.hp-industry-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--color-heading);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hp-industry-card:hover {
    border-color: var(--color-accent);
    background: var(--color-bg-soft);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.hp-industry-name {
    font-weight: 600;
    font-size: 15px;
}

.hp-industry-arrow {
    color: var(--color-accent);
    transition: transform 0.2s ease;
}

.hp-industry-card:hover .hp-industry-arrow {
    transform: translateX(4px);
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */
.hp-products {
    padding: 112px 0;
    background: var(--color-bg-muted);
}

.hp-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hp-prod-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hp-prod-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

.hp-prod-image {
    aspect-ratio: 1 / 1;
    background: var(--color-bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.hp-prod-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.hp-prod-body {
    padding: 16px 18px 20px;
}

.hp-prod-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 4px;
    line-height: 1.3;
}

.hp-prod-desc {
    font-size: 12px;
    color: var(--color-accent);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   CONTACT CTA
   ============================================ */
.hp-cta {
    padding: 64px 0 112px;
}

.hp-cta-box {
    background: linear-gradient(135deg, var(--color-accent) 0%, #0052cc 100%);
    color: #fff;
    padding: 64px 64px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hp-cta-box::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hp-cta-content { position: relative; z-index: 1; }
.hp-cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.hp-cta-title {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    color: #fff;
}

.hp-cta-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 520px;
}

.hp-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
}

.hp-cta-phone:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .hp-hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hp-hero-right { display: none; }
    .hp-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-cat-large { grid-column: span 2; }
    .hp-value-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-industry-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-product-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-cta-box { grid-template-columns: 1fr; padding: 48px 40px; gap: 24px; }
    .hp-cta-actions { align-items: flex-start; }
}

@media (max-width: 768px) {
    .hp-container { padding: 0 20px; }
    .hp-hero { padding: 40px 0 64px; }
    .hp-hero-meta { gap: 24px; flex-wrap: wrap; }
    .hp-cats, .hp-values, .hp-industries, .hp-products { padding: 72px 0; }
    .hp-cta { padding: 40px 0 72px; }
    .hp-section-head { margin-bottom: 40px; }

    .hp-cat-grid { grid-template-columns: 1fr; }
    .hp-cat-large { grid-column: span 1; aspect-ratio: 1.4 / 1; }
    .hp-cat-card { aspect-ratio: 1.4 / 1; padding: 24px; }
    .hp-cat-large .hp-cat-name { font-size: 24px; }

    .hp-value-grid { grid-template-columns: 1fr; gap: 14px; }
    .hp-industry-grid { grid-template-columns: 1fr 1fr; }
    .hp-product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hp-cta-box { padding: 32px 24px; border-radius: 18px; }
    .hp-strip-row { gap: 36px; }
    .hp-strip-item { font-size: 18px; }
    .hp-hero-actions { flex-direction: column; align-items: stretch; }
    .hp-hero-actions .hp-btn { width: 100%; }
}

@media (max-width: 480px) {
    .hp-industry-grid { grid-template-columns: 1fr; }
    .hp-hero-meta-item strong { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-visual-card-1,
    .hp-visual-card-2,
    .hp-visual-card-3,
    .hp-visual-card-4,
    .hp-visual-orb,
    .hp-strip-row { animation: none !important; }
}
