@import url('home-content.css');

/* Compact desktop proportions for the SAAT landing page */
.home-header .brand {
    width: 165px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center
}

.home-header .nav {
    gap: .85rem
}

.home-header .nav a {
    font-size: .92rem;
    font-weight: 600;
    padding: .45rem .75rem
}

.quote-nav {
    padding: 8px 18px;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2
}

.home-hero {
    min-height: calc(100vh - 102px);
    min-height: calc(100dvh - 102px);
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
}

.hero-layout {
    width: 100%;
}

.home-about .split {
    perspective: 1000px
}

.home-about .reveal {
    transform-style: preserve-3d;
    transition: transform .6s ease, opacity .6s ease
}

.home-about .reveal:hover {
    transform: rotateY(5deg) translateZ(20px)
}

.home-services .cards {
    perspective: 1000px
}

.home-services .card {
    transform-style: preserve-3d;
    transition: transform .5s ease, box-shadow .5s ease
}

.home-services .card:hover {
    transform: rotateX(5deg) rotateY(5deg) translateZ(30px);
    box-shadow: 0 20px 40px rgba(8, 42, 67, .2)
}

.hero-copy {
    padding: 2.5rem 0 2.5rem clamp(1.5rem, 4.5vw, 3.5rem);
    max-width: 680px;
}

.hero-copy .eyebrow {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
    animation: fadeInUp .8s ease forwards;
    animation-delay: .2s
}

.hero-copy h1 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
    animation: fadeInUp .8s ease forwards;
    animation-delay: .4s
}

.hero-copy p {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
    animation: fadeInUp .8s ease forwards;
    animation-delay: .6s
}

.hero-actions {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
    animation: fadeInUp .8s ease forwards;
    animation-delay: .8s;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.home-hero h1 {
    font-size: clamp(2.1rem, 3.2vw, 3.2rem);
    line-height: 1.15;
    margin: 0.8rem 0 1rem;
    letter-spacing: -.03em;
}

.home-hero p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 580px;
    color: #e1e7eb;
}

.home .eyebrow {
    font-size: .75rem
}

.home-primary,
.home-secondary {
    padding: 0.75rem 1.6rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-rule {
    display: none;
}

.hero-art img {
    max-width: 485px;
    margin-left: auto
}

.home-intro {
    padding: 2.5rem 0
}

.home-intro h2 {
    font-size: 1.85rem
}

.home .site-footer .brand {
    width: 205px;
    height: 58px;
    background-size: 245px auto;
    background-position: center center
}

@media(max-width:800px) {
    .home-header .brand {
        width: 145px;
        height: 44px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center
    }

    .home-hero {
        min-height: auto;
        padding: 3.5rem 0 3rem;
    }

    .hero-copy {
        padding: 0 0 0 1rem;
    }

    .home-hero h1 {
        font-size: clamp(2.1rem, 6vw, 2.8rem);
    }

    .hero-art img {
        max-width: 500px
    }

    .home .site-footer .brand {
        width: 190px;
        height: 54px;
        background-size: 225px auto
    }
}

@media(max-width:520px) {
    .home-header .brand {
        width: 130px;
        height: 40px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center
    }

    .home-hero {
        padding: 2.5rem 0 2rem;
    }

    .home-hero h1 {
        font-size: 1.95rem;
    }

    .hero-copy {
        padding: 0 0 0 0.5rem;
    }

    .home .site-footer .brand {
        width: 165px;
        height: 48px;
        background-size: 195px auto
    }
}

/* Premium home-page art direction */
.home {
    background: #f5f2eb;
    color: #162738
}

.home h1,
.home h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: -.035em
}

.home-top {
    background: #071a2b;
    border-bottom: 1px solid rgba(203, 171, 104, .22)
}

.home-header {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 28px rgba(7, 26, 43, .08)
}

.home-header .nav a {
    border-radius: 0;
    letter-spacing: .015em
}

.home-header .nav a.active,
.home-header .nav a:hover {
    color: #8b6a27;
    background: transparent
}

.home-header .nav a.active::after {
    background: #b78b39
}

.quote-nav,
.home-primary {
    background: #b78b39;
    border-color: #b78b39;
    border-radius: 0;
    box-shadow: 0 10px 24px rgba(120, 84, 22, .2)
}

.quote-nav:hover,
.home-primary:hover {
    background: #8b6829;
    border-color: #8b6829
}

.home-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, .82);
    border-radius: 0
}

.home .eyebrow {
    color: #caaa67;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    display: inline-block;
}

.home-about .eyebrow {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .16em;
    color: #caaa67;
    margin-bottom: .35rem;
}

/* Keep the hero in its original, brighter treatment. */
.home-hero h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: normal
}

.home-hero .home-primary,
.home-hero .home-secondary {
    background: var(--orange);
    border-color: var(--orange);
    border-radius: 3px;
    box-shadow: none
}

.home-hero .home-primary:hover,
.home-hero .home-secondary:hover {
    background: #d96609;
    border-color: #d96609
}

.home-about { padding: 3.25rem 0; background: #f5f2eb }

.home-about .split { gap: 7rem; align-items: center }

.home-about h2 { color: #0a2034; font-size: clamp(2.6rem, 4vw, 4.35rem); line-height: 1.05; margin: .9rem 0 1.35rem }

.home-about p { font-size: 1rem; line-height: 1.8; color: #53606a; margin-bottom: 2rem }

.home-about .btn { border-radius: 0; background: transparent; border-color: #17344a; color: #17344a; padding: .82rem 1.4rem }

.home-about .btn:hover { background: #17344a; color: #fff }

.home-about .reveal:last-child {
    background: #0b2439;
    padding: 2.8rem 3rem;
    border-top: 2px solid #caaa67;
    box-shadow: 22px 22px 0 rgba(183, 139, 57, .12)
}

.home-about .reveal:last-child .eyebrow { color: #d8bc7a }
.home-about .checks { margin: 1.25rem 0 0 }
.home-about .checks li { padding: .85rem 0; color: #e9eef0; border-bottom: 1px solid rgba(255, 255, 255, .12) }
.home-about .checks li:last-child { border-bottom: 0 }
.home-about .checks li::before { color: #d8bc7a }
.home-about .reveal:hover { transform: none }

.home-services { padding: 7.5rem 0 8rem; background: #081d30; position: relative; overflow: hidden }
.home-services::before { content: 'SAAT'; position: absolute; right: -1.5rem; top: -5.4rem; color: rgba(255, 255, 255, .025); font: 700 18rem/1 Arial, sans-serif; letter-spacing: -.08em }
.home-services .container { position: relative }
.home-services .section-title { max-width: 650px; margin-bottom: 3.2rem }
.home-services h2 { color: #fff; font-size: clamp(2.65rem, 4vw, 4.2rem); line-height: 1.05; margin: .9rem 0 1.2rem }
.home-services .section-title p { color: #afbdc4; font-size: 1rem; line-height: 1.8 }
.home-services .cards { gap: 1px; background: rgba(202, 170, 103, .28); border: 1px solid rgba(202, 170, 103, .28) }
.home-services .card { min-height: 248px; padding: 2rem; border: 0; border-radius: 0; background: #0c283d; box-shadow: none; transition: transform .45s ease, background .45s ease, box-shadow .45s ease, opacity .7s ease }
.home-services .card:hover { transform: translateY(-9px); background: #12354d; box-shadow: 0 18px 36px rgba(0, 0, 0, .24) }
.home-services .card .icon { color: #d5b575; font-size: 1.65rem }
.home-services .card h3 { color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; font-weight: 400; margin: .2rem 0 .85rem }
.home-services .card p { color: #b6c3ca; font-size: .91rem; line-height: 1.7 }

.home-cta { padding: 6.25rem 0; background: #b78b39; text-align: left }
.home-cta .container { max-width: 850px; margin-left: max(20px, calc((100vw - 1140px) / 2)) }
.home-cta .eyebrow { color: #102b40 }
.home-cta h2 { font-size: clamp(2.65rem, 4vw, 4.2rem); line-height: 1.06; max-width: 690px; margin: .85rem 0 1rem; color: #071d30 }
.home-cta p { margin: 0 0 1.75rem; color: #19394d; font-size: 1.03rem }
.home-cta .home-primary { background: #0a2338; border-color: #0a2338; box-shadow: none }
.home-cta .home-primary { color: #fff }
.home-cta .home-primary:hover { background: #fff; border-color: #fff; color: #0a2338 }

/* Premium footer: restrained brass details on a deep navy base. */
.home .site-footer {
    padding: 5rem 0 0;
    background: #061a2b;
    border-top: 1px solid #caaa67;
    color: #aebbc3
}

.home .site-footer .footer-grid {
    grid-template-columns: 1.45fr 1fr 1fr 1.35fr;
    gap: 3.25rem;
    padding-bottom: 3.75rem
}

.home .footer-company-title {
    gap: .85rem;
    margin-bottom: 1.35rem;
    color: #f7f4ed;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: .035em
}

.home .footer-company-title span,
.home .footer-company-title .footer-title-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: 1px solid #caaa67;
    border-radius: 0;
    background-color: rgba(202, 170, 103, .08);
    background-size: 22px
}

.home .footer-desc,
.home .site-footer .footer-grid > div:first-child p {
    color: #aebbc3;
    font-size: .91rem;
    line-height: 1.85
}

.home .site-footer h3 {
    margin-bottom: 1.35rem;
    color: #d9bb7b;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase
}

.home .site-footer h3::before,
.home .contact-item::before {
    display: none
}

.home .footer-links li { margin: .25rem 0 }

.home .footer-links a {
    padding: .42rem 0;
    color: #d7e0e3;
    font-size: .9rem;
    white-space: normal
}

.home .footer-links a::before {
    width: 12px;
    height: 1px;
    content: '';
    background: #caaa67;
    font-size: 0
}

.home .footer-links a:hover,
.home .footer-contact-info a:hover { color: #d9bb7b }

.home .footer-contact-info p,
.home .site-footer .footer-grid > div:last-child p {
    margin: 0 0 .75rem;
    color: #d7e0e3;
    font-size: .89rem;
    line-height: 1.65
}

.home .footer-contact-info a,
.home .site-footer .footer-grid > div:last-child a { color: #d7e0e3 }

.home .site-footer .copyright {
    margin-top: 0;
    padding: 1.45rem max(20px, calc((100vw - 1140px) / 2));
    border-top: 1px solid rgba(202, 170, 103, .22);
    color: #758894;
    font-size: .75rem;
    letter-spacing: .04em;
    text-align: left
}

/* Compact footer refinement */
.home .site-footer { padding-top: 3.65rem }

.home .site-footer .footer-grid {
    grid-template-columns: 1.35fr .9fr .9fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 2.9rem
}

.home .footer-company-title { align-items: flex-start; margin-bottom: 1rem }

.home .footer-company-title strong {
    padding-top: .25rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .83rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .06em;
    white-space: nowrap
}

.home .footer-company-title span,
.home .footer-company-title .footer-title-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background-size: 19px
}

.home .footer-desc,
.home .site-footer .footer-grid > div:first-child p { max-width: 275px; font-size: .87rem; line-height: 1.72 }

.home .site-footer h3 { margin-bottom: .9rem }
.home .footer-links li { margin: 0 }
.home .footer-links a { padding: .31rem 0; font-size: .88rem }

.home .footer-contact-info p,
.home .site-footer .footer-grid > div:last-child p,
.home .contact-item {
    display: block;
    margin: 0 0 .55rem;
    padding: .15rem 0;
    border: 0;
    color: #d7e0e3;
    font-size: .87rem;
    line-height: 1.55
}

.home .footer-contact-info p + p { margin-top: .7rem }

.home .footer-contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: .7rem
}

.home .footer-contact-info .contact-item::before {
    content: '' !important;
    display: block;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin-top: .31rem;
    background: #caaa67;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat
}

.home .footer-contact-info .item-address::before {
    -webkit-mask-image: url('../images/icon-location.svg');
    mask-image: url('../images/icon-location.svg')
}

.home .footer-contact-info .item-phone::before {
    -webkit-mask-image: url('../images/icon-phone.svg');
    mask-image: url('../images/icon-phone.svg')
}

.home .footer-contact-info .item-email::before {
    -webkit-mask-image: url('../images/icon-email.svg');
    mask-image: url('../images/icon-email.svg')
}

.home .footer-contact-info .contact-item::before { content: none !important; display: none !important }
.home .footer-contact-icon { width: 16px; height: 16px; flex: 0 0 16px; margin-top: .18rem; object-fit: contain }

/* Keep each contact symbol aligned with the first line of its detail. */
.home .footer-contact-info p.contact-item {
    display: flex !important;
    align-items: flex-start;
    gap: .7rem
}

.home .footer-contact-info p.contact-item::before { margin-top: .23rem }

.whatsapp {
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .92);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22)
}

.whatsapp svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.whatsapp:hover { background: #1ebd5d; transform: translateY(-2px) }

.home .site-footer .copyright { padding-top: 1.1rem; padding-bottom: 1.1rem }

@media(max-width:800px) {
    .home-about { padding: 2.5rem 0 }
    .home-about .split { gap: 3rem }
    .home-about .reveal:last-child { padding: 2.1rem }
    .home-services { padding: 5rem 0 }
    .home-cta { padding: 4.5rem 0 }
    .home .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem }
}

@media(max-width:520px) {
    .home-about .reveal:last-child { padding: 1.7rem }
    .home-services .cards { gap: 1px }
    .home-cta .container { margin-left: 0; padding: 0 14px }
    .home .site-footer { padding-top: 3.5rem }
    .home .site-footer .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.75rem }
}
