/* =========================================================
   TOP RANK — CONTACT PAGE
   Contact page only.
   Global typography/container/colors come from global.css.
========================================================= */

.tr-contact-page{
    width:100%;
    overflow:hidden;
    background:#fff;
    font-family:Helvetica,Arial,sans-serif;
}

.tr-contact-page *,
.tr-contact-page *::before,
.tr-contact-page *::after{
    box-sizing:border-box;
}


/* =========================================================
   HERO
   Simple background image — NO red diagonal graphic.
========================================================= */

.tr-contact-hero{
    position:relative;
    width:100%;
    min-height:360px;
    overflow:hidden;
    background:#090c10;
    color:#fff;
}

.tr-contact-hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    background-image:url("_admin/pictures/library/contact.webp");
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover;
}

.tr-contact-hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(9,12,16,.94) 0%,
            rgba(9,12,16,.82) 40%,
            rgba(9,12,16,.48) 72%,
            rgba(9,12,16,.22) 100%
        );
}

.tr-contact-hero-inner{
    position:relative;
    z-index:2;
    min-height:360px;
    display:flex;
    align-items:center;
}

.tr-contact-hero-content{
    width:560px;
    padding:20px 0;
}

.tr-contact-breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:24px;
    font-size:10px;
    line-height:1;
    font-weight:700;
    text-transform:uppercase;
}

.tr-contact-breadcrumb a{
    color:var(--tr-red);
}

.tr-contact-breadcrumb span{
    color:#fff;
    font-size:15px;
}

.tr-contact-breadcrumb strong{
    color:#fff;
}

.tr-contact-hero h1{
    margin:0;
    color:#fff;
    font-size:60px;
    line-height:.95;
    font-weight:900;
    letter-spacing:-2.5px;
}

.tr-contact-hero h1 span{
    color:var(--tr-red);
}

.tr-contact-hero p{
    max-width:510px;
    margin:23px 0 0;
    color:rgba(255,255,255,.86);
    font-size:15px;
    line-height:1.65;
    font-weight:400;
}


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

.tr-contact-section{
    width:100%;
    padding:62px 0 68px;
    background:#fff;
}

.tr-contact-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:52px;
    align-items:stretch;
}


/* =========================================================
   FORM
========================================================= */

.tr-contact-form-column{
    min-width:0;
    padding-top:3px;
}

.tr-contact-eyebrow{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:17px;
    color:var(--tr-black);
    font-size:10px;
    line-height:1;
    font-weight:800;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.tr-contact-eyebrow span{
    width:34px;
    height:3px;
    flex:0 0 34px;
    background:var(--tr-red);
}

.tr-contact-form-column h2{
    margin:0;
    color:var(--tr-black);
    font-size:43px;
    line-height:.98;
    font-weight:900;
    letter-spacing:-1.8px;
}

.tr-contact-form-column h2 span{
    color:var(--tr-red);
}

.tr-contact-intro{
    max-width:480px;
    margin:18px 0 28px;
    color:var(--tr-muted);
    font-size:14px;
    line-height:1.65;
}

.tr-contact-form{
    width:100%;
}

.tr-form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.tr-form-field{
    width:100%;
    margin-bottom:12px;
}

.tr-form-field input,
.tr-form-field select,
.tr-form-field textarea{
    display:block;
    width:100%;
    border:1px solid #dfe3e7;
    border-radius:2px;
    outline:none;
    background:#fafbfc;
    color:var(--tr-black);
    font-family:Helvetica,Arial,sans-serif;
    font-size:12px;
    font-weight:400;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.tr-form-field input,
.tr-form-field select{
    height:47px;
    padding:0 14px;
}

.tr-form-field textarea{
    min-height:125px;
    padding:14px;
    resize:vertical;
    line-height:1.5;
}

.tr-form-field input::placeholder,
.tr-form-field textarea::placeholder{
    color:#77818c;
    opacity:1;
}

.tr-form-field select{
    color:#77818c;
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
    background-image:
        linear-gradient(45deg,transparent 50%,#68717b 50%),
        linear-gradient(135deg,#68717b 50%,transparent 50%);
    background-position:
        calc(100% - 18px) 20px,
        calc(100% - 13px) 20px;
    background-size:5px 5px,5px 5px;
    background-repeat:no-repeat;
}

.tr-form-field input:focus,
.tr-form-field select:focus,
.tr-form-field textarea:focus{
    border-color:var(--tr-red);
    background:#fff;
    box-shadow:0 0 0 3px rgba(230,41,48,.07);
}

.tr-contact-submit{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    width:205px;
    height:47px;
    margin-top:4px;
    padding:0 46px 0 19px;
    border:0;
    border-radius:2px;
    background:var(--tr-red);
    color:#fff;
    overflow:hidden;
    cursor:pointer;
    font-family:Helvetica,Arial,sans-serif;
    font-size:10px;
    font-weight:800;
    letter-spacing:.04em;
    transition:background .25s ease;
}

.tr-contact-submit b{
    position:absolute;
    right:16px;
    top:50%;
    margin:0;
    color:#fff;
    font-size:19px;
    font-weight:400;
    line-height:1;
    opacity:0;
    transform:translateY(-50%) translateX(-7px);
    transition:
        opacity .25s ease,
        transform .25s ease;
}

.tr-contact-submit:hover{
    background:var(--tr-black);
}

.tr-contact-submit:hover b{
    opacity:1;
    transform:translateY(-50%) translateX(0);
}


/* =========================================================
   YOUR VISION / OUR CRAFT
   Contact details are vertical.
========================================================= */

.tr-contact-vision{
    position:relative;
    min-height:590px;
    overflow:hidden;
    background:#090c10;
    color:#fff;
}

.tr-contact-vision-image{
    position:absolute;
    inset:0;
    background-image:url("/images/contact-craft.jpg");
    background-position:center right;
    background-repeat:no-repeat;
    background-size:cover;
}

.tr-contact-vision-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(5,8,11,.98) 0%,
            rgba(5,8,11,.91) 47%,
            rgba(5,8,11,.57) 76%,
            rgba(5,8,11,.28) 100%
        );
}

.tr-contact-vision-content{
    position:relative;
    z-index:2;
    height:100%;
    padding:38px 34px 28px;
}

.tr-contact-vision-content h3{
    margin:0;
    color:#fff;
    font-size:31px;
    line-height:1.02;
    font-weight:900;
    letter-spacing:-.8px;
}

.tr-contact-vision-content h3 span{
    color:var(--tr-red);
}

.tr-contact-vision-intro{
    max-width:330px;
    margin:18px 0 28px;
    color:rgba(255,255,255,.88);
    font-size:12px;
    line-height:1.65;
}

.tr-contact-details{
    display:flex;
    flex-direction:column;
    gap:20px;
    max-width:355px;
}

.tr-contact-detail{
    display:flex;
    align-items:center;
    gap:15px;
    min-width:0;
    color:#fff;
}

a.tr-contact-detail{
    cursor:pointer;
}

.tr-detail-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 43px;
    width:43px;
    height:43px;
    border-radius:50%;
    background:var(--tr-red);
}

.tr-detail-icon svg{
    width:21px;
    height:21px;
    fill:none;
    stroke:#fff;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.tr-detail-icon svg circle{
    fill:none;
}

.tr-detail-copy{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.tr-detail-copy strong{
    color:#fff;
    font-size:12px;
    line-height:1.2;
    font-weight:800;
}

.tr-detail-copy small{
    color:rgba(255,255,255,.82);
    font-size:11px;
    line-height:1.45;
}

.tr-vision-footer{
    position:absolute;
    left:34px;
    right:34px;
    bottom:27px;
    display:flex;
    flex-direction:column;
    gap:6px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.25);
}

.tr-vision-footer strong{
    color:var(--tr-red);
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.18em;
}

.tr-vision-footer span{
    color:rgba(255,255,255,.82);
    font-size:10px;
    line-height:1;
    font-weight:500;
    letter-spacing:.15em;
}


/* =========================================================
   MAP
   Black card overlays the left side exactly like reference.
========================================================= */

.tr-contact-map-section{
    width:100%;
    padding:0 0 64px;
    background:#fff;
}

.tr-contact-map-wrap{
    position:relative;
    width:100%;
    height:205px;
    overflow:hidden;
    border-radius:3px;
    background:#e9edf0;
}

.tr-contact-map-wrap iframe{
    display:block;
    width:100%;
    height:100%;
    border:0;
    filter:saturate(.58) contrast(.94) brightness(1.04);
}

.tr-map-address-card{
    position:absolute;
    z-index:3;
    left:0;
    top:0;
    bottom:0;
    width:255px;
    padding:28px 32px;
    background:linear-gradient(145deg,#0e1217,#090c10);
    color:#fff;
    box-shadow:4px 0 18px rgba(0,0,0,.08);
}

.tr-map-pin{
    display:flex;
    width:25px;
    height:25px;
    margin-bottom:11px;
}

.tr-map-pin svg{
    width:25px;
    height:25px;
    fill:var(--tr-red);
    stroke:var(--tr-red);
    stroke-width:1.2;
}

.tr-map-pin circle{
    fill:#090c10;
    stroke:none;
}

.tr-map-address-card strong{
    display:block;
    margin:0 0 6px;
    color:#fff;
    font-size:15px;
    line-height:1.2;
    font-weight:800;
}

.tr-map-address-card p{
    margin:0;
    color:rgba(255,255,255,.78);
    font-size:10px;
    line-height:1.6;
}

.tr-map-company-label{
    position:absolute;
    z-index:4;
    left:52%;
    top:28%;
    display:flex;
    align-items:center;
    gap:8px;
    padding:6px 9px;
    background:rgba(255,255,255,.95);
    box-shadow:0 3px 12px rgba(9,12,16,.10);
    pointer-events:none;
}

.tr-map-company-label span{
    display:flex;
    align-items:center;
}

.tr-map-company-label svg{
    width:20px;
    height:20px;
    fill:var(--tr-red);
    stroke:var(--tr-red);
    stroke-width:1.2;
}

.tr-map-company-label svg circle{
    fill:#fff;
    stroke:none;
}

.tr-map-company-label strong{
    color:var(--tr-black);
    font-size:10px;
    line-height:1;
    font-weight:700;
}


/* =========================================================
   EXISTING DYNAMIC CONTENT
========================================================= */

.tr-contact-dynamic{
    display:none;
}


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

@media (max-width:1050px){

    .tr-contact-grid{
        gap:35px;
    }

    .tr-contact-hero h1{
        font-size:54px;
    }

    .tr-contact-vision-content{
        padding-left:28px;
        padding-right:28px;
    }

    .tr-vision-footer{
        left:28px;
        right:28px;
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width:850px){

    .tr-contact-section{
        padding-top:50px;
    }

    .tr-contact-grid{
        grid-template-columns:1fr;
        gap:38px;
    }

    .tr-contact-vision{
        min-height:570px;
    }

}


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

@media (max-width:767px){

    .tr-contact-hero{
        min-height:320px;
    }

    .tr-contact-hero-inner{
        min-height:320px;
        align-items:flex-end;
        padding-bottom:38px;
    }

    .tr-contact-hero-content{
        width:100%;
        padding:0;
    }

    .tr-contact-breadcrumb{
        margin-bottom:17px;
        font-size:9px;
    }

    .tr-contact-hero h1{
        font-size:43px;
        letter-spacing:-1.5px;
    }

    .tr-contact-hero p{
        max-width:430px;
        margin-top:15px;
        font-size:13px;
        line-height:1.6;
    }

    .tr-contact-hero-overlay{
        background:
            linear-gradient(
                90deg,
                rgba(9,12,16,.94) 0%,
                rgba(9,12,16,.78) 58%,
                rgba(9,12,16,.45) 100%
            );
    }

    .tr-contact-section{
        padding:43px 0 45px;
    }

    .tr-contact-form-column h2{
        font-size:37px;
    }

    .tr-contact-intro{
        font-size:13px;
    }

    .tr-form-row{
        grid-template-columns:1fr;
        gap:0;
    }

    .tr-contact-vision{
        min-height:590px;
    }

    .tr-contact-vision-content{
        padding:31px 24px 25px;
    }

    .tr-contact-vision-content h3{
        font-size:29px;
    }

    .tr-contact-vision-intro{
        max-width:300px;
    }

    .tr-contact-details{
        gap:18px;
    }

    .tr-vision-footer{
        left:24px;
        right:24px;
    }

    .tr-contact-map-section{
        padding-bottom:45px;
    }

    .tr-contact-map-wrap{
        height:280px;
    }

    .tr-map-address-card{
        top:auto;
        left:12px;
        bottom:12px;
        width:210px;
        height:145px;
        padding:21px 23px;
        border-radius:2px;
    }

    .tr-map-company-label{
        left:55%;
        top:19%;
        transform:translateX(-50%);
        white-space:nowrap;
    }

}


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

@media (max-width:480px){

    .tr-contact-hero{
        min-height:290px;
    }

    .tr-contact-hero-inner{
        min-height:290px;
        padding-bottom:30px;
    }

    .tr-contact-hero h1{
        font-size:36px;
        letter-spacing:-1px;
    }

    .tr-contact-hero p{
        max-width:340px;
        font-size:12px;
        line-height:1.55;
    }

    .tr-contact-form-column h2{
        font-size:32px;
    }

    .tr-contact-submit{
        width:100%;
    }

    .tr-contact-vision{
        min-height:570px;
    }

    .tr-contact-vision-content{
        padding-left:20px;
        padding-right:20px;
    }

    .tr-contact-vision-content h3{
        font-size:27px;
    }

    .tr-detail-icon{
        flex-basis:40px;
        width:40px;
        height:40px;
    }

    .tr-detail-icon svg{
        width:19px;
        height:19px;
    }

    .tr-vision-footer{
        left:20px;
        right:20px;
    }

    .tr-contact-map-wrap{
        height:300px;
    }

    .tr-map-address-card{
        left:10px;
        bottom:10px;
        width:200px;
    }

}
