/* Shared inner-page chrome for Products, Contact, and related pages */

.site-page {
    background-color: #0b0f19;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
}

.site-page.site-page-light {
    background-color: #f7f5f2;
    color: #111111;
}

.site-page .portfolio-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 2rem;
    -webkit-transition: background 0.3s ease;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.site-page-light .portfolio-header {
    background: rgba(247, 245, 242, 0.88);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.site-page .portfolio-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.site-page .portfolio-brand {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.site-page-light .portfolio-brand {
    color: #111111 !important;
}

.site-page .portfolio-brand span {
    color: #FF5722;
}

.site-page .portfolio-nav {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-page .portfolio-nav-link {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: capitalize;
    text-decoration: none;
    -webkit-transition: color 0.25s ease;
    transition: color 0.25s ease;
    position: relative;
    padding: 0.25rem 0;
}

.site-page-light .portfolio-nav-link {
    color: rgba(17, 17, 17, 0.62) !important;
}

.site-page .portfolio-nav-link:hover,
.site-page .portfolio-nav-link.is-active {
    color: #ffffff !important;
}

.site-page-light .portfolio-nav-link:hover,
.site-page-light .portfolio-nav-link.is-active {
    color: #FF5722 !important;
}

.site-page .portfolio-socials {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-page .portfolio-socials a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.15rem;
    -webkit-transition: color 0.25s ease;
    transition: color 0.25s ease;
}

.site-page-light .portfolio-socials a {
    color: rgba(17, 17, 17, 0.55);
}

.site-page .portfolio-socials a:hover {
    color: #FF5722;
}

.site-page .portfolio-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.site-page .portfolio-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.site-page-light .portfolio-hamburger span {
    background-color: #111111;
}

.site-page .portfolio-hamburger.active span:nth-child(1) {
    -webkit-transform: translateY(7px) rotate(45deg);
    transform: translateY(7px) rotate(45deg);
}

.site-page .portfolio-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.site-page .portfolio-hamburger.active span:nth-child(3) {
    -webkit-transform: translateY(-7px) rotate(-45deg);
    transform: translateY(-7px) rotate(-45deg);
}

.site-page .glow-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.site-page .ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.12) 0%, rgba(118, 171, 174, 0.04) 70%, transparent 100%);
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}

.site-page .glow-1 { top: 10%; left: -10%; }
.site-page .glow-2 { bottom: 20%; right: -10%; }

.site-main {
    position: relative;
    z-index: 2;
    padding: 140px 0 120px;
}

.site-kicker {
    display: inline-block;
    color: #FF5722;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 1rem;
}

.site-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: #ffffff;
}

.site-page-light .site-title {
    color: #111111;
}

.site-lead {
    max-width: 640px;
    font-size: 1.12rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 2.5rem;
}

.site-page-light .site-lead {
    color: rgba(17, 17, 17, 0.68);
}

.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2.5rem;
}

.product-filter {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.product-filter:hover,
.product-filter.is-active {
    background: #FF5722;
    border-color: #FF5722;
    color: #ffffff;
}

.product-featured {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.4rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.16), rgba(118, 171, 174, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2.5rem;
    -webkit-animation: fadeInUp 0.8s both;
    animation: fadeInUp 0.8s both;
}

.product-featured-visual {
    min-height: 280px;
    border-radius: 22px;
    background: radial-gradient(circle at 30% 20%, #2a334d 0%, #121826 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-featured-visual i {
    font-size: 6.5rem;
    color: #FF5722;
    text-shadow: 0 20px 40px rgba(255, 87, 34, 0.35);
}

.product-featured-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.product-featured.has-image {
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.product-featured.has-image .product-featured-visual {
    min-height: 0;
    background: #e8ecf3;
}

.product-featured.has-image .product-featured-visual::after {
    display: none;
}

.product-featured-visual::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    right: -40px;
    bottom: -40px;
    border-radius: 50%;
    background: rgba(118, 171, 174, 0.25);
    filter: blur(10px);
}

.product-type {
    color: #76ABAE;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 0.6rem;
}

.product-featured h2,
.product-card h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    color: #ffffff;
}

.product-featured h2 {
    font-size: 2.3rem;
    margin-bottom: 0.8rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.product-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-visual-label {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.product-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.product-cta-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 1rem 2.2rem;
    font-size: 1rem;
}

.product-cta-ghost:hover,
.product-cta-ghost:focus {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

.product-price {
    display: inline-block;
    margin: 0.8rem 0 1.2rem;
    color: #FF5722;
    font-weight: 800;
}

.product-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
}

.product-highlights li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.72);
}

.product-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FF5722;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 1.6rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    -webkit-transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
    border-color: rgba(255, 87, 34, 0.35);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.product-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF5722, #d84315);
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}

.product-card p {
    color: rgba(255, 255, 255, 0.62);
    flex: 1;
}

.product-card .btn,
.product-featured .btn {
    align-self: flex-start;
    margin-top: auto;
}

.product-card[hidden] {
    display: none !important;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-side-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.site-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.site-form label {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
    color: #333;
}

.site-form input,
.site-form select,
.site-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: inherit;
    -webkit-transition: border-color 0.25s ease, box-shadow 0.25s ease;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
    outline: none;
    border-color: #FF5722;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.15);
}

.site-form textarea {
    min-height: 140px;
    resize: vertical;
}

.form-status {
    display: none;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-weight: 700;
}

.form-status.is-success {
    display: block;
    background: rgba(37, 211, 102, 0.12);
    color: #128C7E;
}

.form-status.is-error {
    display: block;
    background: rgba(255, 87, 34, 0.12);
    color: #FF5722;
}

.site-page .portfolio-footer {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem 6rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
}

.site-page-light .portfolio-footer {
    color: rgba(17, 17, 17, 0.5);
}

.site-page .portfolio-footer-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #ffffff;
    text-decoration: none;
}

.site-page-light .portfolio-footer-logo {
    color: #111111;
}

.site-page .portfolio-footer-logo span {
    color: #FF5722;
}

@media (max-width: 991px) {
    .product-featured,
    .product-grid,
    .contact-layout,
    .site-form .form-row-2 {
        grid-template-columns: 1fr;
    }

    .site-page .portfolio-hamburger {
        display: block;
    }

    .site-page .portfolio-nav {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(11, 15, 25, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 0.6rem 0;
    }

    .site-page-light .portfolio-nav {
        background: rgba(255, 255, 255, 0.98);
        border-color: rgba(0, 0, 0, 0.06);
    }

    .site-page .portfolio-nav.mobile-active {
        display: flex;
    }

    .site-page .portfolio-nav-link {
        display: block;
        padding: 0.85rem 1.2rem;
    }

    .site-page .portfolio-socials {
        display: none;
    }

    .site-main {
        padding-top: 120px;
    }

    .contact-side-card,
    .contact-form-card {
        padding: 1.25rem;
        border-radius: 20px;
    }
}
