/* ==========================================================================
   Al Meer Sourcing & Cargo Company
   HERO + LOGISTICS APPROACH
   --------------------------------------------------------------------------
   Scoped to .almeer-hero and .almeer-approach only.
   No white or light overlays anywhere - dark navy washes only.
   ========================================================================== */

/* ==========================================================================
   1. HERO
   Sized so the header and the hero together fill exactly one screen.
   The subtracted value is the real header height at that breakpoint
   (top contact bar + logo row), so nothing is cut off and nothing overflows.
   ========================================================================== */
.almeer-hero {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--tanspot-black);
    overflow: hidden;
    z-index: 1;
    padding: 70px 0;
    min-height: 560px;
}

/* single background photo - no second image layer */
.almeer-hero__bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: -2;
    transform: scale(1.05);
    animation: almeerHeroPan 30s ease-in-out infinite alternate;
}

@keyframes almeerHeroPan {
    from { transform: scale(1.05) translate3d(0, 0, 0); }
    to   { transform: scale(1.12) translate3d(-1.4%, -1%, 0); }
}

/* readability wash - navy only, never white */
.almeer-hero__wash {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(6, 47, 58, .94) 0%,
            rgba(6, 47, 58, .86) 38%,
            rgba(6, 47, 58, .62) 70%,
            rgba(6, 47, 58, .50) 100%);
}

/* orange corner flash */
.almeer-hero__flash {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 280px;
    background: linear-gradient(135deg, #ffb457 0%, var(--tanspot-base) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    opacity: .95;
    z-index: 0;
}

.almeer-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

/* ---------- entrance animation ---------- */
.almeer-hero__rise {
    opacity: 0;
    transform: translateY(24px);
    animation: almeerRise .85s cubic-bezier(.22, .8, .26, 1) forwards;
}

.almeer-hero__rise--1 { animation-delay: .08s; }
.almeer-hero__rise--2 { animation-delay: .24s; }
.almeer-hero__rise--3 { animation-delay: .40s; }
.almeer-hero__rise--4 { animation-delay: .56s; }
.almeer-hero__rise--5 { animation-delay: .72s; }

@keyframes almeerRise {
    to { opacity: 1; transform: translateY(0); }
}

.almeer-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tanspot-base);
    margin-bottom: 16px;
}

.almeer-hero__eyebrow::before {
    content: "";
    width: 46px;
    height: 2px;
    background-color: var(--tanspot-base);
}

.almeer-hero__title {
    font-size: 60px;
    line-height: 1.06em;
    font-weight: 800;
    color: var(--tanspot-white);
    text-transform: uppercase;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}

.almeer-hero__rotator {
    display: block;
    color: var(--tanspot-base);
    min-height: 1.08em;
}

.almeer-hero__word {
    display: inline-block;
    position: relative;
}

.almeer-hero__word::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: .8em;
    margin-left: 6px;
    vertical-align: -0.08em;
    background-color: var(--tanspot-base);
    animation: almeerCaret 1s steps(1) infinite;
}

@keyframes almeerCaret { 50% { opacity: 0; } }

.almeer-hero__text {
    font-size: 17px;
    line-height: 1.7em;
    color: rgba(var(--tanspot-white-rgb), .84);
    max-width: 540px;
    margin: 0 0 28px;
}

.almeer-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 22px;
    margin-bottom: 34px;
}

.almeer-hero__ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--tanspot-white);
    padding: 14px 28px;
    border: 1px solid rgba(var(--tanspot-white-rgb), .38);
    border-radius: 30px;
    transition: all 400ms ease;
}

.almeer-hero__ghost:hover {
    color: var(--tanspot-black);
    background-color: var(--tanspot-white);
    border-color: var(--tanspot-white);
}

.almeer-hero__strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 42px;
    padding-top: 24px;
    border-top: 1px dashed rgba(var(--tanspot-white-rgb), .26);
}

.almeer-hero__fact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.almeer-hero__fact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background-color: rgba(var(--tanspot-base-rgb), .20);
    color: var(--tanspot-base);
    font-size: 15px;
}

.almeer-hero__fact-label {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--tanspot-white);
    line-height: 1.25;
    margin: 0 0 2px;
}

.almeer-hero__fact-sub {
    font-size: 13.5px;
    color: rgba(var(--tanspot-white-rgb), .64);
    line-height: 1.25;
    margin: 0;
}

/* ---------- fit header + hero into exactly one screen ---------- */
/* 1200-1319px: top bar ~34px + logo row 106px = 140px */
@media only screen and (min-width: 1200px) and (max-width: 1319px) {
    .almeer-hero {
        min-height: calc(100vh - 140px);
        padding: 50px 0;
    }
    .almeer-hero__title { font-size: 52px; }
}

/* 1320-1600px: top bar ~34px + logo row 120px = 154px */
@media only screen and (min-width: 1320px) and (max-width: 1600px) {
    .almeer-hero {
        min-height: calc(100vh - 154px);
        padding: 55px 0;
    }
    .almeer-hero__title { font-size: 56px; }
}

/* 1601px and up: top bar ~34px + logo row 131px = 165px */
@media only screen and (min-width: 1601px) {
    .almeer-hero {
        min-height: calc(100vh - 165px);
        padding: 60px 0;
    }
}

/* short laptop screens (1366x768 and similar): tighten so nothing is cut */
@media only screen and (min-width: 1200px) and (max-height: 860px) {
    .almeer-hero { padding: 34px 0; }
    .almeer-hero__eyebrow { font-size: 13.5px; margin-bottom: 12px; }
    .almeer-hero__title { font-size: 44px; margin-bottom: 14px; }
    .almeer-hero__text { font-size: 16px; margin-bottom: 22px; }
    .almeer-hero__actions { margin-bottom: 24px; gap: 12px 18px; }
    .almeer-hero__ghost { padding: 12px 24px; }
    .almeer-hero__strip { padding-top: 18px; gap: 12px 34px; }
    .almeer-hero__fact-icon { width: 36px; height: 36px; flex: 0 0 36px; }
}

@media only screen and (min-width: 1200px) and (max-height: 720px) {
    .almeer-hero__title { font-size: 38px; }
    .almeer-hero__strip { display: none; }
}

/* tablet and mobile: natural height, no viewport maths */
@media only screen and (max-width: 1199px) {
    .almeer-hero {
        min-height: auto;
        padding: 80px 0 70px;
    }
    .almeer-hero__title { font-size: 46px; }
    .almeer-hero__flash { width: 210px; height: 200px; }
}

@media only screen and (max-width: 767px) {
    .almeer-hero { padding: 60px 0 55px; }
    .almeer-hero__title { font-size: 32px; letter-spacing: 0; }
    .almeer-hero__eyebrow { font-size: 12.5px; letter-spacing: .12em; }
    .almeer-hero__text { font-size: 15.5px; }
    .almeer-hero__actions { gap: 12px; margin-bottom: 28px; }
    .almeer-hero__actions .thm-btn,
    .almeer-hero__ghost { width: 100%; justify-content: center; }
    .almeer-hero__strip { gap: 14px; }
    .almeer-hero__flash { width: 140px; height: 130px; }
    .almeer-hero__bg { animation: none; transform: scale(1.02); }
}


/* ==========================================================================
   2. LOGISTICS APPROACH
   One background photo, one navy wash, four step cards.
   No white overlay, no second image.
   ========================================================================== */
.almeer-approach {
    position: relative;
    display: block;
    padding: 90px 0 96px;
    background-color: var(--tanspot-black);
    overflow: hidden;
    z-index: 1;
}

.almeer-approach__bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: -2;
}

/* navy only - this is what removes the washed-out look */
.almeer-approach__wash {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg,
            rgba(6, 47, 58, .93) 0%,
            rgba(6, 47, 58, .88) 55%,
            rgba(6, 47, 58, .95) 100%);
}

.almeer-approach__head {
    max-width: 720px;
    margin-bottom: 46px;
}

.almeer-approach__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--tanspot-base);
    margin-bottom: 14px;
}

.almeer-approach__eyebrow::before {
    content: "";
    width: 38px;
    height: 2px;
    background-color: var(--tanspot-base);
}

.almeer-approach__title {
    font-size: 42px;
    line-height: 1.2em;
    font-weight: 700;
    color: var(--tanspot-white);
    margin: 0 0 16px;
}

.almeer-approach__title span { color: var(--tanspot-base); }

.almeer-approach__text {
    font-size: 16.5px;
    line-height: 1.75em;
    color: rgba(var(--tanspot-white-rgb), .78);
    margin: 0 0 26px;
}

.almeer-approach__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 28px;
}

.almeer-approach__watch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--tanspot-white);
    transition: color 350ms ease;
}

.almeer-approach__watch:hover { color: var(--tanspot-base); }

.almeer-approach__watch-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    background-color: var(--tanspot-base);
    color: var(--tanspot-white);
    font-size: 14px;
}

.almeer-approach__watch-icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(var(--tanspot-base-rgb), .50);
    animation: almeerRipple 2.2s ease-out infinite;
}

@keyframes almeerRipple {
    0%   { transform: scale(.85); opacity: .8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- four step cards ---------- */
.almeer-approach__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.almeer-approach__step {
    position: relative;
    padding: 30px 26px 28px;
    border-radius: 14px;
    background-color: rgba(2, 32, 40, .60);
    border: 1px solid rgba(var(--tanspot-white-rgb), .12);
    transition: all 400ms ease;
}

.almeer-approach__step:hover {
    background-color: rgba(2, 32, 40, .78);
    border-color: rgba(var(--tanspot-base-rgb), .60);
    transform: translateY(-5px);
}

.almeer-approach__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: rgba(var(--tanspot-base-rgb), .16);
    border: 1px solid rgba(var(--tanspot-base-rgb), .45);
    color: var(--tanspot-base);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.almeer-approach__step h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--tanspot-white);
    margin: 0 0 10px;
    line-height: 1.3;
}

.almeer-approach__step p {
    font-size: 15px;
    line-height: 1.68em;
    color: rgba(var(--tanspot-white-rgb), .70);
    margin: 0;
}

/* ---------- approach responsive ---------- */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .almeer-approach { padding: 76px 0 80px; }
    .almeer-approach__title { font-size: 34px; }
    .almeer-approach__steps { grid-template-columns: repeat(2, 1fr); }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .almeer-approach { padding: 70px 0 74px; }
    .almeer-approach__title { font-size: 31px; }
    .almeer-approach__steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media only screen and (max-width: 767px) {
    .almeer-approach { padding: 58px 0 60px; }
    .almeer-approach__head { margin-bottom: 32px; }
    .almeer-approach__title { font-size: 26px; }
    .almeer-approach__text { font-size: 15.5px; }
    .almeer-approach__actions { gap: 14px 20px; }
    .almeer-approach__actions .thm-btn { width: 100%; justify-content: center; }
    .almeer-approach__steps { grid-template-columns: 1fr; gap: 16px; }
    .almeer-approach__step { padding: 24px 22px 22px; }
    .almeer-approach__num { width: 42px; height: 42px; margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .almeer-hero__bg,
    .almeer-hero__rise,
    .almeer-hero__word::after,
    .almeer-approach__watch-icon::after { animation: none; }
    .almeer-hero__rise { opacity: 1; transform: none; }
}
