/* ========================================
   TORVEX GROWTH
   WEBSITE STYLES
======================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');


/* ========================================
   GLOBAL
======================================== */

:root {
    --bg: #080808;
    --bg-light: #111112;
    --card: #161617;
    --border: #29292b;
    --white: #f5f5f5;
    --muted: #929296;
    --red: #a92230;
    --red-hover: #c42c3d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.section {
    padding: 130px 0;
}

.muted {
    color: #68686c;
}

.accent,
.red {
    color: var(--red);
}

.section-label {
    display: inline-block;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

h1,
h2,
h3 {
    font-family: "Manrope", sans-serif;
}

h2 {
    font-size: clamp(36px, 5vw, 66px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2.5px;
}

p {
    line-height: 1.8;
}

::selection {
    background: var(--red);
    color: white;
}

:focus-visible {
    outline: 2px solid #e35a68;
    outline-offset: 5px;
}


/* ========================================
   NAVIGATION
======================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.91);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar {
    height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
}

.logo-main {
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 5px;
}

.logo-sub {
    margin-top: 7px;
    font-size: 9px;
    letter-spacing: 5.5px;
    color: #b9b9bd;
    padding-left: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links > a {
    font-size: 12px;
    color: #b5b5b9;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links > a:hover {
    color: white;
}

.nav-links .nav-contact {
    border: 1px solid #4b4b4f;
    color: white;
    padding: 13px 18px;
}

.nav-contact span {
    margin-left: 14px;
    color: #d54a59;
}

.nav-links .nav-contact:hover {
    border-color: var(--red);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;
    min-height: 850px;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 95px;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 83% 35%,
            rgba(110, 20, 32, 0.15),
            transparent 45%
        ),
        #080808;
}

.hero::after {
    content: "";
    position: absolute;
    right: -100px;
    top: 12%;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    right: -180px;
    top: 18%;
    width: 500px;
    height: 500px;
    background: rgba(110, 20, 32, 0.09);
    filter: blur(130px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: #aaa9ac;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(54px, 8.2vw, 118px);
    line-height: 1.06;
    letter-spacing: -6px;
    font-weight: 800;
    max-width: 1100px;
}

.hero-description {
    max-width: 590px;
    margin-top: 35px;
    font-size: 16px;
    color: #a4a4a7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 19px 24px;
    font-size: 11px;
    letter-spacing: 0.7px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn span {
    font-size: 18px;
    font-weight: 400;
}

.btn-primary {
    background: var(--red);
    color: white;
}

.btn-primary:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #454548;
    color: white;
}

.btn-secondary:hover {
    border-color: #a3a3a6;
    background: rgba(255, 255, 255, 0.04);
}

.hero-bottom {
    margin-top: 100px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.hero-line {
    width: 50px;
    height: 1px;
    background: var(--red);
}

.hero-bottom span {
    font-size: 10px;
    color: #717176;
    letter-spacing: 2px;
}

.hero-number {
    position: absolute;
    right: 5%;
    bottom: 40px;
    font-size: 10px;
    color: #66666b;
    letter-spacing: 2px;
}


/* ========================================
   INTRO STRIP
======================================== */

.intro-strip {
    background: #111112;
    border-top: 1px solid #242426;
    border-bottom: 1px solid #242426;
    padding: 27px 0;
}

.intro-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.intro-strip span {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #8f8f93;
    font-weight: 700;
}

.strip-divider {
    height: 4px;
    width: 4px;
    border-radius: 50%;
    background: var(--red);
}


/* ========================================
   SECTION HEADINGS
======================================== */

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 70px;
    margin-bottom: 65px;
}

.section-heading p {
    max-width: 365px;
    color: var(--muted);
    font-size: 14px;
    padding-bottom: 5px;
}


/* ========================================
   SERVICES
======================================== */

.services {
    background: var(--bg);
}

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

.service-card {
    min-height: 390px;
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    border-color: #84404a;
    transform: translateY(-5px);
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-number {
    color: #77777d;
    font-size: 11px;
    letter-spacing: 1px;
}

.service-arrow {
    color: #88888d;
    font-size: 22px;
}

.service-icon {
    color: var(--red);
    font-size: 39px;
    margin-top: 35px;
    margin-bottom: 26px;
    font-weight: 400;
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.service-card p {
    font-size: 13px;
    line-height: 1.8;
    color: #97979c;
}

.service-tag {
    display: block;
    color: #77777c;
    border-top: 1px solid #303034;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding-top: 20px;
    margin-top: auto;
}


/* ========================================
   FEATURE
======================================== */

.feature-section {
    background: #121213;
    padding: 110px 0;
    border-top: 1px solid #272729;
    border-bottom: 1px solid #272729;
}

.feature-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
}

.feature-right p {
    color: #aaaab0;
    font-size: 14px;
    margin-bottom: 20px;
}

.text-link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--red);
    display: inline-flex;
    gap: 45px;
    align-items: center;
    padding-bottom: 13px;
    margin-top: 20px;
}

.text-link span {
    color: var(--red);
    font-size: 19px;
}

.text-link:hover {
    color: #e8b5ba;
}


/* ========================================
   PROCESS
======================================== */

.process {
    background: #080808;
}

.section-title {
    margin-bottom: 65px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #353538;
}

.process-item {
    padding: 32px 30px 20px 0;
    border-right: 1px solid #2b2b2e;
    min-height: 210px;
}

.process-item:not(:first-child) {
    padding-left: 30px;
}

.process-item:last-child {
    border-right: none;
}

.process-number {
    color: var(--red);
    font-size: 12px;
    letter-spacing: 1px;
}

.process-item h3 {
    margin-top: 27px;
    margin-bottom: 14px;
    font-size: 21px;
}

.process-item p {
    color: #919196;
    font-size: 13px;
}


/* ========================================
   PORTFOLIO
======================================== */

.portfolio {
    background: #101011;
}

.project-card {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    border: 1px solid #333337;
    overflow: hidden;
}

.project-visual {
    min-height: 490px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(
            ellipse at 60% 70%,
            rgba(135, 25, 38, 0.2),
            transparent 55%
        ),
        linear-gradient(145deg, #1d1d20, #090909);
    overflow: hidden;
}

.project-visual::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    right: -160px;
    bottom: -160px;
}

.project-visual-label {
    position: absolute;
    top: 26px;
    left: 30px;
    color: #77777b;
    font-size: 10px;
    letter-spacing: 1.4px;
}

.project-visual-content {
    position: relative;
    z-index: 2;
    width: 75%;
}

.project-visual-content > span {
    display: block;
    color: var(--red);
    font-size: 52px;
    letter-spacing: -2px;
    font-weight: 800;
    font-family: "Manrope", sans-serif;
}

.project-visual-content strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: clamp(22px, 3vw, 39px);
    letter-spacing: -1.5px;
}

.project-visual-line {
    width: 60px;
    height: 3px;
    background: var(--red);
    margin: 23px 0;
}

.project-visual-content small {
    color: #85858c;
    font-size: 10px;
    letter-spacing: 1.8px;
}

.project-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-info-top {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.project-index {
    color: #66666c;
    font-size: 12px;
}

.project-info h3 {
    font-size: 30px;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
}

.project-info > p {
    color: #99999d;
    font-size: 14px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0;
}

.project-tags span {
    border: 1px solid #3c3c40;
    padding: 9px 11px;
    font-size: 9px;
    letter-spacing: 0.8px;
    color: #aaaab0;
}

.project-info .text-link {
    margin-top: 14px;
}

.project-info .project-disclaimer {
    font-size: 11px;
    color: #77777e;
    margin-top: 25px;
}


/* ========================================
   ABOUT
======================================== */

.about {
    background: #080808;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 90px;
}

.about-lead {
    color: white !important;
    font-size: 20px !important;
    font-weight: 500;
}

.about-right p {
    font-size: 14px;
    color: #929297;
    margin-bottom: 20px;
}

.about-location {
    border-top: 1px solid #303034;
    padding-top: 24px;
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a9a9af;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


/* ========================================
   CONTACT
======================================== */

.contact-section {
    background:
        radial-gradient(
            ellipse at 75% 100%,
            rgba(110, 20, 32, 0.16),
            transparent 50%
        ),
        #131314;
    border-top: 1px solid #303034;
    padding: 130px 0;
    text-align: center;
}

.contact-content h2 {
    font-size: clamp(47px, 8vw, 100px);
    line-height: 1.08;
    letter-spacing: -5px;
}

.contact-content > p {
    color: #aaaab0;
    max-width: 430px;
    font-size: 15px;
    margin: 28px auto 35px;
}

.contact-btn {
    min-width: 280px;
}

.contact-email {
    display: block;
    width: fit-content;
    color: #9b9ba1;
    margin: 30px auto 0;
    font-size: 13px;
    border-bottom: 1px solid transparent;
}

.contact-email:hover {
    border-color: var(--red);
    color: white;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    background: #070707;
    padding: 65px 0 25px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 65px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo {
    align-self: flex-start;
}

.footer-brand p {
    margin-top: 25px;
    color: #85858b;
    font-size: 13px;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-links a {
    color: #9c9ca0;
    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 26px;
    border-top: 1px solid #29292c;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom span,
.footer-bottom a {
    font-size: 10px;
    color: #737379;
    letter-spacing: 1px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {

    .nav-links {
        gap: 18px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        min-height: 340px;
    }

    .feature-layout,
    .about-layout {
        gap: 55px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-item:nth-child(2) {
        border-right: none;
    }

    .process-item:nth-child(n+3) {
        border-top: 1px solid #29292c;
    }

    .project-info {
        padding: 35px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

    .container {
        width: 88%;
    }

    .section {
        padding: 85px 0;
    }

    .navbar {
        height: 74px;
    }

    .logo-main {
        font-size: 21px;
    }

    .logo-sub {
        font-size: 8px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #101011;
        border-bottom: 1px solid #343438;
        padding: 12px 6% 25px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > a {
        padding: 17px 0;
        font-size: 14px;
        border-bottom: 1px solid #29292c;
    }

    .nav-links .nav-contact {
        text-align: center;
        margin-top: 15px;
        padding: 16px;
    }

    .hero {
        min-height: 760px;
        min-height: 100svh;
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: clamp(44px, 10vw, 73px);
        letter-spacing: -3px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.1px;
        line-height: 1.6;
    }

    .hero-description {
        font-size: 14px;
        margin-top: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: space-between;
    }

    .hero-bottom {
        margin-top: 65px;
    }

    .hero-bottom span {
        font-size: 8px;
        letter-spacing: 1px;
        line-height: 1.6;
    }

    .hero-number {
        display: none;
    }

    .intro-strip-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .strip-divider {
        display: none;
    }

    .intro-strip span {
        font-size: 9px;
    }

    h2 {
        font-size: clamp(36px, 9vw, 50px);
        letter-spacing: -1.8px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }

    .section-heading p {
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 300px;
    }

    .feature-section {
        padding: 85px 0;
    }

    .feature-layout,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-item,
    .process-item:not(:first-child) {
        padding: 27px 0;
        border-right: none;
        border-bottom: 1px solid #29292c;
        min-height: auto;
    }

    .process-item:nth-child(n+3) {
        border-top: none;
    }

    .process-item h3 {
        margin-top: 20px;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-visual {
        min-height: 340px;
    }

    .project-visual-content > span {
        font-size: 43px;
    }

    .project-info {
        padding: 30px 25px;
    }

    .project-info h3 {
        font-size: 25px;
    }

    .contact-section {
        padding: 95px 0;
    }

    .contact-content h2 {
        font-size: clamp(43px, 10vw, 70px);
        letter-spacing: -2.5px;
    }

    .footer-main {
        flex-direction: column;
        gap: 45px;
        padding-bottom: 45px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn,
    .service-card {
        transition: none;
    }
}