/* ==========================================================
   RIC PACKERS & MOVERS
   TERMS & CONDITIONS
========================================================== */

:root {
    --navy: #071a33;
    --blue: #1769e0;
    --blue-dark: #0f5bc7;
    --white: #ffffff;
    --text: #20334c;
    --muted: #66758a;
    --border: #dbe5f0;
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

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


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 90px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    height: 90px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* HEADER LOGO */

.logo {
    width: 220px;
    height: 72px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.logo img {
    width: 220px;
    height: 72px;
    display: block;
    object-fit: contain;
    transform: scale(1.25);
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: #c7d4e4;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: #ffffff;
}

.quote-btn {
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--blue);
    color: #ffffff !important;
}

.quote-btn:hover {
    background: var(--blue-dark);
}


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

.terms-hero {
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(23, 105, 224, 0.12),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #eef5fc 100%
        );

    border-bottom: 1px solid #e4edf7;
}

.terms-hero-inner {
    padding: 92px 0 78px;
    text-align: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 36px;
    height: 2px;
    background: var(--blue);
}

.terms-hero h1 {
    margin-bottom: 18px;
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 6vw, 66px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.4px;
}

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

.terms-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
}

.updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 9px 13px;
    border: 1px solid #cfdded;
    border-radius: 999px;
    background: #ffffff;
    color: #617189;
    font-size: 12px;
    font-weight: 600;
}


/* ==========================================================
   TERMS CONTENT
========================================================== */

.terms-section {
    padding: 80px 0 95px;
}

.terms-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}


/* LEFT MENU */

.terms-toc {
    position: sticky;
    top: 110px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f9fbfe;
}

.terms-toc h3 {
    margin-bottom: 14px;
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
}

.terms-toc a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #edf2f7;
    color: #64758c;
    font-size: 13px;
    font-weight: 600;
}

.terms-toc a:last-child {
    border-bottom: none;
}

.terms-toc a:hover {
    color: var(--blue);
}


/* RIGHT CONTENT */

.terms-content {
    max-width: 820px;
}

.terms-block {
    padding-bottom: 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid #e7edf4;
    scroll-margin-top: 120px;
}

.terms-block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.terms-block h2 {
    margin-bottom: 14px;
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-size: 28px;
    line-height: 1.25;
}

.terms-block p {
    margin-bottom: 12px;
    color: #52657d;
    font-size: 15px;
}

.terms-block ul {
    margin: 12px 0 0 20px;
}

.terms-block li {
    margin: 8px 0;
    color: #52657d;
    font-size: 15px;
}


/* CONTACT BOX */

.contact-box {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid #d8e6f5;
    border-radius: 12px;
    background: #f2f7fd;
}

.contact-box a {
    color: var(--blue);
    font-weight: 700;
}


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

.site-footer {
    background: #071a33;
    color: #b9c8da;
    padding: 55px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 42px;
    align-items: start;
    padding-bottom: 45px;
}

.footer-grid > div {
    align-self: start;
    margin: 0;
    padding: 0;
}


/* BRAND COLUMN */

.footer-brand {
    margin: 0;
    padding: 0;
}


/* FOOTER LOGO */

.footer-logo {
    width: 190px;
    height: 65px;
    display: flex !important;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 0 20px 0 !important;
    padding: 0;
    overflow: hidden;
}

.footer-logo img {
    width: 190px;
    height: 65px;
    display: block;
    object-fit: contain;
    margin: 0;
    transform: scale(1.45) translateY(-2px);
    transform-origin: center center;
}


/* BRAND DESCRIPTION */

.footer-brand p {
    max-width: 310px;
    margin: 0;
    color: #b9c8da;
    font-size: 14px;
    line-height: 1.65;
}


/* FOOTER HEADINGS */

.site-footer h3 {
    margin: 0 0 18px 0;
    color: #ffffff;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}


/* FOOTER LINKS */

.site-footer a {
    display: block;
    margin: 0 0 11px 0;
    color: #b9c8da;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.site-footer a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-logo:hover {
    transform: none;
}


/* CONTACT ICONS */

.site-footer .fa-phone,
.site-footer .fa-envelope {
    width: 18px;
    margin-right: 8px;
    color: #b9c8da;
}


/* FOOTER BOTTOM */

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-bottom-inner p {
    margin: 0;
    color: #9fb0c4;
    font-size: 13px;
    line-height: 1.5;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-legal a {
    margin: 0;
    color: #9fb0c4;
    font-size: 13px;
    font-weight: 500;
}

.footer-legal a:hover {
    color: #ffffff;
    transform: none;
}


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

@media (max-width: 900px) {

    .main-nav {
        gap: 16px;
    }

    .main-nav a:not(.quote-btn) {
        display: none;
    }

    .terms-layout {
        grid-template-columns: 1fr;
    }

    .terms-toc {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
        padding-bottom: 40px;
    }

    .footer-brand p {
        max-width: 100%;
    }

}


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

@media (max-width: 600px) {

    .site-header,
    .header-inner {
        height: 75px;
        min-height: 75px;
    }

    .logo {
        width: 160px;
        height: 60px;
    }

    .logo img {
        width: 160px;
        height: 60px;
        transform: scale(1.2);
    }

    .quote-btn {
        padding: 10px 13px;
        font-size: 12px !important;
    }

    .terms-hero-inner {
        padding: 68px 0 58px;
    }

    .terms-hero h1 {
        font-size: 42px;
        letter-spacing: -1.6px;
    }

    .terms-hero p {
        font-size: 14px;
    }

    .terms-section {
        padding: 55px 0 70px;
    }

    .terms-block h2 {
        font-size: 23px;
    }

    .terms-block p,
    .terms-block li {
        font-size: 14px;
    }

    .site-footer {
        padding-top: 42px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 35px;
    }

    .footer-logo {
        width: 165px;
        height: 58px;
        margin-bottom: 18px !important;
    }

    .footer-logo img {
        width: 165px;
        height: 58px;
        transform: scale(1.4) translateY(-2px);
    }

    .footer-brand p {
        max-width: 100%;
        font-size: 14px;
    }

    .site-footer h3 {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .site-footer a {
        margin-bottom: 9px;
        font-size: 14px;
    }

    .footer-bottom-inner {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 16px;
    }

}
