
/* =================================
   P_TECH WEB PAGE
================================= */

.web-page {
    background: #080809;
    color: #f7f7f8;
}

/* HEADER */

.web-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(8, 8, 9, .90);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 1000;
}

.web-header .brand img {
    height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
}

.web-tagline {
    color: #c4c4c8;
    font-size: 12px;
    letter-spacing: 1px;
}

.web-header .navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.web-header .nav-link {
    color: #c4c4c8;
    font-size: 13px;
}

.web-header .nav-link:hover,
.web-header .nav-link.active {
    color: #e63946;
}

.web-header-cta {
    padding: 11px 17px;
    background: #e63946;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.web-header-cta span {
    margin-left: 8px;
}

.web-header .menu-toggle {
    display: none;
}


/* COMMON */

.web-page section {
    scroll-margin-top: 75px;
}

.web-section-label {
    color: #e63946;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.web-page h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.web-page h2 span {
    color: #e63946;
}


/* HERO */

.web-hero {
    min-height: 100vh;
    padding: 150px clamp(28px, 8vw, 120px) 90px;

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 55px;

    background:
        radial-gradient(circle at 80% 45%,
        rgba(230,57,70,.13), transparent 35%),
        #080809;
}

.web-hero-content {
    max-width: 700px;
}

.web-eyebrow {
    color: #e63946;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 25px;
}

.web-hero h1 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .99;
    letter-spacing: -3px;
}

.web-hero h1 span {
    color: #e63946;
}

.web-hero-description {
    max-width: 520px;
    margin: 28px 0;
    color: #c4c4c8;
    font-size: 15px;
    line-height: 1.9;
}

.web-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.web-primary-button,
.web-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 21px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    transition: .25s ease;
}

.web-primary-button {
    background: #e63946;
    color: #fff;
}

.web-primary-button:hover {
    background: #c92c39;
    transform: translateY(-3px);
}

.web-secondary-button {
    background-color: #fff;
    color: #e63946;
    border: 1px solid rgba(255,255,255,.25);
}

.web-secondary-button:hover {
    border-color: #e63946;
    color: #e63946;
    transform: translateY(-3px);
}


/* HERO VISUAL */

.web-hero-visual {
    display: flex;
    justify-content: center;
}

.web-visual-frame {
    position: relative;
    width: 100%;
    max-width: 470px;
    min-height: 390px;
    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 1px solid rgba(230,57,70,.45);
    border-radius: 12px;

    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        #151518;

    background-size: 35px 35px;
    box-shadow: 0 20px 80px rgba(230,57,70,.09);
}

.visual-label,
.visual-bottom {
    color: #858585;
    font-size: 10px;
    letter-spacing: 2px;
}

.visual-code {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-family: 'Space Grotesk', sans-serif;
}

.visual-code span {
    color: #e63946;
    font-size: 16px;
}

.visual-code strong {
    font-size: clamp(28px, 3vw, 42px);
}

.visual-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}


/* INTRODUCTION */

.web-intro {
    padding: 110px clamp(28px, 8vw, 120px);
    background: #101012;
}

.web-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.web-intro-content h2 {
    margin: 0;
}

.web-intro-content p {
    color: #c4c4c8;
    font-size: 15px;
    line-height: 2;
    max-width: 580px;
}


/* SERVICES */

.web-services {
    padding: 110px clamp(28px, 8vw, 120px);
    background: #080809;
}

.web-section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.web-section-heading h2 {
    margin: 0;
}

.web-section-heading > p:last-child {
    color: #c4c4c8;
    line-height: 1.8;
    margin-top: 20px;
}

.web-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.web-service-item {
    position: relative;
    min-height: 255px;
    padding: 30px;
    background: #202124;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    transition: .3s ease;
}

.web-service-item:hover {
    transform: translateY(-5px);
    border-color: rgba(230,57,70,.6);
}

.web-item-number {
    position: absolute;
    top: 25px;
    right: 28px;
    color: #858585;
    font-family: 'Space Grotesk', sans-serif;
}

.web-item-icon {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;

    border: 1px solid rgba(230,57,70,.5);
    border-radius: 8px;
    color: #e63946;
    font-size: 22px;
}

.web-service-item h3 {
    margin: 0 0 13px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 23px;
}

.web-service-item p {
    color: #c4c4c8;
    font-size: 13px;
    line-height: 1.8;
    max-width: 480px;
}


/* DELIVERABLES */

.web-deliverables {
    padding: 110px clamp(28px, 8vw, 120px);
    background: #101012;
}

.web-deliverables h2 {
    margin: 0;
}

.web-deliverables-intro {
    max-width: 600px;
    color: #c4c4c8;
    line-height: 1.8;
    margin: 22px 0 40px;
}

.web-deliverables-list {
    max-width: 900px;
}

.web-deliverable {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.web-deliverable span {
    color: #e63946;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
}

.web-deliverable p {
    margin: 0;
    font-size: 16px;
}


/* PROCESS */

.web-process {
    padding: 110px clamp(28px, 8vw, 120px);
    background: #080809;
}

.web-process h2 {
    margin: 0 0 55px;
}

.web-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.web-process-step {
    padding: 25px 20px;
    border-top: 2px solid #e63946;
    background: #202124;
}

.web-process-step > span {
    color: #e63946;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
}

.web-process-step h3 {
    margin: 25px 0 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
}

.web-process-step p {
    color: #c4c4c8;
    font-size: 13px;
    line-height: 1.8;
}


/* CONTACT */

.web-contact {
    padding: 110px 25px;
    text-align: center;
    background:
        radial-gradient(circle at center,
        rgba(230,57,70,.13), transparent 55%),
        #101012;
}

.web-contact h2 {
    margin: 0;
}

.web-contact > p:not(.web-section-label) {
    color: #c4c4c8;
    line-height: 1.8;
    margin: 25px auto 30px;
    max-width: 520px;
}


/* FOOTER */

.web-footer {
    min-height: 110px;
    padding: 25px clamp(24px, 5vw, 70px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;

    background: #080809;
    border-top: 1px solid rgba(255,255,255,.10);
}

.web-footer .brand img {
    height: 42px;
    width: auto;
}

.web-footer p,
.web-footer span {
    color: #858585;
    font-size: 17px;
}

.web-footer > a:not(.brand) {
    color: #c4c4c8;
    font-size: 12px;
}
.footer-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #F7F7F8;
    margin: 12px 0;
}

.footer-tagline span {
    color: #E63946;
}
/* =================================
   PROJECT ENQUIRY POPUP
================================= */

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(8px);
}

.project-modal.active {
    display: flex;
}

.project-modal-content {
    position: relative;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;

    padding: 40px;
    background: #151518;
    border: 1px solid rgba(230, 57, 70, .35);
    border-radius: 12px;

    box-shadow: 0 25px 90px rgba(0, 0, 0, .6);
    animation: projectModalOpen .25s ease;
}

@keyframes projectModalOpen {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;

    width: 35px;
    height: 35px;

    border: 0;
    background: transparent;
    color: #c4c4c8;
    font-size: 30px;
    cursor: pointer;
}

.project-modal-close:hover {
    color: #e63946;
}

.project-modal-content h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 42px);
}

.project-modal-description {
    color: #c4c4c8;
    font-size: 13px;
    line-height: 1.8;
    margin: 15px 0 28px;
}

.project-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.project-form-group.full-width {
    grid-column: 1 / -1;
}

.project-form-group label {
    color: #f7f7f8;
    font-size: 12px;
    font-weight: 600;
}

.project-form-group input,
.project-form-group select,
.project-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;

    background: #202124;
    color: #f7f7f8;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 5px;
    outline: none;

    font-family: 'Inter', sans-serif;
    font-size: 12px;
}

.project-form-group input:focus,
.project-form-group select:focus,
.project-form-group textarea:focus {
    border-color: #e63946;
}

.project-form-group input::placeholder,
.project-form-group textarea::placeholder {
    color: #858585;
}

.project-form-group select {
    cursor: pointer;
}

.project-form-group select option {
    background: #202124;
    color: #f7f7f8;
}

.project-form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.project-submit-button {
    width: 100%;
    margin-top: 25px;
    padding: 15px;

    background: #e63946;
    color: #fff;

    border: 0;
    border-radius: 5px;

    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}

.project-submit-button:hover {
    background: #c92c39;
}

.project-submit-button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.project-submit-button span {
    margin-left: 8px;
}

.project-form-status {
    min-height: 18px;
    margin: 12px 0 0;
    font-size: 12px;
    text-align: center;
}

.project-form-status.success {
    color: #65d69a;
}

.project-form-status.error {
    color: #ff6b75;
}

.project-privacy-note {
    color: #858585;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
    margin-top: 15px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {

    .web-hero {
        grid-template-columns: 1fr;
    }

    .web-hero-visual {
        justify-content: flex-start;
    }

    .web-visual-frame {
        max-width: 100%;
    }

    .web-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 760px) {

    .web-header {
        min-height: 70px;
    }

    .web-header .brand img {
        height: 42px;
    }

    .web-tagline {
        display: none;
    }

    .web-header .menu-toggle {
        display: block;
        background: transparent;
        border: 0;
        color: #fff;
        font-size: 25px;
        cursor: pointer;
    }

    .web-header .navigation {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 25px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        background: #101012;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .web-header .navigation.open {
        display: flex;
    }

    .web-header .nav-link {
        font-size: 14px;
    }

    .web-header-cta {
        text-align: center;
    }

    .web-intro-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .web-services-grid {
        grid-template-columns: 1fr;
    }

    .web-process-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 480px) {

    .web-hero {
        padding: 125px 23px 70px;
    }

    .web-hero h1 {
        font-size: 47px;
    }

    .web-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .web-primary-button,
    .web-secondary-button {
        width: 100%;
    }

    .web-visual-frame {
        min-height: 300px;
        padding: 22px;
    }

    .web-page h2 {
        font-size: 39px;
    }

    .web-process-grid {
        grid-template-columns: 1fr;
    }

    .web-footer {
        flex-direction: column;
        align-items: flex-start;
    }

}
@media (max-width: 600px) {
    .footer-tagline {
        font-size: 19px;
    }
}
@media (max-width: 600px) {

    .project-modal-content {
        padding: 30px 20px;
    }

    .project-form-grid {
        grid-template-columns: 1fr;
    }

    .project-form-group.full-width {
        grid-column: auto;
    }

}