/* ========================================
   RESET
======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ========================================
   VARIABLES
======================================== */

:root {

    --primary: #d71920;
    --primary-dark: #a90f15;

    --text: #222;
    --text-light: #666;

    --white: #ffffff;

    --footer-bg: #1f2326;
    --footer-text: #b9bec2;
    --footer-muted: #7f878c;

    --border: #dddddd;

    --container-width: 1200px;

    --transition: .3s ease;

}


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

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

.section:not(.stats) {
    padding: 65px 0;
}


/* ========================================
   HEADER
======================================== */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 60px;
}


/* ========================================
   LOGO
======================================== */

.logo {
    display: flex;
    align-items: center;

    width: 240px;
    margin-right: 40px;

    flex-shrink: 0;
}

.logo img {
    display: block;
    height: 50px;
    width: auto;
}


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

nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    position: relative;

    font-size: 16px;
    font-weight: 600;
    letter-spacing: .04em;

    color: var(--text);

    transition: color var(--transition);
}

nav a::after {

    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--primary);

    transition: width var(--transition);

}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}


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

@media (max-width: 992px) {

    .header-container {

        min-height: 78px;

    }

    .logo {

        width: 210px;
        margin-right: 24px;

    }

    nav ul {

        gap: 18px;

    }

}


/* ========================================
   MOBILE
======================================== */
@media (max-width:768px){

    .header-container{
        min-height:64px;
    }

    .logo{
        width:145px;
        margin-right:16px;
    }

    .logo img{
        height:auto;
        max-width:100%;
    }

    nav ul{
        gap:14px;
    }

    nav a{
        font-size:12px;
        letter-spacing:.02em;
    }

    nav a::after{
        bottom:-6px;
    }
}

@media (max-width:480px){

    .header-container{
        min-height:60px;
    }

    .logo{
        width:120px;
        margin-right:10px;
    }

    nav ul{
        gap:10px;
    }

    nav a{
        font-size:11px;
        letter-spacing:0;
    }
}

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

.hero {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 580px;

    overflow: hidden;

    background-image: url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.56) 48%,
        rgba(0,0,0,.18) 100%
    );
}

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

    width: min(90%, var(--container-width));
    margin: 0 auto;

    color: var(--white);
}

.hero-label {

    display: inline-block;

    margin-bottom: 16px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;

}

.hero h1 {

    max-width: 700px;

    margin: 0;

    color:#d71920;

    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.08;
    font-weight: 700;

}

.hero h1 span {
    color: var(--white);
}

.hero-text {

    max-width: 580px;

    margin: 24px 0 34px;

    color: rgba(255,255,255,.86);

    font-size: 17px;
    line-height: 1.7;

}

.section-divider{
    width:70px;
    height:3px;
    background:var(--primary);
    border:none;
    margin:18px 0 30px;
}

.service-intro-content .section-divider,
.service-details-content .section-divider{
    margin:18px 0 30px;
}
/* ========================================
   BUTTONS
======================================== */

.hero-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 13px 24px;

    background: var(--primary);

    border: 2px solid var(--primary);

    color: var(--white);

    font-size: 14px;
    font-weight: 600;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;

}

.hero-button:hover {

    background: var(--primary-dark);
    border-color: var(--primary-dark);

    transform: translateY(-2px);

}

.btn{
    display:inline-block;
    padding:16px 38px;
    background:var(--primary);
    color:#fff;
    text-decoration:none;
    font-weight:600;
    letter-spacing:0.5px;
    border:2px solid var(--primary);
    transition:all .3s ease;
    cursor:pointer;
}

.btn:hover{
    background:transparent;
    color:var(--primary);
}

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

@media (max-width:992px){

    .hero{

        min-height:540px;

    }

    .hero h1{

        max-width:620px;

    }

    .hero-text{

        max-width:520px;
        font-size:16px;

    }

}

@media (max-width:768px){

    .hero{

        align-items:flex-end;
        min-height:500px;

    }

    .hero-overlay{

        background:linear-gradient(
            180deg,
            rgba(0,0,0,.18) 0%,
            rgba(0,0,0,.58) 42%,
            rgba(0,0,0,.90) 100%
        );

    }

    .hero-content{

        padding-bottom:46px;

    }

    .hero-label{

        margin-bottom:12px;

        font-size:11px;

    }

    .hero h1{

        font-size:clamp(32px,9vw,44px);

    }

    .hero-text{

        margin:18px 0 28px;

        font-size:15px;

    }

    .hero-button{

        width:100%;
        max-width:250px;

    }

}

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

.site-footer {

    padding: 40px 0 22px;

    background: var(--footer-bg);

    color: var(--white);

    border-top: 3px solid var(--primary);

}

.footer-container {

    width: min(90%, var(--container-width));
    margin: 0 auto;

}


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

.footer-main {

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 48px;

    padding-bottom: 30px;

}

.footer-brand {

    display: flex;
    align-items: center;

    gap: 24px;

}

.footer-logo {

    width: 145px;
    height: auto;

}

.footer-brand p {

    max-width: 430px;

    margin: 0;

    color: var(--footer-text);

    font-size: 14px;
    line-height: 1.65;

}


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

.footer-contact-button {

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;

    min-width: 285px;

    padding: 18px 22px;

    background: rgba(255,255,255,.04);

    border: 1px solid rgba(255,255,255,.10);
    border-top: 2px solid var(--primary);

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;

}

.footer-contact-button:hover {

    background: rgba(255,255,255,.07);

    border-color: rgba(255,255,255,.20);

    transform: translateY(-3px);

}

.footer-contact-button small {

    display: block;

    margin-bottom: 5px;

    color: #98a0a6;

    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;

}

.footer-contact-button span:first-child {

    font-size: 17px;
    font-weight: 700;

}

.footer-contact-arrow {

    color: var(--primary);

    font-size: 22px;

    transition: transform .3s ease;

}

.footer-contact-button:hover .footer-contact-arrow {

    transform: translateX(5px);

}


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

.footer-lower {

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,.10);

}

.footer-nav {

    display: flex;
    flex-wrap: wrap;

    gap: 26px;

}

.footer-nav a {

    position: relative;

    color: var(--footer-text);

    font-size: 14px;

    transition: color .3s ease;

}

.footer-nav a:hover {

    color: var(--white);

}

.footer-nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: var(--primary);

    transition: width .3s ease;

}

.footer-nav a:hover::after {

    width: 100%;

}

.footer-copyright {

    margin: 0;

    color: var(--footer-muted);

    font-size: 12px;

}


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

@media (max-width:900px){

    .footer-main{

        flex-direction:column;
        align-items:flex-start;

        gap:30px;

    }

    .footer-brand{

        flex-direction:column;
        align-items:flex-start;

        gap:16px;

    }

    .footer-contact-button{

        width:100%;
        min-width:0;

    }

    .footer-lower{

        flex-direction:column;
        align-items:flex-start;

        gap:20px;

    }

}

@media (max-width:600px){

    .site-footer{

        padding:34px 0 20px;

    }

    .footer-brand{

        text-align:center;
        align-items:center;

    }

    .footer-logo{

        width:135px;

    }

    .footer-lower{

        text-align:center;
        align-items:center;

    }

    .footer-nav{

        justify-content:center;

        gap:18px;

    }

}

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

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.w-100 {
    width: 100%;
}

.hidden {
    display: none !important;
}




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

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--text);
    line-height: 1.15;
    font-weight: 700;
}



p {
    margin: 0;
}


/* ========================================
   LINKS
======================================== */

a {
    transition:
        color .3s ease,
        opacity .3s ease;
}

a:hover {
    opacity: .95;
}


/* ========================================
   FOCUS STATES
======================================== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(215, 25, 32, .35);
    outline-offset: 4px;
}


/* ========================================
   IMAGE HELPERS
======================================== */

img {
    max-width: 100%;
    height: auto;
}


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

@media (max-width:992px){

    section{

        padding:75px 0;

    }

    h2{

        font-size:36px;

    }

}


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

@media (max-width:768px){

    section{

        padding:60px 0;

    }

    h2{

        font-size:30px;

    }

    h3{

        font-size:20px;

    }

}


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

@media (max-width:480px){

    .container,
    .footer-container{

        width:min(92%, var(--container-width));

    }

}
