/* ==========================================================
   Real English 2027 – Header, footer & trang chủ (SB7)
   ========================================================== */
:root {
    --re-red: #e01b24;
    --re-red-dark: #c3141c;
    --hp-ink: #0f1e45;
    --hp-muted: #5b6478;
    --hp-soft: #f4f6fa;
    --hp-pink: #fdeef0;
    --hp-line: #e7eaf1;
    --hp-shadow: 0 6px 20px rgba(15, 30, 69, .07);
    --hp-serif: "Noto Serif", Georgia, "Times New Roman", serif;
}

/* ---------- Brand (logo) ---------- */
.re-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--hp-ink); }
.re-brand:hover { color: var(--hp-ink); }
.re-brand__crest { width: 48px; height: 48px; object-fit: contain; }
.re-brand__img { height: 52px; width: auto; }
.re-brand__text { display: flex; flex-direction: column; line-height: .95; }
.re-brand__text strong { font-size: 1.55rem; font-weight: 800; letter-spacing: .5px; color: #111; }
.re-brand__text span { font-size: 1.02rem; font-weight: 800; letter-spacing: 1.2px; color: var(--re-red); }

/* ---------- Header ---------- */
.re-hd { background: #fff; box-shadow: 0 1px 0 var(--hp-line); }
.re-hd .navbar { padding: .55rem 0; }
.re-hd .navbar-brand { margin-right: 1.5rem; padding: 0; }
.re-hd .nav-link {
    position: relative;
    color: var(--hp-ink);
    font-size: .9rem;
    font-weight: 600;
    padding: .65rem 1rem !important;
    border-radius: 0;
}
.re-hd .nav-link:hover,
.re-hd .nav-link.active { color: var(--re-red) !important; background: none; }
.re-hd .nav-link.active::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .1rem;
    height: 3px;
    border-radius: 2px;
    background: var(--re-red);
}
.re-hd .dropdown-toggle::after { margin-left: .3rem; transition: transform .2s; }
.re-hd .dropdown:hover > .dropdown-toggle::after { transform: rotate(180deg); }
@media (min-width: 1200px) {
    /* Mở menu con khi hover hoặc khi dùng bàn phím (Tab) */
    .re-hd .dropdown:focus-within > .dropdown-menu { display: block; margin-top: 0; }
}
.re-hd__actions { display: flex; align-items: center; gap: 1.25rem; }
.re-hd__search { display: inline-flex; background: none; border: 0; font-size: 1.2rem; color: var(--hp-ink); padding: .4rem; }
.re-hd__search:hover { color: var(--re-red); }
.re-hd__cta { padding: .7rem 1.4rem; font-size: .9rem; }

@media (max-width: 1199.98px) {
    .re-hd .navbar-collapse { padding: .75rem 0 1rem; }
    .re-hd .nav-link { padding: .7rem .25rem !important; border-bottom: 1px solid var(--hp-line); }
    .re-hd .nav-link.active::before { display: none; }
    .re-hd__actions { margin-top: 1rem; }
    .re-hd__cta { width: 100%; min-height: 44px; }
}

/* ---------- Footer ---------- */
.re-ft { background: #fff; border-top: 1px solid var(--hp-line); color: var(--hp-muted); font-size: .86rem; }
.re-ft__grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr) 1.3fr;
    gap: 2rem;
    padding: 2.5rem 0 2rem;
}
.re-ft__tagline { font-family: var(--re-hand); font-size: 1.35rem; color: var(--hp-ink); margin: .6rem 0 0; }
.re-ft__contact { list-style: none; padding: 0; margin: .9rem 0 0; }
.re-ft__contact li { margin-bottom: .3rem; }
.re-ft__heading { color: var(--hp-ink); font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }
.re-ft__col ul { list-style: none; padding: 0; margin: 0; }
.re-ft__col li { margin-bottom: .35rem; }
.re-ft a { color: var(--hp-muted); }
.re-ft a:hover { color: var(--re-red); }
.re-ft__social { display: flex; gap: 1rem; font-size: 1.6rem; }
.re-ft .re-ft__social--youtube { color: #ff0000; }
.re-ft .re-ft__social--facebook { color: #1877f2; }
.re-ft .re-ft__social--tiktok { color: #111; }
.re-ft .re-ft__social--linkedin { color: #0a66c2; }
.re-ft__social a:hover { opacity: .8; }
.re-ft__bottom { background: var(--hp-soft); padding: 1rem 0; font-size: .8rem; }
.re-ft__bottom .container { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; }
.re-ft__bottom p { margin: 0; }
.re-ft__bottom ul { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; }
.re-ft__bottom li + li::before { content: "|"; margin: 0 .6rem; color: #b6bccb; }

@media (max-width: 991.98px) {
    .re-ft__grid { grid-template-columns: repeat(2, 1fr); }
    .re-ft__brand { grid-column: 1 / -1; }
}

/* ==========================================================
   Trang chủ
   ========================================================== */
.hp-section { padding: 2.1rem 0; }
.hp-icon { display: inline-block; color: var(--re-red); font-size: 2rem; line-height: 1; margin-bottom: .6rem; }
.hp-hand { font-family: var(--re-hand); font-weight: 500; line-height: 1.1; }
.hp-eyebrow { color: var(--re-red); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .2px; margin-bottom: .35rem; }
.hp-serif-title { font-family: var(--hp-serif); font-weight: 800; color: var(--hp-ink); font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.2; margin-bottom: .8rem; }
.hp-link { color: var(--re-red); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.hp-link:hover { color: var(--re-red-dark); }
.hp-link i { transition: transform .2s ease; }
a:hover > .hp-link i, .hp-link:hover i { transform: translateX(3px); }
.hp-link--lg { font-size: 1rem; }

.hp-head { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.1rem; }
.hp-head__title { color: var(--re-red); font-weight: 800; font-size: clamp(1.1rem, 1.9vw, 1.4rem); text-transform: uppercase; margin: 0; }
.hp-head__sub { color: var(--hp-muted); font-size: .85rem; margin: 0; }

/* ---------- Hero ---------- */
.hp-hero { position: relative; overflow: hidden; background: #fff; min-height: 420px; display: flex; align-items: center; padding: 2.5rem 0; }
.hp-hero__img { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #fff 0%, #fff 35%, rgba(255, 255, 255, .8) 43%, rgba(255, 255, 255, 0) 58%);
}
.hp-hero .container { position: relative; z-index: 2; }
.hp-hero__content { max-width: 560px; }
.hp-hero__eyebrow { font-size: .9rem; font-weight: 600; letter-spacing: .6px; color: var(--hp-ink); text-transform: uppercase; margin-bottom: .6rem; }
.hp-hero__title { font-family: var(--hp-serif); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; color: var(--hp-ink); margin-bottom: 1rem; }
.hp-hero__title span, .hp-hero__title em { display: block; }
.hp-hero__title em { font-style: normal; color: var(--re-red); }
.hp-hero__desc { color: var(--hp-ink); font-size: 1rem; max-width: 520px; margin-bottom: 1.4rem; }
.hp-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hp-hero__video i { font-size: 1.3rem; }
.hp-hero__video:hover i { transform: none; }
.hp-hero__hand {
    position: absolute;
    right: 2%;
    top: -1rem;
    color: var(--hp-ink);
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    transform: rotate(-12deg);
    margin: 0;
}
.hp-hero__hand::after {
    content: "";
    display: block;
    width: 120%;
    height: 14px;
    margin: -.2rem 0 0 -10%;
    border-bottom: 3px solid var(--re-red);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    transform: rotate(-6deg);
}

/* ---------- Dải số liệu ---------- */
.hp-stats { border-bottom: 1px solid var(--hp-line); background: #fff; }
.hp-stats__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 1.1rem 0; }
.hp-stats__item { display: flex; align-items: center; justify-content: center; gap: .9rem; padding: .25rem 1rem; }
.hp-stats__item + .hp-stats__item { border-left: 1px solid var(--hp-line); }
.hp-stats__item i { color: var(--re-red); font-size: 2.2rem; line-height: 1; }
.hp-stats__item strong { display: block; color: var(--hp-ink); font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.hp-stats__item strong:not(:only-child) { margin-bottom: .1rem; }
.hp-stats__item span { display: block; color: var(--hp-muted); font-size: .78rem; max-width: 220px; }

/* ---------- Problem ---------- */
.hp-problems__grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.05fr; gap: 1rem; }
.hp-problem { background: var(--hp-soft); border-radius: 8px; padding: 1.4rem 1rem 1.2rem; text-align: center; }
.hp-problem h3, .hp-mini h3 { color: var(--hp-ink); font-size: .95rem; font-weight: 700; margin-bottom: .35rem; }
.hp-problem p, .hp-mini p { color: var(--hp-muted); font-size: .82rem; margin: 0; }
.hp-problems__quote {
    display: flex;
    align-items: center;
    margin: 0;
    background: var(--hp-pink);
    border-radius: 8px;
    padding: 1.2rem 1.4rem;
    color: var(--hp-ink);
    font-size: 1.3rem;
}

/* ---------- Guide ---------- */
.hp-guide__wrap { display: grid; grid-template-columns: 5fr 7fr; background: linear-gradient(135deg, #fff 0%, var(--hp-pink) 100%); }
.hp-guide__person { position: relative; min-height: 340px; background: #f1f0ee; overflow: hidden; }
.hp-guide__person img { position: absolute; right: 0; top: 0; width: 72%; height: 100%; object-fit: cover; object-position: 30% top; }
.hp-guide__person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f1f0ee 25%, rgba(241, 240, 238, 0) 45%); }
.hp-guide__caption { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; max-width: 42%; padding: 1.6rem 0 1.4rem 1.5rem; }
.hp-guide__quote { color: var(--hp-ink); font-size: 1.45rem; transform: rotate(-8deg); transform-origin: left top; margin: .5rem 0 0; }
.hp-guide__sign { color: var(--hp-ink); font-size: 1.5rem; margin: auto 0 .3rem; }
.hp-guide__name { color: var(--hp-muted); font-size: .8rem; line-height: 1.35; margin: 0; }
.hp-guide__name strong { display: block; color: var(--hp-ink); font-size: .9rem; }
.hp-guide__body { padding: 1.8rem 2rem; }
.hp-guide__body .hp-serif-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.hp-guide__desc { color: var(--hp-muted); font-size: .98rem; max-width: 640px; margin-bottom: 1.3rem; }
.hp-guide__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.hp-mini { background: #fff; border-radius: 8px; padding: 1.1rem .7rem; text-align: center; box-shadow: var(--hp-shadow); }
.hp-mini .hp-icon { font-size: 1.8rem; }

/* ---------- Plan – 5 bước ---------- */
.hp-steps { border-bottom: 1px solid var(--hp-line); }
.hp-steps__list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; }
.hp-step { position: relative; display: flex; gap: .4rem; padding: .25rem 1.2rem .5rem; }
.hp-step + .hp-step { border-left: 1px solid var(--hp-line); }
.hp-step + .hp-step::before {
    content: "\F285";
    font-family: "bootstrap-icons";
    position: absolute;
    left: -.55rem;
    top: 2.2rem;
    background: #fff;
    color: var(--re-red);
    font-size: 1rem;
    line-height: 1;
}
.hp-step__num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--re-red);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    margin-top: .3rem;
}
.hp-step__body { flex: 1; text-align: center; }
.hp-step__body h3 { color: var(--hp-ink); font-size: .98rem; font-weight: 700; margin-bottom: .3rem; }
.hp-step__body p { color: var(--hp-muted); font-size: .82rem; margin: 0; }

/* ---------- Hệ sinh thái sản phẩm ---------- */
.hp-products__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .85rem; }
.hp-product {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--hp-shadow);
    color: var(--hp-ink);
    transition: transform .25s ease, box-shadow .25s ease;
}
.hp-product:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 30, 69, .14); color: var(--hp-ink); }
.hp-product__img { display: block; aspect-ratio: 4 / 3; background: var(--hp-soft); overflow: hidden; }
.hp-product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hp-product:hover .hp-product__img img { transform: scale(1.06); }
.hp-product__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 1.6rem .85rem 1rem; }
.hp-product__icon {
    position: absolute;
    top: -1.2rem;
    left: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #fff;
    color: var(--re-red);
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(15, 30, 69, .12);
}
.hp-product h3 { font-size: .92rem; font-weight: 700; line-height: 1.3; margin-bottom: .45rem; }
.hp-product__text { display: block; color: var(--hp-muted); font-size: .76rem; line-height: 1.45; margin-bottom: .8rem; }
.hp-product .hp-link { margin-top: auto; }

/* ---------- Điểm đến ---------- */
.hp-dest__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: .75rem; }
.hp-dest__item { position: relative; display: block; aspect-ratio: 1.45; border-radius: 6px; overflow: hidden; background: var(--hp-soft); }
.hp-dest__item img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; transition: transform .5s ease; }
.hp-dest__item:hover img { transform: scale(1.07); }
.hp-dest__item::before { content: ""; position: absolute; inset: 0 0 45% 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 20, 50, .45), rgba(10, 20, 50, 0)); }
.hp-dest__label { position: absolute; z-index: 2; top: .55rem; left: .6rem; display: flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; font-size: .88rem; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.hp-dest__label .fi { width: 1.3em; line-height: .95em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }

/* ---------- Avoid failure ---------- */
.hp-stakes { padding: .5rem 0; }
.hp-stakes__band { position: relative; overflow: hidden; background: #262628; color: #fff; min-height: 200px; display: flex; align-items: center; }
.hp-stakes__img { position: absolute; right: 0; top: 0; width: 45%; height: 100%; object-fit: cover; filter: grayscale(1); }
.hp-stakes__band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #262628 52%, rgba(38, 38, 40, .3) 68%, rgba(38, 38, 40, 0) 85%); }
.hp-stakes__body { position: relative; z-index: 2; padding: 1.8rem 2rem; max-width: 900px; }
.hp-stakes__body h2 { font-size: clamp(1.05rem, 1.9vw, 1.35rem); font-weight: 800; text-transform: uppercase; margin-bottom: .25rem; }
.hp-stakes__sub { color: #d6d8de; font-size: .88rem; margin-bottom: 1.1rem; }
.hp-stakes__list { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0; padding: 0; }
.hp-stakes__list li { display: flex; align-items: center; gap: .8rem; font-size: .88rem; line-height: 1.4; }
.hp-stakes__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--re-red); color: var(--re-red); font-size: 1.2rem; }
.hp-stakes__hand { position: absolute; z-index: 2; right: 2rem; top: 50%; transform: translateY(-50%) rotate(-10deg); margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); color: #fff; }
.hp-stakes__hand::after { content: ""; display: block; height: 10px; margin-top: -.3rem; border-bottom: 3px solid var(--re-red); border-radius: 0 0 50% 50% / 0 0 100% 100%; }

/* ---------- Câu chuyện học sinh ---------- */
.hp-stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hp-story { display: flex; align-items: center; gap: 1.1rem; background: var(--hp-soft); border-radius: 8px; padding: 1.1rem 1.2rem; color: var(--hp-ink); transition: box-shadow .25s ease; }
a.hp-story:hover { box-shadow: var(--hp-shadow); color: var(--hp-ink); }
.hp-story img { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.hp-story__body { display: block; }
.hp-story q { display: block; color: var(--hp-muted); font-size: .84rem; margin-bottom: .55rem; }
.hp-story strong { display: block; font-size: .92rem; }
.hp-story small { color: var(--hp-muted); font-size: .78rem; }

/* ---------- Podcast + Tin tức ---------- */
.hp-media__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.hp-media__col + .hp-media__col { border-left: 1px solid var(--hp-line); padding-left: 2.5rem; }
.hp-media .hp-head { margin-bottom: .2rem; }
.hp-media .hp-head + .hp-media__grid { margin-top: .7rem; }
.hp-media__sub { color: var(--hp-ink); font-size: 1.05rem; margin-bottom: .8rem; }
.hp-media__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.hp-thumb { display: block; color: var(--hp-ink); }
.hp-thumb:hover { color: var(--re-red); }
.hp-thumb__img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--hp-soft); margin-bottom: .5rem; }
.hp-thumb__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hp-thumb:hover .hp-thumb__img img { transform: scale(1.06); }
.hp-thumb__img--play::after {
    content: "\F4F4";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: #111;
    font-size: 1.35rem;
    padding-left: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
.hp-thumb__title { display: block; font-size: .82rem; font-weight: 700; line-height: 1.3; }
.hp-thumb__text { display: block; color: var(--hp-muted); font-size: .74rem; margin-top: .15rem; }

/* ---------- Sự kiện ---------- */
.hp-events__head { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: flex-start; justify-content: space-between; margin-bottom: 1.2rem; }
.hp-events__head .hp-eyebrow { margin-bottom: .1rem; }
.hp-events__title { display: flex; align-items: center; gap: .6rem; color: var(--hp-ink); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 .2rem; }
.hp-events__title i { color: var(--re-red); font-size: 1.15em; }
.hp-events__sub { color: var(--hp-muted); font-size: .85rem; margin: 0; }
.hp-events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hp-event { display: flex; gap: 1rem; background: #fff; border-radius: 8px; padding: .9rem; box-shadow: var(--hp-shadow); border: 1px solid var(--hp-line); }
.hp-event__imglink { flex: 0 0 30%; width: 30%; }
.hp-event__img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 6px; }
.hp-event h3 a { color: inherit; }
.hp-event h3 a:hover { color: var(--re-red); }
.hp-event__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hp-event__top { display: flex; gap: .8rem; margin-bottom: .8rem; }
.hp-event__date { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 56px; border-radius: 6px; background: var(--re-red); color: #fff; font-size: .75rem; line-height: 1.1; }
.hp-event__date strong { font-size: 1.35rem; }
.hp-event h3 { color: var(--hp-ink); font-size: .92rem; font-weight: 700; margin-bottom: .2rem; }
.hp-event p { color: var(--hp-muted); font-size: .8rem; margin-bottom: .4rem; }
.hp-event__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem 1rem; padding: 0; margin: 0; color: var(--hp-muted); font-size: .76rem; }
.hp-event__btn { align-self: flex-start; margin-top: auto; }

/* ---------- CTA cuối trang ---------- */
.hp-cta { padding: .5rem 0 2rem; }
.hp-cta__band {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 190px;
    background: radial-gradient(circle at 75% 60%, #f04a4f 0%, transparent 45%), linear-gradient(90deg, #d4141c 0%, #e2262c 55%, #d11a21 100%);
    color: #fff;
}
.hp-cta__img { position: absolute; left: 0; top: 0; width: 28%; height: 100%; object-fit: cover; }
.hp-cta__band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 30%; z-index: 1; background: linear-gradient(90deg, rgba(212, 20, 28, 0) 60%, #d6161e 100%); }
.hp-cta__body { position: relative; z-index: 2; padding: 1.8rem 1.5rem 1.8rem 30%; }
.hp-cta__body h2 { font-family: var(--hp-serif); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: .2rem; }
.hp-cta__body p { font-size: 1rem; margin-bottom: 1.1rem; opacity: .95; }
.hp-cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hp-cta__btn { background: #fff; color: var(--re-red); font-weight: 700; font-size: .9rem; border-radius: 6px; padding: .7rem 1.4rem; border: 0; }
.hp-cta__btn:hover { background: #fff3f3; color: var(--re-red-dark); }
.hp-cta__hand { position: absolute; z-index: 2; right: 3%; top: 50%; transform: translateY(-50%) rotate(-12deg); margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.4rem); color: #fff; }
.hp-cta__hand::after { content: ""; display: block; height: 10px; margin-top: -.2rem; border-bottom: 3px solid #fff; border-radius: 0 0 50% 50% / 0 0 100% 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1399.98px) {
    .hp-products__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1199.98px) {
    .hp-problems__grid { grid-template-columns: repeat(2, 1fr); }
    .hp-problems__quote { grid-column: 1 / -1; justify-content: center; text-align: center; }
    .hp-guide__wrap { grid-template-columns: 1fr; }
    .hp-dest__grid { grid-template-columns: repeat(4, 1fr); }
    .hp-media__wrap { grid-template-columns: 1fr; gap: 2rem; }
    .hp-media__col + .hp-media__col { border-left: 0; padding-left: 0; }
    .hp-events__grid { grid-template-columns: 1fr; }
    .hp-event__imglink { flex-basis: 140px; width: 140px; }
    .hp-cta__hand, .hp-stakes__hand { display: none; }
}

@media (max-width: 991.98px) {
    .hp-hero { flex-direction: column; align-items: stretch; padding: 2rem 0 0; min-height: 0; }
    .hp-hero::before { display: none; }
    .hp-hero__img { position: static; order: 2; width: 100%; height: 280px; margin-top: 1.5rem; }
    .hp-hero__hand { display: none; }
    .hp-stats__list { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; }
    .hp-stats__item { justify-content: flex-start; }
    .hp-stats__item:nth-child(odd) { border-left: 0; }
    .hp-steps__list { grid-template-columns: 1fr; gap: 0; }
    .hp-step { padding: .9rem 0; }
    .hp-step + .hp-step { border-left: 0; border-top: 1px solid var(--hp-line); }
    .hp-step + .hp-step::before { display: none; }
    .hp-step__body { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; text-align: left; }
    .hp-step__body .hp-icon { grid-row: span 2; margin: 0; font-size: 1.7rem; }
    .hp-products__grid { grid-template-columns: repeat(2, 1fr); }
    .hp-stories__grid { grid-template-columns: 1fr; }
    .hp-stakes__img { width: 100%; opacity: .35; }
    .hp-stakes__band::before { background: rgba(38, 38, 40, .55); }
    .hp-cta__img { display: none; }
    .hp-cta__band::before { display: none; }
    .hp-cta__body { padding: 2rem 1.5rem; }
}

@media (max-width: 767.98px) {
    .hp-guide__grid { grid-template-columns: repeat(2, 1fr); }
    .hp-guide__body { padding: 1.5rem 1rem; }
    .hp-guide__caption { max-width: 50%; padding-left: 1rem; }
    .hp-dest__grid { grid-template-columns: repeat(2, 1fr); }
    .hp-media__grid { grid-template-columns: repeat(2, 1fr); }
    .hp-head { flex-direction: column; }
}

@media (max-width: 575.98px) {
    .hp-hero__actions .re-btn { width: 100%; min-height: 44px; }
    .hp-stats__list { grid-template-columns: 1fr; }
    .hp-stats__item { border-left: 0 !important; }
    .hp-problems__grid { grid-template-columns: 1fr; }
    .hp-products__grid { grid-template-columns: 1fr; }
    .hp-product__img { aspect-ratio: 16 / 9; }
    .hp-event { flex-direction: column; }
    .hp-event__imglink { width: 100%; flex-basis: auto; }
    .hp-event__img { aspect-ratio: 16 / 9; }
    .hp-cta__btn { width: 100%; min-height: 44px; }
    .re-ft__grid { grid-template-columns: 1fr 1fr; }
}
.re-hd .dropdown-item.active, .re-hd .dropdown-item:active { background: #fdecee; color: var(--re-red); font-weight: 600; }
.re-hd .dropdown-item.active i { color: var(--re-red); }
